/* nnyy24-ui-r2 — 详情页 / 播放页：统一胶囊按钮 + 参考 olevod 布局（PC + 手机）
   只改样式和前端增强，服务端 HTML、标题、结构化数据不变，SEO/GEO 不受影响。
   放在所有 nnyy24 样式之后加载（需压过 reference-flat.css 的 !important）。 */
body.tpl-nnyy24.nn24{--u-h:38px!important;--u-r:999px!important;--u-fs:14px!important;--u-px:18px!important;--u-gap:10px!important;--u-bg:var(--flat-control,#eef2f2)!important;--u-bg2:var(--flat-selected,#e2eaea)!important;--u-fg:var(--flat-text,#33393d)!important;--u-mut:var(--flat-muted,var(--nn-muted,#69757c))!important;--u-on:var(--nn-accent,#08766f)!important;--u-on-fg:#fff!important}
html[data-portal-theme="dark"] body.tpl-nnyy24.nn24{--u-on-fg:#06211e!important}
@media (max-width:767px){body.tpl-nnyy24.nn24{--u-h:34px!important;--u-fs:13px!important;--u-px:14px!important;--u-gap:8px!important}}
body.tpl-nnyy24.nn24 .u-hide,body.tpl-nnyy24.nn24 .u-panel[hidden]{display:none!important}
body.tpl-nnyy24.nn24 .u-vh{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important}
body.tpl-nnyy24.nn24 :is(.nn24-detail-watch,.nn24-line>summary,.player-toolbar button,.player-toolbar a,.ref-comments .ref-action,.ref-comments details>summary,.hk1-comments-fold-close,.u-tab){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;height:var(--u-h)!important;min-height:0!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0 var(--u-px)!important;border:0 solid transparent!important;border-radius:var(--u-r)!important;background:var(--u-bg)!important;color:var(--u-fg)!important;font-size:var(--u-fs)!important;font-weight:500!important;line-height:1!important;white-space:nowrap!important;text-decoration:none!important;cursor:pointer!important;list-style:none!important;box-shadow:none!important;outline-offset:2px!important}
body.tpl-nnyy24.nn24 :is(.nn24-line>summary,.ref-comments details>summary)::-webkit-details-marker{display:none!important}
body.tpl-nnyy24.nn24 :is(.nn24-line>summary,.player-toolbar button,.player-toolbar a,.ref-comments .ref-action,.hk1-comments-fold-close,.u-tab):hover{background:var(--u-bg2)!important;color:var(--u-fg)!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy a.nn24-detail-watch{background:var(--u-on)!important;color:var(--u-on-fg)!important;padding:0 28px!important;font-weight:600!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy a.nn24-detail-watch:hover{background:var(--u-on)!important;color:var(--u-on-fg)!important;filter:brightness(1.08)!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy a.nn24-detail-watch::before{content:""!important;display:block!important;width:0!important;height:0!important;border-style:solid!important;border-width:5px 0 5px 8px!important;border-color:transparent transparent transparent currentColor!important;border-radius:0!important}
body.tpl-nnyy24.nn24 .nn24-lines[data-enhanced]{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:var(--u-gap)!important;margin:0!important}
body.tpl-nnyy24.nn24 .nn24-lines .nn24-line>summary{border-width:1.5px!important}
body.tpl-nnyy24.nn24 .nn24-lines .nn24-line[open]>summary{border-color:var(--u-on)!important;color:var(--u-on)!important;background:transparent!important}
body.tpl-nnyy24.nn24 .nn24-lines[data-enhanced]>.nn24-line>.nn24-episodes{flex:0 0 100%!important;width:100%!important;max-width:none!important;border:0!important;padding:4px 0 0!important;margin:0!important}
body.tpl-nnyy24.nn24 .nn24-lines[data-enhanced]>.nn24-line::details-content{order:2!important;flex:0 0 100%!important;width:100%!important}
body.tpl-nnyy24.nn24 .nn24-lines[data-enhanced]>.nn24-line:not([open])::details-content{display:none!important}
@supports not selector(::details-content){
  body.tpl-nnyy24.nn24 .nn24-lines[data-enhanced]{display:block!important}
  body.tpl-nnyy24.nn24 .nn24-lines[data-enhanced]>.nn24-line{display:block!important;margin:0 0 var(--u-gap)!important}
}
body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group:only-child>summary{display:none!important}
body.tpl-nnyy24.nn24 .nn24-episodes:has(>.nn24-episode-group+.nn24-episode-group){display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:var(--u-gap)!important}
body.tpl-nnyy24.nn24 .nn24-episodes:has(>.nn24-episode-group+.nn24-episode-group)>.nn24-episode-group{display:contents!important}
body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group::details-content{order:2!important;flex:0 0 100%!important;width:100%!important}
body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group:not([open])::details-content{display:none!important}
body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group>summary{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:var(--u-h)!important;margin:0!important;padding:0 var(--u-px)!important;border:1.5px solid transparent!important;border-radius:var(--u-r)!important;background:var(--u-bg)!important;color:var(--u-fg)!important;font-size:var(--u-fs)!important;font-weight:500!important;line-height:1!important;white-space:nowrap!important;list-style:none!important;cursor:pointer!important}
body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group>summary::-webkit-details-marker{display:none!important}
body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group[open]>summary{border-color:var(--u-on)!important;color:var(--u-on)!important;background:transparent!important}
body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group>div{margin-top:4px!important}
@supports not selector(::details-content){
  body.tpl-nnyy24.nn24 .nn24-episodes:has(>.nn24-episode-group+.nn24-episode-group){display:block!important}
  body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group{display:block!important;margin:0 0 var(--u-gap)!important}
}
body.tpl-nnyy24.nn24 .nn24-episodes .nn24-episode-group>div{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(104px,1fr))!important;gap:var(--u-gap)!important}
body.tpl-nnyy24.nn24 .nn24-episodes .nn24-episode-group a{box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:var(--u-h)!important;padding:0 10px!important;margin:0!important;line-height:var(--u-h)!important;text-align:center!important;font-size:var(--u-fs)!important;font-weight:500!important;border:0!important;border-radius:var(--u-r)!important;background:var(--u-bg)!important;color:var(--u-fg)!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;text-decoration:none!important}
body.tpl-nnyy24.nn24 .nn24-episodes .nn24-episode-group a:hover{background:var(--u-bg2)!important}
body.tpl-nnyy24.nn24 .nn24-episodes .nn24-episode-group a[aria-current]{background:var(--u-on)!important;color:var(--u-on-fg)!important}
body.tpl-nnyy24.nn24 .nn24-lines .nn24-line>summary{min-width:112px!important}
body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group>summary{min-width:96px!important}
body.tpl-nnyy24.nn24 .nn24-player-side .nn24-lines .nn24-line>summary{flex:0 0 calc((100% - 2 * var(--u-gap)) / 3)!important;min-width:0!important;padding:0 6px!important}
body.tpl-nnyy24.nn24 .nn24-player-side .nn24-episodes>.nn24-episode-group>summary{flex:0 0 calc((100% - 3 * var(--u-gap)) / 4)!important;min-width:0!important;padding:0 4px!important}
@media (max-width:767px){
  body.tpl-nnyy24.nn24 .nn24-lines .nn24-line>summary{flex:0 0 calc((100% - 2 * var(--u-gap)) / 3)!important;min-width:0!important;padding:0 6px!important}
  body.tpl-nnyy24.nn24 .nn24-episodes>.nn24-episode-group>summary{flex:0 0 calc((100% - 3 * var(--u-gap)) / 4)!important;min-width:0!important;padding:0 4px!important}
}
body.tpl-nnyy24.nn24 .nn24-breadcrumb>span:first-child{display:none!important}
body.tpl-nnyy24.nn24 .nn24-detail-top{padding-bottom:26px!important}
body.tpl-nnyy24.nn24 .nn24-detail-top .nn24-detail-grid{display:grid!important;grid-template-columns:200px minmax(0,1fr)!important;gap:28px!important;align-items:start!important}
body.tpl-nnyy24.nn24 .nn24-detail-grid .nn24-detail-poster{width:auto!important;max-width:none!important;margin:0!important}
body.tpl-nnyy24.nn24 .nn24-detail-grid .nn24-detail-poster img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2/3!important;object-fit:cover!important;border-radius:8px!important}
body.tpl-nnyy24.nn24 .nn24-detail-grid .nn24-detail-copy{min-width:0!important;padding:0!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-detail-kicker{display:none!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy>h1{margin:2px 0 6px!important;font-size:26px!important;font-weight:600!important;line-height:1.3!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-detail-original{margin:0 0 4px!important;font-size:14px!important;opacity:.75!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy .ref-update{margin:0 0 10px!important;font-size:12px!important;opacity:.7!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-facts{margin:0!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-facts p{margin:0!important;font-size:14px!important;line-height:28px!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-facts small{font-size:inherit!important;opacity:.7!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy a.nn24-detail-watch{margin:16px 0 0!important}
body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-source-title{margin:22px 0 10px!important;padding:0!important;font-size:16px!important;font-weight:600!important;border:0!important}
body.tpl-nnyy24.nn24 .u-tabs{display:flex!important;flex-wrap:nowrap!important;gap:var(--u-gap)!important;margin:0 0 16px!important;padding:0!important}
body.tpl-nnyy24.nn24 .u-tabs .u-tab{background:transparent!important;color:var(--u-mut)!important;font-size:15px!important}
body.tpl-nnyy24.nn24 .u-tabs .u-tab[aria-selected="true"]{background:var(--u-bg2)!important;color:var(--u-fg)!important;font-weight:600!important}
body.tpl-nnyy24.nn24 .u-tabs .u-tab b{font-weight:500!important;font-size:12px!important;color:var(--u-on)!important}
body.tpl-nnyy24.nn24 main .nn24-section{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:32px!important;align-items:start!important;margin-top:24px!important}
body.tpl-nnyy24.nn24 main .nn24-section:has(.nn24-rank ol:empty){grid-template-columns:minmax(0,1fr)!important}
body.tpl-nnyy24.nn24 main .nn24-rank:has(ol:empty){display:none!important}
body.tpl-nnyy24.nn24 .u-main{min-width:0!important}
body.tpl-nnyy24.nn24 main :is(.nn24-story,.nn24-player-story){margin:0!important;padding:0!important}
body.tpl-nnyy24.nn24 main :is(.nn24-story,.nn24-player-story) .nn24-story-content{font-size:15px!important;line-height:1.85!important}
body.tpl-nnyy24.nn24 main :is(.u-main .ref-comments,.u-comments){margin:0!important;padding:0!important;border:0!important;background:transparent!important}
body.tpl-nnyy24.nn24 main :is(.u-main .ref-comments,.u-comments)>p{margin:0 0 10px!important;font-size:13px!important;opacity:.75!important}
body.tpl-nnyy24.nn24 .ref-comments a.ref-action{margin:0 0 14px!important}
body.tpl-nnyy24.nn24 .ref-comments details.u-open>summary,body.tpl-nnyy24.nn24 .ref-comments .u-open .hk1-comments-fold-close{display:none!important}
body.tpl-nnyy24.nn24 .u-empty{font-size:14px!important;opacity:.7!important;margin:6px 0!important}
body.tpl-nnyy24.nn24 .nn24-player-top{padding:14px 0 6px!important}
body.tpl-nnyy24.nn24 .nn24-player-top .nn24-player-layout{grid-template-columns:minmax(0,1fr) 340px!important;align-items:start!important;border-radius:8px!important;overflow:hidden!important}
body.tpl-nnyy24.nn24 .nn24-player-layout .nn24-player-side{padding:16px!important;display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important}
body.tpl-nnyy24.nn24 .nn24-player-side>*{margin:0!important}
body.tpl-nnyy24.nn24 .nn24-player-layout .nn24-player-side.u-scroll{position:relative!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important}
body.tpl-nnyy24.nn24 .nn24-player-side.u-scroll>*{flex-shrink:0!important}
body.tpl-nnyy24.nn24 .nn24-player-side .nn24-player-kicker{font-size:12px!important;color:var(--u-on)!important;font-weight:600!important}
body.tpl-nnyy24.nn24 .nn24-player-side>h1{font-size:19px!important;font-weight:600!important;line-height:1.35!important}
body.tpl-nnyy24.nn24 .nn24-player-side .nn24-player-meta{font-size:13px!important;opacity:.75!important}
body.tpl-nnyy24.nn24 .nn24-player-side .ref-update{font-size:12px!important;opacity:.65!important}
body.tpl-nnyy24.nn24 .nn24-player-side .nn24-lines{margin-top:6px!important}
body.tpl-nnyy24.nn24 .nn24-player-side .nn24-episodes .nn24-episode-group>div{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.tpl-nnyy24.nn24 .nn24-player-frame .player-toolbar{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:var(--u-gap)!important;margin:0!important;padding:12px 0 0!important;background:transparent!important;position:static!important}
body.tpl-nnyy24.nn24 .nn24-player-frame .player-toolbar [hidden]{display:none!important}
body.tpl-nnyy24.nn24.u-r1 main .nn24-player-caption{display:none!important}
body.tpl-nnyy24.nn24 main>.nn24-container>.u-tabs{margin-top:24px!important}
body.tpl-nnyy24.nn24 .nn24-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
body.tpl-nnyy24.nn24 .nn24-section-actions{display:flex!important;align-items:center!important;gap:8px!important;margin:0!important}
body.tpl-nnyy24.nn24 :is(.nn24-section-actions>button,.nn24-section-actions>a,.nn24-section-head>a,.nn24-pager>a,.nn24-pager>span,.nn24-sort>a){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:var(--u-h)!important;min-width:0!important;margin:0!important;padding:0 var(--u-px)!important;border:0!important;border-radius:var(--u-r)!important;background:var(--u-bg)!important;color:var(--u-fg)!important;font-size:var(--u-fs)!important;font-weight:500!important;line-height:1!important;white-space:nowrap!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important}
body.tpl-nnyy24.nn24 :is(.nn24-section-actions>button,.nn24-section-actions>a,.nn24-section-head>a,.nn24-pager>a,.nn24-sort>a):hover{background:var(--u-bg2)!important}
body.tpl-nnyy24.nn24 .nn24-pager{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:var(--u-gap)!important;margin:28px 0 8px!important}
body.tpl-nnyy24.nn24 .nn24-pager>span:not([aria-disabled]){background:transparent!important;color:var(--u-mut)!important;cursor:default!important}
body.tpl-nnyy24.nn24 .nn24-pager>[aria-disabled]{opacity:.45!important;cursor:default!important}
body.tpl-nnyy24.nn24 .nn24-sort{display:flex!important;flex-wrap:wrap!important;gap:var(--u-gap)!important;margin:18px 0 14px!important}
body.tpl-nnyy24.nn24 .nn24-sort>a.active,body.tpl-nnyy24.nn24 .nn24-sort>a[aria-current]{background:var(--u-on)!important;color:var(--u-on-fg)!important}
body.tpl-nnyy24.nn24 .nn24-filter-row>div>a{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;height:var(--u-h)!important;padding:0 var(--u-px)!important;border-radius:var(--u-r)!important;font-size:var(--u-fs)!important;line-height:1!important;white-space:nowrap!important}
@media (max-width:767px){
  body.tpl-nnyy24.nn24 .nn24-filter-row{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 10px!important}
  body.tpl-nnyy24.nn24 .nn24-filter-row>strong{flex:0 0 auto!important;width:auto!important;margin:0!important}
  body.tpl-nnyy24.nn24 :is(.nn24-filter-row>div,.nn24-sort){display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;min-width:0!important;padding:0!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
  body.tpl-nnyy24.nn24 :is(.nn24-filter-row>div,.nn24-sort)::-webkit-scrollbar{display:none!important}
  body.tpl-nnyy24.nn24 :is(.nn24-filter-row>div>a,.nn24-sort>a){flex:0 0 auto!important}
}
body.tpl-nnyy24.nn24 .nn24-grid>.u-trim{display:none!important}
body.tpl-nnyy24.nn24 .nn24-card h3{margin:8px 0 0!important;font-size:14px!important;font-weight:500!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media (max-width:767px){
  body.tpl-nnyy24.nn24 .nn24-detail-top{padding-bottom:18px!important}
  body.tpl-nnyy24.nn24 .nn24-detail-top .nn24-detail-grid{grid-template-columns:112px minmax(0,1fr)!important;grid-template-rows:auto auto auto auto 1fr!important;column-gap:14px!important;row-gap:0!important}
  body.tpl-nnyy24.nn24 .nn24-detail-grid .nn24-detail-copy{display:contents!important}
  body.tpl-nnyy24.nn24 .nn24-detail-grid .nn24-detail-poster{grid-column:1!important;grid-row:1/span 5!important}
  body.tpl-nnyy24.nn24 .nn24-detail-grid .nn24-detail-poster img{border-radius:6px!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy>:is(h1,.nn24-detail-original,.ref-update,.nn24-facts){grid-column:2!important;min-width:0!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy>h1{order:1!important}
  body.tpl-nnyy24.nn24 .nn24-detail-original{order:2!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy>.ref-update{order:3!important}
  body.tpl-nnyy24.nn24 .nn24-facts{order:4!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy>:is(.nn24-detail-watch,.nn24-source-title,.nn24-lines){order:5!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy>:is(.nn24-detail-watch,.nn24-source-title,.nn24-lines){grid-column:1/-1!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy>h1{font-size:19px!important;margin:0 0 4px!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-detail-original{font-size:12px!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy .ref-update{margin:0 0 4px!important;font-size:11px!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-facts p{font-size:13px!important;line-height:22px!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy a.nn24-detail-watch{width:100%!important;margin-top:14px!important}
  body.tpl-nnyy24.nn24 .nn24-detail-copy .nn24-source-title{margin:16px 0 8px!important;font-size:15px!important}
  body.tpl-nnyy24.nn24 .nn24-episodes .nn24-episode-group>div,
  body.tpl-nnyy24.nn24 .nn24-player-side .nn24-episodes .nn24-episode-group>div{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.tpl-nnyy24.nn24 main .nn24-section{grid-template-columns:minmax(0,1fr)!important;gap:20px!important;margin-top:18px!important}
  body.tpl-nnyy24.nn24 main :is(.nn24-story,.nn24-player-story) .nn24-story-content{font-size:14px!important;line-height:1.75!important}
  body.tpl-nnyy24.nn24 .u-tabs .u-tab{font-size:14px!important}
  body.tpl-nnyy24.nn24 .nn24-player-top{padding:0 0 4px!important}
  body.tpl-nnyy24.nn24 .nn24-player-top .nn24-breadcrumb{display:none!important}
  body.tpl-nnyy24.nn24 .nn24-player-top .nn24-player-layout{grid-template-columns:minmax(0,1fr)!important;border-radius:0!important;margin:0!important}
  body.tpl-nnyy24.nn24 .nn24-player-layout .nn24-player-side{padding:12px 15px!important}
  body.tpl-nnyy24.nn24 .nn24-player-side>h1{font-size:17px!important}
  body.tpl-nnyy24.nn24 .nn24-player-frame .player-toolbar{padding:10px 15px 0!important}
  body.tpl-nnyy24.nn24 main>.nn24-container>.u-tabs{margin-top:18px!important}
}
