/* =========================================================
   MACCMS10 影视模板（第三十五套） - style.css
   ne- 霓虹暗夜影院（霓虹暗黑风，与前34套风格完全不同）
   黑底 + 青绿霓虹发光 + 深灰卡片 + 霓虹进度条
   焦点区：3 行横向大片卡（左封面 + 中信息 + 右霓虹排名）
   ========================================================= */
:root {
  --ne-bg: #0b0f0d;          /* 页面黑 */
  --ne-panel: #141a17;       /* 卡片深灰 */
  --ne-panel2: #1b241f;      /* 悬浮加深 */
  --ne-line: rgba(57,255,180,.16);  /* 霓虹描边 */
  --ne-ink: #e6f2ec;         /* 正文 */
  --ne-sub: #7e9189;         /* 次要 */
  --ne-green: #39ffb4;       /* 青绿霓虹 */
  --ne-deep: #0fae7e;        /* 深青绿 */
  --ne-gold: #ffd166;        /* 暖黄点缀 */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  background: var(--ne-bg);
  color: var(--ne-ink);
  font: 14px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { border: 0; display: block; }
em, i { font-style: normal; }

/* ---------- 顶部霓虹进度线 ---------- */
.ne-beam {
  height: 3px;
  background: linear-gradient(90deg, var(--ne-green), var(--ne-gold), var(--ne-green));
  background-size: 200% 100%;
  animation: neGlide 6s linear infinite;
  position: sticky;
  top: 0;
  z-index: 120;
}
@keyframes neGlide {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- 黑色通栏头部 ---------- */
.ne-top {
  position: sticky;
  top: 3px;
  z-index: 110;
  background: rgba(11,15,13,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ne-line);
}
.ne-top-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ne-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--ne-green);
  text-shadow: 0 0 12px rgba(57,255,180,.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
}
.ne-brand-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--ne-green);
  box-shadow: 0 0 14px rgba(57,255,180,.8);
  flex-shrink: 0;
}
.ne-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}
.ne-menu-item {
  display: inline-block;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ne-ink);
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
}
.ne-menu-item:hover { color: var(--ne-green); text-shadow: 0 0 10px rgba(57,255,180,.5); }
.ne-menu-item::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  border-radius: 1px;
  background: var(--ne-green);
  box-shadow: 0 0 8px rgba(57,255,180,.8);
  opacity: 0;
  transform: scaleX(0);
  transition: opacity .25s, transform .25s;
}
.ne-menu-item:hover::after { opacity: 1; transform: scaleX(1); }
.ne-menu-home { color: var(--ne-green); }
.ne-menu-home::after { opacity: 1; transform: scaleX(1); }
.ne-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ne-hunt {
  display: flex;
  border: 1px solid var(--ne-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ne-panel);
}
.ne-hunt-input {
  width: 170px;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: var(--ne-ink);
  font-size: 13px;
  outline: none;
}
.ne-hunt-input::-webkit-input-placeholder { color: var(--ne-sub); }
.ne-hunt-go {
  padding: 8px 16px;
  border: 0;
  background: var(--ne-green);
  color: #0b0f0d;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.ne-hunt-go:hover { box-shadow: 0 0 14px rgba(57,255,180,.6); }
.ne-ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--ne-line);
  border-radius: 10px;
  background: var(--ne-panel);
  cursor: pointer;
  flex-shrink: 0;
}
.ne-ham span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ne-green);
  transition: transform .25s, opacity .25s;
}
.ne-ham.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ne-ham.is-open span:nth-child(2) { opacity: 0; }
.ne-ham.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 移动端悬浮抽屉 ---------- */
.ne-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  width: 262px;
  background: var(--ne-panel);
  border: 1px solid var(--ne-line);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(57,255,180,.15), 0 16px 40px rgba(0,0,0,.5);
  z-index: 115;
}
.ne-drawer.is-open { display: block; }
.ne-drawer-link {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ne-ink);
  border-bottom: 1px solid var(--ne-line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-drawer-link:last-child { border-bottom: 0; }
.ne-drawer-link:hover { color: var(--ne-green); }
.ne-drawer-parent { color: var(--ne-green); background: rgba(57,255,180,.05); }
.ne-drawer-sub a {
  display: block;
  padding: 8px 18px 8px 30px;
  font-size: 13px;
  color: var(--ne-sub);
  border-bottom: 1px dashed var(--ne-line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-drawer-sub a:last-child { border-bottom: 0; }
.ne-drawer-sub a:hover { color: var(--ne-green); }

/* ---------- 霓虹分类胶囊条 ---------- */
.ne-ribbon {
  position: sticky;
  top: 57px;
  z-index: 105;
  background: var(--ne-panel);
  border-bottom: 1px solid var(--ne-line);
}
.ne-ribbon-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ne-ribbon-in::-webkit-scrollbar { display: none; }
.ne-pill {
  display: inline-block;
  flex-shrink: 0;
  padding: 5px 16px;
  border: 1px solid var(--ne-line);
  border-radius: 16px;
  background: rgba(57,255,180,.06);
  color: var(--ne-ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.ne-pill:hover {
  border-color: var(--ne-green);
  color: var(--ne-green);
  box-shadow: 0 0 10px rgba(57,255,180,.3);
}
.ne-pill-home {
  border-color: var(--ne-green);
  color: var(--ne-green);
}

/* ---------- 正文容器 ---------- */
.ne-frame { min-height: 60vh; }
.ne-canvas {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px 34px;
}

/* ---------- 面板 ---------- */
.ne-panel {
  background: var(--ne-panel);
  border: 1px solid var(--ne-line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  overflow: hidden;
}
.ne-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--ne-line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.ne-panel-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ne-green);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-panel-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 16px;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: -2px;
  background: var(--ne-green);
  box-shadow: 0 0 8px rgba(57,255,180,.8);
}
.ne-panel-more { font-size: 13px; color: var(--ne-sub); flex-shrink: 0; }
.ne-panel-more:hover { color: var(--ne-green); }
.ne-panel-note { font-size: 12px; color: var(--ne-sub); flex-shrink: 0; }

/* ---------- 面包屑（仅详情/播放） ---------- */
.ne-crumb {
  padding: 0 0 14px;
  font-size: 13px;
  color: var(--ne-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.ne-crumb a:hover { color: var(--ne-green); }
.ne-crumb-sep { color: #3c524a; }

/* ---------- 焦点区：霓虹横幅幻灯片轮播 ---------- */
.ne-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ne-line);
  box-shadow: 0 0 26px rgba(57,255,180,.12);
  margin-bottom: 20px;
  background: var(--ne-panel);
}
.ne-hero-track {
  display: flex;
  transition: transform .5s ease;
}
.ne-hero-slide {
  position: relative;
  display: block;
  min-width: 100%;
  height: 400px;
  overflow: hidden;
}
.ne-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.ne-hero-slide:hover img { transform: scale(1.04); }
.ne-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,12,10,.92) 0%, rgba(8,12,10,.55) 45%, rgba(8,12,10,.08) 75%);
}
.ne-hero-copy {
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 62%;
  color: #fff;
}
.ne-hero-name {
  display: block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--ne-green);
  text-shadow: 0 0 18px rgba(57,255,180,.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-hero-meta {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #cfe6dc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-hero-desc {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #a8bab1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ne-hero-badges {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.ne-hero-score,
.ne-hero-plays {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(11,15,13,.55);
  border: 1px solid var(--ne-green);
  color: var(--ne-green);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}
.ne-hero-plays { color: #e6f2ec; border-color: rgba(57,255,180,.35); }
.ne-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 56px;
  border: 1px solid var(--ne-line);
  border-radius: 8px;
  background: rgba(11,15,13,.55);
  color: var(--ne-green);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ne-hero-arrow:hover { background: var(--ne-green); color: #0b0f0d; box-shadow: 0 0 14px rgba(57,255,180,.5); }
.ne-hero-prev { left: 14px; }
.ne-hero-next { right: 14px; }
.ne-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.ne-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(230,242,236,.4);
  cursor: pointer;
}
.ne-hero-dot.is-on {
  background: var(--ne-green);
  box-shadow: 0 0 10px rgba(57,255,180,.8);
  width: 22px;
  border-radius: 5px;
}
.ne-hero-dot {
  transition: all .3s ease;
}

/* ---------- 封面网格（电脑5列 / 手机3列，3/4 标准） ---------- */
.ne-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ne-card { display: block; min-width: 0; }
.ne-card-pic {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ne-panel2);
  border: 1px solid var(--ne-line);
}
.ne-card-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.ne-card:hover .ne-card-pic img { transform: scale(1.05); }
.ne-card-flag {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 1px 8px;
  border-radius: 4px;
  background: rgba(15,174,126,.92);
  color: #fff;
  font-size: 11px;
  max-width: 76%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-card-score {
  position: absolute;
  right: 6px;
  top: 6px;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--ne-gold);
  color: #141a17;
  font-size: 11px;
  font-weight: 800;
}
.ne-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,12,10,.8) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.ne-card:hover .ne-card-veil { opacity: 1; }
.ne-card-fade {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-card:hover .ne-card-fade { opacity: 1; transform: translateY(0); }
.ne-card-copy { display: block; padding: 8px 2px 0; }
.ne-card-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ne-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-card:hover .ne-card-name { color: var(--ne-green); }
.ne-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ne-sub);
}

/* ---------- 三榜压轴 ---------- */
.ne-boards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}
.ne-board { margin-bottom: 0; }
.ne-board-list { display: block; }
.ne-board-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px dashed var(--ne-line);
  min-width: 0;
}
.ne-board-row:last-child { border-bottom: 0; }
.ne-board-row:hover { background: var(--ne-panel2); }
.ne-board-no {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(57,255,180,.1);
  color: var(--ne-green);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 20px;
  flex-shrink: 0;
}
.ne-board-row:nth-child(1) .ne-board-no {
  background: var(--ne-green);
  color: #0b0f0d;
  box-shadow: 0 0 10px rgba(57,255,180,.6);
}
.ne-board-name {
  flex: 1;
  font-size: 13px;
  color: var(--ne-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-board-track {
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: rgba(57,255,180,.1);
  overflow: hidden;
  flex-shrink: 0;
}
.ne-board-track i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ne-deep), var(--ne-green));
  box-shadow: 0 0 8px rgba(57,255,180,.6);
}
.ne-board-val {
  font-size: 12px;
  color: var(--ne-sub);
  flex-shrink: 0;
  min-width: 30px;
  text-align: right;
}

