.mf-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mf-watch-page{max-width:1200px;margin:24px auto;padding:16px}.mf-watch-page h1{font-size:clamp(22px,3vw,32px);margin:16px 0}.mf-player-section{width:100%;min-width:0;margin:16px 0}.mf-player{display:block;width:100%;aspect-ratio:16/9;background:#000;object-fit:contain;max-height:75vh}.mf-source-title{font-size:18px;margin:20px 0 12px}.mf-episodes{display:flex;flex-wrap:wrap;gap:8px}.mf-episodes a{padding:8px 12px;border:1px solid currentColor;border-radius:6px;text-decoration:none}.mf-episodes a[aria-current]{font-weight:700;background:#2563eb;color:#fff}.mf-breadcrumb{font-size:14px}.mf-player-status{font-size:14px}.mf-watch-page p{line-height:1.8;overflow-wrap:anywhere}

.mf-extra{max-width:1200px;margin:28px auto;padding:18px;box-sizing:border-box;overflow-wrap:anywhere}.mf-extra h2{font-size:22px;margin:0 0 16px}.mf-faq details{border-bottom:1px solid #80808040;padding:13px 0}.mf-faq summary{cursor:pointer;font-weight:600;line-height:1.6}.mf-faq p{line-height:1.8;margin:12px 0}.mf-directory-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.mf-directory-links h2{flex-basis:100%;margin-bottom:6px}.mf-directory-links a{display:inline-block;color:inherit;border:1px solid #80808040;border-radius:6px;padding:8px 12px;text-decoration:none}.mf-directory-links a:hover{text-decoration:underline}
.mf-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;line-height:1.6;margin:0 0 14px;padding:0;overflow-wrap:anywhere}.mf-breadcrumbs a{color:inherit;text-decoration:none}.mf-breadcrumbs a:hover{text-decoration:underline}.mf-directory-film p{line-height:1.8}.mf-directory-film a{color:inherit}.mf-directory-pagination{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mf-directory-pagination a,.mf-directory-pagination span{color:inherit;padding:7px 10px;border:1px solid #80808040;border-radius:5px;text-decoration:none}.mf-directory-pagination [aria-current]{font-weight:700}
.mf-breadcrumbs{width:fit-content;max-width:100%;box-sizing:border-box;color:#475569;background:#f1f5f9;border-radius:6px;padding:6px 10px}
.mf-film-navigation,.mf-catalog-pagination{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.mf-film-navigation h2{flex-basis:100%;margin-bottom:6px}.mf-film-navigation a,.mf-catalog-pagination a,.mf-catalog-pagination span{color:inherit;padding:7px 10px;border:1px solid #80808040;border-radius:5px;text-decoration:none}.mf-film-navigation a:hover,.mf-catalog-pagination a:hover{text-decoration:underline}.mf-catalog-pagination [aria-current]{font-weight:700}

/* Imported themes sometimes hide every child outside their own class whitelist.
   Restore only MovieFleet's public modules, never the theme's hidden tabs. */
body[data-mf-theme] #mf-watch-page,
body[data-mf-theme] #mf-faq,
body[data-mf-theme] #mf-directory-film,
body[data-mf-theme] #mf-film-recommendations{display:block!important}
body[data-mf-theme] #mf-film-navigation,
body[data-mf-theme] #mf-directory-links,
body[data-mf-theme] #mf-directory-recommendations,
body[data-mf-theme] #mf-directory-pagination,
body[data-mf-theme] #mf-catalog-pagination,
body[data-mf-theme] #mf-breadcrumbs{display:flex!important;flex-wrap:wrap}
body[data-mf-theme] #mf-mobile-search{display:none}

/* Keep large blurred artwork inside its own decorative layer. */
body[data-mf-theme="mf_reelhub"] .hub-detail{overflow:hidden}
body[data-mf-theme="mf_sidenav"] .sidenav-main{min-width:0}
body[data-mf-theme="mf_motion"] .motion-detail-stats{flex-wrap:wrap}
body[data-mf-theme="mf_kinora"] .kinora-drawer{z-index:301}
body[data-mf-theme="mf_lumina"] .lu-content{padding-top:calc(var(--mf-mobile-header-height,80px) + 20px)}
body[data-mf-theme="mf_lumina"] #mf-watch-page{padding-top:calc(var(--mf-mobile-header-height,80px) + 16px)}
body[data-mf-theme="mf_news3"] .news3-hero{min-width:0;overflow-x:clip}
body[data-mf-theme="mf_streamflux"] .sf-detail-hero{padding-top:calc(var(--mf-mobile-header-height,80px) + 16px)}
body[data-mf-theme="mf_sideatlas"] .mf-mobile-nav-toggle{display:none}
body[data-mf-theme="mf_horizon"] .horizon-nav-overlay,
body[data-mf-theme="mf_flare"] .flare-overlay{z-index:99!important}
body[data-mf-theme="mf_sidebar"] .content,
body[data-mf-theme="mf_paperfold"] .pf-content,
body[data-mf-theme="mf_news3"] .main-content,
body[data-mf-theme="mf_news3"] .news3-main,
body[data-mf-theme="mf_zhihu"] .zhihu-content{min-width:0}

@media(max-width:920px){
 body[data-mf-theme="mf_sideatlas"] .mf-mobile-nav-toggle{display:flex;position:fixed;top:16px;right:16px;z-index:20;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #80808060;border-radius:10px;background:#fff;color:#172033;cursor:pointer}
}

@media(max-width:768px){
 body[data-mf-theme="mf_news3"] .main-content{margin-left:0;width:100%;max-width:100%}
 body[data-mf-theme="mf_news3"] .header-top{min-width:0;flex-wrap:wrap}
 body[data-mf-theme="mf_news3"] .search-form{min-width:0;max-width:100%}
 body[data-mf-theme="mf_news3"] .search-input{min-width:0;width:100%}
 body[data-mf-theme="mf_zhihu"] .zhihu-home-layout{grid-template-columns:minmax(0,1fr)}
 body[data-mf-theme="mf_sidenav"] .sidenav-detail{flex-direction:column}
 body[data-mf-theme="mf_sidenav"] .sidenav-detail-poster{max-width:100%}
 body[data-mf-theme="mf_sidenav"] .sidenav-detail-info{min-width:0}
 body[data-mf-theme="mf_split"] .split-main{padding-top:64px}
 body[data-mf-theme="mf_levitate"] .dock-panel{display:none}
 body[data-mf-theme="mf_levitate"] .levitate-dock.open .dock-panel{display:block}
}

@media(max-width:900px){
 body[data-mf-theme="mf_horizon"] .horizon-nav:not(.is-open){visibility:hidden}
}

/* Restore the original search controls where imported mobile layouts hid the
   only form. Keep navigation drawers under their existing toggle controls. */
@media(max-width:1024px){
 body[data-mf-theme="mf_sidebar"] .sidebar__toggle{position:fixed;top:16px;right:16px;z-index:20}
 body[data-mf-theme="mf_motion"] .motion-logo{min-width:0;flex:1;font-size:20px;overflow-wrap:anywhere}
 body[data-mf-theme="mf_nova"] .nova-brand{min-width:0;flex:1}
 body[data-mf-theme="mf_nova"] .nova-logo{min-width:0}
 body[data-mf-theme="mf_nova"] .nova-logo-text{min-width:0;font-size:20px;overflow-wrap:anywhere}
 body[data-mf-theme="mf_zhihu"] .zhihu-header-inner{flex-wrap:wrap;height:auto;min-height:48px;padding-top:10px;padding-bottom:10px}
 body[data-mf-theme="mf_zhihu"] .zhihu-logo{flex:1 1 100%;white-space:normal}
 body[data-mf-theme="mf_zhihu"] .zhihu-search-form{display:flex;flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_zhihu"] .zhihu-search-wrapper{flex:1;min-width:0}
 body[data-mf-theme="mf_aether"] #mf-watch-page{padding-top:80px}
 body[data-mf-theme="mf_bdseo"] .bd-mobile-nav{position:fixed;top:var(--mf-mobile-header-height,68px);left:0;right:0;z-index:80;max-height:calc(100vh - var(--mf-mobile-header-height,68px));overflow-y:auto}
 body[data-mf-theme="mf_acfun"] .acfun-mobile-nav,
 body[data-mf-theme="mf_acfun"] .acfun-mobile-overlay,
 body[data-mf-theme="mf_bilibili"] .bili-mobile-nav,
 body[data-mf-theme="mf_bilibili"] .bili-mobile-overlay{top:var(--mf-mobile-header-height,64px);max-height:calc(100vh - var(--mf-mobile-header-height,64px))}
 body[data-mf-theme="mf_acfun"] .acfun-header-container,
 body[data-mf-theme="mf_bangumi"] .bangumi-header-container,
 body[data-mf-theme="mf_bilibili"] .bili-header-container,
 body[data-mf-theme="mf_breeze"] .breeze-header .breeze-container,
 body[data-mf-theme="mf_ember"] .ember-header-top,
 body[data-mf-theme="mf_gaoqing"] .hq-header-inner,
 body[data-mf-theme="mf_hailuo"] .hl-top-inner,
 body[data-mf-theme="mf_lumina"] .lu-header-inner,
 body[data-mf-theme="mf_neon"] .neon-header__inner,
 body[data-mf-theme="mf_nova"] .nova-header-top,
 body[data-mf-theme="mf_reelhub"] .hub-head__row,
 body[data-mf-theme="mf_stream"] .stream-header .stream-container,
 body[data-mf-theme="mf_streamflux"] .sf-header-inner,
 body[data-mf-theme="mf_xuanying"] .hq-header-inner,
 body[data-mf-theme="mf_youku"] .yk-header-inner{flex-wrap:wrap;height:auto;min-height:52px;gap:12px;padding-top:12px;padding-bottom:12px}

 body[data-mf-theme="mf_acfun"] .acfun-header-right,
 body[data-mf-theme="mf_bangumi"] .bangumi-header-right,
 body[data-mf-theme="mf_bilibili"] .bili-header-right,
 body[data-mf-theme="mf_gaoqing"] .hq-header-right,
 body[data-mf-theme="mf_streamflux"] .sf-header-right,
 body[data-mf-theme="mf_xuanying"] .hq-header-right{flex:1 1 100%;min-width:0;max-width:100%}

 body[data-mf-theme="mf_acfun"] .acfun-search,
 body[data-mf-theme="mf_bangumi"] .bangumi-search,
 body[data-mf-theme="mf_bilibili"] .bili-search,
 body[data-mf-theme="mf_breeze"] .breeze-search,
 body[data-mf-theme="mf_ember"] .ember-search,
 body[data-mf-theme="mf_gaoqing"] .hq-search,
 body[data-mf-theme="mf_hailuo"] .hl-search,
 body[data-mf-theme="mf_lumina"] .lu-search,
 body[data-mf-theme="mf_neon"] .header-search,
 body[data-mf-theme="mf_nova"] .nova-search,
 body[data-mf-theme="mf_reelhub"] .hub-search,
 body[data-mf-theme="mf_stream"] .stream-search,
 body[data-mf-theme="mf_streamflux"] .sf-search,
 body[data-mf-theme="mf_xuanying"] .hq-search-wrap,
 body[data-mf-theme="mf_youku"] .yk-search-form{display:flex;flex:1 1 100%;order:5;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 body[data-mf-theme="mf_xuanying"] .hq-search{flex:1;min-width:0}
 body[data-mf-theme="mf_breeze"] .breeze-search-box,
 body[data-mf-theme="mf_ember"] .ember-search-box,
 body[data-mf-theme="mf_nova"] .nova-search-box,
 body[data-mf-theme="mf_stream"] .stream-search-box{width:100%;min-width:0;max-width:100%;box-sizing:border-box}

 body:is([data-mf-theme="mf_acfun"],[data-mf-theme="mf_bangumi"],[data-mf-theme="mf_bilibili"],[data-mf-theme="mf_breeze"],[data-mf-theme="mf_ember"],[data-mf-theme="mf_gaoqing"],[data-mf-theme="mf_hailuo"],[data-mf-theme="mf_lumina"],[data-mf-theme="mf_neon"],[data-mf-theme="mf_nova"],[data-mf-theme="mf_reelhub"],[data-mf-theme="mf_stream"],[data-mf-theme="mf_streamflux"],[data-mf-theme="mf_xuanying"],[data-mf-theme="mf_youku"]) form input[name="wd"]{flex:1;min-width:0;width:100%;box-sizing:border-box}
 body:is([data-mf-theme="mf_x"],[data-mf-theme="mf_msn"]) #mf-mobile-search{display:flex;align-items:center;gap:8px;margin:12px 16px;padding:10px;border:1px solid #80808050;border-radius:12px;color:inherit;background:inherit}
 body:is([data-mf-theme="mf_x"],[data-mf-theme="mf_msn"]) #mf-mobile-search input{flex:1;min-width:0;padding:9px;color:inherit;background:transparent;border:1px solid #80808050;border-radius:6px}
 body:is([data-mf-theme="mf_x"],[data-mf-theme="mf_msn"]) #mf-mobile-search button{padding:9px 12px;color:inherit;background:transparent;border:1px solid #80808070;border-radius:6px;cursor:pointer}
}
@media(max-width:600px){
 body[data-mf-theme="mf_atelier"] .atelier-header .atelier-shell{flex-wrap:wrap;gap:12px}
 body[data-mf-theme="mf_atelier"] .atelier-header .brand{flex:1;min-width:0}
 body[data-mf-theme="mf_atelier"] .atelier-header .search-box{flex-basis:100%;min-width:0}
 body[data-mf-theme="mf_atelier"] .search-box input{flex:1;min-width:0;width:100%}

 body[data-mf-theme="mf_breeze"] .breeze-logo,
 body[data-mf-theme="mf_stream"] .stream-logo,
 body[data-mf-theme="mf_ember"] .ember-logo{min-width:0;flex:1}
 body[data-mf-theme="mf_breeze"] .breeze-logo-text,
 body[data-mf-theme="mf_stream"] .stream-logo-text,
 body[data-mf-theme="mf_ember"] .ember-logo-text{min-width:0;overflow-wrap:anywhere;font-size:20px}
 body[data-mf-theme="mf_breeze"] .breeze-header .breeze-container,
 body[data-mf-theme="mf_stream"] .stream-header .stream-container,
 body[data-mf-theme="mf_ember"] .ember-header-top{gap:12px}

 body[data-mf-theme="mf_downriver"] .downriver-shell{flex-wrap:wrap}
 body[data-mf-theme="mf_downriver"] .downriver-search{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_downriver"] .downriver-search input{min-width:0;flex:1;width:100%}

 body[data-mf-theme="mf_enterprise"] .enterprise-header-inner,
 body[data-mf-theme="mf_glass"] .glass-header-inner,
 body[data-mf-theme="mf_paper"] .paper-header-inner{flex-wrap:wrap;gap:10px}
 body[data-mf-theme="mf_enterprise"] .enterprise-logo,
 body[data-mf-theme="mf_glass"] .glass-logo,
 body[data-mf-theme="mf_paper"] .paper-logo{min-width:0;flex:1;overflow-wrap:anywhere}
 body[data-mf-theme="mf_enterprise"] .enterprise-header-right,
 body[data-mf-theme="mf_glass"] .glass-header-right,
 body[data-mf-theme="mf_paper"] .paper-header-right{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_enterprise"] .enterprise-search,
 body[data-mf-theme="mf_glass"] .glass-search,
 body[data-mf-theme="mf_paper"] .paper-search{flex:1;min-width:0}
 body[data-mf-theme="mf_enterprise"] .enterprise-search-input,
 body[data-mf-theme="mf_glass"] .glass-search-input,
 body[data-mf-theme="mf_paper"] .paper-search-input{width:100%;min-width:0}

 body[data-mf-theme="mf_horizon"] .horizon-search{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_horizon"] .horizon-search-input{min-width:0;width:100%}

 body[data-mf-theme="mf_huya"] .huya-header-content,
 body[data-mf-theme="mf_video"] .video-header-container{flex-wrap:wrap;gap:12px}
 body[data-mf-theme="mf_huya"] .huya-logo,
 body[data-mf-theme="mf_video"] .video-logo{flex:1 1 100%;min-width:0;overflow-wrap:anywhere}
 body[data-mf-theme="mf_huya"] .huya-search-form,
 body[data-mf-theme="mf_video"] .video-search-form{flex:1;min-width:0}
 body[data-mf-theme="mf_huya"] .huya-search-wrapper,
 body[data-mf-theme="mf_huya"] .huya-search-wrapper:focus-within,
 body[data-mf-theme="mf_video"] .video-search-wrapper,
 body[data-mf-theme="mf_video"] .video-search-wrapper:focus-within{width:100%;min-width:0;box-sizing:border-box}
 body[data-mf-theme="mf_huya"] .huya-search-input,
 body[data-mf-theme="mf_video"] .video-search-input{min-width:0;width:100%}

 body[data-mf-theme="mf_realfilm"] .rf-head-inner{flex-wrap:wrap}
 body[data-mf-theme="mf_realfilm"] .rf-nav{min-width:0}
 body[data-mf-theme="mf_realfilm"] .rf-search{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_realfilm"] .rf-search input{width:100%;min-width:0;box-sizing:border-box}
 body[data-mf-theme="mf_zhihu"] .zhihu-search-input{min-width:0;width:100%}
}

/* Canvas poster links need a block box for their positioned image. */
body[data-mf-theme="mf_canvas"] .card-thumb{display:block}

/* Real catalogues include long titles and more than three navigation groups. */
body[data-mf-theme="mf_breeze"] .breeze-grid>.breeze-card{min-width:0;max-width:100%}
body[data-mf-theme="mf_breeze"] .breeze-card-title,
body[data-mf-theme="mf_breeze"] .breeze-card-meta{min-width:0;overflow-wrap:anywhere}
body[data-mf-theme="mf_magazine"] .section-header{min-width:0}
body[data-mf-theme="mf_magazine"] .section-title{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body[data-mf-theme="mf_video"] .video-header-container{flex-wrap:wrap}
body[data-mf-theme="mf_video"] .video-nav{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
body[data-mf-theme="mf_video"] .video-nav-item{flex:0 0 auto}
body[data-mf-theme="mf_video"] .video-search-form{min-width:0;max-width:100%}
body[data-mf-theme="mf_video"] .video-search-wrapper,
body[data-mf-theme="mf_video"] .video-search-wrapper:focus-within{max-width:100%}
body[data-mf-theme="mf_video"] .video-search-input{min-width:0;width:100%}
body[data-mf-theme="mf_colormax"] .cm-panel,
body[data-mf-theme="mf_colormax"] .cm-topic{min-width:0;overflow-wrap:anywhere}
body[data-mf-theme="mf_colormax"] .cm-rank li{grid-template-columns:28px minmax(0,1fr) auto}
body[data-mf-theme="mf_magflow"] .mg-trio-card{min-width:0;overflow-wrap:anywhere}
body[data-mf-theme="mf_colormax"] .cm-footer-grid>*{min-width:0;overflow-wrap:anywhere}
body[data-mf-theme="mf_colormax"] .cm-footer a{max-width:100%;overflow-wrap:anywhere}
body[data-mf-theme="mf_magflow"] .mg-footer-inner>*{min-width:0;overflow-wrap:anywhere}
body[data-mf-theme="mf_msn"] .msn-main{min-width:0}
body[data-mf-theme="mf_msn"] .msn-detail-info{min-width:0;overflow-wrap:anywhere}
body[data-mf-theme="mf_2026stellar"] .t2026-footer-link{min-width:0;max-width:100%;overflow-wrap:anywhere}
@media(max-width:768px){
 body[data-mf-theme="mf_breeze"] .breeze-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-mf-theme="mf_classified"] .main-nav{flex-wrap:nowrap;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:4px}
 body[data-mf-theme="mf_classified"] .main-nav>.nav-item{flex:0 0 auto}
}

/* Populated catalogues: allow long saved titles and metadata to wrap without
   increasing a grid track's intrinsic width. Existing ellipsis rules still win. */
body[data-mf-theme]{overflow-wrap:anywhere}
body[data-mf-theme] :is([class*="grid"],[class*="cards"],[class*="layout"],[class*="content"],[class*="detail"],[class*="hero"])>:is(div,article,section,aside,a,ul,li){min-width:0}
body[data-mf-theme] a:is([class*="footer-tag"],[class*="footer-link"]){min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
body[data-mf-theme="mf_acg"] .acg-card{min-width:0;max-width:100%}
@media(max-width:600px){body[data-mf-theme="mf_acg"] .acg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Closed translated drawers must leave neither a horizontal scroll area nor
   focusable controls beyond the viewport. Their native open class is retained. */
body[data-mf-theme]:not(.is-drawer-open) :is(.loft-drawer,.glass-drawer,.line-drawer,.spec-drawer,.deck-drawer){visibility:hidden;pointer-events:none}
body[data-mf-theme="mf_cineloft"] .loft-nav,
body[data-mf-theme="mf_metroglass"] .glass-nav,
body[data-mf-theme="mf_screenline"] .line-nav,
body[data-mf-theme="mf_spectrum"] .spec-nav{flex-wrap:wrap;min-width:0}
body[data-mf-theme="mf_hietcc"] .fn-logo{max-width:100%;overflow-wrap:anywhere;white-space:normal}
@media(max-width:700px){
 body[data-mf-theme="mf_mint360"] .m360-logo{padding-right:48px;justify-content:flex-start;max-width:100%}
 body[data-mf-theme="mf_mint360"] .m360-logo strong{white-space:normal;font-size:18px}
 body[data-mf-theme="mf_fox"] .fox-header-inner{height:auto;min-height:64px;flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:12px}
 body[data-mf-theme="mf_fox"] .fox-logo{flex:1;min-width:0;flex-shrink:1}
 body[data-mf-theme="mf_fox"] .fox-logo-text{overflow-wrap:anywhere}
 body[data-mf-theme="mf_fox"] .fox-search{order:3;flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_fox"] .fox-menu-btn{flex:0 0 32px;min-width:32px}
}

body[data-mf-theme="mf_cinema"] .header-main-content{flex-wrap:wrap}
body[data-mf-theme="mf_cinema"] .header-search{flex:1 1 280px;min-width:0;max-width:100%}
body[data-mf-theme="mf_cinema"] .search-form{width:100%;min-width:0}
body[data-mf-theme="mf_cinema"] .search-input{min-width:0;flex:1;width:100%}
body[data-mf-theme="mf_cinema"] .search-btn{flex:0 0 auto}
body[data-mf-theme="mf_enterprise"] :is(.enterprise-banner,.enterprise-banner-strip)>*{min-width:0}
body[data-mf-theme="mf_hietcc"] .fn-logo-svg{width:100%;max-width:100%;flex:0 1 190px}
body[data-mf-theme="mf_hailuo"] .hl-top-inner{display:flex;flex-wrap:wrap;min-width:0;gap:12px}
body[data-mf-theme="mf_hailuo"] .hl-logo{flex:1;min-width:0}
body[data-mf-theme="mf_hailuo"] .hl-search{flex:0 1 300px;min-width:0}
body[data-mf-theme="mf_horizon"] .horizon-search{flex:1 1 240px}
body[data-mf-theme="mf_horizon"] .horizon-search-input{min-width:0;width:100%}
body[data-mf-theme="mf_kinora"] .kinora-related a{grid-template-columns:58px minmax(0,1fr)}
body[data-mf-theme="mf_kinora"] .kinora-related a>*{min-width:0}
body[data-mf-theme="mf_prism"] .prism-header-container,
body[data-mf-theme="mf_theater"] .theater-header-container{flex-wrap:wrap}
body[data-mf-theme="mf_prism"] .prism-nav,
body[data-mf-theme="mf_theater"] .theater-nav{flex-wrap:wrap;min-width:0}
body[data-mf-theme="mf_prism"] .prism-header-right,
body[data-mf-theme="mf_theater"] .theater-header-right{min-width:0;max-width:100%}
body[data-mf-theme="mf_prism"] .prism-search-input,
body[data-mf-theme="mf_theater"] .theater-search-input{min-width:0;width:100%;box-sizing:border-box}
body[data-mf-theme="mf_split"] .split-hero{min-width:0;max-width:100%;width:100%;aspect-ratio:auto}
body[data-mf-theme="mf_zhihu"] .zhihu-header-inner{flex-wrap:wrap;height:auto;min-height:52px;padding-top:8px;padding-bottom:8px}
body[data-mf-theme="mf_zhihu"] .zhihu-nav{min-width:0;flex-wrap:wrap}
@media(max-width:768px){
 body[data-mf-theme="mf_baidu"] .header-right{margin-left:0;max-width:100%;min-width:0}
 body[data-mf-theme="mf_hailuo"] .hl-search{flex:1 1 100%;order:5}
 body[data-mf-theme="mf_hailuo"] .hl-menu-btn{flex:0 0 32px}
 body[data-mf-theme="mf_medcolumn"] .mc-stream-title{max-width:100%}
 body[data-mf-theme="mf_reel"] .reel-topbar-inner{flex-wrap:wrap}
 body[data-mf-theme="mf_reel"] .reel-brand{flex:1;min-width:0}
 body[data-mf-theme="mf_reel"] .reel-search-form{order:3;flex:1 1 100%;max-width:100%;min-width:0}
 body[data-mf-theme="mf_reel"] .reel-search-input{min-width:0;width:100%}
 body[data-mf-theme="mf_x"] #mf-mobile-search{width:calc(100% - 32px);min-width:0;max-width:calc(100% - 32px);box-sizing:border-box}
 body[data-mf-theme="mf_x"] #mf-mobile-search input{min-width:0;max-width:100%;width:100%;flex:1}
}
@media(max-width:700px){
 body[data-mf-theme="mf_mint360"] .m360-logo{width:calc(100% - 52px);padding-right:0}
 body[data-mf-theme="mf_nocturne"] .nx-brand{width:calc(100% - 56px)}
}

body[data-mf-theme="mf_mint360"] .m360-logo strong{min-width:0;white-space:normal;overflow-wrap:anywhere}
body[data-mf-theme="mf_mint360"] .m360-logo>span{flex:0 0 auto}
body[data-mf-theme="mf_hailuo"] .hl-main-nav{order:3;flex:1 1 100%;min-width:0;flex-wrap:wrap}
body[data-mf-theme="mf_x"] .x-main{min-width:0}
@media(max-width:768px){
 body[data-mf-theme="mf_vivid"] .header-content{flex-wrap:wrap;gap:12px}
 body[data-mf-theme="mf_vivid"] .header-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_vivid"] .header-actions{flex:1 1 100%;justify-content:flex-end}
 body[data-mf-theme="mf_x"] .x-main{width:100%;max-width:100%}
 body[data-mf-theme="mf_x"] .x-content{width:100%;min-width:0}
}

/* The original theatre hero used a 32px bleed inside a 24px gutter. */
body[data-mf-theme="mf_theater"] .theater-hero{margin-left:0;margin-right:0;max-width:100%}

body[data-mf-theme="mf_fox"] .fox-footer-tag{flex:0 0 auto;max-width:none;white-space:nowrap}
body[data-mf-theme="mf_fox"] .fox-footer-tags-inner{max-width:none;min-width:max-content}

/* Small phones need an explicit zero minimum for grid tracks, logos and search
   inputs; a long site name must not push the menu beyond the viewport. */
@media(max-width:380px){
 body[data-mf-theme] header :is(a[class*="logo"],a[class*="brand"]){min-width:0;max-width:100%;flex-shrink:1;white-space:normal;overflow-wrap:anywhere}
 body[data-mf-theme] header :is(a[class*="logo"],a[class*="brand"]) :is(span,strong,small,div){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 body[data-mf-theme] header :is(form,[class*="search"],[class*="header-actions"]){min-width:0;max-width:100%;box-sizing:border-box}
 body[data-mf-theme] header input{min-width:0;width:100%;box-sizing:border-box}
 body[data-mf-theme="mf_airfilm"] .airy-head__bar,
 body[data-mf-theme="mf_cinemapalace"] .palace-header__inner,
 body[data-mf-theme="mf_neonx"] .nx-header__bar{grid-template-columns:minmax(0,1fr) auto}
 body[data-mf-theme="mf_airfilm"] .airy-search,
 body[data-mf-theme="mf_cinemapalace"] .palace-search,
 body[data-mf-theme="mf_neonx"] .nx-search{width:100%;min-width:0}
 body[data-mf-theme="mf_aurora"] .strip-cards,
 body[data-mf-theme="mf_paperfold"] .fold-grid{grid-template-columns:minmax(0,1fr)}
 body[data-mf-theme="mf_paperfold"] .headline--featured{grid-column:auto;min-width:0}
 body[data-mf-theme="mf_downriver"] .downriver-nav{flex-wrap:wrap;min-width:0;flex:1 1 100%}
 body[data-mf-theme="mf_dawn"] .dawn-header-inner{flex-wrap:wrap}
 body[data-mf-theme="mf_dawn"] .dawn-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_dawn"] .dawn-search{order:3;flex:1 1 100%;max-width:100%}
 body[data-mf-theme="mf_fresh"] .search-form,
 body[data-mf-theme="mf_press"] .search-form{width:100%;min-width:0}
 body[data-mf-theme="mf_fresh"] .search-input,
 body[data-mf-theme="mf_press"] .search-input{flex:1;min-width:0;width:100%}
 body[data-mf-theme="mf_fresh"] .search-btn,
 body[data-mf-theme="mf_press"] .search-btn{flex:0 0 auto}
 body[data-mf-theme="mf_magflow"] .mg-rec-grid{grid-template-columns:minmax(0,1fr)}
 body[data-mf-theme="mf_magflow"] .mg-rec-item{grid-template-columns:76px minmax(0,1fr)}
 body[data-mf-theme="mf_nocturne"] .nx-title-links>*{min-width:0;max-width:100%}
 body[data-mf-theme="mf_nocturne"] .nx-title-links a{max-width:100%}
 body[data-mf-theme="mf_premium"] .header-content{flex-wrap:wrap;min-width:0}
 body[data-mf-theme="mf_premium"] .nav-toggle{flex:0 0 42px}
 body[data-mf-theme="mf_radiant"] .radiant-search{width:100%;min-width:0}
 body[data-mf-theme="mf_radiant"] .radiant-search input{flex:1;min-width:0}
}
@media(min-width:768px) and (max-width:1024px){
 body[data-mf-theme="mf_lflcinema"] .lc-nav{display:none}
 body[data-mf-theme="mf_lflcinema"] .lc-menu-btn{display:inline-flex}
}

/* These imported controls are placeholders (javascript:void(0)); MovieFleet
   does not expose front-end login, registration or watch-history actions. */
body[data-mf-theme="mf_sycw91"] .sy91-bar-links{display:none}

@media(max-width:380px){body[data-mf-theme="mf_ultra"] .ultra-brand{min-width:0;max-width:100%;flex-shrink:1}}

@media(max-width:380px){
 body[data-mf-theme] header span[class*="logo-icon"]{flex:0 0 auto}
 body[data-mf-theme="mf_aurora"] .list-grid{grid-template-columns:minmax(0,1fr)}
 body[data-mf-theme="mf_modern"] .navbar-brand{min-width:0;max-width:calc(100% - 72px);white-space:normal;overflow-wrap:anywhere;margin-right:0}
 body[data-mf-theme="mf_release"] .header-left,
 body[data-mf-theme="mf_wave"] .wave-brand{min-width:0;max-width:100%;flex-shrink:1}
 body[data-mf-theme="mf_movie"] .movie-logo{min-width:0;flex:1;flex-shrink:1}
 body[data-mf-theme="mf_movie"] .movie-mobile-menu-btn{flex:0 0 44px}
 body[data-mf-theme="mf_douyin"] .douyin-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_douyin"] .douyin-menu-toggle{flex:0 0 32px}
}
/* Homepage hero copy is an excerpt. Keep it readable over the artwork while
   the detail page retains the complete synopsis and full cast information. */
@media(max-width:768px){
 body[data-mf-theme] :is(.banner-slider,.bili-banner-content,.hero-slider,.ember-hero,.luxury-hero-slider,.motion-hero,.movie-banner,.headline-card,.portal-hero,.hero-image,.prism-hero,.stream-hero,.theater-hero,.video-banner,.hero-link){min-height:360px}
 body[data-mf-theme] :is(.banner-slider,.bili-banner-content,.hero-slider,.ember-hero,.luxury-hero-slider,.motion-hero,.movie-banner,.headline-card,.portal-hero,.hero-image,.prism-hero,.stream-hero,.theater-hero,.video-banner,.hero-link) :is(h1,h2){font-size:clamp(22px,5vw,30px);line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 body[data-mf-theme] :is(.banner-slider,.bili-banner-content,.hero-slider,.ember-hero,.luxury-hero-slider,.motion-hero,.movie-banner,.headline-card,.portal-hero,.hero-image,.prism-hero,.stream-hero,.theater-hero,.video-banner,.hero-link) p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 body[data-mf-theme] .headline-card .headline-image{min-height:360px}
}

@media(max-width:380px){
 body[data-mf-theme="mf_movie"] .movie-header-inner{flex-wrap:wrap}
 body[data-mf-theme="mf_movie"] .movie-logo-area{flex:1;min-width:0}
 body[data-mf-theme="mf_movie"] .movie-header-actions{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_movie"] .movie-search-box{flex:1;min-width:0;width:100%}
}

@media(max-width:380px){body[data-mf-theme="mf_airfilm"] .airy-tags span{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}}

body[data-mf-theme="mf_ember"] .ember-hero-description,
body[data-mf-theme="mf_motion"] .motion-hero-description,
body[data-mf-theme="mf_video"] .video-banner-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
body[data-mf-theme="mf_ember"] .ember-hero-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:clamp(28px,4vw,52px);line-height:1.2}
@media(max-width:768px){
 body[data-mf-theme="mf_bilibili"] .bili-detail-header{height:auto;min-height:300px}
 body[data-mf-theme="mf_bilibili"] .bili-detail-header-content{height:auto;padding:24px 20px;align-items:center}
 body[data-mf-theme="mf_bilibili"] .bili-detail-intro{width:100%;min-width:0}
 body[data-mf-theme="mf_ember"] .ember-hero-description,
 body[data-mf-theme="mf_motion"] .motion-hero-description,
 body[data-mf-theme="mf_video"] .video-banner-desc{-webkit-line-clamp:2}
 body[data-mf-theme="mf_motion"] .motion-hero-content{padding:0 20px}
 body[data-mf-theme="mf_video"] .video-banner{min-height:420px}
}
@media(max-width:380px){
 body[data-mf-theme="mf_release"] .header-right{flex:1 1 100%;min-width:0;max-width:100%}
 body[data-mf-theme="mf_release"] .search-form{flex:1;min-width:0;width:auto}
 body[data-mf-theme="mf_release"] .search-input{flex:1;min-width:0;width:100%}
}

body[data-mf-theme="mf_ember"] .ember-hero-meta,
body[data-mf-theme="mf_motion"] .motion-hero-meta,
body[data-mf-theme="mf_video"] .video-banner-meta{flex-wrap:wrap;gap:12px}
body[data-mf-theme="mf_ember"] .ember-hero,
body[data-mf-theme="mf_motion"] .motion-hero{height:auto;min-height:70vh;padding-top:32px;padding-bottom:32px}
@media(max-width:768px){
 body[data-mf-theme="mf_video"] .video-banner-slider{aspect-ratio:auto;height:480px;min-height:480px}
 body[data-mf-theme="mf_video"] .video-banner-meta-item{flex:0 1 auto;min-width:0;max-width:100%}
}

/* The server-rendered MSN feed has links in its headings and needs no active
   item observer. Keep every card fully legible when only the menu JS is used. */
body[data-mf-theme="mf_msn"] .msn-feed-item{opacity:1}
body[data-mf-theme="mf_msn"] .msn-feed-title a{color:inherit;text-decoration:none}
body[data-mf-theme="mf_msn"] .msn-feed-title a:hover{text-decoration:underline}
/* Content is already server rendered; the decorative loader must not cover it
   while waiting for JavaScript timers or a slow third-party image. */
body[data-mf-theme="mf_news3"] #pageLoader{display:none!important}

/* Saved metadata can wrap onto several lines. Let the actual hero content set
   its height so the watch action stays reachable rather than being clipped. */
body[data-mf-theme="mf_sidenav"] .sidenav-hero{height:auto;min-height:max(500px,60vh)}
body[data-mf-theme="mf_sidenav"] .sidenav-hero-content{height:auto}
@media(max-width:1024px){
 body[data-mf-theme="mf_bilibili"] .bili-banner-left{height:auto;min-height:300px}
 body[data-mf-theme="mf_bilibili"] .bili-banner-content{height:auto;min-height:300px;padding-top:24px;padding-bottom:24px}
}
@media(max-width:768px){
 body[data-mf-theme="mf_sidenav"] .sidenav-hero{min-height:max(400px,50vh)}
 body[data-mf-theme="mf_sidenav"] .sidenav-hero-content{padding:32px 24px}
 body[data-mf-theme="mf_bilibili"] .bili-banner-left,
 body[data-mf-theme="mf_bilibili"] .bili-banner-content{min-height:250px}
}

/* Native image dimensions describe the source; a CSS width must not leave the
   HTML height fixed. Explicit theme frames and their cover/contain rules retain
   priority over these low-priority media defaults. */
@layer moviefleet-media-defaults{
 body[data-mf-theme] img:is([src*="/media/posters/"],[src*="/preview-poster.svg"],[src*="/poster-placeholder.svg"]){max-width:100%;height:auto;object-fit:cover}

/* Complete themes without an original recommendation area using the same real film cards. */
body[data-mf-theme] .mf-recommendations-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px}
body[data-mf-theme] .mf-recommendations-grid .mf-recommendation-card{display:block;min-width:0;margin:0;padding:0;text-decoration:none;overflow:hidden}
body[data-mf-theme] .mf-recommendations-grid .mf-recommendation-poster{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:8px}
body[data-mf-theme] .mf-recommendation-title{display:block;padding:8px 2px;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:1100px){body[data-mf-theme] .mf-recommendations-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:560px){body[data-mf-theme] .mf-recommendations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
}

/* Long saved names must fit the cross axis of a wrapped mobile header too. */
@media(max-width:1024px){
 body[data-mf-theme] :is(header,nav.navbar) :is(a[class*="logo"],a[class*="brand"]){min-width:0;max-width:100%;flex-shrink:1;white-space:normal;overflow-wrap:anywhere}
 body[data-mf-theme] :is(header,nav.navbar) :is(a[class*="logo"],a[class*="brand"]) :is(span,strong,small,div){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 body[data-mf-theme] header :is(form,[class*="search"],[class*="header-actions"]){min-width:0;max-width:100%;box-sizing:border-box}
 body[data-mf-theme] header input{min-width:0;max-width:100%;box-sizing:border-box}
 body[data-mf-theme] header :is([class*="logo-icon"],[class*="brand-icon"],.brand-mark,.brand-logo){flex-shrink:0}
 body[data-mf-theme="mf_modern"] .navbar-brand{max-width:calc(100% - 72px);white-space:normal;overflow-wrap:anywhere;margin-right:0}
 body[data-mf-theme="mf_enterprise"] .enterprise-header-inner,
 body[data-mf-theme="mf_glass"] .glass-header-inner,
 body[data-mf-theme="mf_paper"] .paper-header-inner{flex-wrap:wrap;gap:12px}
 body[data-mf-theme="mf_enterprise"] .enterprise-header-right,
 body[data-mf-theme="mf_glass"] .glass-header-right,
 body[data-mf-theme="mf_paper"] .paper-header-right{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_huya"] .huya-header-content{flex-wrap:wrap;gap:12px}
 body[data-mf-theme="mf_huya"] .huya-logo{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_huya"] .huya-search-form{flex:1;min-width:0}
 body[data-mf-theme="mf_huya"] .huya-search-wrapper{width:100%;min-width:0}
 body[data-mf-theme="mf_triportal"] .tp-header-main{flex-wrap:wrap;min-width:0}
}
@media(max-width:600px){
 body[data-mf-theme="mf_airfilm"] .airy-head__bar,
 body[data-mf-theme="mf_cinemapalace"] .palace-header__inner,
 body[data-mf-theme="mf_neonx"] .nx-header__bar{grid-template-columns:minmax(0,1fr) auto}
 body[data-mf-theme="mf_airfilm"] .airy-search,
 body[data-mf-theme="mf_cinemapalace"] .palace-search,
 body[data-mf-theme="mf_neonx"] .nx-search{width:100%;min-width:0}
 body[data-mf-theme="mf_dawn"] .dawn-header-inner{flex-wrap:wrap}
 body[data-mf-theme="mf_dawn"] .dawn-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_dawn"] .dawn-search{order:3;flex:1 1 100%;max-width:100%}
 body[data-mf-theme="mf_dawn"] .dawn-menu-btn{flex:0 0 38px}
 body[data-mf-theme="mf_douyin"] .douyin-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_douyin"] .douyin-menu-toggle{flex:0 0 32px}
 body[data-mf-theme="mf_premium"] .header-content{flex-wrap:wrap;min-width:0}
 body[data-mf-theme="mf_premium"] .nav-toggle{flex:0 0 42px}
 body[data-mf-theme="mf_release"] .header-left{min-width:0;max-width:100%;flex-shrink:1}
 body[data-mf-theme="mf_release"] .header-right{flex:1 1 100%;min-width:0;max-width:100%}
 body[data-mf-theme="mf_release"] .search-form{flex:1;min-width:0;width:auto}
 body[data-mf-theme="mf_release"] .search-input{flex:1;min-width:0;width:100%}
}

/* A navigation row must wrap whole category labels, rather than squeezing each
   Chinese title into a vertical column between a long brand and the search. */
@media(min-width:1025px){
 body:is([data-mf-theme="mf_aurora"],[data-mf-theme="mf_breeze"],[data-mf-theme="mf_download"],[data-mf-theme="mf_magazine"],[data-mf-theme="mf_neon"],[data-mf-theme="mf_nexus"],[data-mf-theme="mf_release"],[data-mf-theme="mf_stream"],[data-mf-theme="mf_ultra"],[data-mf-theme="mf_wave"]) header :is(.header-inner,.header-container,.header-main-content,.breeze-container,.neon-header__inner,.stream-container,.ultra-container,.wave-container){flex-wrap:wrap}
 body:is([data-mf-theme="mf_aurora"],[data-mf-theme="mf_breeze"],[data-mf-theme="mf_download"],[data-mf-theme="mf_magazine"],[data-mf-theme="mf_neon"],[data-mf-theme="mf_nexus"],[data-mf-theme="mf_release"],[data-mf-theme="mf_stream"],[data-mf-theme="mf_ultra"],[data-mf-theme="mf_wave"]) header nav{order:3;flex:1 1 100%;width:100%;min-width:0;margin-left:0;flex-wrap:wrap}
 body:is([data-mf-theme="mf_aurora"],[data-mf-theme="mf_breeze"],[data-mf-theme="mf_download"],[data-mf-theme="mf_magazine"],[data-mf-theme="mf_neon"],[data-mf-theme="mf_nexus"],[data-mf-theme="mf_release"],[data-mf-theme="mf_stream"],[data-mf-theme="mf_ultra"],[data-mf-theme="mf_wave"]) header nav>a{flex:0 0 auto;white-space:nowrap}
 body[data-mf-theme="mf_release"] .header-center{order:3;flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_magazine"] .header-main .logo{flex:1 1 28rem;min-width:0;max-width:100%}
 body[data-mf-theme="mf_default"] .nova-header__inner,
 body[data-mf-theme="mf_sycw91"] .sy91-bar-light-inner,
 body[data-mf-theme="mf_xinnian"] .xn-header-inner,
 body[data-mf-theme="mf_xuanying"] .hq-header-inner{flex-wrap:wrap;height:auto;min-height:64px}
 body[data-mf-theme="mf_default"] .nova-nav,
 body[data-mf-theme="mf_sycw91"] .sy91-nav-main,
 body[data-mf-theme="mf_xinnian"] .xn-nav,
 body[data-mf-theme="mf_xuanying"] .hq-nav{min-width:0;flex-wrap:wrap;max-width:100%;flex:1 1 100%;order:3}
 body[data-mf-theme="mf_default"] .nova-nav>a,
 body[data-mf-theme="mf_sycw91"] .sy91-nav-main>a,
 body[data-mf-theme="mf_xinnian"] .xn-nav-link,
 body[data-mf-theme="mf_xuanying"] .hq-nav-link{white-space:nowrap;flex:0 0 auto}
}

body[data-mf-theme="mf_lyjrd"] .lyjrd-video-tag{max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
body[data-mf-theme="mf_news3"] .sidebar-logo{min-width:0;max-width:100%}
body[data-mf-theme="mf_news3"] .sidebar-logo .logo-text{min-width:0;white-space:normal;overflow-wrap:anywhere}
body[data-mf-theme="mf_spectrum"] #mf-watch-page,
body[data-mf-theme="mf_streamflux"] #mf-watch-page{padding-top:calc(var(--mf-mobile-header-height,80px) + 16px)}
@media(max-width:980px){body[data-mf-theme="mf_imaxview"] .imax-main.reel-main:not(.imax-main--home){padding-top:calc(var(--mf-mobile-header-height,80px) + 16px)}}
/* Film-link tickers keep their appearance and motion in document flow, so they
   cannot cover the player, its controls or the saved content headings. */
body[data-mf-theme="mf_video"] .video-footer-links,
body[data-mf-theme="mf_youtube"] .yt-footer-links{position:relative;inset:auto}

@media(max-width:1024px){
 body[data-mf-theme] header :is([class*="brand"],[class*="logo"]){min-width:0;max-width:100%}
 body[data-mf-theme="mf_classic"] .classic-header-top,
 body[data-mf-theme="mf_lyjrd"] .lyjrd-header-top,
 body[data-mf-theme="mf_fresh"] .header-top,
 body[data-mf-theme="mf_medcolumn"] .mc-top-inner{flex-wrap:wrap;gap:12px}
 body[data-mf-theme="mf_classic"] .classic-search-form,
 body[data-mf-theme="mf_lyjrd"] .lyjrd-search-form,
 body[data-mf-theme="mf_fresh"] .header-actions,
 body[data-mf-theme="mf_medcolumn"] .mc-search{order:3;flex:1 1 100%;min-width:0;max-width:100%;width:100%}
 body[data-mf-theme="mf_classic"] .classic-search-input,
 body[data-mf-theme="mf_lyjrd"] .lyjrd-search-input,
 body[data-mf-theme="mf_fresh"] .search-input{flex:1;min-width:0;width:100%}
}
@media(min-width:1025px){
 body:is([data-mf-theme="mf_2026stellar"],[data-mf-theme="mf_acfun"],[data-mf-theme="mf_acg"],[data-mf-theme="mf_adys"],[data-mf-theme="mf_aero"],[data-mf-theme="mf_atelier"],[data-mf-theme="mf_bilibili"],[data-mf-theme="mf_cinema"],[data-mf-theme="mf_downriver"],[data-mf-theme="mf_enterprise"],[data-mf-theme="mf_gaoqing"],[data-mf-theme="mf_glass"],[data-mf-theme="mf_huya"],[data-mf-theme="mf_korean"],[data-mf-theme="mf_lumina"],[data-mf-theme="mf_news"],[data-mf-theme="mf_paper"],[data-mf-theme="mf_radiant"],[data-mf-theme="mf_serene"],[data-mf-theme="mf_streamflux"],[data-mf-theme="mf_video91"],[data-mf-theme="mf_zhihu"]) header :has(>nav){flex-wrap:wrap;height:auto}
 body:is([data-mf-theme="mf_2026stellar"],[data-mf-theme="mf_acfun"],[data-mf-theme="mf_acg"],[data-mf-theme="mf_adys"],[data-mf-theme="mf_aero"],[data-mf-theme="mf_atelier"],[data-mf-theme="mf_bilibili"],[data-mf-theme="mf_cinema"],[data-mf-theme="mf_downriver"],[data-mf-theme="mf_enterprise"],[data-mf-theme="mf_gaoqing"],[data-mf-theme="mf_glass"],[data-mf-theme="mf_huya"],[data-mf-theme="mf_korean"],[data-mf-theme="mf_lumina"],[data-mf-theme="mf_news"],[data-mf-theme="mf_paper"],[data-mf-theme="mf_radiant"],[data-mf-theme="mf_serene"],[data-mf-theme="mf_streamflux"],[data-mf-theme="mf_video91"],[data-mf-theme="mf_zhihu"]) header nav{flex:1 1 100%;width:100%;order:3;min-width:0;flex-wrap:wrap;margin-left:0}
 body:is([data-mf-theme="mf_2026stellar"],[data-mf-theme="mf_acfun"],[data-mf-theme="mf_acg"],[data-mf-theme="mf_adys"],[data-mf-theme="mf_aero"],[data-mf-theme="mf_atelier"],[data-mf-theme="mf_bilibili"],[data-mf-theme="mf_cinema"],[data-mf-theme="mf_downriver"],[data-mf-theme="mf_enterprise"],[data-mf-theme="mf_gaoqing"],[data-mf-theme="mf_glass"],[data-mf-theme="mf_huya"],[data-mf-theme="mf_korean"],[data-mf-theme="mf_lumina"],[data-mf-theme="mf_news"],[data-mf-theme="mf_paper"],[data-mf-theme="mf_radiant"],[data-mf-theme="mf_serene"],[data-mf-theme="mf_streamflux"],[data-mf-theme="mf_video91"],[data-mf-theme="mf_zhihu"]) header nav>a{flex:0 0 auto;white-space:nowrap}
 body[data-mf-theme="mf_magazine"] .header-main .header-container{grid-template-columns:minmax(0,1fr) auto}
 body[data-mf-theme="mf_magazine"] .header-main .main-nav{grid-column:1/-1}
 body[data-mf-theme="mf_modern"] .navbar .container{flex-wrap:wrap}
 body[data-mf-theme="mf_modern"] .navbar-collapse{flex:1 1 100%;width:100%;min-width:0}
 body[data-mf-theme="mf_modern"] .navbar-nav{flex-wrap:wrap;min-width:0}
 body[data-mf-theme="mf_modern"] .search-form{flex:0 1 310px;min-width:0;max-width:100%}
 body[data-mf-theme="mf_modern"] .search-form input{min-width:0;max-width:100%}
}
/* The headline grid grows with its adjacent story list; artwork must cover the
   complete card behind its white overlaid caption instead of ending early. */
body[data-mf-theme="mf_news3"] .news3-hero .headline-link{height:100%}
body[data-mf-theme="mf_news3"] .news3-hero .headline-image{height:100%;padding-top:0;min-height:420px}
@media(max-width:768px){body[data-mf-theme="mf_news3"] .news3-hero .headline-image{min-height:360px}}

/* A visible search field remains usable beside long saved site names. These
   headers wrap existing controls; no theme navigation or search is removed. */
body[data-mf-theme="mf_acg"] .acg-header{position:sticky}
body[data-mf-theme="mf_acg"] .acg-main{padding-top:0}
@media(max-width:1024px){
 body[data-mf-theme="mf_downriver"] .downriver-shell{flex-wrap:wrap}
 body[data-mf-theme="mf_downriver"] .downriver-logo{flex:1 1 230px;min-width:0}
 body[data-mf-theme="mf_downriver"] .downriver-nav{order:3;flex:1 1 100%;min-width:0;flex-wrap:wrap}
 body[data-mf-theme="mf_downriver"] .downriver-nav>a{flex:0 0 auto;white-space:nowrap}
 body[data-mf-theme="mf_downriver"] .downriver-search{flex:1 1 240px;min-width:0;max-width:100%}
 body[data-mf-theme="mf_downriver"] .downriver-search input{flex:1;min-width:0;width:100%}
 body[data-mf-theme="mf_downriver"] .downriver-search button{flex:0 0 auto;white-space:nowrap}
 body[data-mf-theme="mf_playflix"] .pf-top-inner,
 body[data-mf-theme="mf_triportal"] .tp-topbar-inner{flex-wrap:wrap}
 body[data-mf-theme="mf_playflix"] .pf-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_playflix"] .pf-search,
 body[data-mf-theme="mf_triportal"] .tp-search{order:3;flex:1 1 100%;width:100%;min-width:0;max-width:100%}
 body[data-mf-theme="mf_playflix"] .pf-search input,
 body[data-mf-theme="mf_triportal"] .tp-search-input{flex:1;min-width:0;width:100%}
 body[data-mf-theme="mf_youtube"] .yt-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_youtube"] .yt-search{flex:1 0 180px;min-width:180px}
 body[data-mf-theme="mf_youtube"] .yt-search-input{min-width:0;width:100%}
 body[data-mf-theme="mf_youtube"] .yt-search-btn,
 body[data-mf-theme="mf_youtube"] .yt-header-right{flex:0 0 auto}
}
@media(max-width:900px){
 body[data-mf-theme="mf_acg"] .acg-header-inner{height:auto;min-height:52px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px;gap:8px}
 body[data-mf-theme="mf_acg"] .acg-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_acg"] .acg-search{order:3;flex:1 1 100%;max-width:100%;width:100%}
 body[data-mf-theme="mf_acg"] .acg-search-input{flex:1;min-width:0;width:100%}
 body[data-mf-theme="mf_acg"] .acg-menu-btn{flex:0 0 44px}
 body[data-mf-theme="mf_acg"] .acg-nav{top:100%}
 body[data-mf-theme="mf_colormax"] .cm-header-top,
 body[data-mf-theme="mf_richplus"] .richplus-header-top{grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:62px;padding-top:8px;padding-bottom:12px}
 body[data-mf-theme="mf_colormax"] .cm-search,
 body[data-mf-theme="mf_richplus"] .richplus-search-form{grid-column:1/-1;grid-row:2;order:3;width:100%;justify-self:stretch;min-width:0}
}
@media(max-width:767px){
 body[data-mf-theme="mf_lflcinema"]{padding-top:0}
 body[data-mf-theme="mf_lflcinema"] .lc-head{position:sticky;height:auto}
 body[data-mf-theme="mf_lflcinema"] .lc-head-inner{height:auto;min-height:50px;flex-wrap:wrap;padding-top:6px;padding-bottom:8px}
 body[data-mf-theme="mf_lflcinema"] .lc-logo{flex:1;max-width:calc(100% - 48px)}
 body[data-mf-theme="mf_lflcinema"] .lc-menu-btn{flex:0 0 40px}
 body[data-mf-theme="mf_lflcinema"] .lc-search{order:3;flex:1 1 100%;width:100%;max-width:100%;min-width:0;margin-left:0;height:36px}
}
@media(max-width:600px){
 body[data-mf-theme="mf_radiant"] .radiant-header .radiant-shell,
 body[data-mf-theme="mf_streamline"] .streamline-header-top,
 body[data-mf-theme="mf_video91"] .v91-header-inner,
 body[data-mf-theme="mf_xinnian"] .xn-header-inner{flex-wrap:wrap;height:auto;min-height:52px;padding-top:8px;padding-bottom:8px;gap:10px}
 body[data-mf-theme="mf_radiant"] .radiant-logo,
 body[data-mf-theme="mf_streamline"] .streamline-logo,
 body[data-mf-theme="mf_video91"] .v91-logo,
 body[data-mf-theme="mf_xinnian"] .xn-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_radiant"] .radiant-search,
 body[data-mf-theme="mf_streamline"] .streamline-header-actions,
 body[data-mf-theme="mf_video91"] .v91-search,
 body[data-mf-theme="mf_xinnian"] .xn-search{order:3;flex:1 1 100%;min-width:0;max-width:100%;width:100%}
 body[data-mf-theme="mf_streamline"] .streamline-logo{flex:1 1 100%}
 body[data-mf-theme="mf_streamline"] .streamline-search-form{flex:1;min-width:0}
 body[data-mf-theme="mf_streamline"] .streamline-search-box{width:100%;min-width:0}
 body[data-mf-theme="mf_radiant"] .radiant-search input,
 body[data-mf-theme="mf_streamline"] .streamline-search-input,
 body[data-mf-theme="mf_video91"] .v91-search-input,
 body[data-mf-theme="mf_xinnian"] .xn-search-input{flex:1;min-width:0;width:100%}
 body[data-mf-theme="mf_video91"] .v91-nav.is-open,
 body[data-mf-theme="mf_xinnian"] .xn-nav.is-open{top:100%}
}
@media(min-width:1025px){
 body[data-mf-theme="mf_netflix"] .nf-header{position:sticky}
 body[data-mf-theme="mf_netflix"] .nf-main{margin-top:0}
 body[data-mf-theme="mf_netflix"] .nf-header-container{height:auto;min-height:70px;padding-top:8px;padding-bottom:8px;gap:20px}
 body[data-mf-theme="mf_netflix"] .nf-header-left{min-width:0;flex-wrap:wrap;gap:12px}
 body[data-mf-theme="mf_netflix"] .nf-nav{flex:1 1 100%;flex-wrap:wrap}
 body[data-mf-theme="mf_netflix"] .nf-nav>a{flex:0 0 auto;white-space:nowrap}
}
/* Tablet category labels and long mobile brands need the same room as desktop. */
@media(max-width:1024px){
 body[data-mf-theme="mf_adys"] .adys-header-top{flex-wrap:wrap}
 body[data-mf-theme="mf_adys"] .adys-top-links{order:3;flex:1 1 100%;flex-wrap:wrap;min-width:0}
 body[data-mf-theme="mf_adys"] .adys-top-links>a{flex:0 0 auto;white-space:nowrap}
 body[data-mf-theme="mf_mint360"] .m360-header__top{grid-template-columns:minmax(0,1fr) auto;padding-top:8px;padding-bottom:8px}
 body[data-mf-theme="mf_mint360"] .m360-logo{grid-column:1/-1}
 body[data-mf-theme="mf_mint360"] .m360-search{min-width:0;max-width:100%;width:100%}
}
@media(max-width:900px){
 body[data-mf-theme="mf_korean"] .kr-header{position:sticky}
 body[data-mf-theme="mf_korean"] .kr-main{padding-top:0}
 body[data-mf-theme="mf_korean"] .kr-header-inner{height:auto;min-height:56px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px;gap:10px}
 body[data-mf-theme="mf_korean"] .kr-logo{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_korean"] .kr-header-right{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_korean"] .kr-search{flex:1;min-width:0}
 body[data-mf-theme="mf_korean"] .kr-search-input{flex:1;width:100%;min-width:0}
 body[data-mf-theme="mf_korean"] .kr-nav{top:100%}
 body[data-mf-theme="mf_netflix"] .nf-header{position:sticky}
 body[data-mf-theme="mf_netflix"] .nf-main{margin-top:0}
 body[data-mf-theme="mf_netflix"] .nf-header-container{height:auto;min-height:60px;padding-top:8px;padding-bottom:8px;gap:12px}
 body[data-mf-theme="mf_netflix"] .nf-header-left{flex:1;min-width:0}
 body[data-mf-theme="mf_netflix"] .nf-logo{max-width:100%;min-width:0}
}
@media(max-width:768px){
 body[data-mf-theme="mf_motion"] .motion-header-top{flex-wrap:wrap;gap:10px}
 body[data-mf-theme="mf_motion"] .motion-logo{flex:1;min-width:0}
 body[data-mf-theme="mf_motion"] .motion-search-form{order:3;flex:1 1 100%;min-width:0;width:100%;max-width:100%}
}
@media(min-width:1025px){
 body[data-mf-theme="mf_acfun"] .acfun-header-container{height:auto;min-height:60px}
 body[data-mf-theme="mf_bilibili"] .bili-header-container{height:auto;min-height:64px}
}
@media(max-width:1024px){
 body[data-mf-theme="mf_medcolumn"] .mc-nav{order:3;flex:1 1 100%;min-width:0;flex-wrap:wrap}
 body[data-mf-theme="mf_medcolumn"] .mc-nav>a{flex:0 0 auto;white-space:nowrap}
 body[data-mf-theme="mf_xinnian"] .xn-header-inner{height:auto;min-height:52px;padding-top:8px;padding-bottom:8px}
}
@media(max-width:900px){
 body[data-mf-theme="mf_netflix"] .nf-header-container{flex-wrap:wrap}
 body[data-mf-theme="mf_netflix"] .nf-header-left{flex:1 1 100%}
 body[data-mf-theme="mf_netflix"] .nf-header-right{flex:1 1 100%;min-width:0;justify-content:flex-end}
 body[data-mf-theme="mf_netflix"] .nf-search{flex:1;min-width:0}
 body[data-mf-theme="mf_netflix"] .nf-search-input{width:100%;min-width:0}
 body[data-mf-theme="mf_netflix"] .nf-logo-text{flex:0 0 auto}
 body[data-mf-theme="mf_netflix"] .nf-logo-full{flex:1;min-width:0;overflow-wrap:anywhere}
}
@media(max-width:600px){
 body[data-mf-theme="mf_weibo"]{padding-top:0}
 body[data-mf-theme="mf_weibo"] .weibo-topbar{position:sticky}
 body[data-mf-theme="mf_weibo"] .weibo-topbar-container{height:auto;min-height:60px;padding-top:8px;padding-bottom:8px;flex-wrap:wrap;gap:10px}
 body[data-mf-theme="mf_weibo"] .weibo-topbar-left{flex:1 1 100%;min-width:0;flex-wrap:wrap;gap:10px}
 body[data-mf-theme="mf_weibo"] .weibo-logo{flex:1 1 100%;min-width:0}
 body[data-mf-theme="mf_weibo"] .weibo-search{flex:1;min-width:0}
}
@media(min-width:481px) and (max-width:1024px){
 body[data-mf-theme="mf_youtube"] .yt-header-container{display:grid;grid-template-columns:40px minmax(0,1fr) 180px 40px;gap:12px}
 body[data-mf-theme="mf_youtube"] .yt-logo{margin-right:0;min-width:0}
 body[data-mf-theme="mf_youtube"] .yt-logo-text{font-size:16px;line-height:20px;max-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body[data-mf-theme="mf_youtube"] .yt-search{min-width:0;width:100%;max-width:100%}
}
@media(max-width:1024px){
 body[data-mf-theme="mf_medcolumn"] .mc-top-inner{grid-template-columns:minmax(0,1fr) auto}
 body[data-mf-theme="mf_medcolumn"] .mc-logo{grid-column:1;grid-row:1;min-width:0}
 body[data-mf-theme="mf_medcolumn"] .mc-nav{grid-column:2;grid-row:1;order:0;justify-self:end}
 body[data-mf-theme="mf_medcolumn"] .mc-search{grid-column:1/-1;grid-row:2;width:100%;min-width:0;max-width:100%}
 body[data-mf-theme="mf_medcolumn"] .mc-search input{flex:1;min-width:0;width:100%}
}

body[data-mf-theme] #mf-directory-recommendations{gap:10px;align-items:center}
body[data-mf-theme] #mf-directory-recommendations h2{flex-basis:100%;margin-bottom:6px}
body[data-mf-theme] #mf-directory-recommendations a{display:inline-block;color:inherit;border:1px solid #80808040;border-radius:6px;padding:8px 12px;text-decoration:none}
body[data-mf-theme="mf_kinora"] .kinora-adjacent a{min-width:0;max-width:100%;box-sizing:border-box}
body[data-mf-theme="mf_kinora"] .kinora-adjacent strong{white-space:normal;overflow-wrap:anywhere}
@media(max-width:680px){body[data-mf-theme="mf_kinora"] .kinora-adjacent{grid-template-columns:minmax(0,1fr)}}

/* Shared watch and topic modules inherit each theme's readable foreground. */
body[data-mf-theme] .mf-watch-page a { color: inherit; }
body[data-mf-theme] .mf-watch-page a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body[data-mf-theme] .mf-episodes a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
body[data-mf-theme] .mf-episodes a[aria-current] { color: #fff; background: #2563eb; }
body[data-mf-theme] .mf-watch-page > ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 10px; padding: 0; list-style: none; }
body[data-mf-theme] .mf-watch-page > ul > li { min-width: 0; }
body[data-mf-theme] .mf-watch-page > ul > li > a { display: block; padding: 12px; border: 1px solid #80808060; border-radius: 6px; overflow-wrap: anywhere; text-decoration: none; line-height: 1.6; }
body[data-mf-theme] .mf-watch-page > ul > li > a:hover { text-decoration: underline; }

body[data-mf-theme] #mf-film-recommendations .mf-recommendation-card,
body[data-mf-theme] #mf-film-recommendations .mf-recommendation-card:visited,
body[data-mf-theme] #mf-film-recommendations .mf-recommendation-title { color: inherit; }

body[data-mf-theme] .mf-episodes a, body[data-mf-theme] .mf-episodes a:visited { color: inherit; }
body[data-mf-theme] .mf-episodes a[aria-current] { color: #fff; }
