/* 分集剧情页 */

.wy-plot-row { display: flex; flex-direction: column; gap: var(--gap); align-items: flex-start; }
.wy-plot-content { min-width: 0; width: 100%; }
.wy-plot-sidebar { min-width: 0; width: 100%; }

.wy-plot-ep-list--stack {
  margin-bottom: var(--gap);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.wy-plot-ep-scroll { display: flex; flex-wrap: wrap; gap: 10px 12px; max-height: 220px; overflow-y: auto; padding-right: 6px; }
.wy-plot-ep {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-second);
}
.wy-plot-ep:hover { border-color: var(--accent-vivid); color: var(--accent); }
.wy-plot-ep.wy-active { background: var(--accent-vivid); border-color: var(--accent-vivid); color: #1a1200; font-weight: 700; }

.wy-plot-article-body { font-size: 14px; color: var(--text-second); line-height: 1.9; }

.wy-plot-nav { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.wy-plot-nav-item { display: flex; gap: 8px; }
.wy-plot-nav-label { flex-shrink: 0; color: var(--text-faint); }
.wy-plot-nav-link { color: var(--text-second); }
.wy-plot-nav-link:hover { color: var(--accent); }
.wy-plot-nav-none { color: var(--text-faint); }

/* 手机/平板：整个右侧栏不显示——集数列表已在主内容区显示过一份
   （.wy-plot-ep-list--stack），排行榜此页手机/平板也不需要显示，
   故直接隐藏 .wy-plot-sidebar，桌机起才恢复常驻双栏 */
@media (max-width: 1024px) {
  .wy-plot-sidebar { display: none; }
}

/* 桌机：主内容集数清单收起，改由右侧栏常驻显示 */
@media (min-width: 1025px) {
  .wy-plot-row { flex-direction: row; }
  .wy-plot-ep-list--stack { display: none; }
  .wy-plot-sidebar { flex: 0 0 300px; }
  .wy-plot-sidebar .wy-plot-ep-scroll { max-height: 320px; flex-direction: column; flex-wrap: nowrap; gap: 12px; }
  .wy-plot-sidebar .wy-plot-ep { text-align: center; }
}
