/* Dense Featured shelf; shares the catalog movie-card component. */
.hero.featured-shelf{display:block;min-height:0;max-height:none;padding:100px 4.5% 24px;background:var(--bg);overflow:hidden;user-select:auto;touch-action:auto}
.hero.featured-shelf::before{display:none}
.featured-shelf-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.featured-kicker{color:#ff5864;font-size:9px;font-weight:700;letter-spacing:.18em;margin-bottom:5px}
.featured-shelf-heading h2{font-family:var(--font-heading);font-size:clamp(24px,2.1vw,30px);font-weight:800;line-height:1.2;letter-spacing:-.8px}
.featured-rail{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:clamp(146px,12.5vw,174px);gap:12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:3px;padding:5px 3px 10px;scrollbar-width:none;touch-action:pan-x pan-y;min-width:0;cursor:grab}
.featured-rail::-webkit-scrollbar{display:none}.featured-rail.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}.featured-rail.is-dragging *{cursor:grabbing;pointer-events:none}
.featured-rail .movie-card{min-width:0;scroll-snap-align:start;color:var(--text);text-decoration:none;border-radius:11px;box-shadow:none}
.featured-rail .movie-card:hover{transform:translateY(-3px);box-shadow:none}
.featured-rail .movie-card.is-active{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.featured-rail .movie-info{padding:10px;gap:6px;flex:1}
.featured-rail .movie-title-row{display:block;min-height:35px}.featured-rail .movie-title{font-size:12px;line-height:1.4;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.featured-rail .movie-duration-pill{display:inline-block;margin-top:4px;padding:2px 5px;font-size:9px}
.featured-rail .movie-sub{font-size:10px;gap:5px;margin-top:auto;min-width:0}.featured-rail .movie-genre{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.featured-rail .movie-series-info{font-size:9px}.featured-rail .poster-badges{top:6px;left:6px;right:6px}.featured-rail .poster-footer{left:6px;right:6px;bottom:6px;gap:4px}
.featured-rail .card-rating{font-size:9px;padding:3px 4px}.featured-rail .card-category,.featured-rail .card-type,.featured-rail .card-genres span{font-size:8px;padding:3px 4px}.featured-rail .card-language{white-space:nowrap;text-overflow:ellipsis;max-width:55%}.featured-rail .card-genres{flex-basis:45px}.featured-rail .card-genres span:nth-child(n+2){display:none}
.featured-rail .poster-play{width:38px;height:38px;font-size:13px}.featured-rail .adult-content-badge{font-size:9px;padding:3px 5px}
.featured-pagination{position:relative;display:flex;justify-content:center;align-items:center;min-height:26px;margin:1px 0 6px}
.featured-dots{display:flex;gap:1px;align-items:center;justify-content:center;flex-wrap:wrap;max-width:100%}
.featured-dot{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;background:transparent;cursor:pointer;border-radius:50%}
.featured-dot::after{content:'';width:5px;height:5px;border-radius:50%;background:#697084;transition:width .2s,background .2s}
.featured-dot.is-active::after{width:17px;border-radius:9px;background:var(--red)}
.featured-dot:focus-visible,.featured-card:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.featured-motion{position:absolute;right:0;opacity:0;pointer-events:none;border:1px solid var(--border);border-radius:6px;padding:5px 8px;background:var(--bg-card);color:var(--text);font-size:11px}
.featured-motion:focus-visible{opacity:1;pointer-events:auto;outline:2px solid var(--red)}
.featured-focus{display:flex;align-items:flex-start;gap:18px;border-top:1px solid var(--border);padding:12px 0 0;min-width:0}
.featured-shelf .hero-content{max-width:none;flex:1;min-width:0;z-index:1}
.featured-shelf #heroTitle{font-size:clamp(18px,1.7vw,24px);line-height:1.3;letter-spacing:-.5px;text-shadow:none;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;overflow-wrap:anywhere}
.featured-shelf .hero-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:6px 0 0;max-width:900px;color:var(--text-muted);font-size:12px;line-height:1.6;text-shadow:none}
.featured-shelf .hero-buttons{display:flex;flex:0 0 auto;gap:0;align-self:flex-start;margin:0}
.featured-shelf .hero-buttons:not(:has(>:not(.hidden))){display:none}
.featured-shelf .hero-buttons #heroDetailsBtn{min-width:0;min-height:36px;padding:8px 12px;font-size:10px;gap:6px;box-shadow:none}
.featured-icon{display:block;flex:0 0 auto;filter:brightness(0) invert(1);pointer-events:none}
.featured-shelf .hero-poster-frame{display:none!important;position:relative;right:auto;top:auto;bottom:auto;transform:none;aspect-ratio:16/9;width:190px;flex:0 0 190px;margin:0;border-radius:10px;box-shadow:none;z-index:1}
.featured-shelf .hero-poster-frame.is-notice:not(.hidden){display:block!important;pointer-events:auto}
.featured-shelf .hero-poster-frame img,.featured-shelf .hero-poster-frame video{object-fit:contain}
.featured-shelf .hero-feature-mute{width:30px;height:30px;top:6px;right:6px}
.browse-search{margin:0 0 21px;max-width:740px}
.browse-search-label{display:block;font-size:11px;font-weight:700;letter-spacing:.03em;margin-bottom:8px;color:var(--text-sub)}
.browse-search-field{display:flex;align-items:center;gap:11px;min-width:0;padding:5px 5px 5px 16px;border:1px solid #c8d0e0;border-radius:13px;background:#f5f7fc;box-shadow:0 4px 20px #00000012}
.browse-search-field:focus-within{outline:2px solid var(--red);outline-offset:2px}
.browse-search-field svg{width:19px;height:19px;fill:none;stroke:#4d5a73;stroke-width:1.8;flex-shrink:0}
.browse-search-field input{flex:1;min-width:0;width:100%;height:40px;padding:0;border:0;outline:0;background:transparent;color:#192234;font:13px var(--font-body)}
.browse-search-field input::placeholder{color:#627087}
.browse-search-field button{display:flex;align-items:center;gap:12px;border:0;border-radius:9px;background:var(--red);color:#fff;padding:12px 17px;font:700 12px var(--font-body);cursor:pointer;flex:0 0 auto}
.browse-search-field button:hover{background:var(--red-hover)}
@media(max-width:1000px){.hero.featured-shelf{padding-top:96px}.featured-rail{grid-auto-columns:calc((100% - 48px)/5.2);gap:11px}}
@media(max-width:680px){.hero.featured-shelf{padding:84px 16px 20px}.featured-shelf-heading{margin-bottom:12px}.featured-shelf-heading h2{font-size:23px}.featured-kicker{font-size:8px}.featured-rail{grid-auto-columns:calc((100% - 20px)/2.65);gap:9px}.featured-rail .movie-info{padding:8px;gap:5px}.featured-rail .movie-title{font-size:10px}.featured-rail .movie-duration-pill,.featured-rail .movie-sub{font-size:8px}.featured-rail .card-genres{display:none}.featured-rail .card-category,.featured-rail .card-type{font-size:7px}.featured-rail .card-rating{font-size:8px}.featured-rail .movie-series-info{font-size:8px}.featured-rail .adult-content-badge{font-size:8px}.featured-focus{gap:10px}.featured-shelf #heroTitle{font-size:17px}.featured-shelf .hero-copy{font-size:10px}.featured-shelf .hero-buttons #heroDetailsBtn{padding:8px;font-size:9px}.featured-shelf .hero-buttons #heroDetailsBtn img{width:14px;height:14px}.featured-shelf .hero-poster-frame.is-notice{order:3;width:100%;flex-basis:100%;max-width:360px}.featured-focus:has(.is-notice:not(.hidden)){flex-wrap:wrap}.browse-search{margin-bottom:18px}.browse-search-field{padding-left:11px;gap:8px}.browse-search-field input{font-size:12px}.browse-search-field button{padding:12px;font-size:11px}.browse-search-field button span{display:none}}
@media(prefers-reduced-motion:reduce){.featured-rail{scroll-behavior:auto}.featured-dot::after{transition:none}}
/* Constrain the page, rather than clipping overflow after it has widened it. */
html,body{max-width:100%;overflow-x:clip}main,#browse,.content-section,.section-heading,.filters-bar,.movie-grid{min-width:0;max-width:100%;box-sizing:border-box}
.section-heading>div{min-width:0}.section-heading .see-all{flex-shrink:0}.seo-collection-intro{overflow-wrap:anywhere}
@media(max-width:680px){.topbar{padding-inline:12px;gap:10px}.topbar>.brand{flex:0 1 auto;min-width:0}.head-actions{min-width:0;gap:5px;flex:1 1 auto;justify-content:flex-end}.head-actions>.search-wrap{width:auto;min-width:30px;flex:1 1 65px;max-width:130px}.head-actions>.search-wrap:focus-within{max-width:none}.head-actions>.search-wrap input{min-width:0}.head-actions>.btn-account,.head-actions>.theme-toggle,.head-actions>.language-toggle,.head-actions>.menu-toggle{flex-shrink:0}.content-section{width:100%;padding-inline:16px}.section-heading{gap:10px}.section-heading h2{font-size:25px}.section-heading .see-all{font-size:11px}.download-topbar .head-actions{flex:0 1 auto}.download-shell{max-width:100%;min-width:0}.modal-card{min-width:0;box-sizing:border-box}.details-card,.dashboard-card{max-width:96vw}.jf-details-sponsor{max-width:100%;min-width:0;margin-inline:12px}}
@media(max-width:360px){.topbar .brand-name{font-size:17px}.topbar .brand-wordmark small{font-size:5px;letter-spacing:1px}.topbar .brand-mark{width:29px;height:31px;font-size:26px}.head-actions{gap:4px}.head-actions>.theme-toggle,.head-actions>.language-toggle{width:28px;height:28px;flex-basis:28px}.head-actions>.search-wrap{flex-basis:30px}.head-actions>.btn-account{min-width:28px;width:28px;padding:0}.menu-toggle{font-size:20px}.featured-rail{grid-auto-columns:calc((100% - 17px)/2.45)}.section-heading h2{font-size:23px}}

/* One navigation/search surface; discovery starts immediately. */
.featured-shelf>.filters-bar{margin:0 0 18px}.featured-shelf .filters{min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none}.featured-shelf .filter{flex-shrink:0}
.featured-kicker{display:none}.featured-shelf-heading{margin-bottom:12px}.featured-shelf-heading h2{font-size:24px}.featured-focus{padding-top:9px;align-items:center}.featured-shelf .hero-copy{display:none}.featured-shelf #heroTitle{font-size:19px}.featured-shelf .hero-buttons{align-self:center}.content-section#browse{padding-top:8px}
.topbar .search-wrap{background:#f5f7fc;border-color:#c9d1e1;box-shadow:0 0 0 1px #ffffff18}.topbar .search-wrap input{color:#192234}.topbar .search-wrap input::placeholder{color:#5a6880}.topbar .search-wrap>svg{stroke:#455673}.topbar .search-wrap>img{filter:brightness(.4)}.topbar .search-wrap kbd{color:#52617a;background:#e7ebf2;border-color:#c7d0df}.topbar .search-wrap:focus-within{border-color:var(--red);box-shadow:0 0 0 3px var(--red-glow)}
@media(max-width:680px){.hero.featured-shelf{padding-top:80px;padding-bottom:13px}.featured-shelf>.filters-bar{margin-bottom:15px}.featured-shelf-heading h2{font-size:20px}.featured-shelf #heroTitle{font-size:16px}.featured-focus{gap:8px}.content-section#browse{padding-top:0}.topbar .search-wrap{border-color:#dce3ee}.topbar .search-wrap input{font-size:11px}.topbar .search-wrap:focus-within{position:absolute;left:12px;right:12px;top:10px;width:auto;max-width:none;z-index:50;height:42px}.featured-shelf .hero-buttons #heroDetailsBtn{font-size:9px}}

/* Categories travel with the main navigation, with a quiet scroll fade. */
.discovery-bar{position:fixed;left:0;right:0;top:76px;z-index:59;height:44px;padding:5px 4.5%;box-sizing:border-box;background:rgba(9,10,16,.96);border-bottom:1px solid var(--border);backdrop-filter:blur(14px);transition:opacity .24s ease,transform .24s ease,visibility .24s;opacity:1;transform:translateY(0)}
.discovery-bar .filters-bar{margin:0;min-width:0;width:100%}.discovery-bar .filters{display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;max-width:100%;scrollbar-width:none;padding:0}.discovery-bar .filters::-webkit-scrollbar{display:none}.discovery-bar .filter{font-size:11px;padding:7px 13px;min-height:31px;line-height:1.2;flex:0 0 auto}
#topbar{transition:opacity .24s ease,transform .24s ease,background-color .3s,box-shadow .3s}
html.chrome-hidden #topbar,html.chrome-hidden .discovery-bar{opacity:0;transform:translateY(-16px);visibility:hidden;pointer-events:none}
.hero.featured-shelf{padding-top:139px}.content-section#browse{scroll-margin-top:126px}
html[data-theme="light"] .discovery-bar{background:rgba(255,255,255,.97)}
@media(max-width:680px){.discovery-bar{top:64px;height:41px;padding:5px 12px}.discovery-bar .filter{min-height:29px;padding:6px 12px;font-size:10px}.hero.featured-shelf{padding-top:121px}.content-section#browse{scroll-margin-top:110px}.head-actions{margin-left:0}.topbar .brand-wordmark{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){#topbar,.discovery-bar{transition:none}}

.featured-rail a.movie-card,.featured-rail button.movie-card{display:flex;flex-direction:column}.featured-rail .movie-series-info{flex-wrap:nowrap;white-space:nowrap;overflow:hidden}.featured-dot{width:20px}.featured-rail .movie-series-info span{flex-shrink:0}
@media(max-width:680px){.featured-rail .movie-series-info{display:none}.featured-rail .movie-info{min-height:78px}.featured-rail .movie-title-row{min-height:40px}}

html[data-theme="light"] .featured-dot::after{background:#77839a}html[data-theme="light"] .featured-dot.is-active::after{background:var(--red)}

@media(max-width:480px){.movie-grid .movie-title-row{display:block}.movie-grid .movie-title{font-size:12px;line-height:1.4;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:33px}.movie-grid .movie-duration-pill{display:inline-block;margin-top:4px}.movie-grid .card-language{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.movie-grid .movie-info{padding:10px;gap:6px}}
