/* v4.4.10 — Actor/role drilldowns & consistent selected control edges.
   Presentation only. Recording colours and existing saving logic remain authoritative. */
body[data-ui-theme="modern"] :is(.seg,.master-view-toggle,.rc443-mode-switch,.nft-style-toggle) > button:is(.active,[aria-pressed="true"]),
body[data-ui-theme="modern"] :is(.files-list-toggle,.view-toggle,.rc443-mode-switch) button:is(.active,[aria-pressed="true"]),
body[data-ui-theme="modern"] .tabbar > .subtab.active{
 border:1px solid transparent!important;
 background:linear-gradient(#142238,#142238) padding-box,linear-gradient(115deg,#f06dc7,#b28cff 57%,#7abff4) border-box!important;
 box-shadow:0 0 0 1px rgba(185,105,231,.19),0 0 13px rgba(190,95,206,.29)!important;
 color:#fff!important;
}
body[data-ui-theme="modern"] .quicklinks button.active,
body[data-ui-theme="modern"] :is(.quicklink,.pack-chip).active{
 border-color:#c485e7!important;box-shadow:0 0 11px rgba(206,113,221,.2)!important;
}
/* NFT STYLE: not an option in a segmented group. */
body[data-ui-theme="modern"] .nft-style-toggle>.nft-style-label{
 display:inline-flex!important;align-items:center!important;border:0!important;
 border-right:1px solid #43566c!important;margin-right:5px!important;
 padding-right:12px!important;color:#a7c4df!important;
 font-size:10px!important;font-weight:800!important;letter-spacing:.11em!important;
 box-shadow:none!important;background:transparent!important;
}
body[data-ui-theme="modern"] :is(.viewmode-buttons,.viewmode-toggle,.files-list-toggle){
 background:transparent!important;box-shadow:none!important;border:0!important;
}
/* Make the unselected controls visible as buttons in dark mode. */
body[data-surface="dark"][data-ui-theme="modern"] :is(.seg,.master-view-toggle,.rc443-mode-switch,.nft-style-toggle) > button:not(.active):not([aria-pressed="true"]){
 border:1px solid #34475c!important;background:#101e2f!important;color:#bfd2e5!important;
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body[data-ui-theme="modern"] .mainnav .navbtn{
   transform:translateX(0) scale(1)!important;transform-origin:left center!important;
   transition:transform .52s cubic-bezier(.2,1.3,.24,1),font-size .46s cubic-bezier(.2,1,.25,1),
    background-color .28s ease,color .28s ease,box-shadow .28s ease,border-color .28s ease!important;
 }
 body[data-ui-theme="modern"] .mainnav .navbtn:is(:hover,:focus-visible){transform:translateX(5px) scale(1.045)!important}
}
/* Expanded actor-profile recording listings: contained in the profile scroll, not a new page. */
.rc450-show-wrap{max-width:780px;margin:8px 0 18px}
.rc450-show-row{display:flex;align-items:stretch;gap:9px;flex-wrap:wrap}
.rc450-show-row .rc440-actor-show{flex:1 1 370px;max-width:none;min-width:200px}
.rc450-show-row .rc440-actor-show[aria-expanded="true"]{border-color:#b788e0;box-shadow:inset 0 0 0 1px #b788e0}
.rc450-view-library{border:1px solid #54708b;background:#172a40;color:#f6f9ff;padding:10px 12px;cursor:pointer;font-size:12px;font-weight:750;align-self:center;min-height:37px}
.rc450-view-library:hover,.rc450-view-library:focus-visible{border-color:#d080e1;background:#273c56}
.rc450-record-list{display:grid;gap:7px;margin:0;padding:9px 12px 12px;border:1px solid #42627e;background:#0b1c2c}
.rc450-record-list[hidden]{display:none!important}
.rc450-record-item{display:flex;flex-direction:column;gap:7px;border:1px solid #35516a;background:#132437;padding:9px 11px;min-width:0}
.rc450-record-title{display:block;width:100%;text-align:left;background:none!important;box-shadow:none!important;padding:3px 0!important;border:0!important;color:#f5f9ff;font-size:12px;font-weight:700;line-height:1.5;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.rc450-record-title:hover{text-decoration:underline;text-decoration-color:#e48dda;text-underline-offset:3px;color:#ffd6f7}
.rc450-record-item>small{color:#bbd0e5;font-size:11px;line-height:1.35}
.rc450-record-actions{display:flex;gap:7px;flex-wrap:wrap}
.rc450-record-actions button{background:#1b3046;border:1px solid #4b6a85;color:#e8f5ff;font-size:11px;min-height:29px;padding:5px 9px;cursor:pointer}
.rc450-record-actions button:is(:hover,:focus-visible){background:#273e57;border-color:#d184d9}
.rc450-person-group{margin:15px 0 19px;max-width:770px}
.rc450-person-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;margin-bottom:8px}
.rc450-person-heading button{color:#ebefff;border:0;background:none;text-align:left;padding:0;cursor:pointer;font-size:13px;font-weight:750}
.rc450-person-heading button:hover{text-decoration:underline;text-decoration-color:#d78bd9}
.rc450-person-heading small{font-size:11px;color:#bdd1e4}
.rc450-catalogue-show .rc450-record-list{border:0;border-top:1px solid #42627e;margin:0}
.rc450-role-catalogue{padding-bottom:20px}
.rc450-catalogue-show .rc450-record-item{border-color:#446179}
body[data-surface="light"][data-ui-theme="modern"] :is(.rc450-record-list,.rc450-record-item){background:#f2f7fc!important;border-color:#b9ccdc!important}
body[data-surface="light"][data-ui-theme="modern"] .rc450-record-title{color:#173852!important}
body[data-surface="light"][data-ui-theme="modern"] .rc450-record-title:hover{color:#8046a6!important}
body[data-surface="light"][data-ui-theme="modern"] .rc450-record-item>small{color:#526d84!important}
body[data-surface="light"][data-ui-theme="modern"] .rc450-record-actions button,
body[data-surface="light"][data-ui-theme="modern"] .rc450-view-library{background:#fff!important;color:#24425e!important;border-color:#adbed1!important}
body[data-surface="light"][data-ui-theme="modern"] .rc450-person-heading button{color:#273f59!important}
body[data-surface="light"][data-ui-theme="modern"] .rc450-person-heading small{color:#536e85!important}
body[data-surface="light"][data-ui-theme="modern"] :is(.seg,.master-view-toggle,.rc443-mode-switch,.nft-style-toggle)>button:is(.active,[aria-pressed="true"]),
body[data-surface="light"][data-ui-theme="modern"] .tabbar>.subtab.active{
 color:#172f47!important;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(115deg,#ec79c5,#a891e7 57%,#72b0df) border-box!important;
}
body[data-surface="light"][data-ui-theme="modern"] .nft-style-toggle>.nft-style-label{color:#4a647d!important;border-right-color:#c0cfde!important}
@media(max-width:640px){.rc450-show-row{flex-direction:column}.rc450-show-row .rc440-actor-show{flex-basis:auto;width:100%}.rc450-view-library{width:100%;margin-top:0}.rc450-record-actions button{flex:1 1 135px}}
@media(prefers-reduced-motion:reduce){body[data-ui-theme="modern"] .mainnav .navbtn{transition:none!important}}

/* Collection shortcut links: remove the enclosing boxy button treatment. */
body[data-ui-theme="modern"] .quicklinks{background:transparent!important;border:0!important;box-shadow:none!important;gap:13px!important}
body[data-ui-theme="modern"] .quicklinks .quicklink{
 background:transparent!important;border:0!important;border-bottom:1px solid #51627b!important;
 border-radius:0!important;box-shadow:none!important;padding:9px 4px!important;min-height:35px!important;
 color:#bbcae0!important;transition:color .2s ease,border-color .2s ease!important;
}
body[data-ui-theme="modern"] .quicklinks .quicklink:is(:hover,:focus-visible){color:#fff!important;border-bottom-color:#cd88e0!important}
body[data-surface="light"][data-ui-theme="modern"] .quicklinks .quicklink{color:#35536d!important;border-bottom-color:#adbfd1!important}
body[data-surface="light"][data-ui-theme="modern"] .quicklinks .quicklink:is(:hover,:focus-visible){color:#7543a8!important;border-bottom-color:#ae74c9!important}
