/* Proposal layout EXPLORER · UI enhancement, no table or destination-link edits */
:root{--mbc-bg:#eaf2f5;--mbc-surface:#fffdf8;--mbc-ink:#102d43;--mbc-muted:#5c7482;--mbc-border:#cad8d8;--mbc-teal:#d39c53;--mbc-azure:#076d76;}
html{scroll-behavior:smooth}
body.mbc-five-ready{background:#eaf2f5!important;color:#102d43!important;min-width:0}
.mbc-five-ready .mbc-top,.mbc-five-ready .mbc-classic-header{background:#072a3a!important;border-bottom:3px solid #d39c53!important;}
.mbc-five-ready .mbc-brand-name,.mbc-five-ready .mbc-classic-brand strong{color:#ffffff!important}
.mbc-five-ready .mbc-brand-caption,.mbc-five-ready .mbc-classic-brand small{color:#d39c53!important}
.mbc-five-ready .mbc-top-action,.mbc-five-ready .mbc-classic-head-actions a{border-color:#d39c53!important}
.mbc-five-ready .mbc-nav a,.mbc-five-ready .mbc-classic-nav a{color:#ffffff!important}
.mbc-five-ready .mbc-nav a:hover,.mbc-five-ready .mbc-classic-nav a:hover,.mbc-five-ready .mbc-nav a[aria-current='page'],.mbc-five-ready .mbc-classic-nav a[aria-current='page']{background:#076d76!important;color:#fff!important;}
.mbc-five-shell{display:grid;gap:19px;max-width:1810px;margin:22px auto 60px;padding:0 18px;align-items:start;}
.mbc-five-shell{grid-template-columns:220px minmax(0,1fr) 220px}

.mbc-five-main{min-width:0;display:flex;flex-direction:column;gap:18px;}
.mbc-five-main>.WordSection1{min-width:0;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
.mbc-five-main>.mbc-hero,.mbc-five-main>.mbc-classic-intro{box-sizing:border-box;max-width:none!important;width:100%!important;margin:0!important;min-height:246px!important;padding:35px clamp(22px,4vw,54px)!important;background:linear-gradient(90deg,#fffdf8fd 0%,#fffdf8ee 39%,#fffdf844 72%,transparent 100%),url('mbc-five-cover.webp') center right/cover no-repeat!important;border:1px solid #cad8d8!important;border-top:5px solid #d39c53!important;border-radius:18px!important;box-shadow:0 14px 35px #00000018!important;}
.mbc-five-main>.mbc-hero{display:flex!important;align-items:center!important;justify-content:flex-start!important;}
.mbc-five-main>.mbc-hero .mbc-hero-copy{max-width:660px!important}
.mbc-five-main>.mbc-hero h1,.mbc-five-main>.mbc-classic-intro h1{color:#102d43!important;font:700 clamp(29px,3.4vw,51px)/1.13 Georgia,'Segoe UI',serif!important;text-shadow:0 1px 12px #fffdf865!important;}
.mbc-five-main>.mbc-hero .mbc-desc,.mbc-five-main>.mbc-classic-intro .mbc-classic-description{color:#5c7482!important;font-size:15px!important;}
.mbc-five-main>.mbc-hero .mbc-overline,.mbc-five-main>.mbc-classic-intro .mbc-classic-eyebrow{color:#076d76!important;font-weight:800!important}
.mbc-five-featured{background:#fffdf8;border:1px solid #cad8d8;padding:19px;border-radius:16px;box-shadow:0 8px 25px #0000000a;}
.mbc-five-featured-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:13px;color:#102d43;font:700 17px/1.3 Georgia,'Segoe UI',serif}
.mbc-five-featured-all{font:700 12px system-ui!important;color:#076d76!important;text-decoration:none!important}
.mbc-five-card-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;}
.mbc-five-feature{position:relative;display:block;min-width:0;height:143px;overflow:hidden;border-radius:12px;background:#e9edf0;border:1px solid #cad8d8;text-decoration:none!important;box-shadow:0 6px 15px #00000015;transition:transform .15s,box-shadow .15s}
.mbc-five-feature:hover{transform:translateY(-3px);box-shadow:0 10px 22px #00000030}
.mbc-five-card-img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;}
.mbc-five-card-overlay{position:absolute;left:0;right:0;bottom:0;min-height:55px;background:linear-gradient(0deg,#071c2df5,#071c2db8 72%,transparent);color:#fff!important;padding:15px 9px 9px;text-align:center;font-family:'Segoe UI',Arial,sans-serif;}
.mbc-five-card-overlay b{display:block;font-size:12px;line-height:1.2;color:white!important;}
.mbc-five-card-overlay small{display:block;font-size:9px;color:#e1eef5!important;margin-top:4px;}
.mbc-five-search-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;min-width:0;}
.mbc-five-search-box{box-sizing:border-box!important;max-width:none!important;min-width:0!important;width:100%!important;height:auto!important;margin:0!important;flex:none!important;border:1px solid #cad8d8!important;background:#fffdf8!important;border-radius:14px!important;box-shadow:0 5px 20px #0000000b!important;padding:19px!important;}
.mbc-five-search-box :is(h2,label){color:#102d43!important;font-size:14px!important;font-weight:700!important;margin:0 0 9px!important;}
.mbc-five-search-box p,.mbc-five-search-box small{color:#5c7482!important;}
.mbc-five-search-box input{max-width:100%;min-width:0;box-sizing:border-box;}
.mbc-five-search-box input[type=search]{background:#e9edf0!important;color:#102d43!important;border:1px solid #cad8d8!important;border-radius:9px!important;padding:10px!important;}
.mbc-five-search-box button,.mbc-five-search-box .mbc-txt-submit{background:#087b72!important;color:white!important;border-color:#087b72!important;}
.mbc-five-classic-search{display:flex;flex-direction:column;gap:10px;justify-content:center}
.mbc-five-stats{display:flex;gap:8px;flex-wrap:wrap;}
.mbc-five-stat{display:flex;align-items:baseline;gap:7px;flex:1;min-width:120px;padding:12px 16px;border:1px solid #cad8d8;border-radius:10px;background:#fffdf8;color:#102d43;font-family:system-ui,Arial,sans-serif;}
.mbc-five-stat strong{font:800 19px/1 system-ui,Arial,sans-serif;color:#076d76}
.mbc-five-stat span{font-size:11px;color:#5c7482}
.mbc-five-aside{position:sticky;top:16px;background:#fffdf8;border:1px solid #cad8d8;border-radius:15px;padding:16px;box-shadow:0 7px 28px #00000012;min-width:0;}
.mbc-five-sidehead{display:flex;align-items:center;gap:8px;padding:7px 2px 15px;border-bottom:1px solid #cad8d8;color:#102d43;font:800 12px system-ui,Arial;}
.mbc-five-sideicon{color:#076d76;font-size:26px;}
.mbc-five-sidenav{display:flex;flex-direction:column;gap:4px;margin:10px 0;}
.mbc-five-sidenav a{display:block;padding:10px 13px;color:#102d43!important;border-radius:8px;font:700 12px system-ui,Arial;text-decoration:none!important;overflow-wrap:anywhere;}
.mbc-five-sidenav a:hover,.mbc-five-sidenav a[aria-current='page']{background:#076d76!important;color:white!important;}
.mbc-five-sidenote{font:12px/1.6 system-ui,Arial;color:#5c7482;background:#e9edf0;padding:13px;border-radius:10px}
.mbc-five-sidenote b{color:#076d76}
.mbc-five-right-box{margin-bottom:14px;border-bottom:1px solid #cad8d8;padding-bottom:13px;font:12px/1.5 system-ui,Arial;color:#5c7482}
.mbc-five-right-box h2{margin:0 0 8px;font:700 17px/1.3 Georgia,serif;color:#102d43}
.mbc-five-socials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.mbc-five-socials a{display:block;padding:9px 4px;text-align:center;border:1px solid #cad8d8;border-radius:7px;background:#e9edf0;color:#102d43!important;text-decoration:none!important;font:700 10px system-ui,Arial}
.mbc-five-right-note{background:#e9edf0;padding:14px;border-radius:9px}
.mbc-five-right-note strong{color:#102d43}
.mbc-five-main .mbc-table-frame,.mbc-five-main .mbc-classic-catalogue{width:100%!important;max-width:none!important;margin:0 0 18px!important;min-width:0!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table){width:100%;}
.mbc-five-main :is(.mbc-table-label,.mbc-classic-catalogue-caption){background:#076d76!important;border-bottom:3px solid #d39c53!important;color:#ffffff!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) tr:first-child{background:#072a3a!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) tr:nth-child(even){background:#e9edf0!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) tr:nth-child(odd){background:#fffdf8!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) tr:first-child :is(td,th){background:#072a3a!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) td{border-color:#cad8d8!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) td :is(p,span,b,font,strong){color:#102d43!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) td a{color:#076d76!important;}
.mbc-five-main .mbc-legacy-block,.mbc-five-main .mbc-classic-legacy{background:#fffdf8!important;border-color:#cad8d8!important;}
.mbc-five-main .mbc-legacy-block summary{color:#102d43!important;}
.mbc-five-ready .mbc-ui,.mbc-five-ready .mbc-ui *{box-sizing:border-box}
/* Remove inherited decorative pseudo-elements that cover headings in older themes. */
.mbc-five-ready .mbc-five-main>.mbc-hero::before,
.mbc-five-ready .mbc-five-main>.mbc-hero::after{content:none!important;display:none!important;}
.mbc-five-search-grid>.mbc-five-search-box:only-child{grid-column:1 / -1}
.mbc-five-aurora .mbc-classic-nav{background:#111536!important;border-top:1px solid #4852a0!important;}
.mbc-five-heritage .mbc-classic-nav{background:#601d37!important;}
.mbc-five-lumen .mbc-top-action:not(.mbc-download){color:#164b7d!important;background:#eff8fc!important;border-color:#9ecad9!important;}
.mbc-five-lumen .mbc-top-action.mbc-download{color:#ffffff!important;background:#078e9b!important;}
/* High priority table action contrast: existing links unchanged. */
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) a.mbc-action,.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) a.mbc-classic-chip{border-radius:8px!important;background:#076d76!important;color:#ffffff!important;}
.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) a.mbc-action :is(span,b,font),.mbc-five-main :is(.mbc-library-table,.mbc-classic-table) a.mbc-classic-chip :is(span,b,font){color:inherit!important;}
@media(max-width:1300px){.mbc-five-shell{grid-template-columns:1fr!important;}.mbc-five-aside{position:relative;top:0}.mbc-five-aside-left{display:none!important}.mbc-five-aside-right{display:none!important}.mbc-five-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:800px){.mbc-five-shell{padding:0 9px;gap:12px;margin:10px auto 32px}.mbc-five-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.mbc-five-feature{height:130px}.mbc-five-search-grid{grid-template-columns:1fr}.mbc-five-main>.mbc-hero,.mbc-five-main>.mbc-classic-intro{padding:28px 22px!important;min-height:215px!important}.mbc-five-main>.mbc-hero h1,.mbc-five-main>.mbc-classic-intro h1{font-size:30px!important}}
@media(max-width:410px){.mbc-five-card-grid{gap:7px}.mbc-five-feature{height:115px}.mbc-five-card-overlay b{font-size:11px}.mbc-five-stats{flex-direction:column}}
/* Explorer: three-column panoramic library, dual search */
 .mbc-five-main>.mbc-hero{min-height:230px!important}
 .mbc-five-featured{padding:10px;background:transparent;border:0;box-shadow:none}
 .mbc-five-featured-head{margin:0 0 10px}
 .mbc-five-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 .mbc-five-feature{height:121px}
 .mbc-five-aside-left{background:linear-gradient(160deg,#063d4c,#0d243d)!important}
 .mbc-five-aside-left .mbc-five-sidehead,.mbc-five-aside-left .mbc-five-sidenav a{color:#eefeff!important}
 .mbc-five-aside-left .mbc-five-sidenav a:hover,.mbc-five-aside-left .mbc-five-sidenav a[aria-current='page']{background:#16a1a5!important}
 .mbc-five-aside-left .mbc-five-sidenote{background:#0c5060!important;color:#fff!important}
 .mbc-five-aside-left .mbc-five-sidenote b{color:#fff!important}
 .mbc-five-aside-right{background:#fcf2de!important}
 .mbc-five-featured .mbc-five-feature:last-child{display:none}
 .mbc-five-main .mbc-table-frame{box-shadow:0 9px 30px #193c4d1f!important}
 
/* Explorer catalogue visibility repair: keep original links and SEO markup. */
.mbc-five-explorer .mbc-five-shell{grid-template-columns:minmax(0,1fr)!important;max-width:1810px;}
.mbc-five-explorer .mbc-five-top-grid{display:grid;grid-template-columns:220px minmax(0,1fr) 220px;gap:19px;align-items:start;min-width:0;}
.mbc-five-explorer .mbc-five-top-center{display:flex;flex-direction:column;gap:18px;min-width:0;}
.mbc-five-explorer .mbc-five-top-center>.mbc-hero{box-sizing:border-box;max-width:none!important;width:100%!important;margin:0!important;min-height:230px!important;padding:35px clamp(22px,4vw,54px)!important;background:linear-gradient(90deg,#fffdf8fd 0%,#fffdf8ee 39%,#fffdf844 72%,transparent 100%),url('mbc-five-cover.webp') center right/cover no-repeat!important;border:1px solid #cad8d8!important;border-top:5px solid #d39c53!important;border-radius:18px!important;box-shadow:0 14px 35px #00000018!important;}
.mbc-five-explorer .mbc-five-top-center>.mbc-hero::before,.mbc-five-explorer .mbc-five-top-center>.mbc-hero::after{display:none!important;}
.mbc-five-explorer .mbc-five-top-center>.mbc-hero .mbc-hero-copy{max-width:660px!important;}
.mbc-five-explorer .mbc-five-top-grid>.mbc-five-aside{position:relative;top:0;}
.mbc-five-explorer .mbc-table-access{width:100%;min-width:0;max-width:100%;box-sizing:border-box;}
.mbc-five-explorer .mbc-table-frame{box-sizing:border-box;overflow-x:auto!important;max-width:100%!important;}
.mbc-five-explorer .mbc-table-access-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:8px;background:#076d76;color:#fff;padding:7px 10px;border-radius:9px 9px 0 0;font:600 12px system-ui,Arial;}
.mbc-five-explorer .mbc-table-access-bar[hidden]{display:none!important;}
.mbc-five-explorer .mbc-table-access-bar button{flex:none;border:1px solid #cce5e5;border-radius:5px;background:#fffdf8;color:#076d76;padding:5px 9px;font:700 12px system-ui;cursor:pointer;}
.mbc-five-explorer .mbc-table-access-bar input{min-width:45px;flex:1;accent-color:#fff;cursor:pointer;}
.mbc-five-explorer .mbc-table-access .mbc-table-frame{margin-bottom:18px!important;}
.mbc-five-explorer .mbc-home-wide-table{width:100%!important;min-width:1220px!important;max-width:none!important;table-layout:fixed!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td{box-sizing:border-box;text-align:center!important;vertical-align:middle!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(1){width:3%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(2){width:19%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(3){width:20%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(4){width:7%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(5){width:4%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(6){width:7%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(7){width:4%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(8){width:8%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(9){width:9%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(10){width:8%!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child>td:nth-child(11){width:11%!important;}
.mbc-five-explorer .mbc-home-wide-table td{box-sizing:border-box;overflow-wrap:anywhere;}
.mbc-five-explorer .mbc-home-wide-table td p{margin-left:0!important;margin-right:0!important;text-indent:0!important;}
.mbc-five-explorer .mbc-home-wide-table tr:first-child img{max-width:100%!important;max-height:50px!important;width:auto!important;height:auto!important;object-fit:contain;}
.mbc-five-explorer .mbc-library-table tr:first-child td :is(p,span,b,font,strong){color:#fff!important;}
.mbc-five-explorer .mbc-library-table a.mbc-action{white-space:normal!important;overflow-wrap:normal!important;box-sizing:border-box;}
@media(max-width:1300px){.mbc-five-explorer .mbc-five-top-grid{grid-template-columns:minmax(0,1fr);}}
@media(max-width:800px){.mbc-five-explorer .mbc-five-top-center>.mbc-hero{padding:28px 22px!important;min-height:215px!important;}.mbc-five-explorer .mbc-table-access-bar{gap:4px;padding:6px;}.mbc-five-explorer .mbc-table-access-bar button{padding:5px;}}

/* SEO V2: readable Explorer text and selected navigation */
.mbc-five-explorer .mbc-five-sidenav a:hover,.mbc-five-explorer .mbc-five-sidenav a[aria-current="page"]{background:#076d76!important;color:#fff!important;}
.mbc-five-explorer .mbc-library-table tr:not(:first-child) td a:not(.mbc-action),.mbc-five-explorer .mbc-library-table tr:not(:first-child) td a:not(.mbc-action) :is(span,b,font,strong){color:#075d67!important;}

/* SEO V2.1: Explorer hero contrast after moving hero into top grid. */
.mbc-five-explorer .mbc-five-top-center>.mbc-hero h1{color:#102d43!important;font:700 clamp(29px,3.4vw,51px)/1.13 Georgia,'Segoe UI',serif!important;text-shadow:0 1px 12px #fffdf8!important;}
.mbc-five-explorer .mbc-five-top-center>.mbc-hero p.mbc-desc{color:#243e4c!important;}
.mbc-five-explorer .mbc-five-top-center>.mbc-hero .mbc-overline{color:#075d67!important;}
.mbc-five-explorer .mbc-five-top-center>.mbc-hero .mbc-hero-copy{background:rgba(255,253,248,.85);border-radius:10px;padding:12px;}
.mbc-five-explorer .mbc-five-search-box p,.mbc-five-explorer .mbc-five-search-box small,.mbc-five-explorer .mbc-five-stat span,.mbc-five-explorer .mbc-five-right-box p{color:#405b69!important;}
.mbc-five-explorer .mbc-five-feature,.mbc-five-explorer .mbc-nav a{transition:none!important;}
.mbc-five-explorer .mbc-five-feature:hover{transform:none!important;}

/* V5.1: readable legacy text links; modern action buttons untouched. */
.mbc-five-explorer a.mbc-legacy-readable:not(.mbc-action),.mbc-five-explorer a.mbc-legacy-readable:not(.mbc-action) :is(span,b,font,strong){color:#07505b!important;}
.mbc-five-explorer a.mbc-legacy-readable:not(.mbc-action){background-color:#fffdf8!important;}

/* V5.2: collection action palette. Only visual CSS; original HTML and links unchanged. */
.mbc-five-explorer .mbc-five-main .mbc-library-table td a.mbc-action.mbc-a-download{background:#086C78!important;border-color:#086C78!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table td a.mbc-action.mbc-a-gh{background:#374151!important;border-color:#374151!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table td a.mbc-action.mbc-a-join{background:#1168AD!important;border-color:#1168AD!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table td a.mbc-action.mbc-a-go{background:#9C3659!important;border-color:#9C3659!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table td a.mbc-action.mbc-a-list{background:#344D86!important;border-color:#344D86!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(.mbc-home-wide-table,#mbc-biblio-grid,#mbc-project-grid,#mbc-science-grid,#mbc-portuguese-grid,#mbc-librusec-grid) tr>td:nth-child(5) a.mbc-action.mbc-a-download,
.mbc-five-explorer .mbc-five-main .mbc-library-table#mbc-travel-grid tr>td:nth-child(6) a.mbc-action.mbc-a-download{background:#28783D!important;border-color:#28783D!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(.mbc-home-wide-table,#mbc-biblio-grid,#mbc-project-grid,#mbc-science-grid,#mbc-portuguese-grid,#mbc-librusec-grid) tr>td:nth-child(6) a.mbc-action.mbc-a-gh,
.mbc-five-explorer .mbc-five-main .mbc-library-table#mbc-travel-grid tr>td:nth-child(7) a.mbc-action.mbc-a-gh{background:#77519C!important;border-color:#77519C!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(#mbc-emule-grid,#mbc-torrent-grid) tr>td:nth-child(3) a.mbc-action.mbc-a-download{background:#374151!important;border-color:#374151!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(#mbc-emule-grid,#mbc-torrent-grid) tr>td:nth-child(4) a.mbc-action.mbc-a-download{background:#086C78!important;border-color:#086C78!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(#mbc-emule-grid,#mbc-torrent-grid) tr>td:nth-child(5) a.mbc-action.mbc-a-download{background:#A04C13!important;border-color:#A04C13!important;color:#fff!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(.mbc-home-wide-table,#mbc-biblio-grid,#mbc-project-grid,#mbc-portuguese-grid) tr:not(:first-child)>td:nth-child(8) a[href]:not(.mbc-action):not([href*="LIBRUSEC.htm"]),
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(#mbc-science-grid,#mbc-librusec-grid) tr:not(:first-child)>td:nth-child(7) a[href]:not(.mbc-action),
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(.mbc-home-wide-table,#mbc-biblio-grid,#mbc-project-grid,#mbc-portuguese-grid) tr:not(:first-child)>td:nth-child(8) a[href]:not(.mbc-action):not([href*="LIBRUSEC.htm"]) :is(span,b,font,strong),
.mbc-five-explorer .mbc-five-main .mbc-library-table:is(#mbc-science-grid,#mbc-librusec-grid) tr:not(:first-child)>td:nth-child(7) a[href]:not(.mbc-action) :is(span,b,font,strong){color:#A04C13!important;}
.mbc-five-explorer .mbc-five-main .mbc-library-table td a.mbc-action:hover{filter:brightness(.92)!important;}

/* V5.3: modern resources panel, scoped to the home page only. */
.mbc-legacy-content:has(>.mbc-resources){padding:0!important;background:#0b1b2c!important;max-height:none!important;overflow:visible!important;}
.mbc-resources,.mbc-resources *{box-sizing:border-box!important;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;letter-spacing:normal!important;text-indent:0!important;}
.mbc-resources{padding:clamp(16px,2.3vw,30px)!important;background:#0b1b2c!important;color:#d7e8f3!important;display:grid;gap:18px;font-size:14px!important;line-height:1.5!important;min-width:0;}
.mbc-resources h2{font-size:14px!important;font-weight:700!important;line-height:1.4!important;color:#d7e8f3!important;margin:0 0 10px!important;padding:0!important;text-transform:none!important;}
.mbc-resources p{font-size:13px!important;line-height:1.5!important;color:#b9cedc!important;margin:6px 0 0!important;}
.mbc-resources a{color:#fff!important;text-decoration:none!important;}
.mbc-resources a:focus-visible{outline:3px solid #f1c56b!important;outline-offset:3px!important;}
.mbc-res-brand{border-bottom:1px solid #324658;padding-bottom:16px;}
.mbc-resources .mbc-res-brand-link{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#65d9ed!important;font-weight:800!important;font-size:clamp(20px,2.4vw,30px)!important;line-height:1.25!important;}
.mbc-res-brand-link img{width:48px!important;height:40px!important;object-fit:contain!important;}
.mbc-res-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
.mbc-res-group{min-width:0;}
.mbc-resources>.mbc-res-group{border-top:1px solid #324658;padding-top:15px;}
.mbc-res-actions,.mbc-res-social,.mbc-res-flags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.mbc-resources .mbc-res-btn{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:40px;padding:8px 13px!important;border:1px solid transparent!important;border-radius:7px!important;font-weight:700!important;font-size:13px!important;line-height:1.35!important;white-space:normal;}
.mbc-res-btn img{width:23px!important;height:23px!important;object-fit:contain!important;}
.mbc-resources .mbc-res-emule{background:#086c78!important;}.mbc-resources .mbc-res-torrent{background:#28783d!important;}.mbc-resources .mbc-res-telegram,.mbc-resources .mbc-res-clone{background:#1168ad!important;}.mbc-resources .mbc-res-github{background:#374151!important;}.mbc-resources .mbc-res-zip{background:#08745b!important;}
.mbc-resources .mbc-res-social-link{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid #40566a!important;background:#172f43!important;border-radius:7px!important;padding:3px!important;}
.mbc-res-social-link img{display:block;width:28px!important;height:28px!important;object-fit:contain!important;border:0!important;}
.mbc-res-flags img{width:30px!important;height:20px!important;object-fit:contain!important;border:0!important;}
.mbc-res-backup{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:#142c40;border:1px solid #40566a;border-radius:10px;padding:14px;}
.mbc-res-backup h2{color:#eac16c!important;margin-bottom:0!important;}
.mbc-res-foot{border-top:1px solid #324658;padding-top:12px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;}
.mbc-resources .mbc-res-vpn{color:#75c9e8!important;text-decoration:underline!important;font-size:13px!important;}
.mbc-resources a:hover{filter:brightness(1.12);}
@media(max-width:720px){.mbc-res-grid{grid-template-columns:1fr;gap:16px;}.mbc-resources{gap:14px;}.mbc-resources .mbc-res-social-link{width:40px;height:40px;}}

/* V5.5: interior collection headers only; no collection-table rules. */
.mbc-inner-panel,.mbc-inner-panel *{box-sizing:border-box!important;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;letter-spacing:normal!important;text-indent:0!important;line-height:1.4!important;}
.mbc-inner-panel{display:grid;gap:14px;background:#0b1b2c!important;color:#d7e8f3!important;border:1px solid #324658;border-radius:14px;padding:clamp(14px,2vw,24px)!important;margin:12px 0 18px!important;min-width:0;width:100%;max-width:100%;}
.mbc-inner-panel a{text-decoration:none!important;color:#fff!important;}
.mbc-inner-panel a:focus-visible{outline:3px solid #f1c56b!important;outline-offset:3px!important;}
.mbc-inner-top,.mbc-inner-title-row,.mbc-inner-actions,.mbc-inner-social,.mbc-inner-brand{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;}
.mbc-inner-top{justify-content:space-between;}
.mbc-inner-panel .mbc-inner-back{display:inline-flex;padding:7px 12px!important;border:1px solid #40566a!important;border-radius:7px;background:#172f43!important;font-size:13px!important;font-weight:700!important;color:#e1eff6!important;}
.mbc-inner-panel .mbc-inner-brand-name{font-size:14px!important;font-weight:750!important;color:#65d9ed!important;}
.mbc-inner-panel .mbc-inner-brand-logo img{width:32px!important;height:32px!important;object-fit:contain;display:block;}
.mbc-inner-title-row{justify-content:space-between;}
.mbc-inner-panel .mbc-inner-title{color:#f1f7fb!important;font-weight:800!important;font-size:clamp(20px,2.2vw,30px)!important;overflow-wrap:anywhere;}
.mbc-inner-title img{width:36px!important;height:36px!important;object-fit:contain;vertical-align:middle;margin-right:10px!important;}
.mbc-inner-panel .mbc-inner-it-green,.mbc-inner-panel .mbc-inner-pt-green{color:#6ee7a0!important;}
.mbc-inner-panel .mbc-inner-it-red{color:#ff8d94!important;}
.mbc-inner-panel .mbc-inner-btn{display:inline-flex;align-items:center;gap:4px;min-height:40px;padding:8px 12px!important;border-radius:7px;border:1px solid transparent!important;font-size:13px!important;font-weight:750!important;color:#fff!important;}
.mbc-inner-btn small{font-size:12px!important;color:#fff!important;font-weight:600!important;}
.mbc-inner-panel .mbc-inner-emule{background:#086c78!important;}.mbc-inner-panel .mbc-inner-torrent{background:#28783d!important;}.mbc-inner-panel .mbc-inner-telegram{background:#1168ad!important;}.mbc-inner-panel .mbc-inner-list{background:#344d86!important;}
.mbc-inner-share{border-top:1px solid #324658;padding-top:12px;display:grid;gap:9px;min-width:0;}
.mbc-inner-panel .mbc-inner-share-label{margin:0!important;padding:0!important;font-size:13px!important;font-weight:750!important;color:#d7e8f3!important;background:transparent!important;}
.mbc-inner-social{gap:7px;}
.mbc-inner-panel .mbc-inner-social-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;padding:3px!important;background:#172f43!important;border:1px solid #40566a!important;border-radius:7px;}
.mbc-inner-social-link img{display:block;width:28px!important;height:28px!important;object-fit:contain!important;border:0!important;margin:0!important;}
.mbc-inner-panel .mbc-inner-vpn{color:#75c9e8!important;font-size:13px!important;text-decoration:underline!important;justify-self:start;}
.mbc-inner-panel a:hover{filter:brightness(1.12);}
@media(max-width:720px){.mbc-inner-panel{gap:12px;}.mbc-inner-title-row{align-items:flex-start;}.mbc-inner-panel .mbc-inner-social-link{width:42px;height:42px;flex-basis:42px;}.mbc-inner-actions{gap:7px;}}

/* V5.6: contrast on the catalogue bar and footer only. */
body.mbc-five-ready .mbc-table-label small {color:#fff!important;opacity:1!important;}
body.mbc-five-ready .mbc-footer {color:#304c5e!important;border-top-color:#a8bac4!important;}
body.mbc-five-ready .mbc-footer span {color:#304c5e!important;}
body.mbc-five-ready .mbc-footer a,body.mbc-five-ready .mbc-footer a:visited {color:#07505e!important;text-decoration:underline!important;}
