
/* site-polish shared */
html,body{max-width:100%;overflow-x:clip}
img,video{max-width:100%;height:auto}
#movie-player,video.player,video[controls],[class*="player"] video,.cp-player-frame video,.cb-player video,.mg-player video,.tw-player video,.hc-player video,.nc-player video,.pop-player video{
  width:100%!important;max-width:100%!important;max-height:min(70vh,720px);border-radius:12px;background:#000;display:block;
}
[class*="play__stage"],[class*="player-frame"],[class*="player__frame"],.player-shell{width:100%;max-width:100%;box-sizing:border-box}
form[role="search"] input,form[class*="search"] input,[class*="search"] input[type="search"]{
  max-width:none!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;
}
[data-nav-toggle],.cp-nav-toggle,.lp-toggle,.hc-burger,.cpop-nav-toggle,.tw-burger,.pop-nav-toggle,.cb-nav-toggle,.mg-burger,.nc-burger{display:none!important}
@media (max-width:900px){
  [data-nav-toggle],.cp-nav-toggle,.lp-toggle,.hc-burger,.cpop-nav-toggle,.tw-burger,.pop-nav-toggle,.cb-nav-toggle,.mg-burger,.nc-burger{
    display:inline-flex!important;align-items:center;justify-content:center;
  }
}
/* 分类页误用横滑卡片类名 → 强制网格 */
.hc-spotlight__cards,.hc-spotlight__cards--solo,
[class*="spotlight__cards"]{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr))!important;
  grid-auto-flow:row!important;
  gap:14px!important;
  overflow:visible!important;
  width:100%!important;
  max-width:100%!important;
}
/* 卡片副信息 */
[class*="card__meta"],[class*="card__tags"],[class*="poster__meta"]{
  display:block!important;margin:0!important;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;
  color:#94a3b8!important;font-size:.72rem!important;
}
[class*="card__meta"] span,[class*="card__tags"] span,[class*="poster__meta"] span{
  display:inline!important;padding:0!important;background:transparent!important;border:0!important;
  color:inherit!important;font-weight:600!important;
}
[class*="card__meta"] span + span::before,
[class*="card__tags"] span + span::before,
[class*="poster__meta"] span + span::before{content:" · ";color:#cbd5e1}

/* site-polish · 10 neon-club */
body.nc-body{background:#07070c!important;color:#e2e8f0}
.nc-main{max-width:1120px;margin:0 auto;padding:16px 20px 56px;box-sizing:border-box}

/* 顶栏：logo 靠左、导航居中、搜索给足宽度 */
.nc-head__inner{
  display:flex!important;align-items:center;gap:20px;
  max-width:1160px;margin:0 auto;padding:12px 20px;box-sizing:border-box;
}
.nc-logo{flex:0 0 auto}
/* 导航紧挨 logo，工具区推到右侧，中间别再硬居中留空 */
.nc-pills{flex:0 1 auto;display:flex;justify-content:flex-start;gap:2px;min-width:0;flex-wrap:nowrap;overflow-x:auto}
.nc-pills a{
  padding:6px 11px;border-radius:8px;white-space:nowrap;
  color:#c7d2fe!important;font-weight:700;font-size:.88rem;text-decoration:none!important;
}
.nc-pills a:hover{background:#1e1b4b;color:#fff!important}
.nc-head__tools{flex:0 0 auto;display:flex;align-items:center;gap:10px;margin-left:auto}
.nc-search{
  display:flex!important;align-items:center;
  width:268px!important;max-width:268px!important;height:38px;box-sizing:border-box;
  border:1px solid #312e81;border-radius:999px;background:#0f172a;overflow:hidden;
}
.nc-search input{
  flex:1 1 auto;min-width:0;height:100%;padding:0 14px;box-sizing:border-box;
  border:0;background:transparent;color:#e2e8f0;font-size:.86rem;
}
.nc-search input::placeholder{color:#64748b}
.nc-search button{
  flex:0 0 auto;height:100%;padding:0 18px;border:0;cursor:pointer;
  background:#4f46e5;color:#fff;font-weight:800;font-size:.84rem;white-space:nowrap;
}
.nc-search button:hover{background:#6366f1}

/* 这行是 SEO 长句，压成一行淡灰小字，别跟导航抢注意力 */
.nc-ticker{
  display:flex;align-items:center;gap:8px;
  max-width:1160px;margin:0 auto;padding:0 20px 10px;box-sizing:border-box;
  border-top:0;font-size:.74rem;color:#64748b;
}
.nc-ticker__label{
  flex:0 0 auto;padding:2px 8px;border-radius:4px;
  background:#1e1b4b;color:#a5b4fc;font-weight:700;
}
.nc-ticker__text{
  flex:1 1 auto;min-width:0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

.nc-hero{
  display:flex!important;align-items:center;justify-content:space-between;gap:40px;
  margin:0 0 22px;padding:26px 32px;border-radius:16px;overflow:hidden!important;
  background:linear-gradient(135deg,#0f172a,#1e1b4b 60%,#0f172a);border:1px solid #312e81;
}
/* 文案放宽、右侧海报放大，把中间那块空档吃掉 */
.nc-hero__copy{flex:1 1 auto;max-width:540px;min-width:0}
.nc-hero h1{margin:0 0 10px;font-size:clamp(1.6rem,3.2vw,2.2rem);color:#a5b4fc;font-weight:900;line-height:1.2}
.nc-hero__sub{margin:0 0 16px;color:#94a3b8;line-height:1.65}
.nc-hero__tag{display:inline-block;margin:0 0 10px;padding:4px 10px;border-radius:999px;background:#6366f1;color:#fff;font-size:.72rem;font-weight:800}
.nc-hero__wall{flex:0 0 auto;min-width:0}

.nc-hero__visual{margin:0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px}
.nc-hero__visual-stage{position:relative;display:flex;justify-content:center;align-items:flex-end}
.nc-hero__visual-item{
  position:relative;padding:0;border:0;background:none;cursor:pointer;
  border-radius:12px;overflow:hidden;display:block;
  transition:transform .28s ease,box-shadow .28s ease,opacity .28s ease,filter .28s ease;
}
.nc-hero__visual-item img{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px}
.nc-hero__visual-item:focus-visible{outline:2px solid #818cf8;outline-offset:3px}
.nc-hero__visual-name{
  position:absolute;left:0;right:0;bottom:0;padding:14px 8px 6px;
  font-size:.72rem;font-weight:700;color:#fff;text-align:left;
  background:linear-gradient(transparent,rgba(0,0,0,.78));
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  opacity:0;transition:opacity .28s ease;
}
.nc-hero__visual-item.is-active .nc-hero__visual-name{opacity:1}
.nc-hero__visual-go{
  display:inline-block;padding:6px 16px;border-radius:999px;
  background:#6366f1;color:#fff!important;font-size:.76rem;font-weight:800;
  text-decoration:none;transition:transform .2s ease,filter .2s ease;
}
.nc-hero__visual-go:hover{transform:translateY(-1px);filter:brightness(1.08)}

.nc-hero__visual{flex:0 0 404px;width:404px;align-items:flex-start}
.nc-hero__visual-stage{gap:12px;align-items:stretch;height:212px;width:100%}
.nc-hero__visual-item{width:88px;height:212px;opacity:.55}
.nc-hero__visual-item img{height:212px}
.nc-hero__visual-item:hover{opacity:.85}
.nc-hero__visual-item.is-active{
  width:204px;opacity:1;
  box-shadow:0 0 0 2px #818cf8,0 18px 34px rgba(2,6,23,.55);
}
.nc-hero__visual-go{margin-left:0}

.nc-hero__visual-name{color:#fff}
@media(max-width:800px){
  .nc-hero__visual,.nc-hero__visual-stage{width:100%;flex:1 1 auto}
}

.nc-hero__visual-item img{background:#111}

.nc-chip{
  text-decoration:none!important;
  display:inline-block;padding:6px 14px;border-radius:999px;
  border:1px solid #312e81;background:#0f172a;color:#c7d2fe!important;
  font-size:.84rem;font-weight:700;transition:background .2s ease,border-color .2s ease;
}
.nc-chip:hover{background:#1e1b4b;border-color:#4f46e5;color:#fff!important}
.nc-chips__row{display:flex;flex-wrap:wrap;gap:10px}
.nc-chips__title{margin:0 0 12px;font-size:1.05rem;color:#e2e8f0}
.nc-poster__frame{aspect-ratio:2/3;overflow:hidden;border-radius:10px;background:#111}
.nc-poster__frame img{width:100%;height:100%;object-fit:cover}
.nc-poster__title{font-size:.8rem;margin:6px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1080px){
  .nc-pills{justify-content:flex-start;overflow-x:auto}
  .nc-search{width:200px}
}
@media(max-width:800px){
  .nc-head__inner{flex-wrap:wrap;gap:12px}
  .nc-head__tools{flex:1 1 auto;justify-content:flex-end}
  .nc-search{flex:1 1 auto;width:auto;min-width:0}
  .nc-hero{flex-direction:column;align-items:stretch;gap:18px}
  .nc-hero__copy,.nc-hero__wall{max-width:none;flex:1 1 auto}
}