/* ---------- 筛选栏（默认收缩 + 底部展开 + 横滑） ---------- */
.ne-funnel {
  background: var(--ne-panel);
  border: 1px solid var(--ne-line);
  border-radius: 12px;
  padding: 6px 16px;
  margin-bottom: 18px;
  min-width: 0;
}
.ne-funnel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 2px;
  border-bottom: 1px dashed var(--ne-line);
  margin-bottom: 4px;
}
.ne-funnel-tip { font-size: 13px; font-weight: 700; color: var(--ne-green); }
.ne-funnel-hint { font-size: 12px; color: var(--ne-sub); }
.ne-funnel-body { display: none; }
.ne-funnel.is-expanded .ne-funnel-body { display: block; }
.ne-funnel-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--ne-line);
  min-width: 0;
}
.ne-funnel-row:last-child { border-bottom: 0; }
.ne-funnel-key {
  width: 74px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ne-green);
  padding-top: 4px;
}
.ne-funnel-scroll {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 2px;
}
.ne-funnel-scroll::-webkit-scrollbar { height: 4px; }
.ne-funnel-scroll::-webkit-scrollbar-track { background: rgba(57,255,180,.08); border-radius: 2px; }
.ne-funnel-scroll::-webkit-scrollbar-thumb { background: rgba(57,255,180,.4); border-radius: 2px; }
.ne-chip {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--ne-line);
  border-radius: 14px;
  font-size: 13px;
  color: var(--ne-sub);
  background: rgba(57,255,180,.04);
  white-space: nowrap;
  flex-shrink: 0;
}
.ne-chip:hover { border-color: var(--ne-green); color: var(--ne-green); }
.ne-chip.is-on {
  background: var(--ne-green);
  border-color: var(--ne-green);
  color: #0b0f0d;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(57,255,180,.4);
}
.ne-funnel-bottom {
  padding: 10px 0 4px;
  text-align: center;
  border-top: 1px dashed var(--ne-line);
  margin-top: 2px;
}
.ne-expand {
  padding: 5px 22px;
  border: 1px solid var(--ne-line);
  border-radius: 14px;
  background: transparent;
  color: var(--ne-green);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.ne-expand:hover { border-color: var(--ne-green); box-shadow: 0 0 10px rgba(57,255,180,.25); }

/* ---------- 分页 ---------- */
.ne-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 6px 0 2px;
}
.ne-pager-btn {
  padding: 6px 14px;
  border: 1px solid var(--ne-line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--ne-sub);
  background: var(--ne-panel);
}
.ne-pager-btn:hover { border-color: var(--ne-green); color: var(--ne-green); }
.ne-pager-btn.is-on {
  background: var(--ne-green);
  border-color: var(--ne-green);
  color: #0b0f0d;
  font-weight: 700;
}

