/* One poster width derived from the full content area, including nested home grids. */
.main-content{container-type:inline-size;--azaku-poster-width:calc((100cqw - 48px)/7);}
:is(.azaku-day-posters,.home-discovery-picks,.season-release-grid,.card-grid,.discovery-grid){display:grid!important;grid-template-columns:repeat(auto-fill,minmax(0,var(--azaku-poster-width)))!important;gap:8px!important;justify-content:start;align-items:start;}
:is(.azaku-day-card,.home-discovery-pick,.season-release-grid>li,.anime-card){min-width:0;}
:is(.azaku-day-art,.season-release-card,.home-discovery-pick .arcade-showcase-cover,.anime-card .poster){aspect-ratio:2/3!important;width:100%!important;height:auto!important;box-sizing:border-box;position:relative;overflow:hidden;border-radius:8px;}
:is(.azaku-day-art,.season-release-card,.home-discovery-pick .arcade-showcase-cover,.anime-card .poster) img{display:block;width:100%!important;height:100%!important;object-fit:cover;object-position:var(--azaku-focus,center 28%);}
.home-discovery-pick{border:0!important;}
:is(.azaku-poster-name,.season-release-name,.home-discovery-pick>strong){font-size:12px!important;line-height:1.25!important;font-weight:800;}
.season-release-name{display:block;padding:26px 8px 8px;background:linear-gradient(transparent,#090a0fe8 42%);}
.azaku-day-art .azaku-poster-name{padding:30px 8px 8px;}
.azaku-day-art .azaku-poster-name small{font-size:10px;}.azaku-day-art .azaku-episode-caption{font-size:10px;}
/* Sidebar follows the page: never create an inner scrolling area. */
.azaku-ranking-cover{height:54px!important;}
.azaku-season-ranking .azaku-poster-name{font-size:11px!important;padding:20px 6px 5px;}
.azaku-season-sticky{position:static;max-height:none!important;height:auto!important;overflow:visible!important;}
.azaku-season-sticky.is-sticky-fit{position:sticky;top:var(--azaku-sticky-top,96px);}
@media(max-width:999px){.main-content{--azaku-poster-width:calc((100cqw - 32px)/5);}}
@media(max-width:789px){.main-content{--azaku-poster-width:calc((100cqw - 24px)/4);}}
@media(max-width:609px){.main-content{--azaku-poster-width:calc((100cqw - 16px)/3);}}
@media(max-width:350px){.main-content{--azaku-poster-width:calc((100cqw - 8px)/2);}}
@media(max-width:800px){.azaku-season-sticky.is-sticky-fit{position:static;}.azaku-season-ranking li:nth-child(n+4){display:list-item;}}
@supports not (width:1cqw){
 :is(.azaku-day-posters,.home-discovery-picks,.season-release-grid,.card-grid,.discovery-grid){grid-template-columns:repeat(auto-fill,minmax(min(130px,100%),1fr))!important;}
}
