/* V10.3 scoped search/interaction fixes. Does not change single-anime, episode or schedule pages. */
body.rean-wp #rean-browse-menu:not([hidden]){display:block!important;position:fixed!important;inset:0!important;z-index:2147483000!important;pointer-events:auto!important;overflow:visible!important}
body.rean-wp #rean-browse-menu:not([hidden]) .rean-browse-scrim{position:fixed;inset:0;pointer-events:auto}
body.rean-wp #rean-browse-menu:not([hidden]) .rean-browse-panel{position:fixed;z-index:2;left:0;top:0;max-height:100dvh;pointer-events:auto}
body.rean-wp #rean-menu-toggle{pointer-events:auto!important;cursor:pointer!important;position:relative!important;display:flex!important;opacity:1!important;visibility:visible!important;z-index:3!important}
body.rean-wp .rean-header{pointer-events:auto!important}
body.rean-wp .rean-header-inner{position:relative!important;z-index:2!important}
body.rean-wp .rean-card{position:relative!important;isolation:isolate}
body.rean-wp .rean-card>.rean-watchlist-toggle{position:absolute!important;top:8px!important;right:8px!important;left:auto!important;bottom:auto!important;z-index:30!important;pointer-events:auto!important;cursor:pointer!important;display:grid!important;place-items:center!important;width:29px!important;height:29px!important;border-radius:50%!important;background:#090b0de6!important;border:1px solid #ffffff36!important;color:white!important;font-size:20px!important;line-height:1!important;opacity:0;visibility:visible!important;transform:scale(.93);transition:opacity .18s,transform .18s,background .18s!important}
body.rean-wp .rean-card:is(:hover,:focus-within)>.rean-watchlist-toggle,body.rean-wp .rean-card>.rean-watchlist-toggle.is-saved{opacity:1!important;transform:scale(1)!important}
body.rean-wp .rean-card>.rean-watchlist-toggle.is-saved{background:#d5ff51!important;color:#0a0a0a!important}
@media(hover:none),(max-width:1023px){body.rean-wp .rean-card>.rean-watchlist-toggle{opacity:1!important;transform:none!important}}
/* Search page */
body.rean-wp .rean-search-page{padding:74px 0 70px!important;min-height:95vh;background:#000;color:#f7f7f9}
.rean-search-page .rean-catalogue-form{max-width:none;margin:0 auto;padding:0 17px}
.rean-catalogue-top{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:22px;align-items:end;padding:0 2px 18px;border-bottom:1px solid #ffffff19}
.rean-catalogue-top .rean-facet{display:flex;flex-direction:column;min-width:0;gap:7px}
.rean-catalogue-top .rean-facet strong{font-weight:720;font-size:16px;color:#f5f5f8}
.rean-catalogue-top .rean-facet select,.rean-catalogue-top .rean-facet input{appearance:none;-webkit-appearance:none;border:0;border-radius:4px;background:transparent;color:#f5f5f8;font:600 13px Inter,Arial,sans-serif;padding:8px 22px 8px 5px;min-height:35px;width:100%;outline-offset:3px;cursor:pointer}
.rean-catalogue-top .rean-facet select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a3a6b2' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center}
.rean-catalogue-top .rean-facet select option{background:#121319;color:#fff}
.rean-catalogue-top .rean-facet input{cursor:text;min-width:0}
.rean-catalogue-top .rean-facet input:focus,.rean-catalogue-top .rean-facet select:focus{background-color:#15171c}
.rean-catalogue-actions{display:none}
.rean-catalogue-body{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;padding-top:19px}
.rean-catalogue-sidebar{display:flex;flex-direction:column;gap:13px;min-width:0}
.rean-filter-group{border:1px solid #ffffff17;border-radius:9px;background:#090909;padding:10px 13px;min-width:0}
.rean-filter-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:15px;font-weight:720;padding:0;min-height:20px}
.rean-filter-group summary::-webkit-details-marker{display:none}
.rean-filter-group summary span{font-size:17px;color:#b9bdc5;transform:rotate(-90deg);transition:transform .18s}
.rean-filter-group[open] summary span{transform:rotate(0)}
.rean-filter-options{padding:12px 0 0;display:grid;gap:7px}
.rean-filter-options label{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.3;font-weight:540;color:#e8e8eb;cursor:pointer}
.rean-filter-options input{accent-color:#d5fe43;width:15px;height:15px;margin:0;flex:none}
.rean-filter-options label:hover span{color:#d5fe43}
.rean-catalogue-side-actions{display:flex;gap:9px}
.rean-catalogue-side-actions button,.rean-catalogue-side-actions a,.rean-catalogue-apply,.rean-catalogue-reset{padding:9px 13px;border-radius:7px;border:1px solid #ffffff27;background:#19191d;color:#fff;font-size:12px;font-weight:650;cursor:pointer;text-decoration:none;text-align:center}
.rean-catalogue-side-actions button{background:#d4ff46;color:#080808;border-color:#d4ff46;flex:1}
.rean-catalogue-results{min-width:0}
.rean-catalogue-result-count{font-size:12px;font-weight:650;margin:2px 0 15px;color:#eaeef5}
.rean-catalogue-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:30px 13px;align-items:start}
.rean-catalogue-grid .rean-card{min-width:0}
.rean-catalogue-grid .rean-card h3{font-size:12px!important;line-height:1.35!important}
.rean-catalogue-grid .rean-cover{margin-bottom:9px!important}
.rean-catalogue-pagination{padding:31px 0 42px}
.rean-catalogue-pagination ul{display:flex;justify-content:center;gap:13px;align-items:center;list-style:none;padding:0;margin:0}
.rean-catalogue-pagination a,.rean-catalogue-pagination span{display:grid;place-items:center;min-width:32px;height:34px;padding:0 8px;text-decoration:none;border-radius:100%;font-size:13px;font-weight:700;color:#e8e8e8}
.rean-catalogue-pagination .current,.rean-catalogue-pagination a:hover{background:#22252a;color:#fff}
.rean-catalogue-empty{padding:35px;color:#aaa}
.rean-catalogue-empty a{color:#d9fa82}
@media(max-width:1679px){.rean-catalogue-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.rean-catalogue-top{gap:12px}}
@media(max-width:1360px){.rean-catalogue-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.rean-catalogue-top{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1023px){
 body.rean-wp .rean-search-page{padding-top:76px!important}
 .rean-catalogue-form{padding:0 13px!important}
 .rean-catalogue-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding-bottom:13px}
 .rean-catalogue-top .rean-facet-keyword{grid-column:1/-1}
 .rean-catalogue-top .rean-facet strong{font-size:12px}
 .rean-catalogue-top .rean-facet select,.rean-catalogue-top .rean-facet input{background-color:#141417;border:1px solid #ffffff12;border-radius:8px;padding:10px 30px 10px 11px;font-size:13px}
 .rean-catalogue-top .rean-facet select{background-position:right 9px center}
 .rean-catalogue-actions{display:flex;align-items:center;gap:11px;margin:14px 0 0}
 .rean-catalogue-mobile-filter{flex:1;text-align:left;border-radius:8px;background:#111319;color:white;border:1px solid #ffffff26;cursor:pointer;padding:10px 12px;font-weight:700}
 .rean-catalogue-mobile-filter span{float:right}
 .rean-catalogue-apply{background:#d5ff51;color:#080808;border-color:#d5ff51}
 .rean-catalogue-reset{background:#141414}
 .rean-catalogue-body{display:block;padding-top:15px}
 .rean-catalogue-sidebar{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-bottom:17px}
 .rean-catalogue-sidebar.is-open{display:grid}
 .rean-catalogue-sidebar .rean-catalogue-side-actions{grid-column:1/-1}
 .rean-catalogue-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 11px}
}
@media(max-width:590px){
 .rean-catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .rean-catalogue-top{gap:9px}
 .rean-catalogue-sidebar{grid-template-columns:1fr 1fr}
 .rean-filter-group{padding:9px 10px}
 body.rean-wp .rean-card>.rean-watchlist-toggle{width:29px!important;height:29px!important}
}

/* WordPress frontend may not load wp-admin's screen reader utility CSS. */
.rean-search-page h1.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.rean-search-page .rean-catalogue-loading{opacity:.55;pointer-events:none;transition:opacity .15s}
body.rean-wp #rean-sidebar .sb-more:not([hidden]){display:flex!important;flex-direction:column;pointer-events:auto!important;z-index:9801!important}
body.rean-wp #rean-sidebar .sb-more:not([hidden]) .sb-label{display:inline!important}