/* ---------- 影片档案 ---------- */
.ne-dossier {
  display: flex;
  gap: 22px;
}
.ne-dossier-poster {
  width: 160px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  align-self: flex-start;
  aspect-ratio: 3 / 4;
  background: var(--ne-panel2);
  border: 1px solid var(--ne-line);
}
.ne-dossier-poster img { width: 100%; height: 100%; object-fit: cover; }
.ne-dossier-copy { min-width: 0; flex: 1; }
.ne-dossier-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ne-green);
  text-shadow: 0 0 14px rgba(57,255,180,.35);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-dossier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.ne-badge {
  padding: 2px 12px;
  border: 1px solid var(--ne-line);
  border-radius: 12px;
  font-size: 12px;
  color: var(--ne-sub);
  background: rgba(57,255,180,.04);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.ne-dossier-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.ne-dossier-scorenum {
  font-size: 30px;
  font-weight: 900;
  color: var(--ne-green);
  text-shadow: 0 0 16px rgba(57,255,180,.5);
}
.ne-dossier-scoremeta { font-size: 12px; color: var(--ne-sub); }
.ne-dossier-blurb {
  font-size: 13px;
  color: var(--ne-sub);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ne-dossier-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.ne-button-main {
  padding: 9px 26px;
  border: 0;
  border-radius: 8px;
  background: var(--ne-green);
  color: #0b0f0d;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(57,255,180,.45);
}
.ne-button-main:hover { box-shadow: 0 0 22px rgba(57,255,180,.7); }
.ne-button-ghost {
  padding: 9px 26px;
  border-radius: 8px;
  border: 1px solid var(--ne-line);
  color: var(--ne-green);
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}
.ne-button-ghost:hover { border-color: var(--ne-green); }

/* ---------- 播放器（16:9 全屏居中，仅播放页） ---------- */
.ne-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060a08;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--ne-line);
  box-shadow: 0 0 24px rgba(57,255,180,.1);
}
@supports not (aspect-ratio: 16 / 9) {
  .ne-screen { padding-top: 56.25%; }
}
.ne-screen div,
.ne-screen iframe,
.ne-screen video,
.ne-screen embed,
.ne-screen object {
  width: 100% !important;
  height: 100% !important;
}

