/* REPPTRADE v4.4.11 — theme fidelity, role drilldowns and explicit catalogue scopes.
   Only presentation; no persistence, seed or private-link modifications. */
/* Keep grid backgrounds the same as the surrounding page; never a legacy bronze mat. */
body[data-ui-theme="modern"] :is(.mastercards,.master-shows-grid,#masterCards,#masterShows){background:transparent!important;border:0!important;box-shadow:none!important}
/* In light mode, a show is still a themed show. Only neutral page chrome changes colour. */
body[data-surface="light"][data-ui-theme="modern"]:not(.easy-readability) .drawer .boot {
 background:var(--show-boot-bg,var(--show-solid))!important;
 border:2px solid transparent!important;
 background:var(--show-boot-bg,var(--show-solid)) padding-box,
  linear-gradient(110deg,var(--show-accent),var(--show-secondary)) border-box!important;
 box-shadow:0 5px 15px rgba(13,34,65,.13)!important;color:#fff!important;
}
body[data-surface="light"][data-ui-theme="modern"]:not(.easy-readability) .drawer .boot .bootmain{background:transparent!important;color:#fff!important}
body[data-surface="light"][data-ui-theme="modern"]:not(.easy-readability) .drawer .boot .boottitle{
 background:#071523ed!important;color:#fff!important;border-color:var(--show-accent)!important;
}
body[data-surface="light"][data-ui-theme="modern"]:not(.easy-readability) .drawer .boot :is(.info,.detailbox,.block){
 background:#101d2bed!important;color:#fff!important;border-color:color-mix(in srgb,var(--show-accent) 40%,#36536a)!important
}
body[data-surface="light"][data-ui-theme="modern"]:not(.easy-readability) .drawer .boot :is(.value,.cast,.notes){color:#fff!important}
body[data-surface="light"][data-ui-theme="modern"]:not(.easy-readability) .drawer .boot .label{color:#c4d8ea!important}
/* Reestablish the show palette in light mode for every master By Show tile. */
body[data-surface="light"][data-ui-theme="modern"] .master-show-card{
 background:var(--show-tile-bg,var(--show-solid))!important;
 color:var(--show-title-ink)!important;
 border:1px solid var(--show-accent)!important;
 box-shadow:0 3px 10px rgba(13,39,61,.11)!important;
}
body[data-surface="light"][data-ui-theme="modern"] .master-show-card .master-show-name{
 background:transparent!important;color:var(--show-title-ink)!important;
 border:0!important;box-shadow:none!important;text-shadow:0 1px 1px rgba(0,0,0,.18)!important;
}
body[data-surface="light"][data-ui-theme="modern"] .master-show-card .master-show-counts span{
 background:rgba(6,14,23,.55)!important;border-color:rgba(255,255,255,.45)!important;
 color:#fff!important;text-shadow:none!important;
}
body[data-surface="light"][data-ui-theme="modern"] .master-show-card .master-show-actions button{
 background:rgba(5,14,24,.78)!important;color:#fff!important;border-color:rgba(255,255,255,.34)!important;
}
body[data-surface="light"][data-ui-theme="modern"] .master-show-card:is(:hover,:focus-within) .master-show-name{background:rgba(5,13,22,.82)!important;color:#fff!important}
/* Show collection title belongs directly on the themed show header, not in a dark pill/box. */
body[data-ui-theme="modern"] .drawer .drawerhead{
 background:var(--show-solid)!important;border-bottom-color:var(--show-accent)!important;
}
body[data-ui-theme="modern"] .drawer .drawerhead h2{
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:0!important;color:var(--show-title-ink,#fff)!important;
 text-shadow:0 1px 2px rgba(0,0,0,.22)!important;
}
body[data-surface="light"][data-ui-theme="modern"] .drawer .drawerhead h2{background:transparent!important;color:var(--show-title-ink,#fff)!important}
body[data-ui-theme="modern"] .drawer .drawerhead :is(.eyebrow,#drawerSub){color:var(--show-title-ink,#fff)!important;opacity:.88}
/* The original compact blue segmented Library switch, distinct from Catalogue scope. */
body[data-ui-theme="modern"] .seg:has(#tilesBtn)>button,
body[data-ui-theme="modern"] .seg:has(#castBtn)>button,
body[data-ui-theme="modern"] .seg:has(#tilesBtn)>button{box-shadow:none!important}
body[data-ui-theme="modern"] .seg:has(#tilesBtn)>button.active{
 background:#29455e!important;color:#fff!important;border:1px solid #7894ae!important;
 box-shadow:inset 0 2px 0 rgba(255,255,255,.09)!important
}
body[data-surface="light"][data-ui-theme="modern"] .seg:has(#tilesBtn)>button.active{
 background:#dbeaf8!important;color:#183c5c!important;border-color:#87a9c9!important
}
/* Give users the difference between catalogue VIEW and owned-show SCOPE. */
body[data-ui-theme="modern"] :is(.master-view-toggle,.master-parent-show-filter-v4321){
 position:relative;display:inline-flex;align-items:center;flex-wrap:nowrap;gap:3px;
 padding-top:22px!important;overflow:visible!important;
}
body[data-ui-theme="modern"] .master-view-toggle::before{
 content:'CATALOGUE VIEW';position:absolute;left:0;top:0;font:750 9px/1.2 system-ui,sans-serif;
 letter-spacing:.1em;color:var(--rt9-muted,#a9c1dd);white-space:nowrap;
}
body[data-ui-theme="modern"] .master-parent-show-filter-v4321::before{
 content:'SHOW OWNERSHIP';position:absolute;left:0;top:0;font:750 9px/1.2 system-ui,sans-serif;
 letter-spacing:.1em;color:var(--rt9-muted,#a9c1dd);white-space:nowrap;
}
/* Distinguish the NFT STYLE caption from the choices. */
body[data-ui-theme="modern"] .nft-style-toggle .nft-style-label{margin-right:16px!important;padding-right:17px!important;letter-spacing:.14em!important;opacity:.88!important}
/* Role page shares the show's palette: actor accordions and the main header. */
.rc451-person-group{
 border:2px solid transparent!important;
 background:linear-gradient(#132338,#132338) padding-box,
   linear-gradient(118deg,var(--show-accent),var(--show-secondary),var(--show-a)) border-box!important;
 margin:12px 0!important;max-width:100%!important;overflow:hidden;
}
.rc451-person-heading{list-style:none;display:flex!important;align-items:center;gap:12px!important;
 cursor:pointer;padding:16px 18px!important;margin:0!important;background:#0c1729!important;color:#f5f9ff!important;
 border:0!important;min-height:64px;transition:background .3s,transform .3s cubic-bezier(.2,1,.25,1);
}
.rc451-person-heading::-webkit-details-marker{display:none}
.rc451-person-heading strong{font:800 15px/1.3 system-ui,sans-serif!important;color:#fff!important;min-width:0}
.rc451-person-heading small{color:#bdcee3!important;margin-left:auto}
.rc451-chevron{font-size:17px;color:var(--show-accent);transition:transform .3s cubic-bezier(.2,1,.25,1)}
.rc451-person-group[open] .rc451-chevron{transform:rotate(180deg)}
.rc451-person-heading:hover{background:color-mix(in srgb,var(--show-solid) 33%,#0c1729)!important}
.rc451-person-group .rc451-actor-profile-link{border:1px solid var(--show-accent);background:#152d42;color:#fff;margin:12px 14px 4px;padding:9px 11px;cursor:pointer;font-weight:700;font-size:11px}
.rc451-person-group>.rc451-record-list{border:0!important;background:transparent!important;padding:12px 14px!important}
.rc451-record-item{border:2px solid transparent!important;
 background:linear-gradient(#0d1d2e,#0d1d2e) padding-box,
 linear-gradient(125deg,var(--show-accent,#719abf),var(--show-secondary,#b481cf)) border-box!important;
 overflow:hidden;transition:box-shadow .24s ease,filter .24s ease;
}
.rc451-record-item[open]{box-shadow:0 6px 24px rgba(0,0,0,.16)}
.rc451-record-title{display:list-item!important;list-style:none;padding:11px 14px!important;color:#f7faff!important;
 cursor:pointer;text-decoration:none!important;font-size:12px;line-height:1.48!important;
}
.rc451-record-title::-webkit-details-marker{display:none}
.rc451-record-title::after{content:'⌄';float:right;margin-left:9px;color:var(--show-accent);transition:transform .25s ease}
.rc451-record-item[open] .rc451-record-title::after{transform:rotate(180deg)}
.rc451-quick-detail{background:#0c1929;border-top:1px solid #456178;padding:12px 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.rc451-quick-field{background:#14283d;border:1px solid #34516a;padding:9px 11px;color:#fff;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.rc451-quick-field>span{display:block;text-transform:uppercase;font:800 9px/1.5 system-ui,sans-serif;letter-spacing:.09em;color:#b9d2e8;margin-bottom:5px}
.rc451-quick-field:has(.rc451-cast){grid-column:1/-1}
.rc451-cast{white-space:pre-wrap}
.rc451-quick-detail .rc450-record-actions{grid-column:1/-1;padding-top:6px}
.rc451-quick-detail .rc450-record-actions button{border-color:var(--show-accent)!important}
/* Show-themed hero in the expanded Role Index and small show cards. */
.rc451-role-detail{padding:0 0 16px}
.rc451-role-detail>.rc443-role-header{padding:14px;background:var(--show-solid);border-left:4px solid var(--show-accent)}
.rc451-role-detail .rc443-role-header h3{color:var(--show-title-ink,#fff)!important}
.rc451-role-detail .rc443-role-header p{color:var(--show-title-ink,#fff)!important;opacity:.85}
.rc451-role-detail .rc443-role-art{border-color:var(--show-accent)}
.rc450-show-wrap .rc450-show-row .rc440-actor-show,
.rc447-master-card>summary{position:relative;overflow:hidden;transition:transform .42s cubic-bezier(.18,1,.24,1),box-shadow .38s!important}
.rc450-show-wrap .rc450-show-row .rc440-actor-show:hover,
.rc447-master-card>summary:hover{transform:scale(1.018);box-shadow:0 9px 27px rgba(0,0,0,.24)}
/* Record detail as an enlarged version of show boot themes; Easy Readability keeps neutral base. */
.rc451-record-detail{--show-accent:#7eabd1;border:3px solid transparent;
 background:var(--show-boot-bg,var(--show-solid)) padding-box,
 linear-gradient(135deg,var(--show-accent),var(--show-secondary),var(--show-a)) border-box;
 padding:14px;color:#fff;}
.rc451-record-detail .rc440-record-top{background:#0a1928ed!important;border-left:5px solid var(--show-accent)!important}
.rc451-record-detail .rc440-record-top h3{color:#fff!important}
.rc451-record-detail :is(.rc440-field,.rc440-notes,.rc440-cast-member){background:#101e30f2!important;color:#fff!important;border-color:#496278!important}
.rc451-record-detail .rc440-field strong,.rc451-record-detail .rc440-cast-member .rc446-cast-actor{color:#fff!important}
.rc451-record-detail .rc440-section h3{color:#fff!important}
.rc451-record-detail :is(.rc440-field span,.rc440-mini,.rc440-record-top .rc440-kicker){color:#c6d9ef!important}
.rc451-record-detail .rc440-footer :is(button,a){border-color:var(--show-accent)!important}
body.easy-readability .rc451-record-detail{background:linear-gradient(#111b29,#111b29) padding-box,linear-gradient(120deg,var(--show-accent),var(--show-secondary)) border-box}
body[data-surface="light"][data-ui-theme="modern"] .rc451-person-heading{background:#f1f6fc!important;color:#17344c!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-person-heading strong{color:#193950!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-person-heading small{color:#496780!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-person-heading:hover{background:#e3eef9!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-item{background:linear-gradient(#f8fbff,#f8fbff) padding-box,linear-gradient(125deg,var(--show-accent),var(--show-secondary)) border-box!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-title{color:#14334c!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-quick-detail{background:#eef5fb!important;border-color:#b6cede!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-quick-field{background:#fff!important;color:#14344c!important;border-color:#c2d4e4!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-quick-field>span{color:#466783!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail{background:var(--show-boot-bg,var(--show-solid)) padding-box,linear-gradient(125deg,var(--show-accent),var(--show-secondary)) border-box!important;color:#fff!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail .rc440-record-top h3{color:#fff!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail .rc440-field strong,
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail .rc440-cast-member .rc446-cast-actor{color:#fff!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail .rc440-section h3{color:#fff!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail .rc440-notes{color:#f8fbff!important}
body[data-surface="light"][data-ui-theme="modern"].easy-readability .rc451-record-detail{background:linear-gradient(#f8fbff,#f8fbff) padding-box,linear-gradient(125deg,var(--show-accent),var(--show-secondary)) border-box!important}
body[data-surface="light"][data-ui-theme="modern"].easy-readability .rc451-record-detail .rc440-section h3{color:#19364e!important}
body[data-surface="light"][data-ui-theme="modern"].easy-readability .rc451-record-detail :is(.rc440-field,.rc440-notes,.rc440-cast-member){background:#fff!important;color:#1f3e56!important;border-color:#bfd2e4!important}
body[data-surface="light"][data-ui-theme="modern"].easy-readability .rc451-record-detail :is(.rc440-field strong,.rc440-cast-member .rc446-cast-actor){color:#19334b!important}
@media(max-width:660px){.rc451-person-heading{flex-wrap:wrap}.rc451-person-heading small{margin-left:0;flex:1 1 100%}.rc451-chevron{margin-left:auto}.rc451-quick-detail{grid-template-columns:1fr}.rc451-quick-field:has(.rc451-cast){grid-column:1}}
@media(prefers-reduced-motion:reduce){.rc451-person-heading,.rc451-chevron,.rc451-record-item,.rc451-record-title::after{transition:none!important}}
/* Light-mode collection header must outrank the earlier generic light header rule. */
body[data-surface="light"][data-ui-theme="modern"] .drawer .drawerhead{
 background:var(--show-solid)!important;color:var(--show-title-ink,#fff)!important;
 border-top-color:var(--show-accent)!important;border-bottom-color:var(--show-accent)!important;
}
body[data-surface="light"][data-ui-theme="modern"] .drawer .drawerhead h2{
 color:var(--show-title-ink,#fff)!important;background:transparent!important;border:0!important;
}
body[data-surface="light"][data-ui-theme="modern"] .drawer .drawerhead :is(.eyebrow,#drawerSub){color:var(--show-title-ink,#fff)!important}
/* Keep labelled catalogue selectors on one row at tablet widths without obscuring the caption. */
@media(max-width:720px){body[data-ui-theme="modern"] :is(.master-view-toggle,.master-parent-show-filter-v4321){margin-top:4px!important}}
/* Highest-specificity repair: the legacy light Catalogue selector used a 3-class
   :is() arm, so later one-class overrides did not actually win the cascade. */
body[data-surface="light"][data-ui-theme="modern"] #masterShows.master-shows-grid .master-show-card{
 background:var(--show-solid)!important;
 color:var(--show-title-ink)!important;
 border:1px solid var(--show-accent)!important;
}
body[data-surface="light"][data-ui-theme="modern"] #masterShows .master-show-card .master-show-name{
 background:transparent!important;color:var(--show-title-ink)!important;
 text-shadow:0 1px 2px rgba(0,0,0,.2)!important;border:0!important;
}
body[data-surface="light"][data-ui-theme="modern"] #masterShows .master-show-card .master-show-counts span{
 background:rgba(6,13,23,.6)!important;color:#fff!important;border-color:rgba(255,255,255,.42)!important;
}
body[data-surface="light"][data-ui-theme="modern"] #masterShows .master-show-card:hover .master-show-name{
 background:rgba(7,15,27,.85)!important;color:#fff!important;
}
/* Clearly labelled paired Catalogue controls; labels are not selection choices. */
body[data-ui-theme="modern"] #page-master .master-view-toggle::before,
body[data-ui-theme="modern"] #page-master .master-parent-show-filter-v4321::before{
 display:block!important;position:absolute!important;top:-10px!important;
 background:var(--rt9-paper,#112033)!important;
 border:1px solid #8d6fae!important;border-radius:2px!important;
 padding:3px 8px!important;line-height:1.2!important;color:var(--rt9-ink,#e9d7ff)!important;
 z-index:2!important;font-weight:850!important;font-size:9px!important;letter-spacing:.11em!important;
}
body[data-ui-theme="modern"] #page-master :is(.master-view-toggle,.master-parent-show-filter-v4321){margin-top:12px!important;margin-bottom:4px!important}
/* Actor-profile show tiles inherit the show's artwork, hues and readable title colour. */
.rc450-show-wrap .rc450-show-row .rc440-actor-show,
.rc447-master-card>summary{
 background:var(--show-solid,#16283c)!important;
 color:var(--show-title-ink,#fff)!important;
 border-color:var(--show-accent,#799abb)!important;
 isolation:isolate!important;
}
.rc450-show-wrap .rc450-show-row .rc440-actor-show::before,
.rc447-master-card>summary::before{
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
 background-image:linear-gradient(90deg,rgba(4,12,22,.9),rgba(4,12,22,.78)),var(--role-image,none);
 background-position:center;background-size:cover;opacity:0;
 transition:opacity .38s ease;
}
.rc450-show-wrap .rc450-show-row .rc440-actor-show:hover::before,
.rc447-master-card>summary:hover::before{opacity:1}
.rc450-show-wrap .rc450-show-row .rc440-actor-show :is(strong,small),
.rc447-master-card>summary :is(strong,small){color:var(--show-title-ink,#fff)!important}
.rc450-show-wrap .rc450-show-row .rc440-actor-show:hover :is(strong,small),
.rc447-master-card>summary:hover :is(strong,small){color:#fff!important;text-shadow:0 1px 2px #000!important}
body[data-surface="light"][data-ui-theme="modern"] .rc450-show-wrap .rc450-show-row .rc440-actor-show,
body[data-surface="light"][data-ui-theme="modern"] .rc447-master-card>summary{
 background:var(--show-solid,#f3f7fb)!important;color:var(--show-title-ink,#152d44)!important;
 border-color:var(--show-accent,#7397bb)!important;
}
body[data-surface="light"][data-ui-theme="modern"] .rc450-show-wrap .rc450-show-row .rc440-actor-show :is(strong,small),
body[data-surface="light"][data-ui-theme="modern"] .rc447-master-card>summary :is(strong,small){color:var(--show-title-ink,#182e44)!important}
body[data-surface="light"][data-ui-theme="modern"] .rc450-show-wrap .rc450-show-row .rc440-actor-show:hover :is(strong,small),
body[data-surface="light"][data-ui-theme="modern"] .rc447-master-card>summary:hover :is(strong,small){color:#fff!important}
/* Override all older generic light modal field selectors, but ONLY for themed recording details. */
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail :is(.rc440-record-top,.rc440-field,.rc440-cast-member,.rc440-notes){
 background:#0d1d2bf5!important;border-color:#46617c!important;color:#fff!important;
}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail :is(.rc440-field span,.rc440-cast-member span,.rc440-mini){color:#bbd2e9!important}
body[data-surface="light"][data-ui-theme="modern"] .rc451-record-detail .rc440-cast-member .rc446-cast-role{color:#d1dfed!important}
body[data-surface="light"][data-ui-theme="modern"].easy-readability .rc451-record-detail :is(.rc440-record-top,.rc440-field,.rc440-cast-member,.rc440-notes){
 background:#fff!important;color:#1c3850!important;border-color:#b5cbdc!important;
}
body[data-surface="light"][data-ui-theme="modern"].easy-readability .rc451-record-detail .rc440-record-top h3{color:#18354b!important}
/* Actual labelled controls, not CSS-only hints that can disappear under old rules. */
body[data-ui-theme="modern"] #page-master :is(.master-view-toggle,.master-parent-show-filter-v4321)::before{content:none!important}
body[data-ui-theme="modern"] #page-master :is(.master-view-toggle,.master-parent-show-filter-v4321){
 overflow:visible!important;position:relative!important;margin-top:23px!important;padding-top:0!important;
}
body[data-ui-theme="modern"] #page-master .rc451-group-caption{
 position:absolute!important;left:0;top:-22px;z-index:5;
 font:800 10px/1.25 system-ui,sans-serif!important;letter-spacing:.07em;
 padding:2px 6px;background:#24394f;color:#fff;border:1px solid #875ba7;
 white-space:nowrap;pointer-events:none;
}
body[data-surface="light"][data-ui-theme="modern"] #page-master .rc451-group-caption{
 background:#e6eff9;color:#223f58;border-color:#a9b8d8;
}
