:is(body.nn24,body.nnin,body.dd,body.jp,body.rn:not(.ac)){
  --flat-bg:#f8f9fa;--flat-text:#272d33;--flat-muted:#626c76;--flat-accent:#356675;
  --bg:var(--flat-bg)!important;--surface:var(--flat-bg)!important;
  --text:var(--flat-text)!important;--muted:var(--flat-muted)!important;
  --accent:var(--flat-accent)!important;--on-accent:var(--flat-text)!important;
  --line:transparent!important;--radius:0px!important;
  --nn-bg:var(--flat-bg)!important;--nn-soft:var(--flat-bg)!important;
  --nn-text:var(--flat-text)!important;--nn-muted:var(--flat-muted)!important;
  --nn-accent:var(--flat-accent)!important;--nn-border:transparent!important;
  margin:0;background:var(--flat-bg)!important;color:var(--flat-text)!important;
  font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-text-size-adjust:100%;text-size-adjust:100%;color-scheme:light;
}
html[data-portal-theme=dark] :is(body.nn24,body.nnin,body.dd,body.jp,body.rn:not(.ac)){
  --flat-bg:#121519;--flat-text:#e9edf0;--flat-muted:#afb8c0;--flat-accent:#a8c6d0;
  color-scheme:dark;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(*,*::before,*::after){
  box-sizing:border-box;border-width:0!important;box-shadow:none!important;
  text-shadow:none!important;border-radius:0!important;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(header,nav,main,article,section,aside,footer,form,details,summary,
[class*="-panel"],[class*="-copy"],[class*="-top"],[class*="-overview"],[class*="-filter"],
[class*="-caption"],[class*="-welcome"],[class*="-discover"],[class*="-band"],
[class*="-product"],[class*="-tile"],[class*="-cinema"],[class*="-collage"],
[class*="-episodes"],[class*="-facts"],[class*="-head"],[class*="-header"],[class*="-inner"],
.nn24-lines,.nn24-player-layout,.nnin-player-layout,.nnin-basic){
  background:transparent!important;color:var(--flat-text)!important;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(h1,h2,h3,h4,p,small,strong,em,span,dt,dd,label,li,figcaption,summary){
  color:inherit!important;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(a,button,input,textarea,select){
  color:var(--flat-text)!important;background:transparent!important;
}
.rn:not(.ac) .rn-hero-actions .rn-cta,.rn:not(.ac) .rn-discover-search .rn-cta{color:var(--flat-text)!important}
html[data-portal-theme] :is(body.nn24,body.nnin,body.dd,body.jp,body.rn:not(.ac)) :is(.ref-action,.nnin-brand){color:var(--flat-text)!important}
html[data-portal-theme] body.jp .ref-action:not(.ref-action-secondary){color:var(--flat-text)!important}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(a,button,summary){-webkit-tap-highlight-color:transparent}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(button,summary,input,select){min-height:40px}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(input,textarea,select){
  max-width:100%;min-width:0;font:inherit;font-size:16px;caret-color:var(--flat-text);
  padding:11px 12px;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(input,textarea)::placeholder{color:var(--flat-muted);opacity:1}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(a,button,summary,input,textarea,select):focus-visible{
  outline:2px solid var(--flat-accent)!important;outline-offset:3px;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(a,button):hover{
  color:var(--flat-accent)!important;text-decoration:underline;text-underline-offset:5px;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is([aria-current],[aria-selected=true],.active){
  color:var(--flat-accent)!important;font-weight:750;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(h1,h2,h3,p,strong,label,li,dt,dd,.ref-footer-brand){
  overflow-wrap:anywhere;min-width:0;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(img,video,iframe){max-width:100%}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(.rn-poster,.nn24-poster,.nnin-poster,.dd-poster,.jp-poster){background:transparent!important}
:is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,body:not(.ac) .rn-poster) img{
  transform:none!important;transition:none;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 3px,#000 calc(100% - 3px),transparent),linear-gradient(to bottom,transparent,#000 3px,#000 calc(100% - 12px),transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 3px,#000 calc(100% - 3px),transparent),linear-gradient(to bottom,transparent,#000 3px,#000 calc(100% - 12px),transparent);
  mask-composite:intersect;
}
:is(.of-feature img,.of-stories img,.md-features img,.ma-collage img,
body:not(.ac) .rn-detail-poster,.jp-detail-poster,.dd-detail-poster,.nn24-detail-poster img,.nnin-detail-poster img){
  transform:none!important;box-shadow:none!important;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 92%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 92%,transparent);
  mask-composite:intersect;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(.rn-brand,.nn24-brand,.nnin-brand,.dd-brand,.jp-brand,.ref-footer-brand)>img,
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) .ref-footer-brand>a>img{filter:grayscale(1);background:transparent!important;padding:0}
:is(.nn24-story,.nnin-story) h2:after,.nnin-nav a[aria-current=page]:after{display:none}
:is(.nn24-rank,.nnin-rank) li:before{background:transparent!important;color:var(--flat-muted)!important}
:is(.nn24,.nnin) :is(.nn24-section-head,.nnin-section-head){height:auto;min-height:40px}
.nn24-home .nn24-section-head h2,.nnin-home .nnin-section-head h2{padding-left:0}
.nnin-panel,.nnin-basic{padding-left:0;padding-right:0}
.dd-card-copy,.md .rn-card-copy{padding:10px 0 0}
.dd-panel,.dd-detail-overview,.dd-basic,.dd-filters{padding-left:0;padding-right:0}
.jp-section h2{padding-left:0}
.jp-facts,.rn-facts{flex-wrap:wrap}









.ma .rn-detail-overview,.md .rn-detail-overview{padding:0}
.of-welcome{padding:34px 0 24px;margin-top:12px}
.of-welcome h1{font-size:clamp(32px,4vw,52px)}
.of-feature{display:grid;grid-template-columns:minmax(130px,240px) minmax(0,1fr);grid-template-rows:min-content min-content 1fr;column-gap:28px;align-content:start;align-items:start}
.of-feature>a{grid-column:1;grid-row:1/4;aspect-ratio:2/3;align-self:start}
.of-feature img{object-fit:contain;object-position:center;max-height:360px}
.of-feature>:is(p,h2){grid-column:2;min-width:0;margin-top:0}
.of-feature .rn-kicker{margin:0 0 12px!important}
.of-feature h2{margin:0 0 14px}
.of-feature .of-excerpt{margin:0!important;align-self:start}
.md-discover{padding:32px 0}
.md-band{padding:20px 0}
.md-segment{flex-wrap:wrap;overflow:visible}
.ma-collage{height:auto!important;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(8px,2vw,25px);padding:0!important}
.ma-collage a{display:block;transform:none!important;min-width:0}
.ma-collage img{display:block;width:100%!important;height:auto!important;aspect-ratio:2/3}
.ma-caption{padding:26px 0 0!important}
.ma-ranking>li{padding:0}
.ma-ranking>li:before{position:static;display:block;font-size:24px;margin-bottom:8px;color:var(--flat-muted)}
:is(.nn24,.nnin,.dd,.jp,.rn) :is(.ref-guide-options>section,.ref-service-grid article){padding:18px 0}
.ref-footer{background:transparent!important}
.ref-footer-brand strong{white-space:normal}
.ref-footer-brand>a{align-items:flex-start}
.ref-footer-brand>a>img{flex:none}
:is(.ref-footer-main,.ref-guide-intro,.ref-guide-options,.ref-service-grid)>*{min-width:0}
.ref-guide figure{max-width:100%;flex-wrap:wrap}
.ref-guide figcaption{overflow-wrap:anywhere}
.ref-action{max-width:100%;white-space:normal}
:is(.nn24,.nnin,.dd,.jp,.rn) :is(.ref-comments,.ref-guide,.ref-business){max-width:100%}
:is(.nn24-header-inner,.nnin-header-inner,.dd-header-inner,.jp-header-inner,.rn-header-inner){height:auto;min-height:64px;flex-wrap:wrap;row-gap:10px}
:is(.nn24-header,.nnin-header){height:auto}
:is(.nn24-brand,.nnin-brand,.dd-brand,.jp-brand,.rn-brand){
  min-width:0;max-width:100%;flex-shrink:1;white-space:normal;gap:8px;
}
:is(.nn24-brand,.nnin-brand,.dd-brand,.jp-brand,.rn-brand) :is(h1,strong){
  max-width:24ch;white-space:normal;overflow-wrap:anywhere;line-height:1.35;
}
:is(.nn24-brand,.nnin-brand,.dd-brand,.jp-brand,.rn-brand) img{flex:none}
:is(.nn24-nav,.nnin-nav,.dd-nav,.jp-nav){scrollbar-width:none;min-width:0}
:is(.nn24-nav,.nnin-nav){flex:1 1 450px;justify-content:flex-start}
:is(.dd-actions,.jp-actions,.rn-actions){min-width:0;max-width:100%}
:is(.nn24-nav,.nnin-nav,.dd-nav,.jp-nav)::-webkit-scrollbar{display:none}
:is(.nn24-nav,.nnin-nav,.dd-nav,.jp-nav,.rn-nav) a{flex:none;min-height:40px;display:inline-flex;align-items:center}
:is(.nn24-section-actions,.nnin-section-actions,.rn-section-head,.jp-section-head,.dd-catalog-heading){flex-wrap:wrap}
:is(.nn24-filter-row,.nnin-filter-row)>div{min-width:0}
:is(.nn24-sort,.nnin-sort,.dd-pager,.rn-tabs){flex-wrap:wrap;white-space:normal}
:is(.rn-section-head,.jp-section-head,.dd-catalog-heading)>*{min-width:0;max-width:100%}
:is(.nn24-tools,.nnin-tools){position:static}
:is(.nn24-tools,.nnin-tools)>div{
  position:static;width:auto;padding:8px 0;display:flex;flex-wrap:wrap;gap:10px;
  background:var(--flat-bg)!important;
}
:is(.nn24-tools,.nnin-tools):not([open])>div{display:none}
:is(.nn24-tools,.nnin-tools)[open]{flex-basis:100%}
:is(.nn24,.nnin,.dd,.jp,.rn) .language-switcher.is-open .language-switcher-menu{
  background:var(--flat-bg)!important;max-width:min(230px,90vw);max-height:50vh;overflow:auto;
}
:is(.nn24,.nnin,.dd,.jp,.rn) .language-switcher-option{min-height:40px}
:is(.nn24,.nnin,.dd,.jp,.rn) .dd-filter nav{position:static;max-height:240px}
:is(.nn24,.nnin,.dd,.jp,.rn) :is(.nn24-player-frame,.nnin-player-frame,.dd-player-frame,.jp-player-frame,.rn-player-frame){
  height:auto;aspect-ratio:auto!important;display:flex;flex-direction:column;
  align-items:stretch;justify-content:flex-start;overflow:visible;margin-bottom:24px;background:var(--flat-bg);position:relative;
}
:is(.nn24,.nnin,.dd,.jp,.rn) :is(.nn24-player-frame,.nnin-player-frame,.dd-player-frame,.jp-player-frame,.rn-player-frame)>:is(video,iframe){
  position:static;display:block;inset:auto;width:100%;height:auto;aspect-ratio:16/9;padding:0;flex:none;background:#080a0c;
}
:is(.nn24,.nnin,.dd,.jp,.rn) .player-toolbar{
  position:static;inset:auto;height:auto;min-height:44px;display:flex;flex-wrap:wrap;gap:8px;
  padding:6px 0;align-items:center;justify-content:flex-end;background:transparent!important;color:var(--flat-text)!important;
}
:is(.nn24,.nnin,.dd,.jp,.rn) .player-toolbar button{min-height:40px;padding:8px 12px;color:var(--flat-text)!important}
:is(.nn24,.nnin,.dd,.jp,.rn) .player-error{
  position:static;inset:auto;background:transparent!important;color:var(--flat-text)!important;
  padding:12px 0;overflow-wrap:anywhere;max-height:35vh;overflow:auto;
}
:is(.nn24,.nnin,.dd,.jp,.rn).projection-mode :is(.nn24-player-frame,.nnin-player-frame,.dd-player-frame,.jp-player-frame,.rn-player-frame){
  position:fixed;inset:0;z-index:10000;width:100%;height:100vh;height:100dvh;margin:0;
  padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background:var(--flat-bg);
}
:is(.nn24,.nnin,.dd,.jp,.rn).projection-mode :is(.nn24-player-frame,.nnin-player-frame,.dd-player-frame,.jp-player-frame,.rn-player-frame)>:is(video,iframe){
  flex:1;min-height:0;height:0;aspect-ratio:auto;object-fit:contain;
}
@media(min-width:701px){
  :is(.nn24-nav,.nnin-nav){flex-wrap:wrap;overflow:visible;gap:16px}
  :is(.nn24-nav,.nnin-nav) a{height:auto}
  .nn24-nav a:first-child{max-width:24ch;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:1100px) and (min-width:701px){
  :is(.nn24-header-inner,.nnin-header-inner,.dd-header-inner,.jp-header-inner,.rn-header-inner){gap:10px 18px;padding-top:12px;padding-bottom:12px}
  :is(.nn24-nav,.nnin-nav,.dd-nav,.jp-nav,.rn-nav){order:4;flex:1 1 100%;width:100%;justify-content:flex-start;gap:20px;overflow-x:auto}
  .rn-menu{display:none}
  .rn-nav{display:flex}
  :is(.nn24-search,.nnin-search){width:220px;margin-left:auto}
  .ac .rn-nav{justify-content:flex-start}
}
@media(max-width:700px){
  :is(.nn24-container,.nnin-container,.dd-container){padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
  :is(.rn-container,.of .rn-container,.jp-container){width:calc(100% - 32px)}
  :is(.nn24-header-inner,.nnin-header-inner){grid-template-columns:minmax(0,1fr) auto auto;padding:10px 16px 0;gap:0;min-height:0}
  :is(.nn24-brand,.nnin-brand){padding:0;height:auto;min-height:44px;justify-content:flex-start}
  :is(.nn24-brand,.nnin-brand) :is(h1,strong){font-size:19px}
  :is(.nn24-tools,.nnin-tools){padding:0}
  :is(.nn24-tools,.nnin-tools)[open]{grid-column:1/-1}
  :is(.nn24-nav,.nnin-nav){justify-content:flex-start;padding:8px 0;height:auto;min-height:44px;gap:20px}
  :is(.nn24-search,.nnin-search){height:auto;min-height:44px;margin:8px 0}
  :is(.dd-header-inner,.jp-header-inner,.rn-header-inner){gap:8px;padding-top:10px;padding-bottom:10px;min-height:0}
  .dd-brand{max-width:none;flex:1 1 150px}.dd-actions{flex-wrap:wrap;gap:8px}
  .dd-nav{display:flex;order:4;flex:1 1 100%;width:100%;gap:20px;overflow-x:auto}
  .jp-brand{justify-content:flex-start}.jp-actions{flex-wrap:wrap;justify-content:flex-start}
  .jp-nav{justify-content:flex-start}
  .rn-brand{flex:1 1 145px}.rn-brand strong{max-width:18ch;font-size:19px}
  .rn-actions{margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
  :is(.nn24,.nnin,.dd,.jp,.rn) .language-switcher.is-open{flex-basis:100%;max-width:100%}
  :is(.nn24,.nnin,.dd,.jp,.rn) .language-switcher.is-open .language-switcher-menu{
    position:static;inset:auto;transform:none;width:auto;max-width:100%;max-height:none;
    display:flex;flex-wrap:wrap;gap:8px;padding:8px 0;
  }
  .rn-actions button{font-size:13px;min-height:40px}
  .rn-nav{display:none}.rn-nav.is-open{display:flex}
  .rn-menu{display:inline-flex}
  :is(.rn-search,.jp-search,.dd-search){max-width:100%}
  :is(.rn-search,.jp-search,.dd-search).is-open{flex-wrap:wrap}
  :is(.rn-search,.jp-search,.dd-search) input{flex:1 1 140px;width:0}
  .dd-search{padding-left:16px;padding-right:16px}
  :is(.nn24-section-head,.nnin-section-head){align-items:flex-start;gap:8px}
  .nnin-home .nnin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .nnin-topics{max-width:100%;flex-wrap:wrap;overflow:visible;white-space:normal}
  .nnin-category main.nnin-panel,.nnin-movie main.nnin-panel{padding:0;margin:14px 16px}
  .dd-grid{gap:22px 14px}.dd-basic{margin:20px 16px;padding:0}
  .dd-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding-top:4px;padding-bottom:4px;margin:12px 0}
  .dd-filter select{font-size:14px;padding:8px 0}
  .dd-detail-overview{display:grid;grid-template-columns:104px minmax(0,1fr);gap:18px;padding:0}
  .dd-detail-poster{width:104px;height:auto;margin:0}
  .dd-detail h1{font-size:23px}.dd-detail dl{grid-template-columns:1fr;gap:5px}
  .dd-panel{padding:0}.dd-player-frame{margin-left:0;margin-right:0}
  .dd-line{padding:0}.dd-filters .dd-filter:last-child{grid-column:1/-1}
  .rn-detail-overview,.of .rn-detail-overview,.md .rn-detail-overview,.ma .rn-detail-overview{gap:16px;grid-template-columns:100px minmax(0,1fr)}
  .rn-detail-copy h1,.of .rn-detail-copy h1,.md .rn-detail-copy h1,.ma .rn-detail-copy h1{font-size:clamp(23px,6vw,29px)}
  .rn-detail-copy{min-width:0}
  .rn-shelf{grid-auto-columns:minmax(125px,42%);gap:14px}
  .ma .rn-shelf,.md .rn-shelf{grid-auto-columns:minmax(125px,42%)}
  .rn-section-head{row-gap:12px}
  .md-segment{gap:12px}.md-segment a{padding:5px 0}
  .ma-collage{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ma-collage a:nth-child(n+4){display:none}
  .ma-caption{padding-top:18px!important}
  .ma .rn-tabs{padding:8px 0 16px;gap:8px}
  .ma .rn-tabs a{padding:8px}


  .of-stories article{grid-template-columns:90px minmax(0,1fr)}
  .of-stories img{width:90px;height:90px}
  .of-feature{grid-template-columns:108px minmax(0,1fr);column-gap:18px}
  .of-feature h2{font-size:23px}
  .ref-footer-main{gap:24px}.ref-footer nav{flex-basis:120px;min-width:0}
}
@media(max-width:359px){
  :is(.nn24-grid,.nn24-catalog-grid,.nnin-home .nnin-grid,.nnin-catalog-grid,.nnin-category .nnin-grid,.jp-grid,.rn-grid,.ma .rn-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
  :is(.rn-detail-overview,.of .rn-detail-overview,.md .rn-detail-overview,.ma .rn-detail-overview,.dd-detail-overview){grid-template-columns:84px minmax(0,1fr);gap:12px}
  .dd-detail-poster{width:84px}
  .rn-brand strong{font-size:18px}.rn-actions{gap:0}
  .ref-guide figure{gap:14px}
}
@media(orientation:landscape) and (max-height:500px){
  :is(.rn-header-inner,.dd-header-inner,.jp-header-inner){min-height:0;padding-top:6px;padding-bottom:6px}

}
@media(prefers-reduced-motion:reduce){
  :is(.nn24,.nnin,.dd,.jp,.rn) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

body.ac{
  --flat-bg:var(--bg);--flat-text:var(--text);--flat-muted:var(--muted);
  --flat-accent:var(--accent);color-scheme:light;
}
html[data-portal-theme=dark] body.ac{color-scheme:dark}
.ac :is(.ac-product-copy,.ac-tile,.rn-detail-copy){min-width:0}
.ac .ac-product-copy .rn-hero-title{overflow-wrap:anywhere}
.ac .rn-header{border:0}
.ac .rn-brand strong{font-size:16px}
.ac .rn-detail-cover{max-width:100%}
.ac .rn-tabs a{white-space:nowrap}
.ac .rn-cta{white-space:nowrap;overflow-wrap:normal}
.ac .ac-art{padding:10px;min-width:0}
.ac .ac-art img{max-width:90%;height:auto;aspect-ratio:2/3}
.ac .ac-product:nth-child(2){--flat-text:#f2f5fb}
.ac .ac-product:nth-child(2) .rn-cta:hover{color:#16304a!important}
.ac .ac-product:nth-child(2) .rn-cta-secondary:hover{color:#d2e7ff!important}

:is(body.nn24,body.nnin,body.dd,body.jp,body.rn:not(.ac)){
  --flat-control:#e9eef0;--flat-selected:#dce8ec;
}
html[data-portal-theme=dark] :is(body.nn24,body.nnin,body.dd,body.jp,body.rn:not(.ac)){
  --flat-control:#252d34;--flat-selected:#344650;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(
  .nn24-tools>summary,.nnin-tools>summary,.nn24-mobile-search,.nnin-mobile-search,
  .nn24-tools button,.nnin-tools button,.dd-actions button,.dd-actions>a,
  .jp-actions button,.jp-actions>a,.rn-actions button,.rn-actions>a,
  .nn24-section-actions button,.nnin-tabs button,
  .nn24-sort a,.nnin-sort a,.rn-tabs a,.md-segment a,
  .nn24-filter-row a,.nnin-filter-row a,.jp-filter-panel a,.rn-filter-panel a,
  .nn24-pager a,.nnin-pager a,.dd-pager a,.jp-pager a,.rn-pager a,
  .rn-watch,.jp-watch,.dd-button,.rn-cta,.ref-action,
  .nn24-line>summary,.nnin-line>summary,.dd-line>summary,.jp-line>summary,.rn-line>summary,
  .nn24-episodes a,.nnin-episodes a,.dd-episodes a,.jp-episodes a,.rn-episodes a,
  .player-toolbar button,form button
){
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border-radius:999px!important;background:var(--flat-control)!important;
  min-height:40px;max-width:100%;padding:8px 14px;
  color:var(--flat-text)!important;line-height:1.4;
  white-space:nowrap;overflow-wrap:normal;text-align:center;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(
  .nn24-sort a,.nnin-sort a,.rn-tabs a,.md-segment a,.nnin-tabs button,
  .nn24-filter-row a,.nnin-filter-row a,.jp-filter-panel a,.rn-filter-panel a,
  .nn24-episodes a,.nnin-episodes a,.dd-episodes a,.jp-episodes a,.rn-episodes a
):is(.active,[aria-current],[aria-selected=true]),
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(.nn24-line,.nnin-line,.dd-line,.jp-line,.rn-line)[open]>summary{
  background:var(--flat-selected)!important;color:var(--flat-accent)!important;font-weight:700;
}
html[data-portal-theme] :is(body.nn24,body.nnin,body.dd,body.jp,body.rn:not(.ac)) :is(.rn-watch,.jp-watch,.dd-button,.rn-cta,.ref-action):not(.rn-cta-secondary):not(.ref-action-secondary){
  background:var(--flat-text)!important;color:var(--flat-bg)!important;
}
html[data-portal-theme] :is(body.nn24,body.nnin,body.dd,body.jp,body.rn:not(.ac)) :is(.rn-watch,.jp-watch,.dd-button,.rn-cta,.ref-action):not(.rn-cta-secondary):not(.ref-action-secondary):hover{
  color:var(--flat-bg)!important;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(input:not([type=hidden]),textarea,select){
  background:var(--flat-control)!important;border-radius:12px!important;
}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(input[type=search],select){border-radius:999px!important}
:is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(button,summary,.ref-action):hover{text-decoration:none}
:is(.nn24,.nnin,.dd,.jp,.rn) :is(button,summary,.ref-action,.rn-cta,.rn-watch,.jp-watch,.dd-button){
  word-break:normal;
}
:is(.nn24-nav,.nnin-nav,.dd-nav,.jp-nav,.rn-nav) a,
:is(.nn24-sort,.nnin-sort,.rn-tabs,.md-segment) a,
:is(.nn24-section-actions,.nnin-section-actions,.rn-section-head,.jp-section-head,.dd-catalog-heading)>a,
:is(.nn24-pager,.nnin-pager,.dd-pager,.jp-pager,.rn-pager)>*{
  white-space:nowrap;overflow-wrap:normal;flex-shrink:0;
}
:is(.nn24-section-head,.nnin-section-head,.rn-section-head,.jp-section-head,.dd-catalog-heading){
  display:flex;align-items:center;justify-content:space-between;gap:12px 18px;
}
:is(.nn24-section-head,.nnin-section-head){padding-left:0;padding-right:0}
:is(.nn24-section-head,.nnin-section-head,.rn-section-head)>:is(h1,h2){margin:0;min-width:0}
:is(.nn24-section-actions,.nnin-section-actions,.nnin-tabs,.nnin-topics,.rn-hero-actions,.dd-actions,.jp-actions,.rn-actions){
  align-items:center;gap:8px;
}
:is(.nn24-filter-row,.nnin-filter-row){align-items:flex-start;gap:12px}
:is(.nn24-filter-row,.nnin-filter-row)>strong{flex:0 0 3em;line-height:40px;white-space:nowrap}
:is(.nn24-filter-row,.nnin-filter-row)>div{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
:is(.nn24-sort,.nnin-sort){display:flex;align-items:center;gap:8px}
:is(.nn24-brand,.nnin-brand,.dd-brand,.jp-brand,.rn-brand){align-items:center}
:is(.nn24-tools,.nnin-tools)>summary{margin:0}
.rn-filter-panel>div{align-items:flex-start;gap:12px}
.rn-filter-panel strong{flex:0 0 3em;line-height:40px;white-space:nowrap}
.rn-filter-panel nav{min-width:0;align-items:center;gap:8px}
.rn-filter-panel nav a{max-width:100%;white-space:nowrap}
.rn .rn-tabs{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.rn .rn-tabs a{flex:none}
.nnin .nnin-tabs{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}
.nnin .nnin-tabs::-webkit-scrollbar{display:none}
.nnin .nnin-tabs button{flex:none}
.nnin-home .nnin-section-head h2{white-space:nowrap;flex:none}
@media(min-width:701px){.nnin .nnin-tabs button{padding-inline:9px!important}}
:is(.nn24,.nnin,.dd,.jp,.rn) .ref-action{width:max-content;max-width:100%;white-space:normal;overflow-wrap:anywhere}
:is(.nn24,.nnin,.dd,.jp,.rn) .ref-footer-brand>a{align-items:center}
:is(.nn24,.nnin,.dd,.jp,.rn) .ref-footer nav h2{margin-top:0}

.ma .ma-collage{
  display:flex;justify-content:center;align-items:center;gap:clamp(14px,3vw,40px);
  padding:30px 22px 42px!important;min-height:260px;overflow:hidden;
}
.ma .ma-collage a{flex:0 1 185px;min-width:0;transform:rotate(-5deg) translateY(-6px)!important}
.ma .ma-collage a:nth-child(2n){transform:rotate(5deg) translateY(14px)!important}
.ma .ma-collage a:nth-child(3n){transform:rotate(-3deg) translateY(-12px)!important}
.ma .ma-collage img{max-height:278px;object-fit:cover}
.ma .ma-caption{padding-top:8px!important}
@media(max-width:800px){
  .ac .ac-product{min-height:0;padding:28px 18px 32px;gap:24px}
  .ac .ac-art img{width:190px;max-width:85%;height:auto;transform:rotate(4deg)!important}
  .ac .ac-product:nth-child(2) .ac-art img{transform:rotate(-4deg)!important}
  .ac .rn-detail-overview{display:flex;gap:24px;padding:26px 18px}
  .ac .rn-detail-copy h1{font-size:32px}
}
@media(max-width:700px){
  :is(.nn24-section-head,.nnin-section-head){align-items:center;flex-wrap:wrap;row-gap:10px}
  .nnin-tabs{gap:4px}.nnin-tabs button{padding:6px 8px!important;min-height:34px}
  :is(.nn24,.nnin) :is(.nn24-mobile-search,.nnin-mobile-search,.nn24-tools>summary,.nnin-tools>summary){padding:8px 11px;margin-left:6px}
  :is(.dd-actions,.jp-actions,.rn-actions){gap:6px}
  :is(.dd-actions,.jp-actions,.rn-actions) :is(button,a){padding:8px 10px!important;font-size:12px}
  .rn-brand{flex:1 1 120px}
  .rn-filter-panel{padding:12px 0}
  .ac .rn-filter-panel{padding:12px}
  .rn-filter-panel strong{flex-basis:2em;font-size:13px}
  .rn-filter-panel>div{gap:10px}
  :is(.nn24-filter-row,.nnin-filter-row)>strong{flex-basis:2em;font-size:13px}
  :is(.nn24,.nnin,.dd,.jp,.rn:not(.ac)) :is(.nn24-filter-row a,.nnin-filter-row a,.rn-filter-panel a){min-height:36px;font-size:13px;padding:7px 11px}
  .ma .ma-collage{gap:18px;padding:22px 15px 34px!important;min-height:0}
  .ma .ma-collage a{flex-basis:27%;max-width:125px}
  .ma .ma-collage a:only-child{flex-basis:42%}
}

:is(.nn24-search,.nnin-search){height:40px;min-height:40px;align-items:center;overflow:visible;gap:6px}
:is(.nn24-search,.nnin-search) input:not([type=hidden]){height:40px;min-height:40px;flex:1;width:0}
:is(.nn24-search,.nnin-search) button{height:40px;min-height:40px;flex:none;padding:8px 12px!important}
.nnin-rank h2{display:flex;align-items:center;height:40px;padding:0}
@media(min-width:1101px){
  .nnin-header-inner{column-gap:16px;padding-left:15px;padding-right:15px}
  .nnin-nav{flex:1 1 340px;gap:12px}
  .nnin-search{width:210px}
}
:is(.nn24,.nnin,.dd,.jp,.rn) [hidden]{display:none!important}
@media(min-width:1001px){.jp .jp-actions button[data-jp-search]{display:none!important}}
@media(min-width:701px){
  :is(.nn24,.nnin) :is(.nn24-mobile-search,.nnin-mobile-search){display:none!important}
  .rn .rn-actions .rn-menu{display:none!important}
}
@media(max-width:800px){
  .rn .rn-actions>a{display:none!important}
}
@media(max-width:700px){
  .rn .rn-actions .rn-menu{display:inline-flex!important}
  .rn .rn-brand{flex:1 1 100px;justify-content:flex-start}
  .rn-actions{flex-wrap:nowrap;flex:0 1 auto;gap:4px}
  body.rn .rn-actions button{padding:8px!important;font-size:12px}
  .rn-actions:has(.language-switcher.is-open){flex-wrap:wrap;flex-basis:100%}
  :is(.nn24,.nnin,.dd,.jp,.rn) .language-switcher.is-open{display:contents}
  :is(.nn24,.nnin,.dd,.jp,.rn) .language-switcher.is-open .language-switcher-menu{order:10;flex:1 0 100%;justify-content:flex-start}
  .rn .rn-nav.is-open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px}
}
@media(max-width:359px){
  .rn-brand strong{font-size:16px}
  .rn-brand img{width:24px;height:24px}
  body.rn .rn-actions button{font-size:11px;padding:8px 7px!important}
  .rn-actions{gap:4px}
}

body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere){
  --reference-ad-width:971px;
  --reference-ad-ratio:971 / 120;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .site-ad-slot:is(.site-ad-after-primary-nav,.site-ad-page-secondary,.site-ad-stripcash-inline){
  box-sizing:border-box;
  display:grid;
  justify-items:center;
  gap:12px;
  width:min(var(--reference-ad-width),calc(100vw - 48px),100%);
  max-width:none;
  height:auto;
  margin:16px auto 24px;
  padding:0;
  border:0;
  background:transparent;
  line-height:0;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .site-ad-slot:is(.site-ad-after-primary-nav,.site-ad-page-secondary,.site-ad-stripcash-inline) > a.site-ad-card:not([data-site-ad-overlay]){
  box-sizing:border-box;
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  aspect-ratio:var(--reference-ad-ratio);
  overflow:hidden;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .site-ad-slot:is(.site-ad-after-primary-nav,.site-ad-page-secondary,.site-ad-stripcash-inline) > a.site-ad-card:not([data-site-ad-overlay]) picture,
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .site-ad-slot:is(.site-ad-after-primary-nav,.site-ad-page-secondary,.site-ad-stripcash-inline) > a.site-ad-card:not([data-site-ad-overlay]) img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
}
@media(max-width:1002px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere){
    --reference-ad-width:728px;
    --reference-ad-ratio:728 / 90;
  }
}
@media(max-width:767px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .site-ad-slot:is(.site-ad-after-primary-nav,.site-ad-page-secondary,.site-ad-stripcash-inline){
    width:min(387px,calc(100vw - 20px),100%);
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .site-ad-slot:is(.site-ad-after-primary-nav,.site-ad-page-secondary,.site-ad-stripcash-inline) > a.site-ad-card:not([data-site-ad-overlay]){
    height:75px;
    aspect-ratio:auto;
  }
}

@media(min-width:701px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-header-inner,.nnin-header-inner){
    display:flex;flex-wrap:nowrap;min-height:68px;gap:clamp(10px,1.2vw,20px);
    padding-top:10px;padding-bottom:10px;
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-brand,.nnin-brand){flex:0 0 auto;white-space:nowrap}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-brand,.nnin-brand) :is(strong,h1){
    max-width:10ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-nav,.nnin-nav){
    display:flex;flex:1 1 auto;flex-wrap:nowrap;align-self:center;min-width:0;
    height:44px;overflow-x:auto;overflow-y:hidden;gap:clamp(10px,1.2vw,19px);
    scrollbar-width:thin;
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-nav,.nnin-nav) a{
    flex:none;height:44px;max-width:none;white-space:nowrap;overflow-wrap:normal;
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-search,.nnin-search){
    flex:0 0 clamp(166px,11vw,205px);width:clamp(166px,11vw,205px);margin:0;
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-tools,.nnin-tools){position:relative;flex:0 0 auto}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-tools,.nnin-tools)[open]{flex-basis:auto}
  html[data-portal-theme] body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-tools,.nnin-tools)>div{
    position:absolute;top:calc(100% + 8px);right:0;z-index:50;display:grid;
    width:min(210px,90vw);padding:12px;gap:2px;
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-tools,.nnin-tools):not([open])>div{display:none}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-tools,.nnin-tools)>div a{text-decoration:none;padding:8px 10px}
}
@media(min-width:701px) and (max-width:1050px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-header-inner,.nnin-header-inner){gap:8px}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-search,.nnin-search){flex-basis:145px;width:145px}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-brand,.nnin-brand) :is(strong,h1){max-width:7ch}
}
@media(min-width:701px){
  body.front:is(.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) :is(.dd-nav,.jp-nav,.rn-nav){
    min-width:0;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;white-space:nowrap;scrollbar-width:thin;
  }
  body.front:is(.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) :is(.dd-header-inner,.jp-header-inner,.rn-header-inner){
    column-gap:clamp(10px,1.4vw,22px);
  }
  body.front:is(.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) :is(.dd-search,.jp-search,.rn-search).is-open{
    width:min(100%,500px);margin:0 auto 10px;padding:8px 0 12px;
  }
  body.front:is(.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) :is(.dd-search,.jp-search,.rn-search) input{min-width:0}
}

html[data-portal-theme] body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,.rn-poster,.nn24-detail-poster,.nnin-detail-poster,.dd-detail-poster,.jp-detail-poster,.rn-detail-poster)
  img:not([data-poster-fallback="true"]){display:block;width:100%;height:100%;object-fit:cover!important;object-position:center top}
.nn24-home .nn24-shelf{display:block}
.nn24-home .nn24-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 14px}
.nn24-home .nn24-rank h2{font-size:clamp(15px,1.05vw,19px);line-height:1.35;height:auto;min-height:43px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nn24-home .nn24-card h3{line-height:1.45;margin-top:8px}
.of .of-feature>a{overflow:hidden}
.of .of-feature img:not([data-poster-fallback="true"]){display:block;width:100%;height:100%;max-height:none;object-fit:cover!important;object-position:center top}
.ma .ma-collage img:not([data-poster-fallback="true"]){width:100%!important;aspect-ratio:2/3;object-fit:cover!important}
@media(min-width:701px) and (max-width:1100px){.nn24-home .nn24-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.nn24-home .nn24-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}}
@media(max-width:359px){.nn24-home .nn24-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ref-compact-entry{display:none}
.ref-compact-entry>a{white-space:nowrap;min-height:40px;display:inline-flex;align-items:center}
.ref-compact-nav{position:relative;z-index:70}
.ref-compact-nav>summary{list-style:none;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:8px 12px;min-height:40px;cursor:pointer}
.ref-compact-nav>summary::-webkit-details-marker{display:none}
.ref-compact-nav>summary::after{content:"▾";font-size:12px;transition:transform .15s ease}
.ref-compact-nav[open]>summary::after{transform:rotate(180deg)}
html[data-portal-theme] body.front .ref-compact-nav>nav{
  position:absolute;top:calc(100% + 6px);left:0;z-index:71;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;
  width:min(420px,calc(100vw - 36px));max-height:min(65vh,520px);overflow:auto;
  padding:12px;background:var(--flat-control,var(--surface,#fff))!important;
}
.ref-compact-nav>nav a{min-width:0;min-height:40px;display:flex;align-items:center;padding:7px 10px;overflow-wrap:anywhere}
.ref-compact-nav>nav a[aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:4px}
@media(min-width:701px) and (max-width:1350px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-nav,.nnin-nav){display:none}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) .ref-compact-entry{display:flex;align-items:center;gap:12px;flex:0 0 auto}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-search,.nnin-search){margin-left:auto}
}
@media(min-width:901px) and (max-width:1100px){
  body.front:is(.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) :is(.dd-header-inner,.jp-header-inner,.rn-header-inner){flex-wrap:nowrap}
  body.front:is(.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) :is(.dd-nav,.jp-nav,.rn-nav){order:0;flex:1 1 auto;width:auto}
}
@media(min-width:701px) and (max-width:900px){
  body.front:is(.tpl-ddys,.tpl-jinpai) :is(.dd-header-inner,.jp-header-inner){flex-wrap:nowrap}
  body.front:is(.tpl-ddys,.tpl-jinpai) :is(.dd-nav,.jp-nav){display:none}
  body.front:is(.tpl-ddys,.tpl-jinpai) .ref-compact-entry{display:flex;align-items:center;gap:12px;flex:0 0 auto}
  body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .rn-header-inner{flex-wrap:nowrap}
  body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .rn-nav{display:none;position:absolute;top:100%;left:0;z-index:70;order:0;width:min(490px,calc(100vw - 32px));max-height:65vh;overflow:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px;padding:12px;background:var(--flat-control,var(--surface,#fff))!important}
  body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .rn-nav.is-open{display:grid}
  body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .rn-nav a{min-height:40px;white-space:normal}
  body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .rn-actions .rn-menu{display:inline-flex!important}
  body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .rn-actions .rn-menu::after{content:"▾";font-size:11px;margin-left:5px}
}

html[data-portal-theme] body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,.rn-poster) img:not([data-poster-fallback="true"]){
  -webkit-mask-image:none!important;mask-image:none!important;
}
.ac .rn-card .rn-poster{width:100%;max-width:none;margin:0}
.nnin-home .nnin-rating[aria-hidden="true"]{display:none}
@media(max-width:499px){.nnin-home .nnin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:500px) and (max-width:700px){.nnin-home .nnin-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
  .dd-home .dd-filters{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));align-items:start;gap:8px 10px}
  .dd-home .dd-filters .dd-filter:last-child{grid-column:auto}
}
@media(min-width:360px) and (max-width:700px){
  body.front.tpl-ddys .dd-header-inner,body.front.tpl-jinpai .jp-header-inner{
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;
  }
  body.front.tpl-ddys .dd-brand,body.front.tpl-jinpai .jp-brand{grid-column:1;grid-row:1;justify-content:flex-start;max-width:100%;min-width:0}
  body.front.tpl-ddys .dd-actions,body.front.tpl-jinpai .jp-actions{grid-column:2;grid-row:1;justify-content:flex-end;max-width:100%;min-width:0}
  body.front.tpl-ddys .dd-nav,body.front.tpl-jinpai .jp-nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:flex-start;min-width:0}
  body.front.tpl-ddys .dd-actions :is(a,button){min-width:38px;padding:8px 7px!important}
}
.ma .ma-collage{padding:10px 16px 20px!important;min-height:0}
@media(max-width:700px){.ma .ma-collage{padding:10px 12px 18px!important}}

body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-footer-legal{
  padding:18px 0 22px;border-top:1px solid currentColor;opacity:.78;font-size:12px;line-height:1.7;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-footer-legal strong{display:block;font-size:13px;margin-bottom:5px}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-footer-legal p{max-width:80ch;margin:0}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-footer-legal a{text-decoration:underline;text-underline-offset:3px}

body.nn24{--page-base:#f8fbfa;--page-edge:#eaf4f1;--page-glow:rgba(24,137,125,.17)}
body.nnin{--page-base:#fbfaf9;--page-edge:#f6eeeb;--page-glow:rgba(191,97,74,.14)}
body.dd{--page-base:#fbfaf6;--page-edge:#f2eddf;--page-glow:rgba(157,119,52,.15)}
body.jp{--page-base:#faf9fb;--page-edge:#f0edf4;--page-glow:rgba(115,82,145,.14)}
body.rn.of{--page-base:#f8fbfb;--page-edge:#eaf3f2;--page-glow:rgba(38,126,128,.15)}
body.rn.md{--page-base:#f8fafc;--page-edge:#e9f0f6;--page-glow:rgba(56,113,161,.15)}
body.rn.ma{--page-base:#fbfaf8;--page-edge:#f2eee8;--page-glow:rgba(161,119,79,.14)}
body.rn.ac{--page-base:#f8fafc;--page-edge:#edf2f7;--page-glow:rgba(82,123,173,.13)}
html[data-portal-theme=dark] body.nn24{--page-base:#121a1a;--page-edge:#172725;--page-glow:rgba(64,158,145,.16)}
html[data-portal-theme=dark] body.nnin{--page-base:#191719;--page-edge:#2a2022;--page-glow:rgba(196,102,82,.13)}
html[data-portal-theme=dark] body.dd{--page-base:#1b1a17;--page-edge:#29251b;--page-glow:rgba(164,128,64,.13)}
html[data-portal-theme=dark] body.jp{--page-base:#19171c;--page-edge:#282132;--page-glow:rgba(135,100,163,.13)}
html[data-portal-theme=dark] body.rn.of{--page-base:#11191b;--page-edge:#1a282b;--page-glow:rgba(56,143,145,.15)}
html[data-portal-theme=dark] body.rn.md{--page-base:#111820;--page-edge:#192839;--page-glow:rgba(70,129,178,.15)}
html[data-portal-theme=dark] body.rn.ma{--page-base:#1b1917;--page-edge:#2b241e;--page-glow:rgba(172,129,91,.13)}
html[data-portal-theme=dark] body.rn.ac{--page-base:#10151c;--page-edge:#1a2532;--page-glow:rgba(91,139,194,.13)}
body.front:is(.nn24,.nnin,.dd,.jp,.rn){
  background-color:var(--page-base)!important;
  background-image:radial-gradient(ellipse 76% 36% at 9% 0%,var(--page-glow),transparent 76%),
    linear-gradient(154deg,var(--page-base) 0%,var(--page-edge) 54%,var(--page-base) 100%)!important;
}
body.rn.ac :is(.ac-product,.ac-tile,.rn-card,.rn-detail-overview,.rn-filter-panel,.rn-search-page,.ref-footer-legal){
  border:0!important;box-shadow:none!important;
}
body.nn24 .nn24-section,body.nnin .nnin-section{margin-top:12px;margin-bottom:22px}
body.nnin .nnin-panel{margin-top:18px}
body.dd .dd-section,body.jp .jp-section,body.rn .rn-section{margin-top:16px;margin-bottom:28px}
body.rn.of .of-welcome{padding:26px 0 18px;margin-top:8px}
body.rn.md .md-discover{padding:26px 0}
body.rn.md .md-band{padding:18px 0}
body.rn.ma .ma-caption{padding:18px 0 0!important}
body.rn.ac .ac-product{min-height:370px;padding-top:24px;padding-bottom:24px}
@media(max-width:700px){
  body.nn24 .nn24-section,body.nnin .nnin-section,body.dd .dd-section,body.jp .jp-section,body.rn .rn-section{margin-top:12px;margin-bottom:22px}
  body.nnin .nnin-panel{margin-top:12px}
  body.rn.of .of-welcome{padding:22px 0 16px}
  body.rn.md .md-discover{padding:22px 0}
  body.rn.ac .ac-product{min-height:0;padding-top:22px;padding-bottom:22px}
  body.rn.ac .ac-showcase:has(> .ac-product:first-child .ac-art img:not([src$="applecinema-logo.svg"])):has(> .ac-product:nth-child(2) .ac-art img:not([src$="applecinema-logo.svg"])){
    grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 10px;
  }
  body.rn.ac .ac-showcase:has(> .ac-product:first-child .ac-art img:not([src$="applecinema-logo.svg"])):has(> .ac-product:nth-child(2) .ac-art img:not([src$="applecinema-logo.svg"])) .ac-product{
    min-width:0;min-height:0;padding:12px 8px 14px;gap:9px;justify-content:flex-start;
  }
  body.rn.ac .ac-showcase:has(> .ac-product:first-child .ac-art img:not([src$="applecinema-logo.svg"])):has(> .ac-product:nth-child(2) .ac-art img:not([src$="applecinema-logo.svg"])) .ac-art{order:0;width:100%;min-width:0}
  body.rn.ac .ac-showcase:has(> .ac-product:first-child .ac-art img:not([src$="applecinema-logo.svg"])):has(> .ac-product:nth-child(2) .ac-art img:not([src$="applecinema-logo.svg"])) .ac-art img{
    display:block;width:min(100%,150px);height:auto;aspect-ratio:2/3;object-fit:cover;transform:none!important;box-shadow:none!important;
  }
  body.rn.ac .ac-showcase:has(> .ac-product:first-child .ac-art img:not([src$="applecinema-logo.svg"])):has(> .ac-product:nth-child(2) .ac-art img:not([src$="applecinema-logo.svg"])) .ac-product-copy{order:1;width:100%;min-width:0}
  body.rn.ac .ac-showcase:has(> .ac-product:first-child .ac-art img:not([src$="applecinema-logo.svg"])):has(> .ac-product:nth-child(2) .ac-art img:not([src$="applecinema-logo.svg"])) .rn-hero-title{
    font-size:17px;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  }
  body.rn.ac .ac-showcase:has(> .ac-product:first-child .ac-art img:not([src$="applecinema-logo.svg"])):has(> .ac-product:nth-child(2) .ac-art img:not([src$="applecinema-logo.svg"])) .rn-hero-actions{gap:6px;justify-content:flex-start;flex-wrap:wrap}
  body.rn.ac .ac-showcase:has(> .ac-product:first-child .ac-art img:not([src$="applecinema-logo.svg"])):has(> .ac-product:nth-child(2) .ac-art img:not([src$="applecinema-logo.svg"])) .rn-cta{
    min-height:34px;padding:6px 8px;font-size:11px;white-space:normal;
  }
}
@media(min-width:801px){
  .ref-footer-nnyy24 .ref-footer-main{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(2,minmax(155px,1fr));gap:24px}
  .ref-footer-nnyyin .ref-footer-main{display:grid;grid-template-columns:minmax(260px,1.35fr) repeat(2,minmax(155px,1fr));gap:28px}
  .ref-footer-ddys .ref-footer-main{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(2,minmax(155px,1fr));gap:28px}
  .ref-footer-jinpai .ref-footer-main{display:grid;grid-template-columns:minmax(260px,1.35fr) repeat(2,minmax(155px,1fr));gap:28px}
  .ref-footer-openframe .ref-footer-main{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:28px}
  .ref-footer-openframe .ref-footer-brand{grid-column:1/-1;max-width:none}
  .ref-footer-applecinema .ref-footer-main{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:24px;text-align:center}
  .ref-footer-applecinema .ref-footer-brand{grid-column:1/-1;max-width:none;text-align:center}
  .ref-footer-applecinema .ref-footer-brand>a{justify-content:center}
  .ref-footer-applecinema .ref-footer-brand p{margin-left:auto;margin-right:auto}
  .ref-footer-moviedb .ref-footer-main{display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(2,minmax(155px,1fr));gap:28px}
  .ref-footer-anywhere .ref-footer-main{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:24px}
  .ref-footer-anywhere .ref-footer-brand{grid-column:1/-1;max-width:none}
  :is(.ref-footer-nnyy24,.ref-footer-nnyyin,.ref-footer-ddys,.ref-footer-jinpai,.ref-footer-moviedb):has(.ref-footer-main nav:nth-of-type(3)) .ref-footer-main{grid-template-columns:minmax(240px,1.5fr) repeat(3,minmax(130px,1fr))}
  :is(.ref-footer-openframe,.ref-footer-applecinema,.ref-footer-anywhere):has(.ref-footer-main nav:nth-of-type(3)) .ref-footer-main{grid-template-columns:repeat(3,minmax(150px,1fr))}
}

body.rn.md .md-discover{padding:20px 0 12px}
body.rn.md .md-discover-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:16px;min-width:0}
body.rn.md .md-discover-heading h1{font-size:clamp(20px,2vw,26px);line-height:1.3;white-space:nowrap;letter-spacing:-.025em}
body.rn.md .md-discover-heading .rn-discover-search{width:min(390px,50%);min-width:0;flex:none}
body.rn.md .md-discover-heading .rn-discover-search input{padding:10px 78px 10px 14px;min-height:42px}
body.rn.md .md-discover-heading .rn-discover-search .rn-cta{min-height:42px;padding:8px 17px}
body.rn.md .md-magazine{
  display:grid;grid-template-columns:1.08fr .88fr .92fr 1.12fr;
  grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;height:clamp(300px,30vw,430px);
}
body.rn.md .md-magazine:not(:has(> .md-magazine-item)){display:none}
body.rn.md .md-magazine-item{position:relative;display:block;min-width:0;min-height:0;overflow:hidden;background:#1c2933!important}
body.rn.md .md-magazine-item:nth-child(1){grid-column:1;grid-row:1/3}
body.rn.md .md-magazine-item:nth-child(2){grid-column:2;grid-row:1/3}
body.rn.md .md-magazine-item:nth-child(3){grid-column:3/5;grid-row:1}
body.rn.md .md-magazine-item:nth-child(4){grid-column:3;grid-row:2}
body.rn.md .md-magazine-item:nth-child(5){grid-column:4;grid-row:2}
body.rn.md .md-magazine-item img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 28%;-webkit-mask-image:none!important;mask-image:none!important}
body.rn.md .md-magazine-item img[src$="moviedb-logo.svg"]{object-fit:contain;padding:17%}
body.rn.md .md-magazine-item::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(4,11,19,.84));pointer-events:none}
body.rn.md .md-magazine-caption{position:absolute;z-index:1;left:12px;right:12px;bottom:12px;display:grid;gap:3px;min-width:0}
body.rn.md .md-magazine-caption strong{font-size:clamp(13px,1.3vw,20px);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff!important}
body.rn.md .md-magazine-caption small{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#dce6ee!important}
@media(min-width:701px){
  body.rn.md .md-magazine:has(> :first-child:last-child){grid-template-columns:1fr}
  body.rn.md .md-magazine:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  body.rn.md .md-magazine:has(> :nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  body.rn.md .md-magazine:has(> :nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  body.rn.md .md-magazine:has(> :nth-child(-n+4):last-child) .md-magazine-item{grid-column:auto;grid-row:1/3}
}
body.rn.md .md-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body.rn.md .md-feature{display:grid;grid-template-columns:minmax(105px,37%) minmax(0,1fr);gap:14px;min-width:0;min-height:220px;align-items:stretch}
body.rn.md .md-feature>img{display:block;width:100%;height:100%;aspect-ratio:2/3;object-fit:cover;object-position:center top;-webkit-mask-image:none!important;mask-image:none!important}
body.rn.md .md-feature>img[src$="moviedb-logo.svg"]{object-fit:contain;padding:16%}
body.rn.md .md-feature-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-width:0;padding:8px 0}
body.rn.md .md-feature-title{font-size:18px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.rn.md .md-feature-facts,body.rn.md .md-feature-actors,body.rn.md .md-feature-summary{max-width:100%;font-size:12px;line-height:1.5;color:var(--flat-muted)!important}
body.rn.md .md-feature-facts{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.rn.md .md-feature-actors,body.rn.md .md-feature-summary{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
body.rn.md .md-feature-actors{-webkit-line-clamp:2}
body.rn.md .md-feature-summary{-webkit-line-clamp:3}

body.front:is(.tpl-moviedb,.tpl-anywhere) .rn-shelf{
  display:grid;grid-auto-flow:row;grid-auto-columns:auto;
  grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 15px;
  overflow:visible;scroll-snap-type:none;padding-bottom:0;
}
body.front:is(.tpl-moviedb,.tpl-anywhere) .rn-shelf>.rn-card{min-width:0;scroll-snap-align:none}
@media(max-width:1100px){
  body.front:is(.tpl-moviedb,.tpl-anywhere) .rn-shelf{grid-template-columns:repeat(4,minmax(0,1fr))}
  body.rn.md .md-features{gap:16px}
  body.rn.md .md-feature{grid-template-columns:100px minmax(0,1fr);min-height:170px;gap:10px}
  body.rn.md .md-feature-summary{-webkit-line-clamp:2}
}
@media(max-width:700px){
  body.rn.md .md-discover-heading{gap:10px;align-items:stretch}
  body.rn.md .md-discover-heading h1{font-size:19px;align-self:center}
  body.rn.md .md-discover-heading .rn-discover-search{width:min(60%,250px)}
  body.rn.md .md-discover-heading .rn-discover-search input{font-size:14px;padding:9px 58px 9px 10px}
  body.rn.md .md-discover-heading .rn-discover-search .rn-cta{padding:7px 9px;font-size:12px}
  body.rn.md .md-magazine{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:190px repeat(2,155px);height:auto;gap:8px}
  body.rn.md .md-magazine-item:nth-child(1){grid-column:1/3;grid-row:1}
  body.rn.md .md-magazine-item:nth-child(2){grid-column:1;grid-row:2}
  body.rn.md .md-magazine-item:nth-child(3){grid-column:2;grid-row:2}
  body.rn.md .md-magazine-item:nth-child(4){grid-column:1;grid-row:3}
  body.rn.md .md-magazine-item:nth-child(5){grid-column:2;grid-row:3}
  body.rn.md .md-magazine:has(> :first-child:last-child){grid-template-rows:190px}
  body.rn.md .md-magazine:has(> :nth-child(2):last-child),body.rn.md .md-magazine:has(> :nth-child(3):last-child){grid-template-rows:190px 155px}
  body.rn.md .md-magazine:has(> :nth-child(4):last-child) .md-magazine-item:nth-child(4){grid-column:1/3}
  body.rn.md .md-magazine:has(> :nth-child(2):last-child) .md-magazine-item:nth-child(2){grid-column:1/3}
  body.rn.md .md-magazine-caption{left:9px;right:9px;bottom:8px}
  body.rn.md .md-magazine-caption strong{font-size:13px}
  body.rn.md .md-magazine-caption small{font-size:10px}
  body.rn.md .md-features{display:grid;grid-template-columns:1fr;gap:18px}
  body.rn.md .md-feature{grid-template-columns:110px minmax(0,1fr);min-height:165px;gap:14px}
  body.rn.md .md-feature-copy{gap:5px}
  body.rn.md .md-feature-title{font-size:17px}
  body.rn.md .md-feature-summary{-webkit-line-clamp:2}
  body.front:is(.tpl-moviedb,.tpl-anywhere) .rn-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
}
@media(max-width:359px){
  body.rn.md .md-discover-heading{display:block}
  body.rn.md .md-discover-heading h1{margin-bottom:10px}
  body.rn.md .md-discover-heading .rn-discover-search{width:100%}
  body.rn.md .md-magazine{grid-template-rows:165px repeat(2,135px)}
  body.rn.md .md-feature{grid-template-columns:92px minmax(0,1fr);gap:10px}
}
@media(max-width:800px){
  .ref-footer-main{gap:24px}
  .ref-footer-legal{margin-top:4px}
}

:is(.nn24-movie,.nnin-movie,.dd-movie,.jp-movie,.rn-movie,.nn24-player,.nnin-player,.dd-player,.jp-player,.rn-player) main{min-width:0}
:is(.nn24-movie,.nnin-movie,.dd-movie,.jp-movie,.rn-movie,.nn24-player,.nnin-player,.dd-player,.jp-player,.rn-player) :is(h1,h2,h3,p,dt,dd){overflow-wrap:anywhere}
:is(.of-film,.ac-film,.md-film,.ma-film,.of-viewer,.ac-viewer,.md-viewer,.ma-viewer){padding-bottom:42px}
:is(.of-film,.ac-film,.md-film,.ma-film,.of-viewer,.ac-viewer,.md-viewer,.ma-viewer) h2{font-size:clamp(19px,2vw,24px);line-height:1.35}
:is(.of-film,.ac-film,.md-film,.ma-film,.of-viewer,.ac-viewer,.md-viewer,.ma-viewer) p{line-height:1.75}
:is(.of-film,.ac-film,.md-film,.ma-film,.of-viewer,.ac-viewer,.md-viewer,.ma-viewer) :is(dl,dd){margin:0}
:is(.of-film,.ac-film,.md-film,.ma-film,.of-viewer,.ac-viewer,.md-viewer,.ma-viewer) :is(img,video,iframe){display:block}
:is(.of-film,.ac-film,.md-film,.ma-film) .rn-detail-poster{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center top}
:is(.of-film,.ac-film,.md-film,.ma-film) .rn-detail-poster[src$="-logo.svg"]{object-fit:contain;padding:18%}
:is(.of-film,.ac-film,.md-film,.ma-film,.of-viewer,.ac-viewer,.md-viewer,.ma-viewer) :is(.rn-grid,.rn-lines){min-width:0}

.nn24-detail-kicker,.nnin-detail-kicker,.dd-detail-kicker,.jp-detail-kicker,.of-film-kicker,.ac-film-eyebrow,.md-film-kicker,.ma-film-kicker{font-size:12px;letter-spacing:.08em;font-weight:700;color:var(--flat-muted);margin:0 0 8px}
.nn24-detail-original,.nnin-original-title,.jp-detail-original,.of-film-original,.ac-film-original,.md-film-original{font-size:14px;color:var(--muted);margin:2px 0 12px;overflow-wrap:anywhere}
.nn24-detail-watch{display:inline-flex;align-items:center;min-height:42px;margin-top:16px;font-weight:750;text-underline-offset:5px}
.nn24-source-title{font-size:19px;margin:20px 0 4px}
.nn24-detail-poster>img,.nnin-detail-poster>img{object-fit:cover;object-position:center top}
.nn24-player-top .nn24-breadcrumb,.nnin-player-top .nnin-breadcrumb{margin:0 0 12px}
.nn24-player-kicker,.nnin-player-kicker{font-size:13px;font-weight:700;margin:0 0 8px}
.nn24-player-meta,.nnin-player-meta{font-size:13px;line-height:1.6;margin:8px 0}
.nn24-player-story,.nnin-player-story{margin:24px 0;max-width:86ch}
.nn24-player-story h2,.nnin-player-story h2,.nnin-story-content h2{font-size:21px;margin:0 0 10px}
.nnin-story-content p{margin:0;line-height:1.8;white-space:pre-line}
.nnin-screen-title{font-size:20px;margin:0 0 16px}

.dd-detail-kicker{margin:0 0 8px}
.dd-detail-story,.dd-detail-play{margin-top:24px}
.dd-viewer-heading{margin:14px 0 18px}
.dd-viewer-heading h1{margin:0 0 8px}
.dd-viewer-heading>p{margin:4px 0}
.dd-viewer-stage{min-width:0}
.dd-viewer-options{margin:24px 0 12px}
.dd-viewer-options h2,.dd-viewer-story h2{margin:0 0 12px}
.dd-viewer-navigation{display:flex;justify-content:flex-end;gap:16px}
.dd-viewer-story{max-width:86ch;margin:28px 0}
.dd-viewer-story p{line-height:1.85;white-space:pre-line}
.dd-viewer .dd-related{margin-top:34px}
.jp-detail-kicker{margin:0 0 8px}
.jp-synopsis h2{font-size:20px;margin:18px 0 8px}
.jp-synopsis p{line-height:1.85;margin:0}
.jp-viewer-heading{margin:12px 0 20px}
.jp-viewer-heading h1{margin:0 0 8px;font-size:clamp(24px,2.5vw,34px)}
.jp-viewer-heading>p{margin:4px 0}
.jp-viewer-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:30px;align-items:start}
.jp-viewer-main,.jp-viewer-side{min-width:0}
.jp-viewer-side h2{font-size:21px;margin:0 0 12px}
.jp-viewer-navigation{display:flex;justify-content:flex-end;margin:12px 0}
.jp-viewer-story{margin:26px 0;max-width:72ch}
.jp-viewer-story h2{font-size:20px;margin:0 0 9px}
.jp-viewer-story p{line-height:1.8;white-space:pre-line}
.jp-viewer-side .jp-lines{margin:0}

.of-film-heading{margin:28px 0 24px;max-width:72ch}
.of-film-heading h1{font-size:clamp(30px,3.3vw,48px);line-height:1.16;margin:0 0 8px}
.of-film-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,290px);gap:clamp(24px,5vw,72px);align-items:start}
.of-film-main,.of-film-aside{min-width:0}
.of-film-main>section{margin:0 0 30px}
.of-film-main h2{margin:0 0 13px}
.of-film-story p,.of-viewer-story p{white-space:pre-line;line-height:1.9;max-width:74ch}
.of-film-people dl,.of-film-aside dl{display:grid;grid-template-columns:68px minmax(0,1fr);gap:8px 12px}
.of-film-people dt,.of-film-aside dt{color:var(--muted)}
.of-film-aside dl{margin:16px 0 18px}
.of-film-aside .rn-watch{width:100%}
.of-film-related{margin-top:36px}
.of-viewer-heading{margin:18px 0 12px}
.of-viewer-heading h1{font-size:clamp(27px,3vw,42px);margin:0 0 7px}
.of-viewer-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:30px;align-items:start}
.of-viewer-main,.of-viewer-side{min-width:0}
.of-viewer-side{padding-top:24px}
.of-viewer-side h2,.of-viewer-story h2{margin:0 0 12px}
.of-viewer .rn-player-frame{margin:18px 0 52px}
.of-viewer-navigation{display:flex;gap:20px;flex-wrap:wrap;justify-content:flex-end}
.of-viewer-story{margin:28px 0}

.ac-film-hero{display:grid;grid-template-columns:minmax(210px,36%) minmax(0,1fr);gap:clamp(24px,5vw,64px);align-items:center;max-width:1100px;margin:22px auto 30px}
.ac-film-cover{width:min(100%,310px);justify-self:center}
.ac-film-intro{min-width:0}
.ac-film-intro h1{font-size:clamp(30px,4.2vw,58px);line-height:1.13;margin:8px 0 10px}
.ac-film-summary{font-size:16px;line-height:1.8;white-space:pre-line;max-width:64ch;margin:16px 0 20px}
.ac-film-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:22px 0 28px}
.ac-film-facts>div{min-width:0;display:grid;align-content:start;gap:5px}
.ac-film-facts strong{font-size:12px;color:var(--muted);font-weight:600}
.ac-film-facts span{line-height:1.55;overflow-wrap:anywhere}
.ac-film-episodes{margin-top:30px}
.ac-viewer-heading{text-align:center;max-width:900px;margin:20px auto 22px}
.ac-viewer-heading h1{font-size:clamp(28px,3.5vw,44px);line-height:1.2;margin:8px 0}
.ac-viewer-heading>p{margin:5px 0}
.ac-viewer-episode{font-size:16px;font-weight:650}
.ac-viewer-stage{max-width:1120px;margin:auto}
.ac-viewer-stage .rn-player-frame{margin:12px 0 54px}
.ac-viewer-navigation{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin:12px 0 26px}
.ac-viewer-episodes,.ac-viewer-story{max-width:1050px;margin:24px auto}
.ac-viewer-story p{white-space:pre-line;line-height:1.8}

.md-film-heading{margin:22px 0 19px}
.md-film-heading h1{font-size:clamp(29px,3vw,43px);line-height:1.18;margin:2px 0 8px}
.md-film-overview{display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr);gap:clamp(22px,4vw,55px);align-items:start}
.md-film-cover,.md-film-record{min-width:0}
.md-film-cover .rn-watch{display:flex;margin-top:14px}
.md-film-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px}
.md-film-facts>div,.md-viewer-side dl>div{min-width:0;display:grid;gap:3px}
.md-film-facts dt,.md-viewer-side dt{font-size:12px;color:var(--muted)}
.md-film-facts dd,.md-viewer-side dd{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.md-film-story{margin-top:28px;max-width:72ch}
.md-film-story h2{margin:0 0 10px}
.md-film-story p,.md-viewer-story p{white-space:pre-line;line-height:1.85}
.md-film-episodes{margin-top:34px}
.md-viewer-heading{margin:18px 0 15px}
.md-viewer-heading h1{font-size:clamp(28px,3vw,40px);margin:0 0 8px}
.md-viewer-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,300px);gap:24px;align-items:start}
@media(min-width:1101px){body.front.tpl-moviedb.rn-player .md-film-related>.rn-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.md-viewer-main,.md-viewer-side{min-width:0}
.md-viewer .rn-player-frame{margin:14px 0 54px}
.md-viewer-navigation{display:flex;gap:18px;flex-wrap:wrap;justify-content:flex-end}
.md-viewer-side h2,.md-viewer-story h2{font-size:20px;margin:8px 0 12px}
.md-viewer-side h2:not(:first-child){margin-top:26px}
.md-viewer-side dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.md-viewer-story{margin:26px 0;max-width:74ch}

.ma-film-heading{margin:22px 0 22px}
.ma-film-heading h1{font-size:clamp(31px,3.8vw,50px);line-height:1.12;margin:0 0 9px}
.ma-film-feature{display:grid;grid-template-columns:minmax(190px,280px) minmax(0,1fr);gap:clamp(24px,4vw,58px);align-items:start}
.ma-film-cover,.ma-film-copy{min-width:0}
.ma-film-copy h2{margin:14px 0 10px}
.ma-film-taxonomy{font-size:14px;margin:0 0 12px}
.ma-film-summary,.ma-viewer-story p{white-space:pre-line;line-height:1.85;max-width:78ch}
.ma-film-people{display:grid;gap:11px;margin:22px 0!important}
.ma-film-people>div{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px}
.ma-film-people dt{color:var(--muted)}
.ma-film-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:20px}
.ma-film-episodes{margin-top:32px}
.ma-viewer-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:18px 0}
.ma-viewer-heading h1{font-size:clamp(28px,3.2vw,42px);margin:4px 0 0}
.ma-viewer .rn-player-frame{margin:14px 0 56px}
.ma-viewer-info{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px}
.ma-viewer-info p{margin:0}
.ma-viewer-episodes{margin:30px 0}
.ma-viewer-story{max-width:78ch;margin:30px 0}

@media(max-width:900px){
  .jp-viewer-layout,.of-viewer-layout,.md-viewer-layout{grid-template-columns:minmax(0,1fr)}
  .jp-viewer-side,.of-viewer-side,.md-viewer-side{padding-top:0}
  .of-film-layout{grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:26px}
  .ac-film-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  :is(.of-film,.ac-film,.md-film,.ma-film,.of-viewer,.ac-viewer,.md-viewer,.ma-viewer){padding-bottom:28px}
  .of-film-layout,.ac-film-hero,.md-film-overview,.ma-film-feature{grid-template-columns:minmax(0,1fr);gap:18px}
  .of-film-aside{order:-1}
  .of-film-aside{display:grid;grid-template-columns:minmax(100px,32%) minmax(0,1fr);gap:0 16px;align-items:start}
  .of-film-aside .rn-detail-poster{grid-row:1/3}
  .of-film-aside dl{margin:0 0 12px}
  .of-film-aside .rn-watch{grid-column:2}
  .ac-film-cover{width:min(68%,240px)}
  .ac-film-intro{text-align:center}
  .ac-film-intro h1{font-size:clamp(28px,7vw,38px)}
  .ac-film-intro .rn-watch{margin-inline:auto}
  .ac-film-summary{text-align:left;font-size:14px}
  .md-film-cover{display:grid;grid-template-columns:minmax(110px,36%) minmax(0,1fr);gap:14px;align-items:end}
  .md-film-cover .rn-watch{margin:0}
  .md-film-facts{gap:12px}
  .ma-film-cover{width:min(60%,230px)}
  .ma-viewer-heading{align-items:start;flex-direction:column}
  .ma-viewer-heading>a{font-size:14px}
  .nn24-player-story,.nnin-player-story,.dd-viewer-story,.jp-viewer-story{margin:20px 0}
}
@media(max-width:390px){
  .of-film-aside{grid-template-columns:100px minmax(0,1fr);gap:0 12px}
  .of-film-aside dl{grid-template-columns:48px minmax(0,1fr);gap:4px 6px;font-size:12px}
  .ac-film-facts,.md-film-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
  .md-film-cover{grid-template-columns:105px minmax(0,1fr)}
  .ma-film-cover{width:min(72%,220px)}
}
.ref-update-short{display:none}
@media(max-width:700px){
  .ref-update-full{display:none}
  .ref-update-short{display:inline}
  :is(.ac-viewer-heading,.of-viewer-heading,.md-viewer-heading,.dd-viewer-heading,.jp-viewer-heading){display:flex;flex-wrap:wrap;align-items:baseline;column-gap:9px;row-gap:4px;text-align:left;margin-top:12px;margin-bottom:16px}
  :is(.ac-viewer-heading,.of-viewer-heading,.md-viewer-heading,.dd-viewer-heading,.jp-viewer-heading)>h1{order:-1;flex:0 0 100%;min-width:0;margin:0 0 2px;font-size:clamp(24px,7vw,32px);line-height:1.24}
  :is(.ac-viewer-heading,.of-viewer-heading,.md-viewer-heading,.dd-viewer-heading,.jp-viewer-heading)>p:not(.ref-update){flex:none;max-width:44%;min-width:0;margin:0;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  :is(.ac-viewer-heading,.of-viewer-heading,.md-viewer-heading,.dd-viewer-heading,.jp-viewer-heading)>.ref-update{flex:none;max-width:40%;min-width:0;margin:0 0 0 auto;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:1.35}
  :is(.ac-viewer-heading,.of-viewer-heading,.md-viewer-heading,.dd-viewer-heading)>.ref-update time{white-space:nowrap}
  .ma-viewer-heading>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;width:100%}
  .ma-viewer-heading>div>h1{order:-1;flex:0 0 100%;min-width:0;margin:0;font-size:clamp(24px,7vw,32px);line-height:1.24}
  .ma-viewer-heading>div>.ma-film-kicker{margin:0;white-space:nowrap;line-height:1.35}
  .ma-viewer-info{flex-wrap:nowrap;align-items:baseline;gap:8px}
  .ma-viewer-info>p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
  .ma-viewer-info>.ref-update{flex:none;max-width:49%}
  .nn24-player-side,.nnin-player-side{display:flex;flex-wrap:wrap;align-content:start;align-items:baseline;gap:4px 8px}
  .nn24-player-side>h1,.nnin-player-side>h1{order:-1;flex:0 0 100%;min-width:0;margin:0 0 2px;font-size:clamp(19px,6vw,25px);line-height:1.25}
  .nn24-player-side>p,.nnin-player-side>p{margin:0;line-height:1.35;white-space:nowrap;font-size:11px}
  .nn24-player-side>.nn24-player-kicker,.nnin-player-side>.nnin-player-kicker{flex:none}
  .nn24-player-side>.nn24-player-meta,.nnin-player-side>.nnin-player-meta{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis}
  .nn24-player-side>.ref-update,.nnin-player-side>.ref-update{flex:none;max-width:45%;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px}
  .nn24-player-side>.nn24-lines,.nnin-player-side>.nnin-lines{flex:0 0 100%;min-width:0;margin-top:8px}
}
@media(max-width:360px){
  .viewer-area{display:none}
}
@media(min-width:360px) and (max-width:430px){
  html[data-portal-theme] body.front.tpl-jinpai .jp-actions{gap:4px}
  html[data-portal-theme] body.front.tpl-jinpai .jp-actions :is(a,button){min-width:34px;padding:8px 6px!important;font-size:12px}
  html[data-portal-theme] body.front.tpl-jinpai .jp-brand{gap:6px}
  html[data-portal-theme] body.front.tpl-jinpai .jp-brand :is(h1,strong){max-width:100%;white-space:nowrap;overflow-wrap:normal;font-size:17px;line-height:1.2}
}

body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-brand,.nnin-brand,.dd-brand,.jp-brand,.rn-brand) :is(h1,strong){
  min-width:0;max-width:100%;white-space:nowrap;overflow-wrap:normal;overflow:hidden;text-overflow:ellipsis;
}

body.front.tpl-ddys .dd-detail-poster{height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center top;align-self:start}
body.front.tpl-jinpai .jp-detail-poster{height:auto;aspect-ratio:2/3;object-fit:cover;object-position:center top}

@media(max-width:700px){
  body.front.tpl-ddys .dd-actions{gap:6px!important}
  body.front.tpl-ddys .dd-brand :is(h1,strong){font-size:19px}
  body.front.tpl-nnyy24 .nn24-detail-copy>.ref-update,
  body.front.tpl-nnyy24 .nn24-detail-copy>.nn24-facts,
  body.front.tpl-nnyy24 .nn24-detail-copy>.nn24-detail-watch,
  body.front.tpl-nnyy24 .nn24-detail-copy>.nn24-source-title{grid-column:1/-1;min-width:0}
  body.front.tpl-nnyy24 .nn24-detail-copy>.ref-update{margin:2px 0 0;white-space:nowrap;font-size:11px}
  body.front.tpl-nnyy24 .nn24-facts p{margin:0;line-height:1.6;font-size:11px}
  body.front.tpl-nnyy24 .nn24-facts small{font-size:11px;white-space:nowrap}
  body.front.tpl-nnyy24 .nn24-detail-watch{margin:0;min-height:36px}
  body.front.tpl-nnyy24 .nn24-source-title{margin:8px 0 0}
  body.front.tpl-nnyyin .nnin-detail-grid{display:grid;grid-template-columns:88px minmax(0,1fr);gap:6px 12px}
  body.front.tpl-nnyyin .nnin-detail-poster{display:block;grid-column:1;grid-row:1/3;width:88px;aspect-ratio:2/3;align-self:start}
  body.front.tpl-nnyyin .nnin-detail-copy{display:contents}
  body.front.tpl-nnyyin .nnin-detail-copy>.nnin-detail-kicker{grid-column:2;grid-row:1;align-self:end;margin:0}
  body.front.tpl-nnyyin .nnin-detail-copy>h1{grid-column:2;grid-row:2;align-self:start;margin:0;font-size:18px;line-height:1.4}
  body.front.tpl-nnyyin .nnin-detail-copy>:is(.nnin-original-title,.ref-update,.nnin-facts,.nnin-story-content){grid-column:1/-1;min-width:0}
  body.front.tpl-nnyyin .nnin-detail-copy>.ref-update{margin:0;white-space:nowrap;font-size:11px}
  body.front.tpl-nnyyin .nnin-facts p{margin:0;line-height:1.6;font-size:12px}
  body.front.tpl-nnyyin .nnin-facts small{font-size:12px;white-space:nowrap}
  body.front.tpl-nnyyin .nnin-story-content{margin-top:8px}
  body.front.tpl-jinpai .jp-detail-cover{width:min(50%,170px)}
  body.front.tpl-jinpai .jp-detail-cover .jp-watch{font-size:14px;padding:8px 12px}
  body.front.tpl-applecinema .ac-film-cover{width:min(51%,180px)}
}
@media(min-width:360px) and (max-width:380px){
  body.front.tpl-ddys .dd-actions{gap:4px!important}
  body.front.tpl-ddys .dd-actions :is(a,button){min-width:34px;padding:8px 5px!important;font-size:11px}
  body.front.tpl-ddys .dd-brand :is(h1,strong){font-size:17px}
}

/* Reference navigation: keep every channel reachable without a horizontal rail. */
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-header-inner,.nnin-header-inner,.dd-header-inner,.jp-header-inner,.rn-header-inner){
  display:flex;flex-wrap:wrap;height:auto;min-width:0;row-gap:8px;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-brand,.nnin-brand,.dd-brand,.jp-brand,.rn-brand){
  flex:0 1 auto;min-width:0;max-width:100%;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-nav,.nnin-nav,.dd-nav,.jp-nav,.rn-nav,.rn-nav.is-open){
  display:flex;position:static;inset:auto;order:0;flex:1 1 28rem;align-self:center;
  box-sizing:border-box;width:auto;min-width:0;max-width:100%;height:auto;max-height:none;
  flex-wrap:wrap;justify-content:flex-start;gap:4px 16px;margin:0;padding:4px 0;
  white-space:normal;overflow:visible;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-nav,.nnin-nav,.dd-nav,.jp-nav,.rn-nav,.rn-nav.is-open)>a{
  flex:0 1 auto;min-width:0;max-width:100%;height:auto;min-height:40px;
  white-space:normal;overflow-wrap:anywhere;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.dd-actions,.jp-actions,.rn-actions){flex:0 1 auto;flex-wrap:wrap;min-width:0;max-width:100%}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-search,.nnin-search,.dd-search,.jp-search,.rn-search){box-sizing:border-box;min-width:0;max-width:100%}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-search,.nnin-search,.dd-search,.jp-search,.rn-search) input:not([type=hidden]){min-width:0;max-width:100%}
/* The complete wrapped navigation replaces its duplicate compact/menu trigger. */
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-compact-entry{display:none}
body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .rn-actions .rn-menu{display:none!important}
@media(max-width:1350px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
    :is(.nn24-nav,.nnin-nav,.dd-nav,.jp-nav,.rn-nav,.rn-nav.is-open){order:4;flex:1 1 100%;width:100%}
}
@media(max-width:700px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
    :is(.nn24-header-inner,.nnin-header-inner,.dd-header-inner,.jp-header-inner,.rn-header-inner){column-gap:8px}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
    :is(.nn24-search,.nnin-search,.jp-search,.rn-search).is-open{order:5;flex:1 1 100%;width:100%;margin-left:0;margin-right:0}
}
/* Category content is one full-width flow; filter labels share their option row. */
body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere).rn-category main.rn-catalog{
  display:block;min-width:0;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-filter,.nnin-filter),
body.front.tpl-jinpai .jp-filter-panel,
body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere).rn-category .rn-filter-panel{
  display:block;width:100%;min-width:0;margin:16px 0;padding:4px 0;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-filter-row,.nnin-filter-row),
body.front.tpl-jinpai .jp-filter-panel>div,
body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere).rn-category .rn-filter-panel>div{
  display:grid;grid-template-columns:3.5em minmax(0,1fr);align-items:start;
  gap:6px 12px;margin:0;padding:5px 0;min-width:0;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-filter-row,.nnin-filter-row)>strong,
body.front.tpl-jinpai .jp-filter-panel>div>strong,
body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere).rn-category .rn-filter-panel>div>strong{
  display:block;grid-column:1;grid-row:1;min-width:0;margin:0;padding:0;
  font-size:13px;line-height:34px;white-space:nowrap;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-filter-row,.nnin-filter-row)>div,
body.front.tpl-jinpai .jp-filter-panel>div>nav,
body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere).rn-category .rn-filter-panel>div>nav{
  display:flex;grid-column:2;grid-row:1;flex-wrap:wrap;align-items:center;
  gap:6px;min-width:0;max-width:100%;margin:0;padding:0;white-space:normal;overflow:visible;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-filter-row,.nnin-filter-row) a,
body.front.tpl-jinpai .jp-filter-panel a,
body.front:is(.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere).rn-category .rn-filter-panel a{
  display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;
  min-width:0;max-width:100%;min-height:34px;padding:5px 11px;font-size:13px;
  line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-align:center;
}
/* DDYS keeps its existing native select and SSR link disclosure in a compact row. */
body.front.tpl-ddys.dd-category .dd-filters{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 20px;margin:16px 0;padding:0;
}
body.front.tpl-ddys.dd-category .dd-filter{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
body.front.tpl-ddys.dd-category .dd-filter>label{display:flex;flex:1 1 140px;align-items:center;gap:8px;min-width:0;white-space:nowrap}
body.front.tpl-ddys.dd-category .dd-filter select{flex:1 1 auto;width:0;min-width:0;min-height:34px;margin:0;padding:5px 10px;font-size:13px}
body.front.tpl-ddys.dd-category .dd-filter>details{min-width:0}
body.front.tpl-ddys.dd-category .dd-filter>details[open]{flex-basis:100%}
body.front.tpl-ddys.dd-category .dd-filter summary{min-height:28px;padding:2px 0;font-size:12px}
/* Only real poster-card grids are normalized; editorial modules keep their own layout. */
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid){min-width:0;width:100%;max-width:100%;align-content:start}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-catalog-grid,.nnin-catalog-grid,.dd-container>.dd-grid,.jp-catalog>.jp-grid,.rn-catalog>.rn-grid){
  display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 16px;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid)>:is(.nn24-card,.nnin-card,.dd-card,.jp-card,.rn-card){
  display:block;min-width:0;width:auto;max-width:100%;margin:0;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid)>:is(.nn24-card,.nnin-card,.dd-card,.jp-card,.rn-card)>:is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,.rn-poster){
  display:block;width:100%;max-width:none;height:auto;aspect-ratio:2/3;overflow:hidden;margin:0;
}
html[data-portal-theme] body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid)>:is(.nn24-card,.nnin-card,.dd-card,.jp-card,.rn-card)>:is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,.rn-poster)>img:not([data-poster-fallback="true"]){
  display:block;width:100%;height:100%;object-fit:cover;object-position:center top;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid)>:is(.nn24-card,.nnin-card,.dd-card,.jp-card,.rn-card) :is(h2,h3){
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.9em;margin:8px 0 0;font-size:clamp(14px,1.1vw,17px);line-height:1.45;
  white-space:normal;overflow-wrap:anywhere;text-overflow:clip;
}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid)>:is(.nn24-card,.nnin-card,.dd-card,.jp-card,.rn-card) :is(h2,h3)>a{
  white-space:normal;overflow-wrap:anywhere;text-overflow:clip;
}
@media(max-width:1100px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
    :is(.nn24-catalog-grid,.nnin-catalog-grid,.dd-container>.dd-grid,.jp-catalog>.jp-grid,.rn-catalog>.rn-grid){grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:700px){
  body.front.tpl-ddys.dd-category .dd-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
  body.front.tpl-ddys.dd-category .dd-filters .dd-filter:last-child{grid-column:auto}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
    :is(.nn24-catalog-grid,.nnin-catalog-grid,.dd-container>.dd-grid,.jp-catalog>.jp-grid,.rn-catalog>.rn-grid){grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}
}
@media(max-width:499px){
  body.front.tpl-ddys.dd-category .dd-filters{grid-template-columns:minmax(0,1fr)}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere)
    :is(.nn24-catalog-grid,.nnin-catalog-grid,.dd-container>.dd-grid,.jp-catalog>.jp-grid,.rn-catalog>.rn-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Mobile category filters occupy one closed summary before their native controls. */
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-mobile-filters{display:none}
@media(max-width:700px){
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-desktop-filters,
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) :is(.nn24-filter,.nnin-filter,.nn24-sort,.nnin-sort,.jp-filter-panel,.rn-filter-panel).ref-desktop-filters{display:none}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-mobile-filters{
    display:block;min-width:0;width:100%;margin:12px 0 18px;padding:0;
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-mobile-filters>summary{
    min-height:42px;padding:8px 0;line-height:26px;font-size:14px;font-weight:700;cursor:pointer;
  }
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-mobile-filters:not([open])>.ref-mobile-filter-options{display:none}
  .ref-mobile-filters[open]>.ref-mobile-filter-options{display:grid;gap:0;padding:2px 0 8px}
  .ref-mobile-filter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 10px;min-width:0;padding:5px 0}
  .ref-mobile-filter-row>label{display:grid;grid-template-columns:3.5em minmax(0,1fr);align-items:center;gap:8px;min-width:0;font-size:13px;line-height:1.4}
  .ref-mobile-filter-row>label>span{min-width:0;overflow-wrap:anywhere}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) .ref-mobile-filter-row select{
    display:block;width:100%;min-width:0;max-width:100%;min-height:36px;margin:0;padding:6px 10px;font-size:14px;line-height:1.4;
  }
  .ref-mobile-filter-links{min-width:0}
  .ref-mobile-filter-links>summary{min-height:36px;padding:7px 2px;font-size:12px;line-height:22px;cursor:pointer}
  .ref-mobile-filter-links:not([open])>nav{display:none}
  .ref-mobile-filter-row:has(>.ref-mobile-filter-links[open]){grid-template-columns:minmax(0,1fr)}
  .ref-mobile-filter-links[open]>nav{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 4px;padding:0;min-width:0}
  .ref-mobile-filter-links nav>a{display:inline-flex;align-items:center;max-width:100%;min-height:34px;padding:5px 10px;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
}

/* The category focus repeats the complete catalog below on narrow screens. */
@media(max-width:700px){body.front.tpl-nnyy24.nn24-category .nn24-category-focus{display:none}}


/* Professional reference presentation. The retained legacy section ends above. */
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere){
  --ui-ink:#1f2932;--ui-muted:#5b6670;--ui-panel:#fff;--ui-line:#d4dcdd;
  --ui-field:rgba(255,255,255,.62);--ui-highlight:rgba(45,85,100,.08);--ui-on-accent:#fff;
  --ui-content-width:1280px;--ui-poster-radius:6px;
  --flat-bg:var(--ui-page-a)!important;--flat-text:var(--ui-ink)!important;--flat-muted:var(--ui-muted)!important;
  --flat-accent:var(--ui-accent)!important;--bg:var(--ui-page-a)!important;--surface:var(--ui-panel)!important;
  --text:var(--ui-ink)!important;--muted:var(--ui-muted)!important;--accent:var(--ui-accent)!important;
  --on-accent:var(--ui-on-accent)!important;--line:var(--ui-line)!important;
  --nn-bg:var(--ui-page-a)!important;--nn-soft:var(--ui-panel)!important;--nn-text:var(--ui-ink)!important;
  --nn-muted:var(--ui-muted)!important;--nn-accent:var(--ui-accent)!important;--nn-border:var(--ui-line)!important;
  --ref-text:var(--ui-ink);--ref-muted:var(--ui-muted);--ref-panel:var(--ui-panel);--ref-line:var(--ui-line);--ref-accent:var(--ui-accent);
  margin:0;min-height:100vh;color:var(--ui-ink)!important;
  background:linear-gradient(135deg,var(--ui-page-a),var(--ui-page-b))!important;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:15px;font-weight:400;line-height:1.6;color-scheme:light;
}
body.front.tpl-nnyy24{--ui-page-a:#f3f8f6;--ui-page-b:#e8f1ed;--ui-accent:#2e6c5d;--ui-content-width:1280px}
body.front.tpl-nnyyin{--ui-page-a:#f7f8fc;--ui-page-b:#eef1f7;--ui-accent:#355d98;--ui-content-width:1240px;--ui-poster-radius:8px}
body.front.tpl-ddys{--ui-page-a:#faf7f0;--ui-page-b:#f1ede2;--ui-accent:#795c38;--ui-content-width:1200px;--ui-poster-radius:4px}
body.front.tpl-jinpai{--ui-page-a:#fcf7ee;--ui-page-b:#f4ebdc;--ui-accent:#8c5b1a;--ui-content-width:1248px}
body.front.tpl-openframe{--ui-page-a:#f4f8f7;--ui-page-b:#e8f0ee;--ui-accent:#285e68;--ui-content-width:1120px;--ui-poster-radius:4px}
body.front.tpl-applecinema{--ui-page-a:#f8f9fc;--ui-page-b:#ebf0f7;--ui-accent:#3f6190;--ui-content-width:1180px;--ui-poster-radius:10px}
body.front.tpl-moviedb{--ui-page-a:#f0f6fa;--ui-page-b:#e7eff5;--ui-accent:#24658b;--ui-content-width:1280px;--ui-poster-radius:8px}
body.front.tpl-anywhere{--ui-page-a:#fbf5ee;--ui-page-b:#f1e7da;--ui-accent:#915839;--ui-content-width:1240px;--ui-poster-radius:8px}
html[data-portal-theme=dark] body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere){
  --ui-ink:#edf1f4;--ui-muted:#b7c0c8;--ui-panel:#222c35;--ui-line:#43505a;
  --ui-field:rgba(255,255,255,.035);--ui-highlight:rgba(193,216,229,.1);--ui-on-accent:#15232d;color-scheme:dark;
}
html[data-portal-theme=dark] body.front.tpl-nnyy24{--ui-page-a:#101d1c;--ui-page-b:#172b28;--ui-accent:#8ac4ae}
html[data-portal-theme=dark] body.front.tpl-nnyyin{--ui-page-a:#151b29;--ui-page-b:#202c40;--ui-accent:#9cbce8}
html[data-portal-theme=dark] body.front.tpl-ddys{--ui-page-a:#1d1d1b;--ui-page-b:#292a25;--ui-accent:#d2bd91}
html[data-portal-theme=dark] body.front.tpl-jinpai{--ui-page-a:#1f1d1a;--ui-page-b:#30281e;--ui-accent:#e0bc76}
html[data-portal-theme=dark] body.front.tpl-openframe{--ui-page-a:#121e22;--ui-page-b:#1d3034;--ui-accent:#99c6cb}
html[data-portal-theme=dark] body.front.tpl-applecinema{--ui-page-a:#151a24;--ui-page-b:#242e3e;--ui-accent:#b0c5e1}
html[data-portal-theme=dark] body.front.tpl-moviedb{--ui-page-a:#111e2a;--ui-page-b:#1a3043;--ui-accent:#93c5e1}
html[data-portal-theme=dark] body.front.tpl-anywhere{--ui-page-a:#231c1b;--ui-page-b:#342925;--ui-accent:#deb18e}

/* A quiet masthead: words for navigation, distinct search and utility icons. */
body.front .ref-shell{position:relative;z-index:80;height:auto!important;min-height:68px;overflow:visible!important;border-bottom:1px solid var(--ui-line)!important;background:transparent!important}
body.front .ref-shell .ref-header-row{
  display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:20px!important;
  width:calc(100% - 48px)!important;max-width:var(--ui-content-width)!important;min-height:68px!important;
  margin:0 auto!important;padding:0!important;overflow:visible!important;position:relative;
}
body.front .ref-shell *{box-sizing:border-box}
body.front :is(.rn-brand,.nn24-brand,.nnin-brand,.dd-brand,.jp-brand,.ref-footer-brand)>img,
body.front .ref-footer-brand>a>img{filter:none!important}
body.front .ref-shell .ref-brand{display:flex!important;flex:0 1 auto!important;align-items:center!important;gap:9px!important;min-width:0!important;max-width:300px!important;white-space:nowrap!important;margin:0!important;padding:0!important;text-decoration:none!important}
body.front .ref-shell .ref-brand img{width:32px;height:32px;flex:none;object-fit:contain;filter:none!important;background:transparent!important;padding:0!important}
body.front .ref-shell .ref-brand :is(h1,strong){display:block!important;min-width:0;max-width:100%!important;margin:0!important;font-size:21px!important;line-height:1.3!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal!important;letter-spacing:-.025em}
html[data-portal-theme=dark] body.front .ref-shell .ref-brand img{background:#eef2f5!important;padding:3px!important;border-radius:5px!important}
html[data-portal-theme=dark] body.front .ref-shell .ref-brand :is(h1,strong){background:none!important;color:var(--ui-ink)!important;-webkit-text-fill-color:var(--ui-ink)!important}
body.front .ref-shell .ref-primary-nav{display:flex!important;flex:1 1 auto!important;flex-wrap:nowrap!important;align-items:center;gap:23px!important;min-width:0;width:auto!important;margin:0 auto 0 16px!important;padding:0!important;white-space:nowrap!important;overflow:visible!important;order:0!important}
body.front .ref-shell .ref-primary-nav>a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:0!important;font-size:14px!important;font-weight:500!important;white-space:nowrap;text-decoration:none!important}
body.front .ref-shell .ref-primary-nav>a[aria-current]{color:var(--ui-accent)!important;box-shadow:inset 0 -2px var(--ui-accent)!important}
body.front .ref-shell :is(.ref-channel-menu,.ref-search-menu,.ref-tools){position:relative;display:block!important;flex:none!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important}
body.front .ref-shell .ref-menu-toggle{display:flex!important;align-items:center;justify-content:center;gap:5px;position:relative;list-style:none;min-width:44px;min-height:44px!important;margin:0!important;padding:0 5px!important;line-height:1.4;white-space:nowrap!important;font-size:14px!important;font-weight:500!important;cursor:pointer;border:0!important;border-radius:4px!important;background:transparent!important;color:var(--ui-ink)!important}
body.front .ref-shell .ref-menu-toggle::-webkit-details-marker{display:none}
body.front .ref-shell .ref-channel-menu .ref-menu-toggle>span{font-size:11px;line-height:1}
body.front .ref-shell :is(.ref-search-menu,.ref-tools)>.ref-menu-toggle{font-size:0!important;width:44px;padding:0!important}
body.front .ref-shell :is(.ref-search-menu,.ref-tools)>.ref-menu-toggle>span{display:none}
body.front .ref-shell .ref-search-menu>.ref-menu-toggle::before{content:"";display:block;width:15px;height:15px;border:1.8px solid currentColor!important;border-radius:50%!important;position:absolute;left:12px;top:11px}
body.front .ref-shell .ref-search-menu>.ref-menu-toggle::after{content:"";width:8px;height:2px;background:currentColor;position:absolute;left:25px;top:27px;transform:rotate(45deg);transform-origin:left center}
body.front .ref-shell .ref-tools>.ref-menu-toggle::before{content:"\2026";display:block;font-size:27px;line-height:1;letter-spacing:2px;margin-top:-7px}
body.front .ref-shell .ref-menu-toggle:hover,body.front .ref-shell details[open]>.ref-menu-toggle{color:var(--ui-accent)!important;background:var(--ui-highlight)!important;text-decoration:none!important}
body.front :is(a,button,summary,input,textarea,select):focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:3px!important}
body.front .ref-shell .ref-menu-panel{
  display:none!important;position:absolute!important;inset:auto 0 auto auto!important;top:calc(100% + 8px)!important;z-index:100;
  width:288px!important;max-width:calc(100vw - 32px)!important;max-height:min(68vh,520px)!important;
  overflow-x:hidden!important;overflow-y:auto!important;margin:0!important;padding:10px!important;
  background:var(--ui-panel)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important;border-radius:10px!important;box-shadow:0 12px 36px rgba(12,21,31,.16)!important;
}
body.front .ref-shell details[open]>.ref-menu-panel{display:block!important}
body.front .ref-shell .ref-menu-section{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:3px 0!important}
body.front .ref-shell .ref-menu-section+.ref-menu-section{border-top:1px solid var(--ui-line)!important;margin-top:7px;padding-top:7px!important}
body.front .ref-shell .ref-menu-label{display:block;padding:7px 10px;font-size:12px;font-weight:400!important;color:var(--ui-muted)!important}
body.front .ref-shell .ref-menu-panel a,body.front .ref-shell .ref-tools-panel>button{display:flex!important;align-items:center;justify-content:flex-start!important;width:100%;min-width:0;min-height:44px;padding:9px 10px!important;margin:0!important;font:inherit;font-size:14px!important;font-weight:500!important;line-height:1.5;white-space:normal!important;overflow-wrap:anywhere;border-radius:4px!important;text-decoration:none!important;cursor:pointer}
body.front .ref-shell .ref-menu-panel :is(a,button):hover,body.front .ref-shell .ref-menu-panel [aria-current]{background:var(--ui-highlight)!important;color:var(--ui-accent)!important}
body.front .ref-shell .ref-search-panel{width:360px!important;padding:18px!important}
body.front .ref-shell .ref-search-panel>label{display:block;margin-bottom:12px;font-size:14px;font-weight:500!important}
body.front .ref-shell .ref-search-fields{display:flex;align-items:stretch;gap:8px;min-width:0}
body.front .ref-shell .ref-search-fields input{display:block;flex:1 1 0;width:0;min-width:0!important;min-height:44px!important;margin:0;padding:10px 12px!important;font:inherit;font-size:16px;border:1px solid var(--ui-line)!important;border-radius:5px!important;background:var(--ui-field)!important}
body.front .ref-shell .ref-search-fields>button{flex:none;min-height:44px!important;margin:0;padding:9px 16px!important;border-radius:5px!important;background:var(--ui-accent)!important;color:var(--ui-on-accent)!important;font-weight:500!important}
body.front .ref-shell .ref-tools-panel{width:230px!important}
body.front .ref-shell .ref-tools-panel .language-switcher{display:block!important;width:100%;max-width:none;margin:3px 0!important;position:relative}
body.front .ref-shell .ref-tools-panel .language-switcher-trigger{width:100%;min-height:44px!important;padding:9px 10px!important;justify-content:flex-start!important;border-radius:4px!important}
body.front .ref-shell .ref-tools-panel .language-switcher-menu{position:static!important;inset:auto!important;width:100%;min-width:0;margin:4px 0!important;padding:4px!important;border:0!important;border-radius:4px!important;background:var(--ui-field)!important}

/* Shared reading scale and honest, stable two-line poster titles. */
body.front :is(.nn24-container,.nnin-container,.dd-container,.jp-container,.rn-container){width:calc(100% - 48px)!important;max-width:var(--ui-content-width)!important;margin-right:auto!important;margin-left:auto!important;padding-right:0!important;padding-left:0!important}
body.front main:is(.nn24-container,.nnin-container,.dd-container,.jp-container,.rn-container){padding-top:24px!important;padding-bottom:32px!important}
body.front :is(h1,h2,h3,h4,strong,b){font-weight:700}
body.front main h1{font-size:30px!important;line-height:1.3!important;letter-spacing:-.025em;margin-top:0;margin-bottom:20px}
body.front :is(.nn24-section-head,.nnin-section-head,.jp-section-head,.rn-section-head,.dd-catalog-heading){display:flex;align-items:center;justify-content:space-between;min-height:32px;height:auto!important;gap:12px;margin:0 0 14px!important;padding:0!important;overflow:visible}
body.front :is(.nn24-section-head,.nnin-section-head,.jp-section-head,.rn-section-head,.dd-catalog-heading)>h2{margin:0!important;padding:0!important;font-size:21px!important;line-height:1.35;font-weight:700!important;letter-spacing:-.015em}
body.front :is(.nn24-section-head,.nnin-section-head,.jp-section-head,.rn-section-head,.dd-catalog-heading)>a{font-size:13px;color:var(--ui-muted)!important;min-height:32px;display:inline-flex;align-items:center;white-space:nowrap}
body.front :is(.nn24-section,.nnin-channel,.jp-section,.rn-section){margin-top:28px!important;margin-bottom:32px!important}
body.front :is(.nn24-section-actions,.nnin-topics,.md-segment){display:flex;align-items:center;gap:14px;background:transparent!important;border:0!important;border-radius:0!important}
html[data-portal-theme] body.front :is(.nn24-section-actions,.nnin-topics,.md-segment) :is(a,button){min-width:44px!important;min-height:36px!important;height:auto!important;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:13px!important;font-weight:400!important;color:var(--ui-muted)!important}
body.front :is(.ref-card-title,.dpab-related-grid>article>a>span){
  display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  box-sizing:border-box;min-width:0;max-width:100%;height:48px;min-height:48px!important;max-height:48px;
  margin:0!important;padding:8px 0 0!important;overflow:hidden;white-space:normal!important;
  font-size:14px!important;line-height:20px!important;font-weight:500!important;text-align:center!important;overflow-wrap:anywhere!important;
}
body.front .ref-card-title>a{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;white-space:normal!important;line-height:20px!important;text-align:center!important;text-overflow:clip!important}
body.front :is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,.rn-poster){display:block;overflow:hidden;aspect-ratio:2/3;border-radius:var(--ui-poster-radius)!important}
body.front :is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,.rn-poster)>img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top}
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere) img{-webkit-mask-image:none!important;mask-image:none!important;-webkit-mask:none!important;mask:none!important}
body.front :is(.rn-feature-image,.rn-detail-poster,.nn24-detail-poster img,.nnin-detail-poster img,.dd-detail-poster,.jp-detail-poster){border-radius:var(--ui-poster-radius)!important;box-shadow:none!important;transform:none!important}
body.front :is(.dd-card-copy,.jp-card-copy,.rn-card-copy){padding:0!important}
body.front :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid,.rn-shelf){row-gap:20px!important;column-gap:16px!important}
body.front .ref-poster-focus{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;min-width:0;min-height:0!important;height:auto!important}
body.front .ref-poster-focus>a:has(img){display:block!important;order:0;width:100%;min-width:0;aspect-ratio:2/3;grid-area:auto!important;overflow:hidden;border-radius:var(--ui-poster-radius)!important}
body.front .ref-poster-focus>:is(.ref-card-title,.ac-product-copy,div:has(.ref-card-title)){order:1;width:100%;max-width:100%}
body.front .ref-poster-focus img{display:block;width:100%!important;height:auto!important;aspect-ratio:2/3;object-fit:cover!important;object-position:center top;border-radius:var(--ui-poster-radius)!important}
body.front :is(.ref-poster-focus,.ref-poster-focus img){filter:none!important}
body.front .ma-ranking>li::before{display:none!important;content:none!important}

/* NNYY24: compact annual shelves and a quiet right-hand title index. */
body.front.tpl-nnyy24.nn24-home main>section:first-child .nn24-section-head{margin-bottom:12px!important}
body.front.tpl-nnyy24.nn24-home main>section:first-child h2{font-size:28px!important}
body.front.tpl-nnyy24 .nn24-section{grid-template-columns:minmax(0,1fr) 224px!important;gap:28px!important}
body.front.tpl-nnyy24.nn24-home .nn24-section{margin-top:18px!important}
body.front.tpl-nnyy24.nn24-home .nn24-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.front :is(.nn24-rank,.nnin-rank){padding:0!important;margin-top:0!important}
body.front :is(.nn24-rank,.nnin-rank)>h2{margin:0 0 12px!important;font-size:14px!important;font-weight:500!important;color:var(--ui-muted)!important}
body.front :is(.nn24-rank,.nnin-rank) li{height:auto!important;min-height:35px!important;line-height:26px!important;padding:4px 0!important;gap:10px}
body.front :is(.nn24-rank,.nnin-rank) li a{height:auto!important;min-height:0!important;padding:0!important;line-height:26px!important;font-size:13px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.front :is(.nn24-rank,.nnin-rank) li::before{height:auto;line-height:26px!important;font-size:12px!important;font-weight:400!important;color:var(--ui-muted)!important}
body.front .nn24-rank :is(em,small,.status,[class*="-status"],[data-moviecms-status]){display:none!important}
body.front .ref-title-index-extra{margin:4px 0 0;padding:0;border:0!important;background:transparent!important}
body.front .ref-title-index-extra>summary{display:list-item;list-style:disclosure-closed inside;min-height:35px;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;line-height:26px;font-size:13px;font-weight:400;color:var(--ui-muted)!important;cursor:pointer}
body.front .ref-title-index-extra[open]>summary{list-style-type:disclosure-open}
body.front .ref-title-index-extra>ol{margin:0!important;padding:0!important;list-style:none;counter-reset:nnrank 8}

/* NNYYIN: broad five-column content, a right rail and a native section menu. */
body.front.tpl-nnyyin .nnin-panel{padding:0!important;margin-top:0!important}
body.front.tpl-nnyyin.nnin-home main>.nnin-panel{margin:0 0 16px!important}
body.front.tpl-nnyyin.nnin-home main>.nnin-panel h2{font-size:28px!important}
body.front.tpl-nnyyin .nnin-home-top,body.front.tpl-nnyyin .nnin-channel{display:grid!important;grid-template-columns:minmax(0,1fr) 220px!important;gap:32px!important;align-items:start}
body.front.tpl-nnyyin .nnin-home-top>.nnin-showing{grid-column:1!important;grid-row:1!important;order:0;width:100%;min-width:0;overflow:visible}
body.front.tpl-nnyyin .nnin-home-top>.nnin-rank{grid-column:2!important;grid-row:1!important;order:1}
body.front.tpl-nnyyin.nnin-home .nnin-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.front .ref-section-menu{position:relative;flex:none;margin-left:auto;z-index:3}
body.front .ref-section-menu>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 2px;list-style:none;font-size:13px;font-weight:500;cursor:pointer;color:var(--ui-muted)!important}
body.front .ref-section-menu>summary::-webkit-details-marker{display:none}
body.front .ref-section-menu .nnin-tabs{display:none!important;position:absolute;right:0;top:calc(100% + 6px);width:250px!important;max-width:calc(100vw - 32px)!important;max-height:360px;overflow:auto!important;white-space:normal!important;margin:0!important;padding:8px!important;gap:0!important;grid-template-columns:minmax(0,1fr);background:var(--ui-panel)!important;border:1px solid var(--ui-line)!important;border-radius:8px!important;box-shadow:0 10px 28px rgba(10,20,32,.14)!important}
body.front .ref-section-menu[open] .nnin-tabs{display:grid!important}
body.front .ref-section-menu .nnin-tabs button{display:block;width:100%;min-height:44px!important;margin:0!important;padding:9px 12px!important;border:0!important;border-radius:4px!important;background:transparent!important;white-space:normal!important;text-align:left;font-size:14px;font-weight:400!important}
body.front .ref-section-menu .nnin-tabs button[aria-selected=true]{background:var(--ui-highlight)!important;color:var(--ui-accent)!important;font-weight:500!important}

/* DDYS: a five-column printed catalogue; its native filter is a toolbar. */
body.front.tpl-ddys.dd-home main{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px}
body.front.tpl-ddys.dd-home main>section[aria-label="本站片库"]{grid-column:1;grid-row:1;align-self:center}
body.front.tpl-ddys.dd-home main>section[aria-label="本站片库"] .dd-catalog-heading{margin:0!important}
body.front.tpl-ddys.dd-home main>section[aria-label="本站片库"] h2{font-size:28px!important}
body.front.tpl-ddys.dd-home main>.dd-filters{grid-column:2;grid-row:1;display:flex!important;align-items:center;gap:12px;margin:0!important;padding:0!important}
body.front.tpl-ddys.dd-home main>:not(:first-child):not(.dd-filters){grid-column:1/-1}
body.front.tpl-ddys .dd-catalog-heading{margin-top:20px!important;margin-bottom:12px!important}
body.front.tpl-ddys .dd-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:22px!important}
body.front.tpl-ddys :is(main h1,.dd-catalog-heading h2){font-family:"Songti SC","SimSun",Georgia,serif;letter-spacing:.01em}
body.front.tpl-ddys .dd-filter{display:flex;align-items:center;gap:12px;min-width:0}
body.front.tpl-ddys .dd-filter>label{display:flex!important;align-items:center;gap:10px;min-width:0;font-size:13px;font-weight:400}
body.front.tpl-ddys .dd-filter select{width:200px!important;min-width:0;min-height:40px!important;height:40px;margin:0!important;padding:7px 30px 7px 10px!important;background:var(--ui-field)!important;border:1px solid var(--ui-line)!important;border-radius:4px!important;font:inherit;font-size:14px;font-weight:400}
body.front.tpl-ddys .dd-filter>details{position:relative;margin:0!important;flex:none}
body.front.tpl-ddys .dd-filter summary{display:flex;align-items:center;min-height:44px!important;font-size:12px;color:var(--ui-muted)!important;cursor:pointer}
body.front.tpl-ddys .dd-filter nav{position:absolute!important;right:0;left:auto;top:100%;width:250px;max-width:calc(100vw - 32px);max-height:300px;margin:4px 0 0;padding:8px!important;overflow:auto;background:var(--ui-panel)!important;border:1px solid var(--ui-line)!important;border-radius:8px!important;box-shadow:0 10px 24px rgba(10,20,30,.12)!important}
body.front.tpl-ddys .dd-filter nav a{min-height:40px;padding:8px 10px!important;border-radius:4px!important;font-size:14px}

/* Jinpai: compact cinema shelves, without presentation panels. */
body.front.tpl-jinpai .jp-intro .jp-section-head{margin-bottom:16px!important}
body.front.tpl-jinpai .jp-intro h2{font-size:28px!important}
body.front.tpl-jinpai .jp-section{margin-top:20px!important}
body.front.tpl-jinpai .jp-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.front.tpl-jinpai .jp-section-head nav{display:flex;flex:none;gap:14px;flex-wrap:nowrap!important;font-size:13px;line-height:1.5;white-space:nowrap;justify-content:flex-end}
body.front.tpl-jinpai.jp-home .jp-section-head:has(>nav){flex-wrap:nowrap!important}
body.front.tpl-jinpai .jp-section-head nav a{display:inline-flex;align-items:center;min-height:32px;background:transparent!important;padding:0!important;border-radius:0!important}
body.front.tpl-jinpai :is(.jp-intro h2,.jp-section-head h2){letter-spacing:.025em}

/* Openframe: two lead covers and two smaller companions share a title baseline. */
body.front.tpl-openframe.rn-home .of-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 20px!important;padding:0!important;text-align:left}
body.front.tpl-openframe.rn-home .of-welcome h1{margin:0!important;font-size:32px!important}
body.front.tpl-openframe.rn-home .of-editorial{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end;gap:24px!important;margin-top:0!important}
body.front.tpl-openframe.rn-home .of-stories{display:grid!important;grid-column:span 3;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important;align-items:end;align-self:end;margin:0!important;padding:0}
body.front.tpl-openframe.rn-home .of-editorial .ref-poster-focus{margin:0!important;width:100%}
body.front.tpl-openframe.rn-home .of-editorial .ref-poster-focus>a:has(img){max-width:250px}
body.front.tpl-openframe.rn-home .of-stories .ref-poster-focus>a:has(img){max-width:235px}
body.front.tpl-openframe.rn-home .of-stories .ref-poster-focus:first-child>a:has(img){max-width:250px}
body.front.tpl-openframe.rn-home .of-feature img{max-height:none!important}
body.front.tpl-openframe.rn-home .rn-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important}

/* Applecinema: two large covers followed by four small covers, no dark tiles. */
body.front.tpl-applecinema.rn-home .ac-intro{padding:22px 0 18px!important;text-align:center}
body.front.tpl-applecinema.rn-home .ac-intro h1{font-size:26px!important;margin:0!important}
body.front.tpl-applecinema.rn-home :is(.ac-showcase,.ac-tiles){display:grid!important;width:calc(100% - 48px);max-width:var(--ui-content-width);margin:0 auto 28px!important;gap:28px!important;align-items:start}
body.front.tpl-applecinema.rn-home .ac-showcase{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:820px}
body.front.tpl-applecinema.rn-home .ac-tiles{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.front.tpl-applecinema.rn-home :is(.ac-product,.ac-tile).ref-poster-focus{height:auto!important;min-height:0!important;padding:0!important;overflow:visible;background:transparent!important;color:var(--ui-ink)!important;--flat-text:var(--ui-ink)!important}
body.front.tpl-applecinema.rn-home :is(.ac-art,.ac-product-copy){padding:0!important;margin:0}
body.front.tpl-applecinema.rn-home .ac-product .ac-art{max-width:260px!important}
body.front.tpl-applecinema.rn-home .ac-tile>a:has(img){max-width:210px}
body.front.tpl-applecinema.rn-home .ref-poster-focus img{max-width:100%!important;max-height:none!important;transform:none!important;box-shadow:none!important}
body.front.tpl-applecinema.rn-home .rn-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important}

/* Moviedb: search-led discovery and a level five-cover gallery. */
body.front.tpl-moviedb.rn-home .md-discover{padding:24px 0 0!important}
body.front.tpl-moviedb.rn-home .md-discover-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}
body.front.tpl-moviedb.rn-home .md-discover-heading h1{font-size:28px!important;margin:0!important;white-space:normal;line-height:1.3}
body.front.tpl-moviedb.rn-home .rn-discover-search{position:relative;display:flex!important;width:340px;max-width:50%;gap:0;align-items:center;border-bottom:1px solid var(--ui-line)!important;background:transparent!important}
body.front.tpl-moviedb.rn-home .rn-discover-search input{width:100%!important;min-width:0!important;min-height:44px;padding:10px 60px 10px 0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:14px}
html[data-portal-theme] body.front.tpl-moviedb.rn-home .md-discover-heading form.rn-discover-search>button{position:absolute;right:0;top:0;min-height:44px;height:44px;padding:0 4px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--ui-accent)!important;font-weight:500}
html[data-portal-theme] body.front.tpl-moviedb.rn-home .md-discover-heading form.rn-discover-search>button:is(:hover,:focus-visible){background:transparent!important;color:var(--ui-accent)!important;text-decoration:underline;text-underline-offset:4px}
body.front.tpl-moviedb.rn-home .md-magazine{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;height:auto!important;gap:20px}
body.front.tpl-moviedb.rn-home .md-magazine>.md-magazine-item{grid-column:auto!important;grid-row:auto!important;position:static!important;overflow:visible;background:transparent!important}
body.front.tpl-moviedb.rn-home .md-magazine-item::after{display:none!important;content:none!important}
body.front.tpl-moviedb.rn-home .md-magazine-caption{position:static!important;inset:auto!important;display:block;width:100%;text-align:center}
body.front.tpl-moviedb.rn-home .md-magazine-caption .ref-card-title{color:var(--ui-ink)!important}

/* Anywhere: upright cover exhibition; mobile uses a deliberate three-plus-two. */
body.front.tpl-anywhere.rn-home .ma-cinema{display:flex;flex-direction:column;gap:0;overflow:visible;background:transparent!important}
body.front.tpl-anywhere.rn-home .ma-caption{order:-1;margin:0 0 22px!important;padding:0!important;text-align:center}
body.front.tpl-anywhere.rn-home .ma-caption h1{font-size:30px!important;margin:0!important;justify-content:center}
body.front.tpl-anywhere.rn-home .ma-collage{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:22px!important;align-items:start;justify-content:center;width:100%;max-width:1120px;margin:0 auto!important;padding:0!important;min-height:0!important;height:auto!important;overflow:visible}
body.front.tpl-anywhere.rn-home .ma-collage>a:nth-child(n){display:flex!important;flex-direction:column;align-items:center;transform:none!important;flex:none!important;width:100%;max-width:none;min-width:0;overflow:visible!important;margin:0!important;box-shadow:none!important;grid-column:auto;grid-row:auto}
body.front.tpl-anywhere.rn-home .ma-collage img{display:block;max-height:none!important;transform:none!important;width:100%!important;height:auto!important;aspect-ratio:2/3;object-fit:cover!important;border-radius:var(--ui-poster-radius)!important}

/* Filters are text tools. Only selected options carry a quiet mark. */
html[data-portal-theme] body.front[class] :is(button,input,select,.rn-cta,.rn-watch,.jp-watch,.dd-button,.ref-action,.rn-tabs a,.nn24-pager a,.nnin-pager a,.dd-pager a,.jp-pager a,.rn-pager a){border-radius:5px!important}
body.front[class] :is(.nn24-pager,.nnin-pager,.dd-pager,.jp-pager,.rn-pager) a{background:transparent!important;border:1px solid var(--ui-line)!important;color:var(--ui-ink)!important;font-size:14px;font-weight:500}
body.front :is(.nn24-filter,.nnin-filter,.jp-filter-panel,.rn-category .rn-filter-panel){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 24px;margin:16px 0 18px!important;padding:0!important;border:0!important;border-radius:0!important}
body.front :is(.nn24-filter,.nnin-filter,.jp-filter-panel,.rn-category .rn-filter-panel)>div:nth-child(-n+3){grid-column:1/-1}
body.front :is(.nn24-filter-row,.nnin-filter-row,.jp-filter-panel>div,.rn-category .rn-filter-panel>div){display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:start;gap:8px!important;margin:0!important;padding:0!important;min-height:28px}
body.front :is(.nn24-filter-row,.nnin-filter-row,.jp-filter-panel>div,.rn-category .rn-filter-panel>div)>strong{font-size:12px!important;font-weight:500!important;line-height:28px!important;min-width:0;margin:0;padding:0!important}
body.front :is(.nn24-filter-row,.nnin-filter-row)>div,body.front :is(.jp-filter-panel,.rn-category .rn-filter-panel)>div>nav{display:flex!important;flex-wrap:wrap;align-items:center;gap:2px 5px!important;min-width:0;max-width:100%;margin:0;padding:0!important;grid-column:2;grid-row:1}
body.front :is(.nn24-filter-row,.nnin-filter-row,.jp-filter-panel,.rn-category .rn-filter-panel,.nn24-sort,.nnin-sort) a{display:inline-flex;align-items:center;justify-content:center;min-width:0!important;min-height:28px!important;height:auto!important;margin:0!important;padding:3px 8px!important;border:0!important;border-radius:3px!important;background:transparent!important;line-height:1.5;font-size:13px!important;font-weight:400!important;white-space:normal!important;overflow-wrap:anywhere}
body.front :is(.nn24-filter-row,.nnin-filter-row,.jp-filter-panel,.rn-category .rn-filter-panel,.nn24-sort,.nnin-sort) :is(a[aria-current],a.active){background:transparent!important;color:var(--ui-accent)!important;font-weight:500!important;box-shadow:inset 0 -2px var(--ui-accent)!important}
body.front :is(.nn24-sort,.nnin-sort){display:flex;gap:5px;align-items:center;margin:0 0 18px!important;padding:0!important}
body.front .ref-filter-toolbox{display:block!important;margin:14px 0 20px!important;padding:0!important;border:0!important;background:transparent!important}
body.front .ref-filter-toolbox :is(.ref-basic-filters,.ref-extra-filter-options){display:grid;gap:4px;min-width:0}
body.front .ref-filter-toolbox .ref-filter-row{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:8px;margin:0;padding:0;min-height:28px}
body.front .ref-filter-toolbox .ref-filter-label{font-size:12px;font-weight:500;line-height:28px;min-width:0;margin:0;padding:0}
body.front .ref-filter-toolbox .ref-filter-options{display:flex;flex-wrap:wrap;align-items:center;gap:2px 5px;min-width:0;max-width:100%;margin:0;padding:0}
body.front .ref-filter-toolbox :is(.ref-filter-row,.ref-sort-options) a{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:3px 8px!important;border:0!important;border-radius:3px!important;background:transparent!important;font-size:13px;font-weight:400;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
body.front .ref-filter-toolbox :is(.ref-filter-row,.ref-sort-options) a[aria-current]{color:var(--ui-accent)!important;background:transparent!important;box-shadow:inset 0 -2px var(--ui-accent)!important;font-weight:500!important}
body.front .ref-filter-toolbox .ref-extra-filters{margin:4px 0;padding:0}
body.front .ref-filter-toolbox .ref-extra-filters>summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:36px;padding:4px 0!important;list-style:none;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px;font-weight:500;color:var(--ui-muted)!important;cursor:pointer}
body.front .ref-filter-toolbox .ref-extra-filters>summary::-webkit-details-marker{display:none}
body.front .ref-filter-toolbox .ref-extra-filters>summary::after{content:"+";font-size:18px;line-height:1}
body.front .ref-filter-toolbox .ref-extra-filters[open]>summary::after{content:"\2212"}
body.front .ref-filter-toolbox .ref-extra-filters:not([open])>:not(summary){display:none!important}
body.front .ref-filter-toolbox .ref-extra-filters[open]{padding-bottom:4px}
body.front .ref-filter-toolbox .ref-extra-selected{font-size:12px;font-weight:500;color:var(--ui-accent)!important}
body.front .ref-filter-toolbox .ref-extra-selection{min-width:0;font-size:12px;font-weight:400;color:var(--ui-muted)!important;white-space:normal;overflow-wrap:anywhere}
body.front .ref-filter-toolbox .ref-sort-options{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:4px}
body.front .ref-filter-toolbox .ref-sort-options>:is(span,strong){flex:0 0 48px}
body.front :is(.nn24-episodes,.nnin-episodes,.dd-episodes,.jp-episodes,.rn-episodes,.dpab-episodes) a{display:inline-flex;align-items:center;justify-content:center;min-height:40px!important;min-width:44px;padding:8px 12px!important;border:1px solid var(--ui-line)!important;border-radius:4px!important;background:var(--ui-field)!important;font-size:14px!important;font-weight:400!important;line-height:1.4}
body.front :is(.nn24-episodes,.nnin-episodes,.dd-episodes,.jp-episodes,.rn-episodes,.dpab-episodes) a[aria-current]{background:var(--ui-accent)!important;color:var(--ui-on-accent)!important;border-color:var(--ui-accent)!important;font-weight:500!important}
body.front :is(.nn24-line,.nnin-line,.dd-line,.jp-line,.rn-line,.dpab-line)>summary{min-height:44px!important;padding:10px 0!important;border-radius:0!important;background:transparent!important;font-size:14px;font-weight:500;cursor:pointer}
body.front :is(.nn24-episode-group,.nnin-episode-group,.dd-episode-group,.jp-episode-group,.rn-episode-group,.dpab-episode-group)>summary{border-radius:4px!important;min-height:44px;padding:8px 10px!important;background:var(--ui-highlight)!important}
body.front :is(.nn24-story,.nnin-story-content,.dd-story,.jp-story,.of-film-story,.ac-film-summary,.md-film-story,.ma-film-summary,.dpab-story) p{font-size:16px;line-height:1.7}
body.front.tpl-moviedb .md-viewer-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px 28px;align-items:start}
body.front.tpl-moviedb .md-viewer-main{grid-column:1;grid-row:1;min-width:0}
body.front.tpl-moviedb .md-viewer-side{grid-column:2;grid-row:1/span 2;min-width:0;align-self:start}
body.front.tpl-moviedb .md-viewer-layout>.md-viewer-story{grid-column:1;grid-row:2;min-width:0;margin:0}
body.front .ref-footer-compact{margin-top:28px;padding:24px 0!important;border-top:1px solid var(--ui-line)!important;font-size:12px;color:var(--ui-muted)!important}

@media(max-width:1100px){
  body.front .ref-shell .ref-primary-nav{display:none!important}
  body.front .ref-shell .ref-brand{flex:1 1 auto!important;max-width:100%!important;margin-right:auto!important}
  body.front.tpl-nnyy24 .nn24-section{grid-template-columns:minmax(0,1fr) 195px!important;gap:22px!important}
  body.front.tpl-nnyyin :is(.nnin-home-top,.nnin-channel){grid-template-columns:minmax(0,1fr) 190px!important;gap:24px!important}
  body.front.tpl-nnyyin.nnin-home .nnin-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.front.tpl-ddys .dd-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.front.tpl-jinpai .jp-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.front.tpl-jinpai.jp-home .jp-section-head nav{display:none!important}
}
@media(max-width:700px){
  body.front .ref-shell{min-height:62px}
  body.front .ref-shell .ref-header-row{width:calc(100% - 28px)!important;min-height:62px!important;gap:4px!important}
  body.front .ref-shell .ref-brand{flex:1 1 0!important;gap:8px!important;min-width:0!important;max-width:none!important}
  body.front .ref-shell .ref-brand img{width:28px;height:28px}
  body.front .ref-shell .ref-brand :is(h1,strong){font-size:18px!important;max-width:100%!important}
  body.front .ref-shell .ref-channel-menu>.ref-menu-toggle{font-size:0!important;width:44px;padding:0!important}
  body.front .ref-shell .ref-channel-menu>.ref-menu-toggle>span{display:none}
  body.front .ref-shell .ref-channel-menu>.ref-menu-toggle::before{content:"";width:18px;height:12px;border-top:1.8px solid currentColor!important;border-bottom:1.8px solid currentColor!important}
  body.front .ref-shell .ref-channel-menu>.ref-menu-toggle::after{content:"";position:absolute;left:13px;top:21px;width:18px;height:1.8px;background:currentColor}
  body.front .ref-shell .ref-menu-panel{position:fixed!important;inset:70px 12px auto 12px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 86px)!important}
  body.front .ref-shell .ref-menu-section{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:6px}
  body.front .ref-shell .ref-menu-label{grid-column:1/-1}
  body.front :is(.nn24-container,.nnin-container,.dd-container,.jp-container,.rn-container){width:calc(100% - 32px)!important}
  body.front main:is(.nn24-container,.nnin-container,.dd-container,.jp-container,.rn-container){padding-top:18px!important;padding-bottom:24px!important}
  body.front main h1{font-size:25px!important;margin-bottom:16px}
  body.front :is(.nn24-section-head,.nnin-section-head,.jp-section-head,.rn-section-head,.dd-catalog-heading)>h2{font-size:19px!important}
  body.front :is(.nn24-section,.nnin-channel,.jp-section,.rn-section){margin-top:22px!important;margin-bottom:26px!important}
  body.front :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid,.rn-shelf){row-gap:18px!important;column-gap:10px!important}
  body.front .ref-card-title{font-size:14px!important;line-height:20px!important}
  html[data-portal-theme] body.front :is(.nn24-section-actions,.nnin-topics,.md-segment) :is(a,button){min-height:44px!important}
  body.front.tpl-nnyy24 .nn24-section{display:block!important}
  body.front.tpl-nnyy24.nn24-home .nn24-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.front.tpl-nnyy24.nn24-home main>section:first-child h2{font-size:24px!important}
  body.front.tpl-nnyyin :is(.nnin-home-top,.nnin-channel){display:block!important}
  body.front.tpl-nnyyin.nnin-home main>.nnin-panel{margin-bottom:12px!important}
  body.front.tpl-nnyyin.nnin-home main>.nnin-panel h2{font-size:24px!important}
  body.front.tpl-nnyyin.nnin-home .nnin-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.front:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-rank,.nnin-rank){display:none!important}
  body.front .ref-section-menu .nnin-tabs{max-width:calc(100vw - 32px)!important}
  body.front.tpl-ddys.dd-home main{display:block}
  body.front.tpl-ddys.dd-home main>section[aria-label="本站片库"]{margin-bottom:8px}
  body.front.tpl-ddys.dd-home main>section[aria-label="本站片库"] h2{font-size:24px!important}
  body.front.tpl-ddys.dd-home main>.dd-filters{margin:0 0 12px!important}
  body.front.tpl-ddys .dd-filter{flex-wrap:wrap;gap:6px 10px}
  body.front.tpl-ddys .dd-filter select{width:190px!important;min-height:44px!important;height:44px}
  body.front.tpl-ddys .dd-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}
  body.front.tpl-jinpai .jp-intro h2{font-size:24px!important}
  body.front.tpl-jinpai .jp-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.front.tpl-openframe.rn-home .of-welcome{align-items:flex-start;margin-bottom:16px!important;gap:12px}
  body.front.tpl-openframe.rn-home .of-welcome h1{font-size:25px!important}
  body.front.tpl-openframe.rn-home .of-editorial{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}
  body.front.tpl-openframe.rn-home .of-stories{display:contents!important}
  body.front.tpl-openframe.rn-home .of-editorial .ref-poster-focus>a:has(img){max-width:none}
  body.front.tpl-openframe.rn-home .rn-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px 10px!important}
  body.front.tpl-applecinema.rn-home .ac-intro{padding:18px 0 16px!important}
  body.front.tpl-applecinema.rn-home .ac-intro h1{font-size:24px!important}
  body.front.tpl-applecinema.rn-home :is(.ac-showcase,.ac-tiles){width:calc(100% - 32px);gap:18px 12px!important;margin-bottom:24px!important}
  body.front.tpl-applecinema.rn-home .ac-tiles,body.front.tpl-applecinema.rn-home .rn-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.front.tpl-moviedb.rn-home .md-discover{padding:18px 0 0!important}
  body.front.tpl-moviedb.rn-home .md-discover-heading{gap:16px;margin-bottom:14px}
  body.front.tpl-moviedb.rn-home .md-discover-heading h1{font-size:24px!important}
  body.front.tpl-moviedb.rn-home .rn-discover-search{width:180px;max-width:50%}
  body.front.tpl-moviedb.rn-home .md-magazine{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px 10px}
  body.front.tpl-anywhere.rn-home .ma-caption{margin-bottom:18px!important}
  body.front.tpl-anywhere.rn-home .ma-caption h1{font-size:24px!important}
  body.front.tpl-anywhere.rn-home .ma-collage{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px 10px!important}
  body.front.tpl-anywhere.rn-home .ma-collage>a:nth-child(n){grid-column:span 2;grid-row:auto;display:flex!important}
  body.front.tpl-anywhere.rn-home .ma-collage>a:nth-child(4){grid-column:2/span 2}
  body.front.tpl-anywhere.rn-home .ma-collage>a:nth-child(5){grid-column:4/span 2}
  body.front :is(.ref-desktop-filters,.nn24-filter.ref-desktop-filters,.nnin-filter.ref-desktop-filters,.jp-filter-panel.ref-desktop-filters,.rn-filter-panel.ref-desktop-filters){display:none!important}
  body.front .ref-filter-toolbox.ref-desktop-filters{display:none!important}
  body.front .ref-mobile-filters{display:block!important;margin:0 0 16px!important;padding:0!important}
  body.front .ref-mobile-filters>summary{display:flex;align-items:center;min-height:44px!important;padding:8px 0!important;font-size:14px!important;font-weight:500!important;border-radius:0!important;cursor:pointer}
  body.front .ref-mobile-filter-row{padding:6px 0;gap:8px}
  body.front .ref-mobile-filter-row select,body.front .ref-mobile-filter-links>summary{min-height:44px!important;border-radius:4px!important}
  body.front .ref-mobile-filter-row select{padding:8px 10px!important;border:1px solid var(--ui-line)!important;background:var(--ui-field)!important;font-size:16px}
  body.front .ref-mobile-filter-links nav>a{min-height:44px!important;padding:8px 10px!important;border-radius:3px!important;background:transparent!important}
  body.front :is(.nn24-episodes,.nnin-episodes,.dd-episodes,.jp-episodes,.rn-episodes,.dpab-episodes) a{min-height:44px!important}
  body.front :is(.rn-watch,.jp-watch,.dd-button,.ref-action,.player-toolbar button,form button){min-height:44px!important}
  body.front.tpl-moviedb .md-viewer-layout{display:flex!important;flex-direction:column;gap:20px}
  body.front.tpl-moviedb .md-viewer-main{display:contents}
  body.front.tpl-moviedb .md-viewer-main>.rn-player-frame{order:0;width:100%;margin-top:0}
  body.front.tpl-moviedb .md-viewer-side{order:1;width:100%}
  body.front.tpl-moviedb .md-viewer-navigation{order:2;width:100%}
  body.front.tpl-moviedb .md-viewer-story{order:3;width:100%}
}
@media(max-width:359px){
  body.front .ref-shell .ref-header-row{width:calc(100% - 24px)!important;gap:1px!important}
  body.front .ref-shell .ref-brand :is(h1,strong){font-size:17px!important}
  body.front.tpl-openframe.rn-home .of-welcome{display:block}
  body.front.tpl-moviedb.rn-home .rn-discover-search{width:150px;max-width:49%}
}
@media(prefers-reduced-motion:reduce){body.front :is(.ref-shell,.ref-section-menu) *{transition:none!important}}

/* Keep playback and episode controls on one visual surface. */
body.front :is(.nn24-player-layout,.nnin-player-layout,.dpab-b-grid){
  align-items:start;
}
body.front :is(.nn24-player-layout,.nnin-player-layout,.nn24-player-side,.nnin-player-side,
  .dpab-stage-queue,.dpab-b-queue){
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
body.front :is(.dpab-stage-queue,.dpab-b-queue){
  padding:0;
}
body.front:is(.nn24-player,.nnin-player,.dd-player,.jp-player,.rn-player,.dpab-stage,.dpab-episodes-first)
  :is(.nn24-line,.nnin-line,.dd-line,.jp-line,.rn-line,.dpab-line){
  border:0;
  border-radius:0;
  padding-inline:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
body.front :is(.nn24-line,.nnin-line,.dd-line,.jp-line,.rn-line,.dpab-line)>summary,
body.front :is(.nn24-line,.nnin-line,.dpab-line) > :is(.nn24-episodes,.nnin-episodes,.dpab-episodes),
body.front .dpab-b-context{
  border:0;
}
body.front:is(.nn24-player,.nnin-player,.dd-player,.jp-player,.rn-player,.dpab-stage,.dpab-episodes-first)
  :is(.nn24-episode-group,.nnin-episode-group,.dd-episode-group,.jp-episode-group,.rn-episode-group,.dpab-episode-group)>summary{
  padding-inline:0!important;
  background:transparent!important;
}
body.front:is(.nn24-player,.nnin-player,.dd-player,.jp-player,.rn-player,.dpab-stage,.dpab-episodes-first)
  :is(.nn24-episodes,.nnin-episodes,.dd-episodes,.jp-episodes,.rn-episodes,.dpab-episodes) a{
  border:0!important;
}
body.front:is(.nn24-player,.nnin-player,.dd-player,.jp-player,.rn-player,.dpab-stage,.dpab-episodes-first)
  :is(.nn24-episodes,.nnin-episodes,.dd-episodes,.jp-episodes,.rn-episodes,.dpab-episodes) a:not([aria-current]):is(:hover,:focus-visible){
  color:var(--ui-ink)!important;
  background:var(--ui-highlight)!important;
}
body.front :is(.dpab-stage-queue,.dpab-b-queue) .dpab-episode-group>div{
  grid-template-columns:repeat(auto-fill,minmax(min(100%,82px),1fr));
}
body.front.dpab .dpab-screen{
  box-shadow:none;
}
body.front.dpab:not(.projection-mode) .dpab-screen .player-toolbar{
  border:0;
  border-radius:0;
  background:transparent;
}

/* A twelve-title shelf fills four desktop or three phone columns. If a
   narrowly filtered shelf has fewer titles, use only the tracks it has. */
body.front.tpl-nnyyin.nnin-home .nnin-grid:has(> article:only-child){
  grid-template-columns:minmax(0, min(100%, 250px))!important;
}
body.front.tpl-nnyyin.nnin-home .nnin-grid:has(> article:nth-child(2):last-child){
  grid-template-columns:repeat(2,minmax(0,min(47%,250px)))!important;
}
body.front.tpl-nnyyin.nnin-home .nnin-grid:has(> article:nth-child(3):last-child){
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

/* Reference collections and channels follow the palette and scale of their skin. */
body.front:is(.tpl-nnyy24,.tpl-nnyyin,.tpl-ddys,.tpl-jinpai,.tpl-openframe,.tpl-applecinema,.tpl-moviedb,.tpl-anywhere){
  font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei","Segoe UI",system-ui,Arial,sans-serif;
  --ref-app-fill:linear-gradient(115deg,#963653,#79501b 48%,#236268);
}
body.front.tpl-nnyy24{--ref-title-a:#15534b;--ref-title-b:#327052;--ref-title-max:30px;--ref-section-size:22px}
body.front.tpl-nnyyin{--ref-title-a:#254a80;--ref-title-b:#5a4081;--ref-title-max:29px;--ref-section-size:22px}
body.front.tpl-ddys{--ref-title-a:#4b3927;--ref-title-b:#85522d;--ref-title-max:30px;--ref-section-size:23px}
body.front.tpl-jinpai{--ref-title-a:#75421f;--ref-title-b:#866016;--ref-title-max:31px;--ref-section-size:23px}
body.front.tpl-openframe{--ref-title-a:#26495b;--ref-title-b:#216c64;--ref-title-max:28px;--ref-section-size:21px}
body.front.tpl-applecinema{--ref-title-a:#2f4669;--ref-title-b:#4d5d93;--ref-title-max:33px;--ref-section-size:22px}
body.front.tpl-moviedb{--ref-title-a:#173f63;--ref-title-b:#216e76;--ref-title-max:33px;--ref-section-size:23px}
body.front.tpl-anywhere{--ref-title-a:#773f32;--ref-title-b:#874961;--ref-title-max:31px;--ref-section-size:22px}
html[data-portal-theme=dark] body.front{
  --ref-app-fill:linear-gradient(115deg,#f2aaba,#efc780 48%,#83d4cd);
}
html[data-portal-theme=dark] body.front.tpl-nnyy24{--ref-title-a:#a3e2cc;--ref-title-b:#cee2a6}
html[data-portal-theme=dark] body.front.tpl-nnyyin{--ref-title-a:#a5ccfa;--ref-title-b:#c8b2eb}
html[data-portal-theme=dark] body.front.tpl-ddys{--ref-title-a:#e8cc96;--ref-title-b:#eba990}
html[data-portal-theme=dark] body.front.tpl-jinpai{--ref-title-a:#efc685;--ref-title-b:#f1aa98}
html[data-portal-theme=dark] body.front.tpl-openframe{--ref-title-a:#a5cfe2;--ref-title-b:#9cdfd3}
html[data-portal-theme=dark] body.front.tpl-applecinema{--ref-title-a:#bccff1;--ref-title-b:#d6bde9}
html[data-portal-theme=dark] body.front.tpl-moviedb{--ref-title-a:#a4cdef;--ref-title-b:#83d7cb}
html[data-portal-theme=dark] body.front.tpl-anywhere{--ref-title-a:#edb99c;--ref-title-b:#ebacc2}

body.front:is(.nn24-category,.nnin-category,.dd-category,.jp-category,.rn-category) main h1,
body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home) main h1{
  font-size:clamp(23px,2.7vw,var(--ref-title-max,30px))!important;line-height:1.25!important;
  text-wrap:balance;
}
body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home,.nn24-category,.nnin-category,.dd-category,.jp-category,.rn-category)
  :is(.nn24-section-head,.nnin-section-head,.dd-catalog-heading,.jp-section-head,.rn-section-head)>h2{
  font-size:var(--ref-section-size,21px)!important;line-height:1.35!important;
}
body.front .ref-shell .ref-app-entry{
  display:inline-flex!important;align-items:center;justify-content:center;flex:none;
  min-width:44px;min-height:44px;padding:0 8px!important;border-radius:5px;
  color:var(--ui-ink,#24364b)!important;font-size:14px!important;font-weight:600!important;
  line-height:1.2;white-space:nowrap;text-decoration:none!important;
}
body.front .ref-shell .ref-app-entry:is(:hover,[aria-current]){background:var(--ui-highlight)!important}
body.front .ref-shell .ref-app-entry[aria-current]{box-shadow:inset 0 -2px var(--ui-accent)}
body.front .ref-shell .ref-channel-list{grid-template-columns:minmax(0,1fr)}
body.front .ref-shell .ref-channel-list a{gap:11px;font-size:14px!important}
body.front .ref-shell .ref-channel-list a .ref-channel-icon{
  width:20px;height:20px;flex:none;color:var(--ui-accent);opacity:.9;
}
body.front .ref-shell .ref-channel-list a[aria-current]{font-weight:700!important}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  body.front:is(.nn24-category,.nnin-category,.dd-category,.jp-category,.rn-category,.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home) main h1,
  body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home,.nn24-category,.nnin-category,.dd-category,.jp-category,.rn-category)
    :is(.nn24-section-head,.nnin-section-head,.dd-catalog-heading,.jp-section-head,.rn-section-head)>h2,
  body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home,.nn24-category,.nnin-category,.dd-category,.jp-category,.rn-category)
    :is(.nn24-section-head,.nnin-section-head,.dd-catalog-heading,.jp-section-head,.rn-section-head)>h2>a,
  body.front .ref-shell .ref-app-entry>span{
    background-image:linear-gradient(112deg,var(--ref-title-a,var(--ui-ink)),var(--ref-title-b,var(--ui-accent)))!important;
    background-size:min(100%,12ch) 100%;background-repeat:repeat-x;
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;color:transparent!important;
  }
  body.front .ref-shell .ref-app-entry>span{
    background-image:var(--ref-app-fill,linear-gradient(115deg,#963653,#236268))!important;
    background-size:100% 100%;
  }
  body.front .ref-shell .ref-channel-list a[aria-current]>span{
    background-image:linear-gradient(110deg,var(--ref-title-a,var(--ui-ink)),var(--ref-title-b,var(--ui-accent)))!important;
    -webkit-background-clip:text;background-clip:text;
    -webkit-text-fill-color:transparent;color:transparent!important;
  }
}
@media(max-width:1170px){
  body.front .ref-shell .ref-primary-nav{display:none!important}
  body.front .ref-shell .ref-brand{flex:1 1 auto!important;max-width:100%!important;margin-right:auto!important}
}
@media(max-width:700px){
  body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home,.nn24-category,.nnin-category,.dd-category,.jp-category,.rn-category)
    :is(.nn24-section-head,.nnin-section-head,.dd-catalog-heading,.jp-section-head,.rn-section-head)>h2{
    font-size:clamp(18px,4.85vw,var(--ref-section-size,21px))!important;
  }
  body.front .ref-shell .ref-app-entry{padding:0 4px!important;font-size:13px!important}
  body.front .ref-shell .ref-channel-list{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:359px){
  body.front .ref-shell .ref-brand{gap:4px!important}
  body.front .ref-shell .ref-brand img{width:24px;height:24px}
  body.front .ref-shell .ref-brand :is(h1,strong){font-size:15px!important}
}
@media(forced-colors:active){
  body.front:is(.nn24-category,.nnin-category,.dd-category,.jp-category,.rn-category,.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home) main h1,
  body.front :is(.nn24-section-head,.nnin-section-head,.dd-catalog-heading,.jp-section-head,.rn-section-head)>h2,
  body.front :is(.nn24-section-head,.nnin-section-head,.dd-catalog-heading,.jp-section-head,.rn-section-head)>h2>a,
  body.front .ref-shell :is(.ref-app-entry,.ref-channel-list a[aria-current])>span{
    background-image:none!important;-webkit-text-fill-color:currentColor;color:CanvasText!important;
  }
}

/* Keep DDYS homepage filters within the catalog width on desktop. */
@media (min-width:701px){
  body.front.tpl-ddys.dd-home main>.dd-filters{
    grid-column:1/-1;grid-row:2;min-width:0;flex-wrap:wrap;margin-top:10px!important;
  }
}


/* Home channels and compact, native filters share the existing site catalogue. */
body.front .ref-home-discovery{
  width:100%;min-width:0;grid-column:1/-1;margin:0 0 22px!important;padding:0!important;
}
body.front .ref-home-channels{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:center;gap:8px;min-width:0;margin:0 0 12px!important;padding:0!important;
}
body.front .ref-home-channels>a{
  display:flex!important;align-items:center;justify-content:center;gap:8px;
  min-width:0;min-height:46px;padding:6px 10px!important;
  color:var(--ui-ink)!important;background:var(--ui-highlight)!important;
  border-radius:6px!important;font-size:14px!important;font-weight:600;line-height:1.3;
  text-decoration:none!important;white-space:nowrap!important;
}
body.front .ref-home-channels>a:hover{color:var(--ui-accent)!important}
body.front .ref-home-channels .ref-channel-icon{
  display:block;width:19px;height:19px;flex:none;color:var(--ui-accent);
}
body.front .ref-home-channels a>span{white-space:nowrap!important;overflow-wrap:normal}
body.front .ref-home-find{
  display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;align-items:center;margin:0!important;padding:0!important;min-width:0;
}
body.front .ref-home-find-heading{display:flex;align-items:center;gap:12px;min-width:0}
body.front .ref-home-find-heading>h2{
  flex:none;margin:0!important;padding:0!important;font-size:14px!important;
  line-height:1.3!important;letter-spacing:0;font-weight:600!important;
}
body.front .ref-home-find-controls{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0;
}
body.front .ref-home-find-control{
  display:flex;align-items:center;min-width:0;min-height:44px;gap:4px;
  border:1px solid var(--ui-line)!important;border-radius:6px!important;
  background:var(--ui-field)!important;padding:0 8px!important;margin:0!important;
}
body.front .ref-home-find-control>span{
  flex:none;font-size:12px!important;line-height:1.2;color:var(--ui-muted)!important;
}
body.front .ref-home-find-control>select{
  display:block;flex:1 1 0;min-width:0;width:0;max-width:100%;
  height:44px;min-height:44px!important;padding:0 2px!important;margin:0;
  border:0!important;background:transparent!important;border-radius:0!important;
  color:var(--ui-ink)!important;font:inherit;font-size:14px!important;
}
body.front .ref-home-find-control>select:focus-visible{outline-offset:0!important}
body.front .ref-home-find-submit{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-width:70px;min-height:44px!important;max-width:100%;padding:8px 14px!important;
  border:1px solid var(--ui-line)!important;border-radius:6px!important;
  background:var(--ui-panel)!important;color:var(--ui-accent)!important;
  font:inherit;font-size:13px!important;font-weight:600!important;line-height:1.3;cursor:pointer;
}
body.front .ref-home-channel-menu{position:relative;flex:none;z-index:8}
body.front .ref-home-channel-menu>summary{
  display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0!important;
  margin:0;list-style:none;font-size:12px!important;white-space:nowrap;
  color:var(--ui-muted)!important;cursor:pointer;
}
body.front .ref-home-channel-menu>summary::-webkit-details-marker{display:none}
body.front .ref-home-extra-channels{
  display:none!important;position:absolute;top:100%;right:0;z-index:8;
  width:224px;max-width:calc(100vw - 32px);margin:4px 0 0!important;padding:8px!important;
  border:1px solid var(--ui-line)!important;border-radius:8px!important;
  background:var(--ui-panel)!important;box-shadow:0 8px 28px rgba(15,25,40,.12)!important;
}
body.front .ref-home-channel-menu[open]>.ref-home-extra-channels{display:grid!important}
body.front .ref-home-extra-channels>a{
  display:flex;align-items:center;gap:10px;min-height:44px;padding:8px!important;
  font-size:14px!important;line-height:1.3;color:var(--ui-ink)!important;text-decoration:none!important;
}
body.front .ref-home-extra-channels .ref-channel-icon{width:18px;height:18px;flex:none}
body.front .ref-home-extra-channels>a:hover{background:var(--ui-highlight)!important}
body.front .ref-home-intro{margin:0 0 12px!important;padding:0!important}
body.front .ref-home-intro :is(.nn24-section-head,.nnin-section-head,.jp-section-head,.dd-catalog-heading){
  min-height:0;margin:0!important;
}
body.front .ref-home-intro :is(h1,h2){font-size:19px!important;line-height:1.35!important;margin:0!important}
body.front .ref-home-channel-section{margin-top:24px!important;margin-bottom:28px!important}
body.front.tpl-ddys.dd-home main{display:block!important}
body.front.tpl-ddys.dd-home .dd-channel{margin-top:24px!important}
body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid,.rn-shelf){
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:18px 16px!important;align-items:start;min-width:0;
}
body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home) .ref-card-title{
  font-size:13px!important;line-height:19px!important;height:38px!important;
  min-height:38px!important;max-height:38px!important;margin-top:6px!important;margin-bottom:0!important;
}
body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home) .ref-card-title>a{
  line-height:19px!important;text-align:center!important;
}
body.front.tpl-ddys .ref-home-channels>a,
body.front.tpl-ddys .ref-home-find-control,
body.front.tpl-ddys .ref-home-find-submit{border-radius:2px!important}
body.front.tpl-jinpai .ref-home-channels>a{background:transparent!important;border-bottom:2px solid var(--ui-line)!important;border-radius:0!important}
body.front.tpl-jinpai .ref-home-discovery{border-top:2px solid var(--ui-accent)!important;padding-top:10px!important}
body.front.tpl-openframe .ref-home-channels>a{background:transparent!important;justify-content:flex-start}
body.front.tpl-openframe .ref-home-find-heading>h2{font-family:"Songti SC","Noto Serif CJK SC",Georgia,serif;font-size:15px!important}
body.front.tpl-anywhere .ref-home-channels>a{border-radius:16px!important}
body.front.tpl-applecinema .ref-home-channels{max-width:860px;margin-inline:auto!important}
body.front.tpl-applecinema .ref-home-discovery{padding-top:18px!important}
body.front.tpl-applecinema .ref-home-find{max-width:1000px;margin-inline:auto!important}
body.front.tpl-moviedb .ref-home-discovery{margin-top:18px!important}
@media(max-width:1199px) and (min-width:701px){
  body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home)
    :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid,.rn-shelf){
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  body.front .ref-home-find{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px}
  body.front .ref-home-find-heading{grid-column:1;grid-row:1}
  body.front .ref-home-find-controls{grid-column:1/-1;grid-row:2}
  body.front .ref-home-find-submit{grid-column:2;grid-row:1}
}
@media(max-width:700px){
  body.front .ref-home-discovery{margin-bottom:16px!important}
  body.front .ref-home-channels{gap:5px;margin-bottom:4px!important}
  body.front .ref-home-channels>a{gap:4px;min-height:44px;padding:5px 2px!important;font-size:12px!important}
  body.front .ref-home-channels .ref-channel-icon{width:15px;height:15px}
  body.front .ref-home-find{grid-template-columns:minmax(0,1fr) auto;gap:0 8px}
  body.front .ref-home-find-heading{grid-column:1;grid-row:1;gap:12px}
  body.front .ref-home-find-heading>h2{font-size:13px!important}
  body.front .ref-home-find-controls{grid-column:1/-1;grid-row:2;gap:6px}
  body.front .ref-home-find-control{padding:0 6px!important;gap:2px}
  body.front .ref-home-find-control>span{font-size:11px!important}
  body.front .ref-home-find-control>select{font-size:16px!important}
  body.front .ref-home-find-submit{grid-column:2;grid-row:1;min-width:60px;padding:0 6px!important;border:0!important;background:transparent!important;font-size:12px!important}
  body.front .ref-home-extra-channels{left:0;right:auto;max-width:calc(100vw - 48px)}
  body.front .ref-home-intro :is(h1,h2){font-size:17px!important;line-height:1.35!important}
  body.front .ref-home-channel-section{margin-top:18px!important;margin-bottom:22px!important}
  body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home)
    :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid,.rn-shelf){
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 9px!important;
  }
  body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home) .ref-card-title{
    font-size:12px!important;line-height:17px!important;height:34px!important;min-height:34px!important;max-height:34px!important;margin-top:5px!important;
  }
  body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home) .ref-card-title>a{line-height:17px!important}
  body.front.tpl-applecinema .ref-home-discovery{padding-top:14px!important}
  body.front.tpl-moviedb .ref-home-discovery{margin-top:12px!important}
}
body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid,.rn-shelf):has(>article:only-child){
  grid-template-columns:minmax(0,min(100%,220px))!important;
}
body.front:is(.nn24-home,.nnin-home,.dd-home,.jp-home,.rn-home)
  :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid,.rn-shelf):has(>article:nth-child(2):last-child){
  grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:460px;
}


/* Retain each secondary showcase without delaying the real channel shelves. */
body.front.tpl-moviedb.rn-home .md-magazine{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.front.tpl-anywhere.rn-home .ma-collage{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body.front.tpl-anywhere.rn-home .ma-collage>a:nth-child(n){grid-column:auto!important;grid-row:auto!important}
body.front.tpl-applecinema.rn-home .rn-container>.ac-showcase,
body.front.tpl-applecinema.rn-home .rn-container>.ac-tiles{width:100%!important}
body.front .ref-home-channels>a:first-child{color:var(--ui-accent)!important}
@media(max-width:1199px) and (min-width:701px){
  body.front.tpl-moviedb.rn-home .md-magazine,
  body.front.tpl-anywhere.rn-home .ma-collage{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:700px){
  body.front.tpl-moviedb.rn-home .md-magazine,
  body.front.tpl-anywhere.rn-home .ma-collage{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* Mobile browsing: compact controls and a persistent route back to real pages.
   Desktop keeps its individual template compositions. */
.ref-mobile-dock,.ref-mobile-source-tabs{display:none}
body.front .ref-mobile-story-fold,
body.front .ref-mobile-story-fold>.ref-mobile-story-body{display:contents}
body.front .ref-mobile-story-fold>summary{display:none}
@media(max-width:700px){
  html[data-portal-theme] body.front[class]{
    padding-bottom:calc(66px + env(safe-area-inset-bottom,0px))!important;
    -webkit-text-size-adjust:100%;
  }
  html[data-portal-theme] body.front .ref-shell{
    position:sticky!important;top:0;z-index:35;min-height:45px!important;
    background:var(--ui-panel)!important;backdrop-filter:blur(16px);
  }
  html[data-portal-theme] body.front .ref-shell .ref-header-row{
    width:calc(100% - 24px)!important;min-height:45px!important;height:45px;
    display:flex!important;flex-wrap:nowrap!important;gap:2px!important;padding:0!important;
  }
  html[data-portal-theme] body.front .ref-shell .ref-brand{
    order:0;gap:5px!important;flex:1 1 0!important;min-width:0!important;margin:0 auto 0 0!important;
  }
  html[data-portal-theme] body.front .ref-shell .ref-brand img{width:23px!important;height:23px!important;flex:none}
  html[data-portal-theme] body.front .ref-shell .ref-brand :is(h1,strong){
    min-width:0!important;margin:0!important;font-size:16px!important;line-height:1.2!important;
    white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;letter-spacing:0!important;
  }
  html[data-portal-theme] body.front .ref-shell :is(.ref-channel-menu,.ref-search-menu,.ref-tools){flex:none!important;margin:0!important}
  html[data-portal-theme] body.front .ref-shell .ref-search-menu{order:1}
  html[data-portal-theme] body.front .ref-shell .ref-app-entry{order:2;flex:none!important;min-width:52px!important;min-height:44px!important;padding:0 4px!important;font-size:12px!important;white-space:nowrap}
  html[data-portal-theme] body.front .ref-shell .ref-channel-menu{order:3}
  html[data-portal-theme] body.front .ref-shell .ref-tools{order:4}
  html[data-portal-theme] body.front .ref-shell .ref-menu-toggle{width:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;font-size:12px!important;gap:2px!important}
  html[data-portal-theme] body.front .ref-shell .ref-channel-menu>.ref-menu-toggle{font-size:0!important}
  html[data-portal-theme] body.front .ref-shell .ref-channel-menu>.ref-menu-toggle::after{left:13px!important}
  html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle{position:relative!important;height:44px!important;font-size:0!important}
  html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle>span{display:none}
  html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle::before{content:"";position:absolute;left:13px;top:12px;width:15px;height:15px;box-sizing:border-box;border:1.7px solid currentColor!important;border-radius:50%!important;transform:none}
  html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle::after{content:"";position:absolute;left:26px;top:25px;width:7px;height:1.7px;background:currentColor;transform:rotate(45deg);transform-origin:left center}
  html[data-portal-theme] body.front .ref-shell .ref-menu-panel{inset:52px 12px auto!important;max-height:calc(100dvh - 130px)!important;border-radius:9px!important}
  html[data-portal-theme] body.front .ref-shell .ref-menu-section{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html[data-portal-theme] body.front .ref-shell .ref-menu-section.ref-channel-list{grid-template-columns:minmax(0,1fr)!important}
  html[data-portal-theme] body.front .ref-mobile-dock{
    display:flex!important;position:fixed;inset:auto 0 0;z-index:30;align-items:stretch;justify-content:space-around;
    min-height:54px;padding:0 8px env(safe-area-inset-bottom,0px);gap:0;
    background:var(--ui-panel)!important;border-top:1px solid var(--ui-line)!important;
    -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  }
  body.front .ref-mobile-dock>a{display:flex;flex:1 1 0;min-width:0;min-height:54px;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 0!important;text-decoration:none!important;color:var(--ui-muted)!important;font-size:10px!important;line-height:1.15;font-weight:500!important;background:transparent!important;border:0!important;border-radius:0!important}
  body.front .ref-mobile-dock>a>svg{display:block;width:21px!important;height:21px!important;flex:none}
  body.front .ref-mobile-dock>a[aria-current]{color:var(--ui-accent)!important}
  body.front .ref-mobile-dock>a:is(:focus-visible,:hover){background:var(--ui-highlight)!important}
  html[data-portal-theme] body.front :is(.nn24-container,.nnin-container,.dd-container,.jp-container,.rn-container){width:calc(100% - 24px)!important}
  html[data-portal-theme] body.front main:is(.nn24-container,.nnin-container,.dd-container,.jp-container,.rn-container){padding-top:10px!important;padding-bottom:12px!important}
  html[data-portal-theme] body.front main h1{font-size:21px!important;line-height:1.4!important;margin:0 0 10px!important;letter-spacing:.01em!important}
  html[data-portal-theme] body.front :is(.nn24-section-head,.nnin-section-head,.jp-section-head,.rn-section-head,.dd-catalog-heading)>h2{font-size:18px!important;line-height:1.4!important}
  html[data-portal-theme] body.front :is(.nn24-breadcrumb,.nnin-breadcrumb,.dd-breadcrumb,.jp-breadcrumb,.rn-breadcrumb){font-size:11px!important;line-height:1.4;min-height:0!important;margin:4px 0 10px!important;padding:0!important}
  html[data-portal-theme] body.front :is(.nn24-grid,.nnin-grid,.dd-grid,.jp-grid,.rn-grid,.rn-shelf){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px 9px!important;grid-auto-flow:row!important;min-width:0!important}
  html[data-portal-theme] body.front :is(.nn24-card,.nnin-card,.dd-card,.jp-card,.rn-card){min-width:0!important;width:auto!important;padding:0!important}
  html[data-portal-theme] body.front :is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,.rn-poster){display:block!important;width:100%!important;aspect-ratio:2/3!important;min-width:0!important;border-radius:7px!important}
  html[data-portal-theme] body.front :is(.nn24-poster,.nnin-poster,.dd-poster,.jp-poster,.rn-poster)>img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:2/3!important;object-fit:cover!important;border-radius:inherit!important}
  html[data-portal-theme] body.front .ref-card-title{height:34px!important;min-height:34px!important;max-height:34px!important;margin:5px 0 0!important;font-size:12px!important;line-height:17px!important;text-align:center!important;font-weight:500!important}
  html[data-portal-theme] body.front .ref-card-title>a{font-size:inherit!important;line-height:17px!important;text-align:center!important}
  html[data-portal-theme] body.front .ref-home-discovery{margin:4px 0 12px!important;padding-top:0!important}
  html[data-portal-theme] body.front .ref-home-channels{margin-bottom:1px!important;gap:4px!important}
  html[data-portal-theme] body.front .ref-home-channels>a{min-height:44px!important;font-size:12px!important;gap:4px!important}
  html[data-portal-theme] body.front .ref-home-find{gap:0 6px!important}
  html[data-portal-theme] body.front .ref-home-find-controls{gap:5px!important}
  html[data-portal-theme] body.front .ref-home-channel-section{margin-top:18px!important;margin-bottom:20px!important}
  html[data-portal-theme] body.front .ref-mobile-filter-compact{margin:0 0 10px!important}
  html[data-portal-theme] body.front .ref-mobile-primary-filters{gap:5px!important}
  html[data-portal-theme] body.front .ref-mobile-primary-filter{padding:0 4px!important}
  html[data-portal-theme] body.front .ref-mobile-filter-extras>summary{min-height:44px!important;font-size:11px!important}
  html[data-portal-theme] body.front .nn24-category-focus{display:none!important}
  html[data-portal-theme] body.front .ref-footer-compact{margin-top:20px!important;padding:16px 0!important}
  html[data-portal-theme] body.front .ref-footer-inner{gap:10px!important;font-size:11px!important}

  /* Native summaries leave the real synopsis available without a script. */
  body.front .ref-mobile-story-fold{display:block;margin:8px 0 12px;padding:0;border:0!important;background:transparent!important}
  body.front .ref-mobile-story-fold>summary{display:flex;min-height:44px;align-items:center;justify-content:space-between;gap:12px;list-style:none;font-size:14px;font-weight:600;cursor:pointer;color:var(--ui-ink)!important}
  body.front .ref-mobile-story-fold>summary::-webkit-details-marker{display:none}
  body.front .ref-mobile-story-fold>summary>span{font-size:11px;font-weight:400;color:var(--ui-muted)!important}
  body.front .ref-mobile-story-fold[open]>summary>span{font-size:0}
  body.front .ref-mobile-story-fold[open]>summary>span::after{content:"收起";font-size:11px}
  body.front .ref-mobile-story-fold>.ref-mobile-story-body{display:block;font-size:13px;line-height:1.8;color:var(--ui-muted)!important}
  body.front .ref-mobile-story-fold:not([open])>.ref-mobile-story-body{display:none!important}
  body.front .ref-mobile-story-body>h2{display:none!important}
  body.front .ref-mobile-story-body>p{font-size:13px!important;line-height:1.8!important;margin:2px 0 10px!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail :is(.nn24-detail-grid,.nnin-detail-grid,.dd-detail-overview,.jp-detail-overview,.ac-film-hero,.ma-film-feature){display:grid!important;grid-template-columns:minmax(90px,30%) minmax(0,1fr)!important;align-items:start!important;gap:14px!important;margin-top:10px!important;padding:0!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail :is(.nn24-detail-poster,.nnin-detail-poster,.dd-detail-poster,.jp-detail-cover,.ac-film-cover,.ma-film-cover,.md-film-cover){width:100%!important;max-width:150px!important;margin:0!important;align-self:start}
  html[data-portal-theme] body.front.ref-mobile-page-detail :is(.nn24-detail-poster,.nnin-detail-poster,.jp-detail-cover,.ac-film-cover,.ma-film-cover,.md-film-cover)>img,
  html[data-portal-theme] body.front.ref-mobile-page-detail img:is(.dd-detail-poster,.jp-detail-poster,.rn-detail-poster){width:100%!important;height:auto!important;aspect-ratio:2/3!important;object-fit:cover!important;border-radius:7px!important;max-width:150px!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail :is(.nn24-detail-copy,.nnin-detail-copy,.dd-detail-copy,.jp-detail-copy,.ac-film-intro,.ma-film-copy){min-width:0!important;padding:0!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail :is(.nn24-facts,.nnin-facts,.dd-detail-copy dl,.jp-facts,.jp-meta,.ac-film-facts,.ma-film-taxonomy,.md-film-facts){font-size:12px!important;line-height:1.7!important;gap:6px!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail :is(.nn24-detail-watch,.rn-watch,.jp-watch,.dd-button){min-height:44px!important;font-size:13px!important;margin-top:8px!important;padding:10px 12px!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail :is(.nn24-detail-kicker,.nnin-detail-kicker,.dd-detail-kicker,.jp-detail-kicker,.of-film-kicker,.md-film-kicker,.ma-film-kicker,.ac-film-eyebrow){font-size:11px!important;margin:0 0 5px!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail .ref-update{font-size:10px!important;margin:4px 0!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail .nn24-section{display:block!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail .of-film-layout{display:flex!important;flex-direction:column!important;gap:12px!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail .of-film-aside{order:-1!important;display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:10px 14px!important;width:100%!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail .of-film-aside>img{grid-row:span 2}
  html[data-portal-theme] body.front.ref-mobile-page-detail .of-film-aside .rn-watch{align-self:start;justify-self:start}
  html[data-portal-theme] body.front.ref-mobile-page-detail .md-film-layout{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:14px!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail.tpl-moviedb .md-film-cover{width:100%!important;max-width:none!important;grid-template-columns:105px minmax(0,1fr)!important;gap:14px!important}
  html[data-portal-theme] body.front.ref-mobile-page-detail.tpl-moviedb .md-film-cover>.rn-watch{justify-self:start!important;width:auto!important;min-width:max-content!important;min-height:44px!important;white-space:nowrap!important;padding:10px 12px!important}

  /* Watch pages put the single existing player before its title and episodes.
     The dock is absent here, so it cannot cover native controls or preroll. */
  html[data-portal-theme] body.front.ref-mobile-page-player{padding-bottom:12px!important}
  html[data-portal-theme] body.front.ref-mobile-page-player .ref-mobile-dock{display:none!important}
  html[data-portal-theme] body.front.ref-mobile-page-player main{display:flex!important;flex-direction:column!important;gap:0!important;padding-top:8px!important}
  body.front.ref-mobile-page-player main>*{order:10}
  body.front.ref-mobile-page-player :is(.nn24-breadcrumb,.nnin-breadcrumb,.dd-breadcrumb,.jp-breadcrumb,.rn-breadcrumb){display:none!important}
  html[data-portal-theme] body.front.ref-mobile-page-player :is(.nn24-player-top,.nnin-player-top,.nn24-player-layout,.nnin-player-layout,.nn24-player-top>.nn24-container,.nnin-player-top>.nnin-container,.jp-viewer-layout,.jp-viewer-main,.of-viewer-layout,.of-viewer-main,.md-viewer-layout,.md-viewer-main){display:contents!important}
  html[data-portal-theme] body.front.ref-mobile-page-player:not(.projection-mode) :is(.nn24-player-frame,.nnin-player-frame,.dd-player-frame,.jp-player-frame,.rn-player-frame,.dd-viewer-stage,.ac-viewer-stage){order:0!important;width:100%!important;min-width:0!important;margin:0 0 5px!important;padding:0!important;align-self:stretch}
  html[data-portal-theme] body.front.ref-mobile-page-player :is(.nn24-player-side,.nnin-player-side,.dd-viewer-heading,.jp-viewer-heading,.of-viewer-heading,.ac-viewer-heading,.md-viewer-heading,.ma-viewer-heading){order:1!important;min-width:0!important;margin:8px 0!important;padding:0!important}
  html[data-portal-theme] body.front.ref-mobile-page-player:is(.tpl-nnyy24,.tpl-nnyyin) main{width:100%!important;max-width:100%!important;box-sizing:border-box;align-items:stretch!important}
  html[data-portal-theme] body.front.ref-mobile-page-player:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-player-side,.nnin-player-side){width:100%!important;max-width:100%!important;box-sizing:border-box;padding:0 12px!important;align-self:stretch!important}
  html[data-portal-theme] body.front.ref-mobile-page-player:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-lines,.nnin-lines){width:100%!important;max-width:100%!important;flex:0 0 100%!important;box-sizing:border-box}
  html[data-portal-theme] body.front:is(.ref-mobile-page-player,.ref-mobile-page-detail):is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-lines,.nnin-lines,.nn24-episodes,.nnin-episodes,.nn24-episode-group,.nnin-episode-group){display:block!important;width:100%!important;min-width:0!important;max-width:none!important;flex:0 0 100%!important;box-sizing:border-box}
  html[data-portal-theme] body.front:is(.ref-mobile-page-player,.ref-mobile-page-detail):is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-episode-group,.nnin-episode-group)>div{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box}
  html[data-portal-theme] body.front.ref-mobile-page-player :is(.dd-viewer-options,.jp-viewer-side,.of-viewer-side,.ac-viewer-episodes,.md-viewer-side,.ma-viewer-episodes){order:2!important;width:100%!important;min-width:0!important;margin:6px 0 10px!important;padding:0!important}
  html[data-portal-theme] body.front.ref-mobile-page-player :is(.dd-viewer-navigation,.jp-viewer-navigation,.of-viewer-navigation,.ac-viewer-navigation,.md-viewer-navigation,.ma-viewer-info){order:3!important;margin:8px 0!important;padding:0!important;font-size:12px!important}
  html[data-portal-theme] body.front.ref-mobile-page-player :is(.dd-viewer-story,.jp-viewer-story,.of-viewer-story,.ac-viewer-story,.md-viewer-story,.ma-viewer-story){order:4!important;margin:6px 0 10px!important;padding:0!important}
  html[data-portal-theme] body.front.ref-mobile-page-player main h1{font-size:19px!important;line-height:1.4!important;margin:3px 0 6px!important}
  html[data-portal-theme] body.front.ref-mobile-page-player main h2{font-size:15px!important;line-height:1.5!important;margin:6px 0!important}
  body.front.ref-mobile-page-player :is(.nn24-player-kicker,.nnin-player-kicker,.dd-detail-kicker,.jp-detail-kicker,.of-film-kicker,.md-film-kicker,.ma-film-kicker,.ac-viewer-episode){font-size:11px!important;margin:0 0 3px!important;color:var(--ui-muted)!important}
  body.front.ref-mobile-page-player :is(.nn24-player-meta,.nnin-player-meta,.nn24-player-caption,.md-viewer-side>dl,.md-viewer-side>h2:first-child){display:none!important}
  html[data-portal-theme] body.front.ref-mobile-page-player .ref-update{font-size:10px!important;margin:3px 0 7px!important}
  html[data-portal-theme] body.front.ref-mobile-page-player .player-toolbar{min-height:44px!important;margin:0!important;padding:0!important;gap:12px!important}
  html[data-portal-theme] body.front.ref-mobile-page-player .player-toolbar button{min-height:44px!important;background:transparent!important;border:0!important;font-size:12px!important;padding:5px 0!important}
  body.front .ref-mobile-source-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:6px 0 10px!important}
  body.front .ref-mobile-source-tabs>a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:6px!important;font-size:12px;line-height:1.4;text-align:center;overflow-wrap:anywhere;color:var(--ui-muted)!important;background:var(--ui-field)!important;border:0!important;border-radius:6px!important;text-decoration:none!important}
  body.front .ref-mobile-source-tabs>a[aria-current]{color:var(--ui-accent)!important;background:var(--ui-highlight)!important;font-weight:600}
  html[data-portal-theme] body.front :is(.nn24-line,.nnin-line,.dd-line,.jp-line,.rn-line){margin:0 0 8px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
  html[data-portal-theme] body.front :is(.nn24-line,.nnin-line,.dd-line,.jp-line,.rn-line)>summary{min-height:44px!important;padding:8px 0!important;font-size:12px!important;line-height:1.5!important}
  html[data-portal-theme] body.front:is(.ref-mobile-page-player,.ref-mobile-page-detail) :is(.nn24-lines,.nnin-lines,.dd-lines,.jp-lines,.rn-lines):has(>.ref-mobile-source-tabs>a)>details:not([open]),
  html[data-portal-theme] body.front:is(.ref-mobile-page-player,.ref-mobile-page-detail) :is(.nn24-lines,.nnin-lines,.dd-lines,.jp-lines,.rn-lines):has(>.ref-mobile-source-tabs>a)>details[open]>summary{display:none!important}
  html[data-portal-theme] body.front :is(.nn24-episode-group,.nnin-episode-group,.dd-episode-group,.jp-episode-group,.rn-episode-group){margin:0!important;padding:0!important;border:0!important;background:transparent!important}
  html[data-portal-theme] body.front :is(.nn24-episode-group,.nnin-episode-group,.dd-episode-group,.jp-episode-group,.rn-episode-group)>summary{min-height:44px!important;padding:4px 0!important;font-size:11px!important}
  html[data-portal-theme] body.front:is(.ref-mobile-page-player,.ref-mobile-page-detail) :is(.nn24-episodes,.nnin-episodes,.dd-episodes,.jp-episodes,.rn-episodes)>details[open]:only-child>summary{display:none!important}
  html[data-portal-theme] body.front :is(.nn24-episode-group,.nnin-episode-group,.dd-episode-group,.jp-episode-group,.rn-episode-group)>div{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  html[data-portal-theme] body.front :is(.nn24-episodes,.nnin-episodes,.dd-episodes,.jp-episodes,.rn-episodes) a{display:flex!important;min-width:0;min-height:44px!important;align-items:center;justify-content:center;padding:6px 3px!important;font-size:12px!important;line-height:1.4!important;border-radius:5px!important;overflow-wrap:anywhere}

  /* Search and account use their real server forms; no client-only gateway. */
  html[data-portal-theme] body.front.ref-mobile-page-search .ref-search-page{padding-top:12px!important}
  body.front .ref-search-form{display:grid;gap:8px;margin:0 0 16px!important;padding:0!important}
  body.front .ref-search-label{font-size:12px;color:var(--ui-muted)!important}
  body.front .ref-search-form-fields{display:flex;align-items:stretch;gap:8px;min-width:0}
  html[data-portal-theme] body.front .ref-search-form-fields>input{flex:1 1 0!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;font-size:16px!important;border:1px solid var(--ui-line)!important;background:var(--ui-field)!important;border-radius:7px!important;color:var(--ui-ink)!important}
  html[data-portal-theme] body.front .ref-search-form-fields>button{flex:none!important;min-height:44px!important;padding:8px 16px!important;font-size:13px!important;background:var(--ui-highlight)!important;color:var(--ui-accent)!important}
  body.front .ref-search-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:12px;color:var(--ui-muted)!important}
  html[data-portal-theme] body.front .ref-search-results-heading h2{font-size:17px!important;margin:0!important}
  body.front .ref-account-page{max-width:460px!important;margin-inline:auto!important}
  body.front .ref-account-panel{margin:0 auto 18px!important;padding:16px 0!important;border:0!important;border-radius:0!important;background:transparent!important}
  html[data-portal-theme] body.front .ref-account-heading{font-size:19px!important;margin-bottom:18px!important}
  body.front .ref-account-form{display:grid!important;gap:12px!important;max-width:100%!important;margin:0!important}
  body.front .ref-account-form label{display:grid!important;gap:6px;font-size:12px;line-height:1.5;color:var(--ui-muted)!important}
  html[data-portal-theme] body.front .ref-account-form :is(input:not([type=hidden]),select){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:44px!important;font-size:16px!important;padding:10px 12px!important;border:1px solid var(--ui-line)!important;background:var(--ui-field)!important;color:var(--ui-ink)!important;border-radius:7px!important}
  html[data-portal-theme] body.front .ref-account-form button{min-height:44px!important;padding:10px 14px!important;font-size:14px!important}
  body.front .ref-account-register{margin-top:20px!important;border-top:1px solid var(--ui-line)!important;padding-top:4px!important}
  body.front .ref-account-register>summary{display:flex;align-items:center;min-height:44px;font-size:13px;font-weight:500;cursor:pointer;color:var(--ui-accent)!important}
  body.front .ref-account-flash{font-size:13px!important;line-height:1.7!important;padding:10px 12px!important;background:var(--ui-highlight)!important;border-radius:7px!important}
  body.front .ref-account-comments{margin-top:18px!important;font-size:13px!important;line-height:1.8!important}
  html[data-portal-theme] body.front .ref-mobile-app-page{display:flex!important;flex-direction:column!important;padding-top:12px!important}
  html[data-portal-theme] body.front .ref-mobile-app-page>.ref-guide-intro,
  html[data-portal-theme] body.front .ref-mobile-app-page>.ref-guide-options{display:contents!important}
  body.front .ref-mobile-app-page>.ref-guide-intro>div{order:0;padding:8px 0 6px!important}
  body.front .ref-mobile-app-page>.cms-app-ad{order:1}
  body.front .ref-mobile-app-page .ref-app-download-primary{order:2}
  body.front .ref-mobile-app-page .ref-app-qr{order:3}
  body.front .ref-mobile-app-page .ref-app-secondary{order:4}
  body.front .ref-app-download-primary{display:grid;gap:12px;margin-top:8px!important;padding:14px 0 18px!important}
  html[data-portal-theme] body.front .ref-app-download-button{display:flex!important;align-items:center;justify-content:center;min-height:48px!important;width:100%!important;font-size:15px!important;padding:12px 14px!important;border-radius:8px!important}
  body.front .ref-app-guide-fold{margin:16px 0!important;padding:0!important;border-top:1px solid var(--ui-line)!important;background:transparent!important}
  body.front .ref-app-guide-fold>summary{display:flex;align-items:center;min-height:48px;font-size:14px;cursor:pointer;color:var(--ui-accent)!important}
  body.front .ref-app-qr{margin:10px auto!important;max-width:184px!important;text-align:center}
  body.front .ref-app-qr img{width:160px!important;height:160px!important;max-width:100%!important}
  body.front .ref-app-instructions{font-size:13px!important;line-height:1.8!important;padding-block:10px!important}
}

/* The two existing direct-play layouts share the phone reading order only. */
@media(max-width:700px){
  html[data-portal-theme] body.front.dpab{padding-bottom:12px!important}
  html[data-portal-theme] body.front.dpab .dpab-main{display:flex!important;flex-direction:column!important;gap:0!important;width:calc(100% - 24px)!important;max-width:none!important;padding:8px 0 20px!important}
  body.front.dpab .dpab-main>*{order:6}
  body.front.dpab .dpab-main>.dpab-crumb{display:none!important}
  html[data-portal-theme] body.front.dpab :is(.dpab-stage-grid,.dpab-stage-below,.dpab-b-grid,.dpab-b-context){display:contents!important}
  html[data-portal-theme] body.front.dpab :is(.dpab-stage-player,.dpab-b-player){order:0!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
  html[data-portal-theme] body.front.dpab:not(.projection-mode) .dpab-screen{margin:0 0 44px!important;border-radius:0!important}
  html[data-portal-theme] body.front.dpab:not(.projection-mode) .dpab-screen>:is(video,iframe){border-radius:0!important}
  html[data-portal-theme] body.front.dpab:not(.projection-mode) .dpab-screen .player-toolbar{height:44px!important;min-height:44px!important;padding:0!important;gap:12px!important;border:0!important;border-radius:0!important;background:transparent!important}
  html[data-portal-theme] body.front.dpab:not(.projection-mode) .dpab-screen .player-toolbar button{min-height:44px!important;min-width:44px!important;padding:6px 0!important;font-size:12px!important;border:0!important;background:transparent!important}
  body.front.dpab :is(.dpab-player-note,.dpab-stage-top>.dpab-search,.dpab-feature>.dpab-search,.dpab-feature>img,.dpab-feature-summary){display:none!important}
  html[data-portal-theme] body.front.dpab :is(.dpab-stage-top,.dpab-feature){order:1!important;display:block!important;min-width:0!important;width:100%!important;margin:10px 0 12px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:center}
  html[data-portal-theme] body.front.dpab .dpab-main h1{font-size:19px!important;line-height:1.4!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:3px 0 6px!important}
  body.front.dpab .dpab-kicker{font-size:11px!important;line-height:1.5!important;letter-spacing:0!important;margin:0 0 4px!important}
  body.front.dpab .dpab-facts{justify-content:center;font-size:11px!important;line-height:1.5!important;gap:4px 10px!important}
  html[data-portal-theme] body.front.dpab :is(.dpab-stage-queue,.dpab-b-queue){order:2!important;display:block!important;min-width:0!important;width:100%!important;margin:4px 0 12px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
  body.front.dpab .dpab-main>.site-ad-slot{order:3}
  body.front.dpab .dpab-story{order:4;min-width:0!important;width:100%!important;margin:12px 0!important;padding:0!important}
  body.front.dpab.dpab-episodes-first .dpab-story{order:3}
  body.front.dpab.dpab-episodes-first .dpab-main>.site-ad-slot{order:4}
  body.front.dpab .dpab-category-link{order:4;align-self:flex-start;min-height:44px!important;font-size:12px!important;margin:0 0 8px!important;padding:8px 0!important}
  body.front.dpab .dpab-related{order:5;min-width:0!important;width:100%!important;margin:16px 0!important}
  body.front.dpab .dpab-main>.ref-comments{order:6}
  html[data-portal-theme] body.front.dpab .dpab-section-head{min-height:32px;gap:10px;margin:0 0 8px!important}
  html[data-portal-theme] body.front.dpab .dpab-main h2{font-size:15px!important;line-height:1.5!important;margin:0!important}
  body.front.dpab .dpab-section-head>:is(span,a){font-size:11px!important;line-height:1.5!important}
  body.front.dpab .dpab-lines{width:100%!important;min-width:0!important;max-width:none!important;gap:4px!important}
  html[data-portal-theme] body.front.dpab .dpab-line{min-width:0!important;margin:0 0 6px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
  html[data-portal-theme] body.front.dpab .dpab-line>summary{min-height:44px!important;padding:10px 0!important;font-size:12px!important;line-height:1.5!important;border:0!important;background:transparent!important}
  html[data-portal-theme] body.front.dpab .dpab-episodes{width:100%!important;min-width:0!important;padding:0!important}
  html[data-portal-theme] body.front.dpab .dpab-episode-group{width:100%!important;min-width:0!important;max-width:none!important;padding:0!important;border:0!important}
  html[data-portal-theme] body.front.dpab .dpab-episode-group>summary{min-height:44px!important;padding:8px 0!important;font-size:11px!important;line-height:1.5!important;background:transparent!important}
  html[data-portal-theme] body.front.dpab .dpab-episode-group[open]:only-child>summary{display:none!important}
  html[data-portal-theme] body.front.dpab .dpab-episode-group>div{display:grid!important;width:100%!important;min-width:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  html[data-portal-theme] body.front.dpab .dpab-episodes a{display:flex!important;align-items:center;justify-content:center;min-width:0!important;min-height:44px!important;padding:6px 3px!important;font-size:12px!important;line-height:1.4!important;border-radius:5px!important;text-align:center;overflow-wrap:anywhere}
  html[data-portal-theme] body.front.dpab .dpab-story p{font-size:13px!important;line-height:1.8!important;margin:8px 0!important}
  html[data-portal-theme] body.front.dpab .dpab-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px 9px!important}
  html[data-portal-theme] body.front.dpab .dpab-related-grid img{display:block;width:100%!important;height:auto!important;aspect-ratio:2/3!important;object-fit:cover;border-radius:7px!important}
  html[data-portal-theme] body.front.dpab .dpab-related-grid>article>a>span{height:34px!important;min-height:34px!important;max-height:34px!important;margin:5px 0 0!important;padding:0!important;font-size:12px!important;line-height:17px!important;text-align:center!important}
}

/* Content discovery uses real native disclosures rather than form-like boxes. */
body.front{--ref-filter-radius:8px}
body.front.tpl-nnyyin{--ref-filter-radius:12px}
body.front.tpl-ddys,body.front.tpl-openframe{--ref-filter-radius:3px}
body.front.tpl-jinpai{--ref-filter-radius:5px}
body.front.tpl-applecinema{--ref-filter-radius:14px}
body.front.tpl-anywhere{--ref-filter-radius:18px}
html[data-portal-theme] body.front .ref-filter-discovery{position:relative;display:flex;align-items:stretch;gap:10px;margin:10px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
html[data-portal-theme] body.front .ref-filter-primary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex:1;gap:8px!important;min-width:0}
html[data-portal-theme] body.front .ref-filter-choice{display:block!important;position:static;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
html[data-portal-theme] body.front :is(.ref-filter-choice,.ref-filter-more,.ref-results-sort)>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px!important;min-width:0;padding:8px 12px!important;margin:0!important;list-style:none;cursor:pointer;font-family:inherit;font-size:14px!important;line-height:1.4!important;font-weight:500!important;color:var(--ui-muted)!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--ui-line)!important;border-radius:var(--ref-filter-radius)!important}
body.front :is(.ref-filter-choice,.ref-filter-more,.ref-results-sort)>summary::-webkit-details-marker{display:none}
body.front .ref-filter-value{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
body.front .ref-filter-chevron{flex:none;font-size:12px;line-height:1;opacity:.75}
html[data-portal-theme] body.front .ref-filter-choice:is([open],.is-active)>summary{color:var(--ui-accent)!important;background:var(--ui-highlight)!important;border-bottom-color:var(--ui-accent)!important}
body.front .ref-filter-grid{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;min-width:0;max-height:min(360px,55vh);overflow:auto;overscroll-behavior:contain;padding:12px!important;margin:0!important;background:var(--ui-panel)!important;border:1px solid var(--ui-line)!important;border-radius:10px!important;box-shadow:0 12px 36px rgba(15,25,40,.14)!important}
body.front .ref-filter-grid>a{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:44px!important;padding:7px 8px!important;line-height:1.4!important;font-size:13px!important;font-weight:400!important;text-align:center;text-decoration:none!important;overflow-wrap:anywhere;white-space:normal!important;background:transparent!important;color:var(--ui-ink)!important;border:0!important;border-radius:6px!important}
body.front .ref-filter-grid>a[aria-current]{color:var(--ui-accent)!important;background:var(--ui-highlight)!important;font-weight:600!important}
body.front .ref-filter-grid>a:is(:hover,:focus-visible){background:var(--ui-highlight)!important}
body.front .ref-filter-check{flex:none;font-size:11px}
body.front :is(.ref-filter-choice,.ref-results-sort):not([open])>.ref-filter-grid{display:none!important}
html[data-portal-theme] body.front .ref-filter-more{position:static;flex:none;margin:0!important;padding:0!important}
body.front .ref-filter-more>summary>svg{width:18px;height:18px;flex:none}
body.front .ref-filter-more:not([open])>.ref-mobile-filter-extra-content{display:none!important}
body.front .ref-filter-more>.ref-mobile-filter-extra-content{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:60;display:grid;gap:16px;max-height:min(460px,65vh);overflow:auto;overscroll-behavior:contain;padding:14px!important;background:var(--ui-panel)!important;border:1px solid var(--ui-line)!important;border-radius:10px!important;box-shadow:0 12px 36px rgba(15,25,40,.14)!important}
body.front .ref-filter-extra-group{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;min-width:0;margin:0!important;padding:0!important}
html[data-portal-theme] body.front .ref-filter-extra-group>h3{align-self:start;margin:0!important;padding:12px 0!important;font-size:12px!important;line-height:20px!important;color:var(--ui-muted)!important}
body.front .ref-filter-extra-group>.ref-filter-grid{position:static;max-height:none;overflow:visible;grid-template-columns:repeat(5,minmax(0,1fr));padding:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
body.front .ref-results-bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:4px 0 12px!important;padding:0!important}
body.front .ref-results-count{margin:0!important;font-size:12px!important;line-height:1.5;color:var(--ui-muted)!important}
body.front .ref-results-count>strong{font-size:13px;color:var(--ui-ink)!important}
body.front .ref-results-sort{position:relative;margin-left:auto}
html[data-portal-theme] body.front .ref-results-sort>summary{padding:8px 0 8px 12px!important;border:0!important;font-size:12px!important}
body.front .ref-results-sort>.ref-filter-grid{left:auto;right:0;width:250px;max-width:calc(100vw - 24px);grid-template-columns:1fr 1fr}
html[data-portal-theme] body.front .ref-home-find-disclosures{position:relative;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) 72px!important;gap:8px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
html[data-portal-theme] body.front .ref-home-find-disclosures>.ref-home-find-controls{display:contents!important}
html[data-portal-theme] body.front .ref-home-find-disclosures>.ref-home-find-submit{grid-row:auto!important;grid-column:auto!important;display:flex;align-items:center;justify-content:center;gap:5px;min-width:44px!important;min-height:44px!important;padding:7px 8px!important;border:0!important;border-bottom:1px solid var(--ui-line)!important;background:transparent!important;font-size:12px!important;font-weight:600!important;color:var(--ui-accent)!important;border-radius:var(--ref-filter-radius)!important}
body.front .ref-home-find-disclosures>.ref-home-find-submit:is(:hover,:focus-visible){background:var(--ui-highlight)!important}
body.front .ref-home-find-disclosures input[type=hidden]{display:none!important}
body.front .ref-mobile-filters.ref-filter-discovery{display:none!important}
@media(max-width:700px){
  html[data-portal-theme] body.front .ref-mobile-filters.ref-filter-discovery{display:flex!important;gap:6px!important;margin:8px 0 0!important}
  html[data-portal-theme] body.front .ref-filter-primary{gap:6px!important}
  html[data-portal-theme] body.front .ref-desktop-filters.ref-filter-discovery{display:none!important}
  html[data-portal-theme] body.front :is(.ref-filter-choice,.ref-filter-more)>summary{padding:8px 7px!important;font-size:13px!important}
  body.front .ref-filter-more>summary{width:44px;justify-content:center!important}
  body.front .ref-filter-more>summary>span{display:none}
  body.front .ref-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding:8px!important;gap:4px;max-height:min(360px,55dvh)}
  body.front .ref-filter-grid>a{padding:7px 4px!important;font-size:12px!important}
  body.front .ref-filter-extra-group{grid-template-columns:40px minmax(0,1fr);gap:6px}
  body.front .ref-filter-extra-group>.ref-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.front .ref-filter-more>.ref-mobile-filter-extra-content{padding:10px!important;gap:12px}
  html[data-portal-theme] body.front .ref-home-find-disclosures{grid-template-columns:repeat(3,minmax(0,1fr)) 48px!important;gap:5px!important}
  body.front .ref-home-find-disclosures>.ref-home-find-submit>span{display:none}
  html[data-portal-theme] body.front .ref-home-discovery{margin-bottom:14px!important}
  body.front .ref-results-bar{margin-bottom:10px!important}
}

/* Genuine player actions, with capability-controlled hidden states kept intact. */
body.front .ref-player-controls[hidden],body.front .ref-player-controls [hidden],body.front .ref-player-big-play[hidden]{display:none!important}
body.front [data-player-frame]:has(>.ref-player-controls){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important;aspect-ratio:auto!important;height:auto!important;min-width:0;overflow:visible!important}
body.front [data-player-frame]:has(>.ref-player-controls)>:is(video,iframe:not([data-preroll-code])){grid-column:1;grid-row:1;width:100%!important;height:auto!important;aspect-ratio:16/9!important;min-width:0;position:static!important;inset:auto!important}
body.front [data-player-frame]:has(>.ref-player-controls)>.player-error{grid-column:1;grid-row:3;position:static!important}
body.front .ref-player-controls:not([hidden]){display:block;grid-column:1;grid-row:2;min-width:0;position:relative;padding:4px 8px;background:linear-gradient(180deg,#182631,#111b24);color:#f3f7fa;border-radius:0 0 7px 7px}
body.front .ref-player-progress:not([hidden]){display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;align-items:center;min-height:30px;min-width:0}
body.front .ref-player-time{font-size:11px!important;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center;color:#d9e3eb!important}
html[data-portal-theme] body.front .ref-player-progress input[type=range]{display:block;width:100%;min-width:0;height:28px;margin:0!important;padding:0!important;accent-color:#8fcfdf;background:transparent!important;border:0!important;cursor:pointer}
body.front .ref-player-transport{display:flex;align-items:center;gap:4px;min-width:0;min-height:44px}
html[data-portal-theme] body.front .ref-player-button:not([hidden]){display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px!important;min-height:44px!important;margin:0!important;padding:7px 8px!important;font:inherit;font-size:12px!important;font-weight:500!important;line-height:1.3!important;white-space:nowrap;cursor:pointer;background:transparent!important;color:#f3f7fa!important;border:0!important;border-radius:5px!important;text-decoration:none!important}
body.front .ref-player-button:not([hidden]):is(:hover,:focus-visible),body.front .ref-player-button[aria-pressed=true]{background:rgba(255,255,255,.12)!important}
body.front .ref-player-button:disabled{opacity:.45;cursor:default}
body.front .ref-player-spacer{flex:1;min-width:0}
body.front .ref-player-options{position:relative;flex:none}
body.front .ref-player-options>summary{list-style:none}
body.front .ref-player-options>summary::-webkit-details-marker{display:none}
body.front .ref-player-options:not([open])>.ref-player-options-panel{display:none!important}
body.front .ref-player-options-panel{position:absolute;right:0;top:calc(100% + 4px);z-index:70;display:grid;gap:4px;width:210px;max-width:calc(100vw - 32px);max-height:50vh;overflow:auto;padding:8px;background:#17242f;color:#f3f7fa;box-shadow:0 10px 30px rgba(0,0,0,.25);border-radius:8px}
body.front .ref-player-rate:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:4px 8px;font-size:12px!important;color:#f3f7fa!important}
html[data-portal-theme] body.front .ref-player-rate select{min-height:36px!important;max-width:110px;padding:4px 7px!important;font-size:14px!important;color:#f3f7fa!important;background:#243947!important;border:1px solid #456171!important;border-radius:5px!important}
html[data-portal-theme] body.front .ref-player-big-play:not([hidden]){display:grid;grid-column:1;grid-row:1;align-self:center;justify-self:center;place-items:center;position:relative;inset:auto;z-index:4;width:64px;height:64px;min-height:64px!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.3)!important;border-radius:50%!important;background:rgba(12,24,32,.72)!important;color:#fff!important;font-size:26px!important;cursor:pointer}
body.front .ref-mobile-source-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0!important}
body.front .ref-mobile-source-tabs>a{display:flex;align-items:center;justify-content:center;min-width:88px;min-height:44px;padding:7px 13px!important;font-size:13px!important;line-height:1.4;text-decoration:none!important;text-align:center;border-radius:6px!important;color:var(--ui-muted)!important;background:transparent!important;border:1px solid var(--ui-line)!important}
body.front .ref-mobile-source-tabs>a[aria-current]{font-weight:600;color:var(--ui-accent)!important;background:var(--ui-highlight)!important;border-color:var(--ui-accent)!important}
body.front :is(.nn24-lines,.nnin-lines,.dd-lines,.jp-lines,.rn-lines,.dpab-lines):has(>.ref-mobile-source-tabs)>details:not([open]),body.front :is(.nn24-lines,.nnin-lines,.dd-lines,.jp-lines,.rn-lines,.dpab-lines):has(>.ref-mobile-source-tabs)>details[open]>summary{display:none!important}
@media(max-width:700px){
  html[data-portal-theme] body.front:not(.projection-mode).ref-mobile-page-player .ref-player-sticky,
  html[data-portal-theme] body.front.dpab:not(.projection-mode) :is(.dpab-stage-player,.dpab-b-player){position:sticky!important;top:54px!important;z-index:34;align-self:start!important;overflow:visible!important;max-height:none!important}
  html[data-portal-theme] body.front [data-player-frame]:has(>.ref-player-controls){margin-bottom:0!important}
  html[data-portal-theme] body.front.dpab:not(.projection-mode) .dpab-screen:has(>.ref-player-controls){margin:0!important}
  body.front .ref-player-controls:not([hidden]){padding:3px 5px}
  html[data-portal-theme] body.front .ref-player-button:not([hidden]){padding:7px 5px!important;font-size:11px!important}
  body.front .ref-player-progress:not([hidden]){grid-template-columns:38px minmax(0,1fr) 38px;gap:5px}
  html[data-portal-theme] body.front .ref-mobile-source-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  html[data-portal-theme] body.front .ref-mobile-source-tabs>a{min-width:0;font-size:12px!important;padding:7px 5px!important}
}
body.front [data-player-frame]:has(>.ref-player-controls):is(:fullscreen,:-webkit-full-screen),body.front.projection-mode [data-player-frame]:has(>.ref-player-controls){display:flex!important;flex-direction:column!important;width:100vw!important;height:100vh!important;height:100dvh!important;aspect-ratio:auto!important;inset:0!important;overflow:visible!important}
body.front [data-player-frame]:is(:fullscreen,:-webkit-full-screen)>:is(video,iframe:not([data-preroll-code])),body.front.projection-mode [data-player-frame]:has(>.ref-player-controls)>:is(video,iframe:not([data-preroll-code])){flex:1;min-height:0;height:0!important;aspect-ratio:auto!important;object-fit:contain}
body.front [data-player-frame]:is(:fullscreen,:-webkit-full-screen)>.ref-player-controls,body.front.projection-mode [data-player-frame]>.ref-player-controls{flex:none;width:100%}
body.front [data-player-frame]:is(:fullscreen,:-webkit-full-screen)>.ref-player-big-play:not([hidden]),body.front.projection-mode [data-player-frame]>.ref-player-big-play:not([hidden]){position:absolute;left:50%;top:45%;transform:translate(-50%,-50%)}

@media(max-width:700px){body.front :is(#movie-comments,.ref-player-content-tabs,.ref-player-content-panel){scroll-margin-top:calc(68px + var(--ref-sticky-player-height,0px))}}

body.front [data-player-information]{min-width:0;width:100%;margin:14px 0 20px}
body.front .ref-player-content-tabs{display:flex;align-items:stretch;gap:0;min-height:44px;margin:0 0 12px;padding:0;border-bottom:1px solid var(--ui-line)}
body.front .ref-player-content-tabs>a{display:inline-flex;flex:1;align-items:center;justify-content:center;min-height:44px;min-width:64px;padding:8px 4px!important;line-height:1.4;font-size:14px;font-weight:500;color:var(--ui-muted)!important;text-decoration:none!important;background:transparent!important;border:0!important;border-radius:0!important}
body.front .ref-player-content-tabs>a[aria-selected=true]{color:var(--ui-accent)!important;box-shadow:inset 0 -2px var(--ui-accent);font-weight:600}
body.front .ref-player-content-panel[hidden]{display:none!important}
body.front .ref-player-content-panel{min-width:0;font-size:14px;line-height:1.8}
body.front .ref-player-content-panel p{margin:8px 0 12px;font-size:14px;line-height:1.8}
body.front .ref-player-content-panel .ref-comments{margin:0!important;padding:0!important;border:0!important}
body.front .ref-player-content-panel .ref-comments>h2{font-size:15px!important;margin:0 0 12px!important}
html[data-portal-theme] body.front .ref-player-content-panel .ref-comments textarea{width:100%;max-width:100%;min-height:108px;padding:10px 12px!important;border:1px solid var(--ui-line)!important;border-radius:7px!important;background:var(--ui-field)!important;color:var(--ui-ink)!important;font-size:16px!important;line-height:1.6}
body.front .ref-player-content-panel .ref-comment-head{align-items:center;gap:10px;font-size:12px}
html[data-portal-theme] body.front .ref-player-content-panel .ref-comments select{min-height:44px!important;padding:7px!important;font-size:16px!important;background:var(--ui-field)!important;color:var(--ui-ink)!important;border:1px solid var(--ui-line)!important}
html[data-portal-theme] body.front .ref-player-content-panel .ref-comments :is(button,.ref-action){display:inline-flex;min-height:44px!important;align-items:center;justify-content:center;padding:9px 16px!important;font-size:13px!important}
@media(max-width:700px){
  body.front .ref-player-content-tabs{gap:0;margin-bottom:10px}
  body.front .ref-player-content-tabs>a{font-size:13px}
  body.front .ref-player-content-panel,body.front .ref-player-content-panel p{font-size:13px!important;line-height:1.8!important}
}
@media(max-width:700px) and (max-height:500px){
  html[data-portal-theme] body.front:not(.projection-mode).ref-mobile-page-player .ref-player-sticky,
  html[data-portal-theme] body.front.dpab:not(.projection-mode) :is(.dpab-stage-player,.dpab-b-player){position:static!important}
}

/* True film facts sit in the information panel, without another nested card. */
body.front .ref-player-film-facts{display:grid;gap:8px;margin:12px 0;font-size:13px;line-height:1.7}
body.front .ref-player-film-facts>div{display:grid;grid-template-columns:3em minmax(0,1fr);gap:8px}
body.front .ref-player-film-facts dt{color:var(--ui-muted)}
body.front .ref-player-film-facts dd{margin:0;overflow-wrap:anywhere}
body.front .ref-player-detail-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:13px;color:var(--ui-accent)}

/* Applied optional conditions stay visible while their native menu is closed. */
html[data-portal-theme] body.front .ref-filter-discovery{flex-wrap:wrap}
body.front .ref-filter-active-chips{display:flex;flex:0 0 100%;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;margin:0;padding:0}
html[data-portal-theme] body.front .ref-filter-active-chips>.ref-filter-active-chip{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px!important;line-height:1.4!important;font-size:12px!important;color:var(--ui-accent)!important;background:var(--ui-highlight)!important;border:0!important;border-radius:var(--ref-filter-radius)!important;text-decoration:none!important;white-space:normal;overflow-wrap:anywhere}
body.front .ref-filter-active-chips>a:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}

/* Compact channels, one search entry and inline filter expansion. */
html[data-portal-theme] body.front .ref-home-discovery{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 24px;
}
html[data-portal-theme] body.front .ref-home-channels{
  display:flex!important;flex:0 0 auto;flex-wrap:nowrap;justify-content:flex-start;
  width:auto;max-width:100%;gap:6px!important;margin:0!important;
}
html[data-portal-theme] body.front .ref-home-channels>a{
  display:inline-flex!important;flex:0 0 auto!important;width:auto!important;
  min-width:0!important;min-height:44px!important;padding:6px 11px!important;
  gap:6px!important;border:0!important;border-radius:var(--ref-filter-radius)!important;
  font-size:13px!important;font-weight:500!important;line-height:1.4!important;
  color:var(--ui-ink)!important;background-color:var(--ui-highlight)!important;
  background-image:none!important;box-shadow:none!important;
}
html[data-portal-theme] body.front .ref-home-channels>a:hover{color:var(--ui-accent)!important}
html[data-portal-theme] body.front .ref-home-channels .ref-channel-icon{width:17px;height:17px}
html[data-portal-theme] body.front .ref-home-find-disclosures{
  flex:1 1 460px;max-width:720px;min-width:0;margin-left:auto!important;
  grid-template-columns:repeat(3,minmax(0,1fr)) 64px!important;align-items:start;gap:7px!important;
}
html[data-portal-theme] body.front .ref-home-find-disclosures .ref-filter-choice>summary{
  background:var(--ui-field)!important;border:1px solid var(--ui-line)!important;
  padding:9px 12px!important;border-radius:var(--ref-filter-radius)!important;
}
html[data-portal-theme] body.front .ref-home-find-disclosures .ref-filter-choice[open]>summary{
  border-color:var(--ui-accent)!important;color:var(--ui-accent)!important;
}
html[data-portal-theme] body.front .ref-home-find-disclosures>.ref-home-find-submit{
  min-height:44px!important;background:var(--ui-highlight)!important;border:0!important;
  color:var(--ui-accent)!important;border-radius:var(--ref-filter-radius)!important;
}
body.front .ref-filter-inline-ready details.ref-filter-choice>.ref-filter-grid,
body.front .ref-filter-inline-ready details.ref-filter-more>.ref-mobile-filter-extra-content{display:none!important}
html[data-portal-theme] body.front .ref-filter-inline-panel{
  position:static!important;flex:0 0 100%;grid-column:1/-1;order:2;align-self:stretch;
  width:100%;min-width:0;max-width:100%;max-height:none!important;overflow:visible!important;
  margin:0!important;padding:10px 0 2px!important;border:0!important;box-shadow:none!important;
}
body.front .ref-filter-inline-panel[hidden]{display:none!important}
html[data-portal-theme] body.front .ref-filter-inline-panel :is(.ref-filter-grid,.ref-mobile-filter-extra-content){
  position:static!important;inset:auto!important;z-index:auto!important;width:100%;
  max-width:100%;max-height:none!important;overflow:visible!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
html[data-portal-theme] body.front .ref-filter-inline-panel .ref-filter-grid{
  display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;
}
html[data-portal-theme] body.front .ref-filter-inline-panel .ref-filter-grid>a{
  flex:0 1 auto;width:auto;max-width:100%;min-width:44px;min-height:44px!important;
  padding:8px 12px!important;border-radius:var(--ref-filter-radius)!important;
}
html[data-portal-theme] body.front .ref-filter-inline-panel .ref-mobile-filter-extra-content{display:grid!important;gap:12px}
body.front .ref-filter-inline-ready .ref-filter-active-chips{order:3}
html[data-portal-theme] body.front .ref-filter-inline-ready .ref-filter-choice[open]>summary .ref-filter-chevron{transform:rotate(180deg)}
body.front .ref-filter-choice>summary:focus-visible,
body.front .ref-home-channels>a:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}

html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle{
  display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
  width:auto!important;min-width:44px!important;min-height:44px!important;padding:8px 12px!important;
  font-size:13px!important;line-height:1.4!important;font-weight:500!important;
  background:var(--ui-highlight)!important;border:1px solid transparent!important;
  border-radius:999px!important;color:var(--ui-ink)!important;
}
html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle::before,
html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle::after{content:none!important}
html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle>.ref-search-label{display:inline!important}
body.front .ref-search-icon{display:block;width:20px;height:20px;flex:none}
html[data-portal-theme] body.front .ref-shell .ref-search-menu[open]>.ref-menu-toggle{
  color:var(--ui-accent)!important;border-color:var(--ui-line)!important;
}
html[data-portal-theme] body.front .ref-shell .ref-search-panel{
  padding:16px!important;border-radius:14px!important;
  box-shadow:0 12px 34px rgba(10,18,28,.12)!important;
}
body.front .ref-search-panel>label{display:block;margin-bottom:10px;font-size:13px;font-weight:500}
body.front .ref-search-fields{gap:8px!important}
html[data-portal-theme] body.front .ref-search-fields input[type=search]{min-height:44px;font-size:16px!important;border-radius:8px!important}
html[data-portal-theme] body.front .ref-search-fields button{min-height:44px;padding:8px 15px!important;border-radius:8px!important}
body.front .md-discover-heading{display:block!important}
body.front .dpab-stage-top{display:block!important}
body.front .dpab-feature{grid-template-columns:94px minmax(0,1fr)!important}

/* The original synopsis is present in HTML; only long prose is folded. */
body.front details[data-ref-synopsis].ref-synopsis-ready>summary{display:none!important}
body.front details[data-ref-synopsis].ref-synopsis-ready>.ref-mobile-story-body>h2{display:block!important}
body.front .ref-synopsis-collapsible:not(.ref-synopsis-expanded){
  display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:4;
  overflow:hidden!important;
}
html[data-portal-theme] body.front button.ref-synopsis-toggle{
  display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;
  min-width:44px;min-height:44px;margin:4px 0 8px!important;padding:4px 0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  font-family:inherit;font-size:13px!important;line-height:1.4;font-weight:500;
  color:var(--ui-accent)!important;cursor:pointer;
}
body.front button.ref-synopsis-toggle[hidden]{display:none!important}
body.front .ref-synopsis-toggle::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
body.front .ref-synopsis-toggle[aria-expanded=true]::after{transform:translateY(2px) rotate(225deg)}
body.front .ref-synopsis-toggle:focus-visible{outline:2px solid var(--ui-accent);outline-offset:3px}
@media(max-width:700px){
  html[data-portal-theme] body.front .ref-home-discovery{display:flex;gap:8px!important}
  html[data-portal-theme] body.front .ref-home-channels{gap:4px!important;margin:0!important}
  html[data-portal-theme] body.front .ref-home-channels>a{gap:4px!important;padding:5px!important;font-size:12px!important}
  html[data-portal-theme] body.front .ref-home-channels .ref-channel-icon{width:14px;height:14px}
  html[data-portal-theme] body.front .ref-home-find-disclosures{flex:1 1 100%;width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr)) 48px!important;gap:5px!important}
  html[data-portal-theme] body.front .ref-home-find-disclosures .ref-filter-choice>summary{padding:8px!important;font-size:12px!important}
  html[data-portal-theme] body.front .ref-filter-inline-panel .ref-filter-grid{gap:4px}
  html[data-portal-theme] body.front .ref-filter-inline-panel .ref-filter-grid>a{padding:7px 9px!important;font-size:12px!important}
  html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle{width:44px!important;padding:10px!important}
  html[data-portal-theme] body.front .ref-shell .ref-search-menu>.ref-menu-toggle>.ref-search-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  html[data-portal-theme] body.front .ref-shell .ref-search-panel{padding:12px!important}
}

@media(max-width:700px){html[data-portal-theme] body.front .ref-player-rate select{font-size:16px!important}}

/* Desktop media fits above its real controls; mobile and both fullscreen modes stay native. */
@media(min-width:701px){
  body.front:not(.projection-mode) [data-player-frame]:has(>.ref-player-controls):not(:fullscreen):not(:-webkit-full-screen)>:is(video,iframe:not([data-preroll-code])):not(:fullscreen):not(:-webkit-full-screen){
    max-height:max(200px,calc(100vh - var(--ref-player-doc-top,0px) - var(--ref-player-controls-height,80px) - 20px))!important;
    max-height:max(200px,calc(100dvh - var(--ref-player-doc-top,0px) - var(--ref-player-controls-height,80px) - 20px))!important;
    object-fit:contain!important;
  }
}

/* The existing player banner follows the media, outside sticky/fullscreen frames. */
body.front:is(.ref-mobile-page-player,.dpab) .ref-player-media-column{
  display:block;min-width:0;width:100%;align-self:start;
}
body.front:is(.ref-mobile-page-player,.dpab) .site-ad-stripcash-inline[data-site-ad-context="player"]{
  margin-block:8px 16px;
}
body.front:is(.ref-mobile-page-player,.dpab) :is(.ref-player-media-column,.jp-viewer-main,.of-viewer-main,.md-viewer-main,.ma-viewer):has(>.site-ad-stripcash-inline[data-site-ad-context="player"])>[data-player-frame],
body.front.ref-mobile-page-player :is(.dd-viewer-stage,.ac-viewer-stage):has(+.site-ad-stripcash-inline[data-site-ad-context="player"])>[data-player-frame]{
  margin-bottom:0!important;
}
@media(max-width:700px){
  html[data-portal-theme] body.front:is(.ref-mobile-page-player,.dpab) .ref-player-media-column{
    display:contents!important;
  }
  html[data-portal-theme] body.front:is(.ref-mobile-page-player,.dpab) .site-ad-stripcash-inline[data-site-ad-context="player"]{
    order:0!important;flex:none;align-self:center;margin:5px auto 12px!important;
  }
}

@media(min-width:701px){
  body.front.ref-mobile-page-player .ac-viewer-stage:has(~.site-ad-stripcash-inline[data-site-ad-context="player"])>[data-player-frame],
  body.front.dpab .dpab-b-player:has(~.site-ad-stripcash-inline[data-site-ad-context="player"])>.dpab-screen{
    margin-bottom:0!important;
  }
}

/* Player-first native flow: media, then the existing title and information.
   Only watch templates carry this marker; the media and controls stay intact. */
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(280px,340px)!important;
  align-items:start!important;
  gap:clamp(20px,2.4vw,32px)!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-main{
  display:block!important;
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
}
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-sidebar{
  display:block!important;
  grid-column:2!important;
  grid-row:1!important;
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-heading{
  display:block!important;
  min-width:0!important;
  max-width:none!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  text-align:left!important;
}
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-heading h1{
  font-size:clamp(22px,1.85vw,29px)!important;
  line-height:1.4!important;
  font-weight:650!important;
  letter-spacing:0!important;
  margin:5px 0 10px!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
  text-align:left!important;
}
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-heading p{
  max-width:none!important;
  margin:5px 0!important;
  font-size:12px!important;
  line-height:1.7!important;
  white-space:normal!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
  text-align:left!important;
}
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-heading .ref-update{
  margin-top:8px!important;
  font-size:11px!important;
}
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-heading .dpab-facts{
  justify-content:flex-start!important;
}
html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-sidebar :is(.dd-viewer-options,.ac-viewer-episodes,.ma-viewer-episodes){
  margin:0!important;
  padding:0!important;
}
@media(min-width:701px){
  html[data-portal-theme] body.front.ref-player-layout-v2 .dpab-feature.ref-player-heading{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr)!important;
    gap:14px!important;
    align-items:start!important;
  }
  html[data-portal-theme] body.front.ref-player-layout-v2 .dpab-feature.ref-player-heading>img{
    width:64px!important;height:96px!important;
  }
}
@media(max-width:700px){
  html[data-portal-theme] body.front.ref-player-layout-v2 :is(.nn24-breadcrumb,.nnin-breadcrumb,.dd-breadcrumb,.jp-breadcrumb,.rn-breadcrumb,.dpab-crumb){
    display:flex!important;
    order:0!important;
    min-width:0!important;
    margin:0 0 10px!important;
    padding:0!important;
    font-size:11px!important;
    line-height:1.5!important;
  }
  html[data-portal-theme] body.front.ref-player-layout-v2:is(.tpl-nnyy24,.tpl-nnyyin) :is(.nn24-breadcrumb,.nnin-breadcrumb){
    margin:0 12px 10px!important;
  }
  html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-layout{
    order:1!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }
  html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-sidebar{
    grid-column:1!important;
    grid-row:2!important;
  }
  html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-heading{
    margin:0 0 14px!important;
  }
  html[data-portal-theme] body.front.ref-player-layout-v2 .ref-player-heading h1{
    font-size:21px!important;
  }
  html[data-portal-theme] body.front.ref-player-layout-v2 :is(.nn24-player-meta,.nnin-player-meta){
    display:block!important;
  }
  html[data-portal-theme] body.front.ref-player-layout-v2 .md-viewer-side>dl{
    display:grid!important;
  }
}


/* Filter component only. Inherit every template's palette/font/radius. */
html[data-portal-theme] body.front :is(.ref-filter-discovery,.ref-home-find-disclosures) .ref-filter-choice>summary,
html[data-portal-theme] body.front .ref-filter-discovery .ref-filter-more>summary{
  min-height:44px!important;gap:5px!important;border:0!important;
  background:var(--ui-field)!important;box-shadow:none!important;
}
body.front .ref-filter-key{flex:none;font-size:11px;line-height:1.4;color:var(--ui-muted)}
body.front .ref-filter-value{flex:1 1 auto;min-width:0;font-size:13px;text-align:left}
body.front .ref-filter-choice .ref-filter-chevron{margin-left:0}
html[data-portal-theme] body.front .ref-filter-choice:is([open],.is-active)>summary,
html[data-portal-theme] body.front .ref-filter-more:is([open],.is-active)>summary{
  color:var(--ui-accent)!important;background:var(--ui-highlight)!important;
}
body.front .ref-filter-more>summary{position:relative}
body.front .ref-filter-more>summary>.ref-filter-indicator{
  display:block!important;position:absolute;top:5px;right:6px;width:5px;height:5px;
  border-radius:50%;background:var(--ui-accent);
}
html[data-portal-theme] body.front .ref-filter-active-chips>.ref-filter-reset-all,
html[data-portal-theme] body.front .ref-home-selection-controls>.ref-filter-reset-all{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  margin-left:auto;padding:6px 3px 6px 9px;border:0;background:transparent!important;
  color:var(--ui-muted)!important;font:inherit;font-size:12px;text-decoration:underline;
  text-underline-offset:3px;cursor:pointer;
}
body.front .ref-home-selection-controls{
  display:flex;grid-column:1/-1;order:3;flex-wrap:wrap;align-items:center;gap:4px 7px;min-width:0;
}
body.front .ref-home-selection-controls[hidden]{display:none!important}
body.front .ref-home-selection-count{font-size:11px;color:var(--ui-muted)}
html[data-portal-theme] body.front .ref-home-selection-controls>.ref-filter-active-chip{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  padding:6px 10px;border:0;border-radius:var(--ref-filter-radius);font:inherit;font-size:12px;
  color:var(--ui-accent);background:var(--ui-highlight);cursor:pointer;
}
body.front :is(#reference-category-results,#reference-category-filters-mobile,#reference-category-filters-desktop){scroll-margin-top:76px}
body.front .ref-results-refine{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  font-size:12px;color:var(--ui-muted);text-decoration:none;white-space:nowrap;
}
body.front .ref-results-refine-mobile{display:none}
body.front .ref-results-count{margin-right:auto}
html[data-portal-theme] body.front.nn24-category .ref-category-grid-heading{
  margin:12px 0 0!important;font-size:16px!important;line-height:1.5!important;font-weight:600!important;
}
body.front :is(.ref-filter-reset-all,.ref-results-refine,.ref-home-selection-controls button):focus-visible{
  outline:2px solid var(--ui-accent);outline-offset:2px;
}
@media(max-width:700px){
  html[data-portal-theme] body.front :is(.ref-filter-discovery,.ref-home-find-disclosures) .ref-filter-choice>summary{
    padding:8px 6px!important;gap:4px!important;
  }
  body.front .ref-filter-value{font-size:12px}
  body.front .ref-results-bar{gap:8px}
  body.front .ref-results-refine-mobile{display:inline-flex}
  body.front .ref-results-refine-desktop{display:none}
  body.front :is(#reference-category-results,#reference-category-filters-mobile){scroll-margin-top:70px}
}

/* Draft append to reference-flat.css. Shared by editorial and audience lists;
 * do not put only in conditional ai-editorial.css: audience-only pages need it. */
body.front [data-comments-preview-list]>[hidden],
body.front .ref-comments-toggle[hidden],
html[data-portal-theme] body.front[class] [data-comments-preview] [data-comments-preview-list]>[hidden],
html[data-portal-theme] body.front[class] [data-comments-preview]>.ref-comments-toggle[hidden]{display:none!important}
html[data-portal-theme] body.front .ref-comments-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  width:auto;max-width:100%;min-width:44px;min-height:44px;margin:0 0 8px;
  padding:8px 10px;border:0;border-radius:5px;background:transparent;box-shadow:none;
  font:inherit;font-size:12px;line-height:1.5;font-weight:500;text-align:center;
  color:var(--ui-accent,var(--dp-accent,#316b73));cursor:pointer;
}
body.front .ref-comments-toggle>svg{flex:none;transition:transform .15s ease}
body.front .ref-comments-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}
body.front .ref-comments-toggle:hover{text-decoration:underline;text-underline-offset:3px}
body.front .ref-comments-toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body.front .ref-comments-toggle>svg{transition:none}}