/* ---------- 选集 ---------- */
.ne-episodes { overflow: hidden; }
.ne-episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.ne-episode {
  display: block;
  text-align: center;
  padding: 7px 4px;
  border: 1px solid var(--ne-line);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ne-ink);
  background: var(--ne-panel2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-episode:hover { border-color: var(--ne-green); color: var(--ne-green); }
.ne-episode.is-on {
  background: var(--ne-green);
  border-color: var(--ne-green);
  color: #0b0f0d;
  font-weight: 700;
}
.ne-episodes-more { text-align: center; }
.ne-episodes-morebtn {
  display: inline-block;
  padding: 6px 22px;
  border: 1px solid var(--ne-line);
  border-radius: 14px;
  font-size: 13px;
  color: var(--ne-green);
  background: transparent;
  cursor: pointer;
}
.ne-episodes-morebtn:hover { border-color: var(--ne-green); }
.ne-ep-hidden { display: none; }
.ne-episodes-grid.is-expanded .ne-ep-hidden { display: block; }

/* ---------- 主体两栏（详情/播放） ---------- */
.ne-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 18px;
  align-items: start;
}
.ne-layout-main { min-width: 0; display: block; }
.ne-aside {
  display: block;
  position: sticky;
  top: 118px;
  min-width: 0;
}
.ne-aside .ne-panel { margin-bottom: 18px; }
.ne-kinship { gap: 10px; }
.ne-kinship .ne-card-pic { border-radius: 6px; }
.ne-kinship .ne-card-copy { padding: 6px 1px 0; }
.ne-kinship .ne-card-name { font-size: 12px; }

