/* Shared catalog and directory finish */
.site-main.directory-main{max-width:none;padding:40px 3.2% 88px}
.directory-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 24px;padding-bottom:19px;border-bottom:1px solid #263750}
.directory-heading .page-title{font-size:clamp(30px,3vw,46px);letter-spacing:-.035em}
.directory-heading .page-intro{margin:8px 0 0;color:#a8b9cd;font-size:14px}
.directory-back{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;border:1px solid #3a5c80;background:#12243a;color:#dbedff;border-radius:999px;padding:9px 14px;font-size:13px;font-weight:750;transition:background .2s,border-color .2s}
.directory-back:hover{background:#17416c;border-color:#67b5ff}
.directory-main .grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:25px 13px}
.directory-main .card h3{font-size:13px;margin-top:8px}
.directory-main .card-poster{border-radius:10px}
.directory-secondary{margin-top:46px;padding-top:27px;border-top:1px solid #263750}
.directory-secondary h2{font-size:22px;margin:0 0 16px}
.directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px;margin:0}
.directory-card{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:66px;padding:13px 16px;border:1px solid #263d58;border-radius:12px;background:linear-gradient(145deg,#142235,#0d1828);color:#e5f0fc;font-size:14px;font-weight:750;transition:transform .18s,border-color .18s,background .18s}
.directory-card>span:first-child,.directory-card.active>span:first-child{color:inherit}
.directory-card:hover,.directory-card.active{transform:translateY(-2px);border-color:#54aaff;background:linear-gradient(145deg,#1b4369,#11283e)}
.directory-main .network-grid{margin:4px 0 0}
.directory-main .network-card{border-color:#28425e;background:linear-gradient(145deg,#141d2a,#0b111a);transition:transform .2s,border-color .2s,box-shadow .2s}
.directory-main .network-card:hover,.directory-main .network-card.active{transform:translateY(-3px);border-color:#5b9dd5;box-shadow:0 16px 34px #0006}
.network-card img{filter:none;opacity:1}
.network-card[data-network-id="213"] strong{color:#e50914}
.network-card[data-network-id="49"] strong{color:#aa80ff}
.network-card[data-network-id="1024"] strong{color:#00a8e1}
.network-card[data-network-id="2739"] strong{color:#7aa8ff}
.network-card[data-network-id="2552"] strong{color:#f4f6fa}
.network-card[data-network-id="4569"] strong{color:#30aafa}
.switcher-toggle{color:#fff}
.switcher-current{transition:color .2s}
.switcher-toggle:hover .switcher-current,.switcher-toggle:focus-visible .switcher-current{color:#5eb5ff}
.switcher-network{color:var(--brand,#fff)}
.switcher-originals{color:#fff;transition:color .2s}
.switcher-toggle:hover .switcher-originals,.switcher-options button:hover .switcher-originals{color:#5eb5ff}
.switcher-chevron{width:18px;height:18px;fill:none;stroke:#cbd9e9;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s,stroke .2s}
.switcher-toggle[aria-expanded=true] .switcher-chevron{transform:rotate(180deg);stroke:#5eb5ff}
.switcher-toggle:hover .switcher-chevron,.switcher-toggle:focus-visible .switcher-chevron{stroke:#5eb5ff}
.switcher-options{width:max-content;min-width:220px;max-width:min(310px,90vw)}
.switcher-options button{white-space:nowrap}
:is(.home-main,.detail-body) .rail-button{display:block;top:0;bottom:var(--rail-arrow-bottom,24px);width:32px;height:auto;border:0;border-radius:0;background:none;color:transparent;font-size:0;text-shadow:none;box-shadow:none;backdrop-filter:none}
:is(.home-main,.detail-body) .rail-button:before{content:'';position:absolute;top:50%;left:50%;display:block;width:11px;height:11px;border-top:2px solid #fff;border-right:2px solid #fff;filter:drop-shadow(0 1px 3px #000);transition:filter .18s}
:is(.home-main,.detail-body) .rail-button.next:before{transform:translate(-50%,-50%) rotate(45deg)}
:is(.home-main,.detail-body) .rail-button.prev:before{transform:translate(-50%,-50%) rotate(225deg)}
:is(.home-main,.detail-body) .rail-button:hover:before{filter:drop-shadow(0 1px 4px #000) brightness(1.3)}
:is(.home-main,.detail-body) .rail-button.next{right:-26px}
:is(.home-main,.detail-body) .rail-button.prev{left:-36px}
:is(.home-main,.detail-body) .rail-button:hover{filter:brightness(1.3)}
.detail-body .cast-wrap{--rail-arrow-bottom:44px}
.detail-body .rail-wrap:after{content:"";position:absolute;right:0;top:0;bottom:0;width:88px;pointer-events:none;background:linear-gradient(90deg,transparent 0%,#0009 58%,#000e 100%);opacity:0;transition:opacity .2s ease}
.detail-body #related .rail-wrap:after{width:88px;background:linear-gradient(90deg,transparent 0%,#0009 58%,#000e 100%)}
.detail-body .rail-wrap:hover:after,.detail-body .rail-wrap:focus-within:after{opacity:1}
.site-main.no-hero .prose{max-width:850px;margin:0 auto;padding:30px 34px;border:1px solid #263d58;border-radius:16px;background:linear-gradient(155deg,#102136,#0b1421);box-shadow:0 18px 48px #0004}
.site-main.no-hero .prose h1{font-size:clamp(30px,4vw,44px);margin-bottom:20px}
.site-main.no-hero .prose p{color:#c7d7e8;line-height:1.8}
.site-main.no-hero .prose a{color:#7fc4ff}
@media(max-width:1280px){.directory-main .grid{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:900px){.directory-main .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.site-main.directory-main{padding:27px 5% 65px}.directory-heading{align-items:start}.directory-back{padding:7px 9px;font-size:11px}.directory-main .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-card{min-height:58px;padding:10px;font-size:12px}.site-main.no-hero .prose{padding:23px 20px}:is(.home-main,.detail-body) .rail-button{display:none}:is(.home-main,.detail-body) .rail-wrap:after{display:none}}
@media(min-width:701px) and (max-width:1100px){:is(.home-main,.detail-body) .rail-button.prev{left:-21px}:is(.home-main,.detail-body) .rail-button.next{right:-18px}}
@media(max-width:390px){.directory-main .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
