/* ============================================
   List Page - 二级列表页面（More 详情页）
   UI：顶部导航(返回+XenDrama标题) + Section标题 + 3列网格
   ============================================ */

#list-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  z-index: var(--z-modal, 100);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
}

#list-page.visible {
  transform: translateX(0);
}

/* ================================
   导航栏（返回 + XenDrama 标题）
   ================================ */

/* ================================
   Section 标题
   ================================ */

/* ================================
   3列网格
   ================================ */

/* 二级页面不显示 HOT/NEW 角标 */
#list-page .card-badge {
  display: none;
}

/* 二级页面内卡片复用首页样式 */
#list-page .drama-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.15s ease;
  background: transparent;
}

#list-page .drama-card:active {
  transform: scale(0.97);
}

#list-page .drama-card .card-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #1c1c1e;
}

#list-page .drama-card .card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#list-page .drama-card .card-title {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  padding: 0 2px;
}

/* ================================
   骨架屏 / Spinner / 状态文字
   列表页骨架屏与真实卡片尺寸完全一致
   ================================ */

@keyframes spin {
  to { transform: rotate(360deg); }
}