/* ---------- 总浏览量榜（文字排行，右栏） ---------- */
.ne-heat { display: block; }
.ne-heat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px dashed var(--ne-line);
  min-width: 0;
}
.ne-heat-row:last-child { border-bottom: 0; }
.ne-heat-row:hover { background: var(--ne-panel2); }
.ne-heat-no {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(57,255,180,.1);
  color: var(--ne-green);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
  flex-shrink: 0;
}
.ne-heat-row:nth-child(1) .ne-heat-no,
.ne-heat-row:nth-child(2) .ne-heat-no,
.ne-heat-row:nth-child(3) .ne-heat-no {
  background: var(--ne-green);
  color: #0b0f0d;
  box-shadow: 0 0 10px rgba(57,255,180,.5);
}
.ne-heat-name {
  flex: 1;
  font-size: 13px;
  color: var(--ne-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-heat-val {
  font-size: 12px;
  color: var(--ne-sub);
  flex-shrink: 0;
}

/* ---------- 详情介绍 ---------- */
.ne-ledger { display: block; }
.ne-ledger dd {
  padding: 7px 0;
  border-bottom: 1px dashed var(--ne-line);
  font-size: 13px;
  color: var(--ne-ink);
}
.ne-ledger dd:last-child { border-bottom: 0; }
.ne-ledger dd em { color: var(--ne-sub); margin-right: 4px; }
.ne-ledger-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 其他人还在搜 ---------- */
.ne-also {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ne-also a {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--ne-line);
  border-radius: 14px;
  font-size: 13px;
  color: var(--ne-sub);
  background: rgba(57,255,180,.04);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-also a:hover { border-color: var(--ne-green); color: var(--ne-green); }

/* ---------- 常见问题 ---------- */
.ne-faqs { display: block; }
.ne-faqs-item { padding: 10px 0; border-bottom: 1px dashed var(--ne-line); }
.ne-faqs-item:last-child { border-bottom: 0; }
.ne-faqs-q {
  display: block;
  font-size: 14px;
  color: var(--ne-green);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-faqs-a { font-size: 13px; color: var(--ne-sub); margin-top: 4px; }
.ne-faqs-a a { color: var(--ne-green); }

/* ---------- 评论 ---------- */
.ne-review {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--ne-line);
  min-width: 0;
}
.ne-review:last-child { border-bottom: 0; }
.ne-review-face {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ne-green);
  color: #0b0f0d;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  line-height: 36px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(57,255,180,.4);
}
.ne-review-body { flex: 1; min-width: 0; }
.ne-review-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.ne-review-user {
  font-size: 13px;
  font-weight: 700;
  color: var(--ne-ink);
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ne-review-stamp {
  font-size: 11px;
  color: #0b0f0d;
  background: var(--ne-gold);
  padding: 0 6px;
  border-radius: 3px;
}
.ne-review-stars { color: var(--ne-gold); font-size: 12px; }
.ne-dim { color: #2d3b35; }
.ne-review-clock { font-size: 11px; color: var(--ne-sub); }
.ne-review-text { font-size: 13px; color: var(--ne-ink); }
.ne-review-up {
  font-size: 12px;
  color: var(--ne-sub);
  flex-shrink: 0;
  align-self: center;
}

/* ---------- 热门标签 ---------- */
.ne-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ne-tags a {
  padding: 4px 14px;
  border: 1px solid var(--ne-line);
  border-radius: 14px;
  font-size: 13px;
  color: var(--ne-sub);
  background: rgba(57,255,180,.04);
}
.ne-tags a:hover { border-color: var(--ne-green); color: var(--ne-green); }

/* ---------- 空态 ---------- */
.ne-vacant {
  padding: 60px 0;
  text-align: center;
  color: var(--ne-sub);
  font-size: 14px;
}

/* ---------- 页脚（黑色霓虹） ---------- */
.ne-cellar {
  background: #070b09;
  border-top: 1px solid var(--ne-line);
  margin-top: 10px;
}
.ne-cellar-cols {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.ne-cellar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ne-green);
  margin-bottom: 12px;
}
.ne-cellar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--ne-sub);
  align-items: center;
}
.ne-cellar-links a:hover { color: var(--ne-green); }
.ne-cellar-links i { color: #37443e; }
.ne-cellar-about {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ne-sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ne-cellar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ne-cellar-tags a {
  padding: 4px 14px;
  border: 1px solid var(--ne-line);
  border-radius: 14px;
  font-size: 13px;
  color: var(--ne-sub);
}
.ne-cellar-tags a:hover {
  border-color: var(--ne-green);
  color: var(--ne-green);
  box-shadow: 0 0 10px rgba(57,255,180,.25);
}
.ne-cellar-copy {
  border-top: 1px solid var(--ne-line);
  padding: 16px 20px 20px;
  text-align: center;
  font-size: 12px;
  color: #5d6f67;
}
.ne-cellar-copy p { margin: 2px 0; }
.ne-cellar-copy a:hover { color: var(--ne-green); }

/* ---------- 回到顶部 ---------- */
#neBackTop {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ne-green);
  border-radius: 50%;
  background: rgba(11,15,13,.9);
  color: var(--ne-green);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(57,255,180,.4);
  z-index: 99;
}
#neBackTop:hover { background: var(--ne-green); color: #0b0f0d; }

/* ---------- 组合/容器类补充定义 ---------- */
.ne-lazy { background: var(--ne-panel2); }
.ne-dossier-play { margin-top: 0; }
.ne-drawer-group { display: block; }
.ne-cellar-col { min-width: 0; }

/* =========================================================
   自适应：平板 1024 / 手机 768 / 小屏 480
   ========================================================= */
@media (max-width: 1024px) {
  .ne-canvas, .ne-top-in, .ne-ribbon-in, .ne-cellar-cols { padding-left: 16px; padding-right: 16px; }
  .ne-grid { grid-template-columns: repeat(4, 1fr); }
  .ne-layout { grid-template-columns: 1fr; }
  .ne-aside { position: static; }
  .ne-boards { grid-template-columns: 1fr; gap: 0; }
  .ne-board { margin-bottom: 18px; }
}

@media (max-width: 768px) {
  body { font-size: 13px; }
  .ne-top-in { padding: 8px 14px; gap: 10px; }
  .ne-brand { font-size: 18px; max-width: 150px; }
  .ne-brand-mark { width: 11px; height: 11px; }
  .ne-menu { display: none; }
  .ne-ham { display: flex; }
  .ne-hunt-input { width: 100px; }
  .ne-ribbon { top: 56px; }
  .ne-ribbon-in { padding: 7px 14px; }
  .ne-canvas { padding: 18px 14px 24px; }
  .ne-panel { padding: 12px; border-radius: 10px; }
  .ne-hero-slide { height: 200px; }
  .ne-hero-copy { left: 16px; max-width: 72%; }
  .ne-hero-name { font-size: 19px; }
  .ne-hero-meta { margin-top: 6px; font-size: 12px; }
  .ne-hero-desc { display: none; }
  .ne-hero-badges { margin-top: 8px; }
  .ne-hero-score, .ne-hero-plays { padding: 2px 10px; font-size: 11px; }
  .ne-hero-arrow { width: 30px; height: 42px; font-size: 18px; }
  .ne-hero-dots { bottom: 8px; }
  .ne-hero-dot { width: 7px; height: 7px; }
  .ne-hero-dot.is-on { width: 18px; }
  .ne-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ne-card-flag, .ne-card-score { font-size: 10px; padding: 0 6px; }
  .ne-card-fade { font-size: 12px; }
  .ne-card-name { font-size: 12px; }
  .ne-panel-title { font-size: 15px; }
  .ne-dossier { flex-direction: row; gap: 12px; align-items: flex-start; }
  .ne-dossier-poster { width: 130px; }
  .ne-dossier-name { font-size: 18px; }
  .ne-dossier-scorenum { font-size: 26px; }
  .ne-dossier-blurb { -webkit-line-clamp: 2; }
  .ne-funnel { padding: 4px 12px; min-width: 0; }
  .ne-funnel-row { flex-direction: column; gap: 8px; padding: 9px 0; width: 100%; min-width: 0; }
  .ne-funnel-key { width: auto; padding-top: 0; }
  .ne-funnel-scroll { width: 100%; max-width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .ne-episodes-grid { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
  .ne-cellar-cols { grid-template-columns: 1fr 1fr; gap: 18px; padding: 24px 16px 6px; }
}

@media (max-width: 480px) {
  .ne-brand { font-size: 16px; max-width: 130px; }
  .ne-hunt-input { width: 80px; padding: 8px 10px; }
  .ne-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ne-pager-btn { padding: 5px 10px; font-size: 12px; }
  .ne-cellar-cols { grid-template-columns: 1fr; }
  #neBackTop { right: 14px; bottom: 26px; width: 40px; height: 40px; }
}
