/* Shared, compact hero metadata for every movie category. */
.hero-copy{position:absolute;z-index:3;left:2.8cqw;right:16cqw;bottom:8.2cqw;display:flex;flex-direction:column;align-items:flex-start;gap:1.1cqw;min-width:0;pointer-events:none}
.hero-copy .hero-meta{position:static;display:flex;align-items:center;flex-wrap:nowrap;gap:clamp(4px,1.25cqw,7px);width:100%;min-width:0;overflow:hidden}
.hero-copy .hero-meta:empty{display:none}
.hero .hero-meta .hero-badge{--hero-tag-height:clamp(18px,4.9cqw,24px);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-width:0;height:var(--hero-tag-height);min-height:var(--hero-tag-height);max-width:100%;padding:0 1.45cqw;border:0;border-radius:.65cqw;background:#df1e30;color:#fff;font-size:clamp(10.5px,2.8cqw,14px);font-weight:500;line-height:1.4;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:none}
.hero .hero-meta .hero-badge-language{gap:1cqw;background:rgba(250,250,250,.94);color:#202124}
.hero-badge-language svg{width:1em;height:1em;flex:none;fill:currentColor}
.hero .hero-meta .hero-badge-rank{padding:0;background:none}
.hero-badge-rank .hero-rank-number,.hero-badge-rank .hero-rank-label{display:inline-flex;align-items:center;justify-content:center;align-self:stretch;padding:0 1.45cqw}
.hero-badge-rank .hero-rank-number{background:#df1e30;color:#fff;font-weight:500}
.hero-badge-rank .hero-rank-label{background:rgba(101,103,109,.66);color:#f5f5f5;font-weight:400}
.hero .hero-meta .hero-badge-ai{background:rgba(84,87,93,.66);color:#f5f5f5;font-weight:400}
/* Enlarge in layout, rather than scaling over the neighbouring category. */
.header .categories{scroll-padding-inline:2.8cqw}
.header .categories .category{scroll-margin-inline:.6cqw;transition:font-size .18s ease,color .18s ease}
.header .categories .category-icon{transition:width .18s ease,height .18s ease}
.header .categories .category[aria-selected=true]{color:#fff;font-size:4.104cqw;font-weight:700}
.header .categories .category[aria-selected=true] .category-icon{width:3.456cqw;height:3.456cqw}
@media(prefers-reduced-motion:reduce){.header .categories .category,.header .categories .category-icon{transition:none}}
.hero-title-row{display:flex;align-items:center;gap:1.25cqw;width:100%;min-width:0;font-family:Arial,Tahoma,system-ui,sans-serif;font-size:clamp(14px,4.2cqw,21px);font-weight:500;line-height:1.5;color:#f5f5f5;text-shadow:0 1px 4px #0009}
.hero-title-copy{display:block;flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;font:inherit;color:inherit;letter-spacing:normal;white-space:nowrap;pointer-events:none;word-break:normal}
.hero-copy .hero-title-art{display:block;position:static;flex:0 1 auto;min-width:0;width:auto;height:auto;max-width:100%;max-height:18cqw;object-fit:contain;object-position:left bottom}
.hero-episode-count{display:block;flex:none;font-size:clamp(12px,3.6cqw,18px);font-weight:400;line-height:1.5;color:#dedee1;white-space:nowrap}
.hero-hashtags{--hero-hashtag-height:clamp(16px,4.2cqw,20px);display:flex;flex-wrap:wrap;align-items:center;gap:clamp(3px,.9cqw,5px);width:100%;min-width:0;max-height:calc(var(--hero-hashtag-height)*2 + clamp(3px,.9cqw,5px));overflow:hidden}
.hero-hashtag{display:block;flex:0 1 auto;min-width:0;max-width:100%;height:var(--hero-hashtag-height);padding:0 1.35cqw;border:0;border-radius:.6cqw;background:rgba(84,87,93,.58);color:#eee;font-size:clamp(10px,2.5cqw,12px);font-weight:400;line-height:var(--hero-hashtag-height);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:none}
.hero-description{bottom:6.7cqw;right:17cqw;font-size:3.08cqw;line-height:1.6}
.hero-copy .hero-description{position:static;min-width:0;width:100%;margin:0;padding:0}
.hero-description[hidden]{display:none}
.hero-title-art[hidden],.hero-title-copy[hidden],.hero-title-row[hidden]{display:none}
.ranking-views{flex-direction:column;align-items:flex-end;gap:.4cqw}
.ranking-metric-value{display:flex;align-items:center;gap:.6cqw}
.ranking-metric-label{max-width:13cqw;white-space:normal;text-align:right;font-size:1.9cqw;line-height:1.35;color:#979aa5}
.ranking-tab[hidden]{display:none}
.discovery-banner-stack{grid-column:1/-1;display:flex;flex-direction:column;min-width:0;width:100%;padding:0 2.8cqw}
.catalog>.discovery-banner-stack,.search-library-grid>.discovery-banner-stack,.ranking-list>.discovery-banner-stack,.history-page-list>.discovery-banner-stack,#account-content>.discovery-banner-stack{padding:0}
.discovery-banner{display:block;position:relative;width:100%;min-width:0;height:var(--promo-mobile-height,auto);aspect-ratio:var(--promo-ratio,3.5);margin:var(--promo-gap,12px) 0;border-radius:var(--promo-radius,8px);overflow:hidden;background:#1d2028;text-decoration:none}
.discovery-banner picture{display:block;width:100%;height:100%}
.discovery-banner img{display:block;width:100%;height:100%;object-fit:contain}
.discovery-banner[data-fit-mode=cover] img{object-fit:cover}
.discovery-banner[data-fit-mode=auto]{height:auto;aspect-ratio:auto;background:transparent}
.discovery-banner[data-fit-mode=auto] picture{height:auto}
.discovery-banner[data-fit-mode=auto] img{height:auto;object-fit:initial}
.discovery-banner:focus-visible{outline:2px solid #fff;outline-offset:3px}
.app.account-active>.discovery-banner-stack,.app.search-active>.discovery-banner-stack,.app.history-active>.discovery-banner-stack,.app.is-ranking>.discovery-banner-stack{display:none}
@media(min-width:768px){.discovery-banner:not([data-fit-mode=auto]){height:var(--promo-desktop-height,auto)}}

.ranking-period{margin:-.8cqw 0 2.5cqw;color:#9a9eaa;font-size:2.35cqw;line-height:1.6}
.ranking-period:empty{display:none}
