/* WordPress bridge: only WP/data integration fixes. Primary visual system is supplied.css. */
[hidden]{display:none!important}.screen-reader-text,.skip-link{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}.skip-link:focus{z-index:100000;top:8px;left:8px;width:auto!important;height:auto!important;padding:10px 14px!important;margin:0!important;clip:auto!important;background:#fff;color:#111}.admin-bar header{top:32px}
/* Header contract */
header .nav-wrapper .left-header{min-width:max-content}.ak-header-actions{display:flex;align-items:center;flex-shrink:0}.custom-logo-link{display:flex;align-items:center;margin-right:auto}.custom-logo{max-width:110px;height:auto}.brand.ak-brand{display:block;white-space:nowrap;font-size:1.1rem}.brand.ak-brand strong{font-weight:700}.suggestion a{display:block;padding:.7rem 1rem;border-radius:.5rem}.suggestion a:hover{background:#20272e}.suggestion[hidden]{display:none!important}
/* Featured: original stylesheet expects the artwork on .swiper-slide itself. */
#featured [data-featured-slide]{display:none}#featured [data-featured-slide].active{display:flex}.featured-label{opacity:.9;margin-bottom:1rem;font-size:.95rem}.featured-nav-wrap .featured-pagination{display:flex!important}.featured-nav-wrap .featured-pagination span+span{margin-left:.25rem}
/* Home spacing/heading bridge */
.home-content{position:relative}.ak-continue{position:relative;z-index:3;margin-bottom:2.2rem}.ak-cw-items{margin-bottom:1rem}.ak-cw-progress{height:3px;background:rgba(255,255,255,.08);border-radius:3px;overflow:hidden;margin-top:.6rem}.ak-cw-progress i{height:100%;background:#e45f3a;display:block}.r-update .shead{margin-bottom:1rem}.r-update>.sfoot{padding-top:.3rem}.alist-group{margin-top:2rem}.alist-group .aitem-wrapper.compact .aitem{display:flex}.alist-group .aitem-wrapper.compact .aitem .poster{flex-shrink:0}.alist-group .aitem-wrapper.compact .aitem .poster>div,.aitem-wrapper.mini .poster>div{height:100%}.alist-group .aitem-wrapper.compact .aitem .poster img,.aitem-wrapper.mini .poster img{width:100%;height:100%;object-fit:cover}.ak-schedule-empty{color:rgba(255,255,255,.5);padding:.8rem 1.5rem}
/* Local top-three decoration because the supplied CSS points to AnimeKai's private /assets path. */
.aitem-col.top-anime .aitem:nth-child(-n+3):after{background-image:url('../images/claw.svg')!important;background-size:contain;background-position:left center}.aitem-col.top-anime .aitem .detail{min-width:0}
/* Player / episodes WordPress data bridge */
.ak-player-placeholder{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.ak-player-placeholder p{margin:.8rem 0 0;color:rgba(255,255,255,.55)}.ak-player-placeholder .player-status{font-size:.85rem}.ak-downloads{display:flex;flex-wrap:wrap;gap:.6rem}.download-panel{background:#11161b;border-radius:1.2rem;padding:1.5rem}.ak-report-dialog{color:#fff;background:#11161b;border:1px solid rgba(255,255,255,.1);border-radius:1rem;width:min(92vw,520px);padding:1.5rem}.ak-report-dialog::backdrop{background:rgba(0,0,0,.78)}.ak-report-dialog .dialog-close{float:right;color:#fff;background:transparent;border:0;font-size:1.7rem}.ak-report-dialog label{display:block;margin:1rem 0}.ak-report-dialog select,.ak-report-dialog textarea{width:100%;margin-top:.4rem}.ak-report-dialog .form-status{margin-top:.8rem;color:rgba(255,255,255,.65)}body.ak-focus:before{content:"";position:fixed;inset:0;z-index:9997;background:rgba(0,0,0,.86)}body.ak-focus .player-section{position:relative;z-index:9998}.episode-section .eplist li[hidden]{display:none!important}.episode-section .dropdown-menu{max-height:270px;overflow:auto}.episode-section .dropdown-menu.show{display:block}.episode-section .eplist ul>li a .episode-flags{margin-left:auto;display:none;gap:.25rem}.episode-section .eplist.titles ul>li a .episode-flags{display:flex}.episode-section .eplist.titles ul>li a .episode-flags b{font-size:.65rem;font-weight:600}.episode-section .eplist ul>li a.current{color:#fff!important;background:#e45f3a!important}.episode-section .head-top .subdub-sw span[aria-disabled="true"]{opacity:.15;pointer-events:none}.player-section #player iframe{border:0}.server-items span.server[hidden]{display:none!important}.server-items span.server.disabled{opacity:.25;pointer-events:none}.ak-empty-note{color:rgba(255,255,255,.5);text-align:center;padding:2rem}.entity-section .poster img{display:block;width:100%;height:auto}.entity-section .main-entity .detail a{color:#fff}.entity-section .main-entity .detail a:hover{color:#36cb68}.entity-section .provider-score-note{display:block;font-size:.75rem;opacity:.6;margin-top:.2rem}.ak-related{padding-bottom:3rem}.ak-related .shead{margin-top:1rem}
/* Standalone anime detail: do not use the 11% collapsed player-side entity width. */
.single-anime-detail .anime-detail-wrap{align-items:stretch}.single-anime-detail .anime-detail-wrap>.entity-section{width:auto;max-width:none;flex:1 1 auto;flex-direction:row;order:0;overflow:hidden;min-height:430px}.single-anime-detail .entity-section .poster-wrap{width:280px;min-width:280px;border-radius:1.2rem 0 0 1.2rem;padding:2rem}.single-anime-detail .entity-section .poster-wrap .poster{width:100%;border-radius:.8rem}.single-anime-detail .entity-section .main-entity .entity-scroll{position:relative;padding:2rem}.single-anime-detail .entity-section .main-entity .title,.single-anime-detail .entity-section .main-entity .al-title{text-align:left}.single-anime-detail .entity-section .main-entity .info{justify-content:flex-start}.single-anime-detail .entity-section .main-entity .desc{margin-right:18rem}.single-anime-detail .entity-section .main-entity .detail{margin-right:18rem}.single-anime-detail .entity-section .rate-box{width:17rem}.single-anime-detail .anime-detail-wrap>.episode-section{width:25%;min-width:340px;max-width:400px;order:0}.anime-detail-actions{margin:-1rem 0 2rem}.anime-detail-actions .btn{padding:.8rem 1.5rem}
@media(max-width:1199.98px){.single-anime-detail .anime-detail-wrap>.entity-section{flex-direction:row;min-height:unset}.single-anime-detail .anime-detail-wrap>.episode-section{width:100%;max-width:none}.single-anime-detail .entity-section .main-entity .desc,.single-anime-detail .entity-section .main-entity .detail{margin-right:0}}
@media(max-width:767.98px){.single-anime-detail .anime-detail-wrap>.entity-section{flex-direction:column}.single-anime-detail .entity-section .poster-wrap{width:100%;min-width:0;border-radius:1.2rem 1.2rem 0 0}.single-anime-detail .entity-section .poster-wrap .poster{width:11rem}.single-anime-detail .entity-section .rate-box{width:auto}.ak-header-actions{margin-left:auto}.admin-bar header{top:46px}}
/* Generic WordPress pages that previously used an unstyled helper class. */
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.3rem}.section-heading h1,.section-heading h2{color:#fff;margin:0;font-size:1.5rem;font-weight:500}.muted{color:rgba(255,255,255,.5)}.quiet{opacity:.65}.quiet:hover{opacity:1}.ak-page{padding-top:9rem;padding-bottom:3rem}
/* Correct the star pseudo glyph embedded as mojibake in the copied stylesheet. */
.entity-section .rate-box .stars i:before{content:"\f005"!important;font-family:"Font Awesome 6 Free"!important;font-weight:900!important}
/* Mobile menu fallback: the source theme JS toggled inline display. */
@media(max-width:991.98px){#menu.active>ul{display:block!important}}
/* 2.5: align WordPress output with the supplied AnimeKai component contracts. */
.nav-menu{display:block}.nav-menu>ul>li>a{white-space:nowrap}.nav-menu>ul>li>ul:after{content:"";display:block;clear:both}.right-header{display:flex;align-items:center;flex-shrink:0}.right-header .account{margin:0;padding:0}.right-header .account i{font-size:1.15rem}
/* Native WP dynamic browse controls inside the source #filters grid. */
.browse-page>.shead{margin-bottom:1.4rem}.browse-page #az-filters{margin-bottom:1.5rem}.browse-page #filters select.form-control{appearance:auto;color:rgba(255,255,255,.78);border:0;outline:0;width:100%;cursor:pointer}.browse-page #filters select.form-control option{color:#fff;background:#181d22}.browse-page #filters .ak-filter-submit,.browse-page #filters .ak-filter-reset{width:100%;height:2.5rem;border-radius:.6rem;justify-content:center;align-items:center;gap:.45rem;display:flex}.browse-page #filters .ak-filter-reset{background:#181d22}.browse-page #filters .more-filters{clear:both}.browse-page .ak-selected{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem}.browse-page .ak-selected .chip{background:#181d22;border-radius:2rem;padding:.4rem .8rem;font-size:.9rem}.browse-page .ak-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:.45rem;margin:2rem 0}.browse-page .ak-pagination a{min-width:2.5rem;height:2.5rem;padding:0 .7rem;background:#11161b;border-radius:.6rem;display:flex;align-items:center;justify-content:center}.browse-page .ak-pagination a.active,.browse-page .ak-pagination a:hover{color:#fff;background:#e45f3a}
/* Correct copied pseudo-icon mojibake in the browse search control. */
#filters .main-filters>div .search:after,#filters .more-filters>div:not(:is(.dropdown-wrap,.no-dropdown)) .search:after,#filters .dropdown-wrap>div .search:after{content:"\f002"!important;font-family:"Font Awesome 6 Free"!important;font-weight:900!important}
/* Standalone anime page: source entity component, but expanded as a polished hero instead of the compact player sidebar. */
.single-anime-detail .single-anime-card{position:relative;z-index:2;margin-bottom:2rem}.single-anime-detail .single-anime-card>.entity-section{width:100%;max-width:none;min-height:430px;display:grid;grid-template-columns:260px minmax(0,1fr);grid-template-rows:1fr auto;overflow:hidden}.single-anime-detail .single-anime-card .entity-section .poster-wrap{grid-row:1/3;border-radius:1.2rem 0 0 1.2rem;padding:2rem;align-items:center}.single-anime-detail .single-anime-card .entity-section .poster-wrap .poster{width:min(100%,190px);border-radius:.8rem}.single-anime-detail .single-anime-card .entity-section .main-entity{min-width:0}.single-anime-detail .single-anime-card .entity-section .main-entity .entity-scroll{position:relative;inset:auto;overflow:visible;padding:2.2rem 2.4rem 1.5rem}.single-anime-detail .single-anime-card .entity-section .main-entity .title,.single-anime-detail .single-anime-card .entity-section .main-entity .al-title{text-align:left}.single-anime-detail .single-anime-card .entity-section .main-entity .info{justify-content:flex-start}.single-anime-detail .single-anime-card .entity-section .main-entity .desc{max-width:900px;max-height:none;-webkit-line-clamp:4}.single-anime-detail .single-anime-card .entity-section .main-entity .detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 2rem;max-width:950px}.single-anime-detail .single-anime-card .entity-section .rate-box{position:absolute;right:2rem;bottom:5.5rem;width:14rem;border-radius:1rem}.single-anime-detail .single-anime-cta{position:absolute;z-index:4;left:284px;right:2rem;bottom:1.2rem;display:flex;align-items:center;gap:.7rem}.single-anime-detail .single-anime-cta .btn{border-radius:.6rem;padding:.7rem 1.2rem}.single-anime-detail .single-anime-cta .watch-now{background:#e45f3a;color:#fff;font-weight:500}.single-anime-detail .single-anime-cta .watch-now:hover{background:#ed714f}.single-anime-detail .single-anime-cta .btn i{margin-right:.35rem}
/* Episodes on anime detail are a full-width catalogue, not the narrow watch sidebar. */
.single-anime-episodes{position:relative;z-index:2;background:#0c1116;border-radius:1.2rem;padding:1.5rem;margin:0 0 2.5rem}.single-anime-episodes>.shead{margin-bottom:1rem}.single-anime-episodes>.episode-section{display:flex!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:0!important;height:auto!important;max-height:none!important;padding:1.5rem}.single-anime-episodes .episode-section .eplist{position:relative!important;inset:auto!important;min-height:0!important;max-height:none!important;height:auto!important;overflow:visible!important;margin-top:1rem}.single-anime-episodes .episode-section .eplist ul{display:flex;flex-wrap:wrap;margin:0 -.35rem;padding:0;list-style:none}.single-anime-episodes .episode-section .eplist ul>li{width:10%;padding:.35rem}.single-anime-episodes .episode-section .eplist ul>li a{min-height:2.8rem;border-radius:.6rem}.single-anime-episodes .episode-section .eplist.titles ul>li{width:25%}.single-anime-episodes .episode-section .eplist.titles ul>li a{padding-left:.8rem;padding-right:.8rem}
/* Footer markup now uses the source theme selectors. Text-logo fallback should still look intentional. */
footer .logo-footer .brand{margin:0;font-size:1.35rem;font-weight:400;display:inline-block}footer .logo-footer .brand strong{font-weight:700}footer .bot-footer .wrapper>div>div{margin-bottom:.25rem}footer .menu-footer{text-transform:uppercase}
@media(max-width:1299.9px){.nav-menu>ul>li>a{margin-right:1.2rem;font-size:1rem}.single-anime-episodes .episode-section .eplist ul>li{width:12.5%}.single-anime-episodes .episode-section .eplist.titles ul>li{width:33.3333%}}
@media(max-width:1059.9px){.browse-page #filters .main-filters>div{width:33.3333%}.browse-page #filters .more-filters>div:not(.dropdown-wrap){width:33.3333%;float:left;padding:.285714rem .4rem}.single-anime-detail .single-anime-card>.entity-section{grid-template-columns:220px minmax(0,1fr)}.single-anime-detail .single-anime-cta{left:244px}.single-anime-detail .single-anime-card .entity-section .rate-box{display:none}.single-anime-episodes .episode-section .eplist ul>li{width:16.6667%}}
@media(max-width:991.98px){.nav-menu{z-index:99;border-radius:1.2rem;margin-top:.5rem;position:absolute;top:100%;left:1.5rem;overflow:hidden}.nav-menu>ul{background:#181d22;padding:1rem 1.5rem 1.5rem!important;display:none!important;min-width:280px;max-width:min(92vw,520px);max-height:72vh;overflow:auto;box-shadow:0 .8rem 2rem rgba(0,0,0,.35)}.nav-menu.active>ul,.nav-menu>ul[style*="block"]{display:block!important}.nav-menu>ul>li>a{width:100%;padding:.65rem 0;margin:0;display:block}.nav-menu>ul>li>ul,.nav-menu>ul>li:hover>ul{position:static!important;opacity:1!important;pointer-events:auto!important;width:100%!important;margin:.2rem 0 .7rem!important;padding:.45rem 0!important;display:block!important;background:transparent!important;box-shadow:none!important}.nav-menu>ul>li>ul.c4 li{width:50%!important}.nav-menu>ul>li>ul.c1 li{width:50%!important}.nav-menu>ul>li>ul>li>a{padding:.32rem .25rem!important}#nav-menu-btn{display:block!important}.single-anime-detail .single-anime-card>.entity-section{grid-template-columns:190px minmax(0,1fr)}.single-anime-detail .single-anime-cta{left:214px}.single-anime-episodes .episode-section .eplist ul>li{width:20%}.single-anime-episodes .episode-section .eplist.titles ul>li{width:50%}}
@media(max-width:700px){.browse-page #filters .main-filters>div,.browse-page #filters .more-filters>div:not(.dropdown-wrap){width:50%}.single-anime-detail .single-anime-card>.entity-section{display:flex;min-height:0}.single-anime-detail .single-anime-card .entity-section .poster-wrap{width:100%;padding:1.5rem;border-radius:1.2rem 1.2rem 0 0}.single-anime-detail .single-anime-card .entity-section .poster-wrap .poster{width:10rem}.single-anime-detail .single-anime-card .entity-section .main-entity .entity-scroll{padding:1.5rem 1.5rem 5.2rem}.single-anime-detail .single-anime-card .entity-section .main-entity .detail{grid-template-columns:1fr}.single-anime-detail .single-anime-cta{left:1.5rem;right:1.5rem;bottom:1.2rem}.single-anime-detail .single-anime-cta .btn{flex:1;justify-content:center;display:flex;align-items:center}.single-anime-episodes{padding:1rem}.single-anime-episodes>.episode-section{padding:1rem!important}.single-anime-episodes .episode-section .eplist ul>li{width:25%}.single-anime-episodes .episode-section .eplist.titles ul>li{width:100%}}
@media(max-width:470px){.browse-page #filters .main-filters>div,.browse-page #filters .more-filters>div:not(.dropdown-wrap){width:100%}.single-anime-episodes .episode-section .eplist ul>li{width:33.3333%}.single-anime-detail .single-anime-cta{flex-direction:column}.single-anime-detail .single-anime-cta .btn{width:100%}.single-anime-detail .single-anime-card .entity-section .main-entity .entity-scroll{padding-bottom:8.5rem}}
/* 2.6 navigation: desktop hover dropdowns + dynamic filter destinations. */
@media(min-width:992px){
 #menu.active>ul>li.has-submenu:hover>ul,#menu>ul>li.has-submenu:hover>ul{display:block!important;opacity:1!important;pointer-events:auto!important;top:calc(100% + .5rem)!important}
 #menu>ul>li.has-submenu>a{cursor:default}
}
/* Compact homepage groups need explicit media geometry; supplied CSS styles colors but leaves poster sizing to source markup. */
.alist-group{overflow:hidden!important;width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
.alist-group .alist-wrapper{width:100%;align-items:flex-start}
.alist-group .alist-wrapper section.swiper-slide{min-width:0}
.alist-group .aitem-wrapper.compact .aitem{min-height:66px;padding:.65rem .75rem;gap:.75rem;overflow:hidden}
.alist-group .aitem-wrapper.compact .aitem .poster{display:block!important;width:46px!important;min-width:46px!important;height:46px!important;margin:0!important;border-radius:50%!important}
.alist-group .aitem-wrapper.compact .aitem .poster>div{width:100%;height:100%;padding:0!important}
.alist-group .aitem-wrapper.compact .aitem .poster img{object-fit:cover}
.alist-group .aitem-wrapper.compact .aitem .detail{min-width:0;flex:1;overflow:hidden}
.alist-group .aitem-wrapper.compact .aitem .detail .title{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:1rem;line-height:1.25rem}
.alist-group .aitem-wrapper.compact .aitem .detail .info{margin-top:.35rem;min-width:0}
.alist-group .aitem-wrapper.compact .aitem .detail .info span+span{margin-left:.55rem}
.alist-group .alist-empty{color:rgba(255,255,255,.45);background:rgba(24,29,34,.4);border-radius:.6rem;padding:1rem}
/* Single anime is informational only. Episodes live on the watch page. */
.single-anime-detail .single-anime-card{position:relative;z-index:2;margin-bottom:1rem}
.single-anime-detail .single-anime-card>.entity-section{width:100%!important;max-width:none!important;min-height:430px;display:grid!important;grid-template-columns:260px minmax(0,1fr);grid-template-rows:auto;overflow:hidden}
.single-anime-detail .single-anime-card .entity-section .poster-wrap{width:260px;min-width:260px;height:100%;border-radius:1.2rem 0 0 1.2rem;padding:2rem;align-items:center}
.single-anime-detail .single-anime-card .entity-section .poster-wrap .poster{width:100%;max-width:190px;border-radius:.8rem}
.single-anime-detail .single-anime-card .entity-section .main-entity{min-width:0;position:relative}
.single-anime-detail .single-anime-card .entity-section .main-entity .entity-scroll{position:relative!important;inset:auto!important;height:100%;overflow:visible!important;padding:2.2rem 2.4rem!important}
.single-anime-detail .single-anime-card .entity-section .main-entity .title,.single-anime-detail .single-anime-card .entity-section .main-entity .al-title{text-align:left!important}
.single-anime-detail .single-anime-card .entity-section .main-entity .info{justify-content:flex-start!important}
.single-anime-detail .single-anime-card .entity-section .main-entity .desc{max-width:980px!important;max-height:none!important;-webkit-line-clamp:5!important;margin-right:0!important}
.single-anime-detail .single-anime-card .entity-section .main-entity .detail{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 2rem;max-width:980px;margin-right:0!important}
.single-anime-detail .single-anime-card .entity-section .rate-box{position:static!important;width:auto!important;grid-column:1 / -1;border-radius:0!important;text-align:left;padding:1rem 2rem!important;display:flex;align-items:center;gap:1rem}
.single-anime-detail .single-anime-card .entity-section .rate-box p,.single-anime-detail .single-anime-card .entity-section .rate-box span{margin:0}
.single-anime-actions{position:relative;z-index:2;display:flex;align-items:center;gap:.75rem;margin:0 0 2.5rem;padding:0}
.single-anime-actions .btn{display:inline-flex;align-items:center;justify-content:center;border-radius:.7rem;padding:.8rem 1.35rem;min-height:44px}
.single-anime-actions .watch-now{background:#e45f3a;color:#fff;font-weight:600}
.single-anime-actions .watch-now:hover{background:#ed714f;color:#fff}
.single-anime-actions .btn i{margin-right:.45rem}
.single-anime-actions .browse-more{background:#181d22;color:#fff}
@media(max-width:915px){
 .alist-group .alist-wrapper{overflow:hidden;scroll-behavior:smooth;scroll-snap-type:x mandatory}
 .alist-group .alist-wrapper section.swiper-slide{flex:0 0 50%!important;width:50%!important;scroll-snap-align:start}
}
@media(max-width:639.9px){
 .alist-group .alist-wrapper section.swiper-slide{flex-basis:100%!important;width:100%!important}
 .single-anime-detail .single-anime-card>.entity-section{display:flex!important;flex-direction:column!important;min-height:0}
 .single-anime-detail .single-anime-card .entity-section .poster-wrap{width:100%!important;min-width:0!important;height:auto;border-radius:1.2rem 1.2rem 0 0;padding:1.5rem}
 .single-anime-detail .single-anime-card .entity-section .poster-wrap .poster{width:11rem!important}
 .single-anime-detail .single-anime-card .entity-section .main-entity .entity-scroll{padding:1.5rem!important}
 .single-anime-detail .single-anime-card .entity-section .main-entity .detail{grid-template-columns:1fr!important}
 .single-anime-detail .single-anime-card .entity-section .rate-box{padding:1rem 1.5rem!important;flex-wrap:wrap}
 .single-anime-actions{flex-direction:column;align-items:stretch}
 .single-anime-actions .btn{width:100%}
}

/* 2.7 seamless episode switching */
body.ak-episode-loading .player-section{position:relative;pointer-events:none}
body.ak-episode-loading .player-section:after{content:"Loading episode…";position:absolute;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;background:rgba(12,17,22,.72);backdrop-filter:blur(2px);font-weight:600;letter-spacing:.02em}
.watch-section.ak-episode-enter{animation:akEpisodeIn .16s ease-out}
@keyframes akEpisodeIn{from{opacity:.82}to{opacity:1}}
.alist-wrapper [data-collection-item][hidden]{display:none!important}

/* 2.8: schedule + next episode countdown */
#schedule[data-schedule-widget]{overflow:hidden}
#schedule[data-schedule-widget] .shead{display:flex;align-items:center;gap:.8rem}
#schedule[data-schedule-widget] .swiper.schedule{overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}
#schedule[data-schedule-widget] .swiper.schedule::-webkit-scrollbar{display:none}
#schedule[data-schedule-widget] .swiper-wrapper{width:max-content;min-width:100%}
#schedule[data-schedule-widget] .schedule-prev,#schedule[data-schedule-widget] .schedule-next{cursor:pointer;flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem}
#schedule[data-schedule-widget] ul[hidden]{display:none!important}
#schedule[data-schedule-widget] ul{max-height:28rem;overflow:auto}
#schedule[data-schedule-widget] .ak-schedule-empty{min-height:4rem;display:flex;align-items:center}
#schedule[data-schedule-widget] .sfoot{display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:left}

.ak-next-episode-notice{margin:1rem 1.5rem 1.25rem;background:rgba(54,203,104,.12);border:1px solid rgba(54,203,104,.55);border-radius:.7rem;color:#dff8e7;display:flex;align-items:center;gap:.85rem;padding:.8rem 1rem;cursor:pointer;transition:opacity .18s,transform .18s,background .18s}
.ak-next-episode-notice:hover{background:rgba(54,203,104,.18)}
.ak-next-episode-notice.is-closing{opacity:0;transform:translateY(-5px)}
.ak-next-episode-icon{width:2rem;height:2rem;border-radius:50%;background:#36cb68;color:#0c1116;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.ak-next-episode-copy{min-width:0;display:flex;flex-direction:column;gap:.12rem;line-height:1.35}
.ak-next-episode-copy strong{color:#36cb68;font-size:1rem}
.ak-next-episode-copy span{color:rgba(255,255,255,.68);font-size:.9rem}
.ak-next-episode-copy b{color:#fff;font-variant-numeric:tabular-nums;font-weight:600}
.ak-next-episode-close{margin-left:auto;border:0;background:transparent;color:rgba(255,255,255,.6);width:2rem;height:2rem;border-radius:50%;cursor:pointer;flex:0 0 auto}
.ak-next-episode-close:hover{color:#fff;background:rgba(255,255,255,.08)}
@media(max-width:639.9px){#schedule[data-schedule-widget] .shead{padding-left:1rem;padding-right:1rem}.ak-next-episode-notice{margin:.8rem 1rem 1rem;padding:.75rem .8rem}.ak-next-episode-copy span{font-size:.82rem}#schedule[data-schedule-widget] .sfoot{align-items:flex-start;flex-direction:column}}


/* 2.9 SEO/navigation and interaction refinements */
.watch-section-bg{pointer-events:none!important}
.watch-section>.container,.watch-section .container{position:relative;z-index:2}
.watch-section .breadcrumb{position:relative;z-index:12;pointer-events:auto}
.watch-section .breadcrumb a{position:relative;z-index:13;pointer-events:auto}
#menu>ul>li.has-submenu>a{pointer-events:auto!important}
@media(min-width:992px){
 #menu>ul>li.has-submenu{position:relative}
 #menu>ul>li.has-submenu>ul{z-index:2000!important}
}
.single-anime-card{position:relative}
.single-anime-top-actions{position:absolute;z-index:8;right:2.25rem;top:2rem;display:flex;gap:.6rem;align-items:center}
.single-anime-top-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.7rem 1rem;border-radius:.65rem}
.single-anime-top-actions .watch-now{background:#e45f3a;color:#fff;font-weight:600}
.single-anime-top-actions .watch-now:hover{background:#ed714f;color:#fff}
.single-anime-top-actions .browse-more{background:#181d22;color:#fff}
.single-anime-top-actions i{margin-right:.35rem}
.single-anime-detail .single-anime-card .entity-section .main-entity .entity-scroll{padding-top:5.2rem!important}
body.ak-focus{overflow:hidden!important}
body.ak-focus:before{background:rgba(0,0,0,.92)!important;backdrop-filter:blur(3px)}
body.ak-focus .watch-section .player-section{position:fixed!important;z-index:10050!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(1200px,94vw)!important;max-height:92vh!important;overflow:auto!important;border-radius:1rem!important;box-shadow:0 24px 80px rgba(0,0,0,.65)}
body.ak-focus header,body.ak-focus footer{pointer-events:none}
@media(max-width:639.9px){
 .single-anime-top-actions{position:static;padding:0 1.5rem 1.5rem;display:grid;grid-template-columns:1fr 1fr;background:#11161b}
 .single-anime-detail .single-anime-card .entity-section .main-entity .entity-scroll{padding-top:1.5rem!important}
 body.ak-focus .watch-section .player-section{width:100vw!important;max-height:100vh!important;height:100vh!important;left:0!important;top:0!important;transform:none!important;border-radius:0!important}
}

.ak-type-filter-link{color:inherit!important;text-decoration:none}.ak-type-filter-link:hover{color:#36cb68!important}
#genre-filter,#type-filter{scroll-margin-top:6rem}
.ak-tax-description{max-width:900px;color:rgba(255,255,255,.68);margin:-.5rem 0 1.25rem;line-height:1.7}


/* 2.11 title-language, badges, A-Z and featured artwork polish */
.info .sub,.info .dub,.episode-flags .sub,.episode-flags .dub{display:inline-flex;align-items:center;gap:.28rem}
.info .sub i,.info .dub i{font-size:.88em;line-height:1}
#latest-updates .snav span[data-latest-filter="sub"]:before{content:"CC";font-size:.72em;font-weight:700;margin-right:.22rem;border:1px solid currentColor;border-radius:.22rem;padding:.02rem .16rem}
#latest-updates .snav span[data-latest-filter="sub"]{font-size:0}
#latest-updates .snav span[data-latest-filter="sub"]:after{content:"Sub";font-size:1rem}
/* Hero compatibility: keep the supplied AnimeKai responsive rules authoritative.
   Only small hooks needed by the WordPress-rendered markup live here. */
#featured .featured-label{opacity:.95}
#featured .featured-pagination{display:flex!important;align-items:center}
#featured .swiper.featured .swiper-wrapper .swiper-slide{background-color:#0c1116}
@media(max-width:666.9px){
 #featured .swiper.featured .swiper-wrapper .swiper-slide .detail .featured-label{order:0;margin-bottom:.45rem;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.86rem}
 #featured .swiper.featured .swiper-wrapper .swiper-slide .detail .swiper-ctrl{gap:.6rem}
 #featured .swiper.featured .swiper-wrapper .swiper-slide .detail .swiper-ctrl>a.btn:not(.watch-btn){padding:.5rem .35rem;white-space:nowrap}
}
@media(max-width:470px){.lang-sw{display:flex!important;transform:scale(.88);transform-origin:right center;margin-left:auto}.right-header{display:flex!important;align-items:center}.acc-wrap{display:flex!important}}


/* 2.14 provider artwork resilience
   MAL/Jikan commonly supplies only portrait key art, while TMDB/AniList imports may have a true landscape backdrop.
   Poster-only titles get a dedicated cover treatment so the hero never collapses into a short image strip with a black void. */
#featured .swiper.featured .swiper-wrapper .swiper-slide.ak-poster-fallback{
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center 28%!important;
}
@media (min-width:667px){
  #featured .swiper.featured .swiper-wrapper .swiper-slide.ak-poster-fallback{
    background-position:center 24%!important;
  }
}
@media (max-width:666.9px){
  #featured .swiper.featured .swiper-wrapper .swiper-slide.ak-poster-fallback{
    background-size:cover!important;
    background-position:center 24%!important;
  }
}

/* 2.19 featured slider alignment: let the supplied AnimeKai background rules control true backdrops. */
#featured .swiper.featured .swiper-wrapper .swiper-slide{overflow:hidden}
#featured .swiper-ctrl .watch-btn{order:1!important}
#featured .swiper-ctrl .ak-details-btn{order:2!important}
#featured .featured-nav{z-index:6}
#featured .featured-nav .featured-nav-wrap>button.ak-featured-nav-button{appearance:none;border:0;background:transparent;color:rgba(255,255,255,.65);text-shadow:1px 1px 10px #000;cursor:pointer;pointer-events:auto;display:flex;align-items:center;justify-content:center;padding:.4rem;line-height:1}
#featured .featured-nav .featured-nav-wrap>button.ak-featured-nav-button:hover,#featured .featured-nav .featured-nav-wrap>button.ak-featured-nav-button:focus-visible{color:#fff;outline:none}
#featured .featured-nav .featured-nav-wrap>button+div,#featured .featured-nav .featured-nav-wrap>div+button{margin-left:1rem}
/* Poster-only provider fallback: do not distort portrait art. True backdrops use supplied.css unchanged. */
#featured .swiper.featured .swiper-wrapper .swiper-slide.ak-poster-fallback{background-size:cover!important;background-position:center 22%!important}
.custom-logo-link.brand.ak-brand{display:flex!important;align-items:center!important;max-width:190px;height:52px;overflow:visible}
.custom-logo-link.brand.ak-brand img.custom-logo{display:block;max-width:100%;max-height:48px;width:auto;height:auto;object-fit:contain}
.ak-stat-icon{width:2rem;height:2rem;border-radius:.45rem;display:inline-flex;align-items:center;justify-content:center}
.ak-stat-icon.sub{color:#e45f3a;background:rgba(228,95,58,.12)}.ak-stat-icon.dub{color:#36cb68;background:rgba(54,203,104,.12)}.ak-stat-icon.episodes{color:#fff;background:rgba(255,255,255,.07)}
@media(max-width:666.9px){
 #featured .swiper.featured .swiper-wrapper .swiper-slide.ak-poster-fallback{background-size:cover!important;background-position:center 20%!important}
 #featured .swiper.featured .swiper-wrapper .swiper-slide .detail .swiper-ctrl{display:flex!important;align-items:center!important;justify-content:center!important;gap:.7rem!important}
 #featured .swiper.featured .swiper-wrapper .swiper-slide .detail .swiper-ctrl .watch-btn{order:1!important}
 #featured .swiper.featured .swiper-wrapper .swiper-slide .detail .swiper-ctrl .ak-details-btn{order:2!important}
 .custom-logo-link.brand.ak-brand{max-width:125px;height:42px}.custom-logo-link.brand.ak-brand img.custom-logo{max-height:38px}
}

/* 2.17 header random + live search */
.ak-random-header{display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none}
#search{position:relative}
#search .suggestion{position:absolute;top:calc(100% + .45rem);left:0;right:0;z-index:10050;background:#111820;border:1px solid rgba(255,255,255,.08);border-radius:.7rem;padding:.35rem;box-shadow:0 18px 45px rgba(0,0,0,.4);max-height:min(70vh,520px);overflow:auto}
#search .suggestion .ak-search-result{display:flex;gap:.7rem;align-items:center;padding:.55rem .65rem;color:#fff;text-decoration:none}
#search .suggestion .ak-search-result img{width:42px;height:58px;object-fit:cover;border-radius:.35rem;flex:0 0 auto}
#search .suggestion .ak-search-result-text{min-width:0;display:flex;flex-direction:column;gap:.15rem}
#search .suggestion .ak-search-result-text strong{font-size:.9rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#search .suggestion .ak-search-result-text small,.ak-search-empty{color:#9199a2;font-size:.78rem}
.ak-search-empty{padding:.8rem}
@media(max-width:666.9px){.ak-random-header{display:none!important}#search .suggestion{position:fixed;left:1rem;right:1rem;top:5.3rem;max-height:60vh}}
