/* ===================================================
   拾光影库 · 列表页
   =================================================== */

.list-wrap {
  max-width:1920px;
  width:100%;
  margin:20px auto;
  padding:0 30px;
  box-sizing:border-box;
}

/* ===== 分类头部 ===== */
.list-header {
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
  padding:18px 22px;
  background:#fff;
  border-radius:8px;
  box-shadow:0 1px 3px rgba(0,0,0,.05);
}
.list-title {
  font-size:22px;
  font-weight:700;
  color:#222;
  margin:0;
  display:flex;
  align-items:center;
  padding-left:14px;
  border-left:4px solid #2e7be5;
  line-height:1;
}
.list-count {
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  color:#555;
  background:#f5f6f8;
  padding:5px 14px;
  border-radius:16px;
}
.list-count .count-icon {
  font-size:14px;
}

/* ===== 筛选栏（下拉框） ===== */
.filter-box {
  background:#fff;
  border-radius:8px;
  padding:16px 22px;
  margin-bottom:16px;
  box-shadow:0 1px 3px rgba(0,0,0,.05);
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  align-items:center;
}
.filter-group {
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.filter-label {
  font-size:14px;
  color:#555;
  font-weight:600;
  white-space:nowrap;
}
.filter-select {
  min-width:140px;
  height:36px;
  padding:0 32px 0 12px;
  font-size:14px;
  color:#333;
  background:#fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
  border:1px solid #e0e0e0;
  border-radius:6px;
  cursor:pointer;
  outline:none;
  appearance:none;
  -webkit-appearance:none;
  transition:.2s;
}
.filter-select:hover { border-color:#2e7be5; }
.filter-select:focus { border-color:#2e7be5; box-shadow:0 0 0 2px rgba(46,123,229,.15); }

/* ===== 影片网格（每行 6 个） ===== */
.movie-grid {
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:22px;
}
.movie-card {
  display:block;
  color:inherit;
  text-decoration:none;
  transition:.25s;
}
.movie-card:hover { transform:translateY(-3px); }
.movie-pic {
  position:relative;
  width:100%;
  aspect-ratio:3/4;
  border-radius:8px;
  overflow:hidden;
  background:#f0f0f0;
  margin-bottom:10px;
}
.movie-pic img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.3s;
}
.movie-card:hover .movie-pic img { transform:scale(1.04); }
.movie-card:hover .movie-pic { box-shadow:0 8px 22px rgba(0,0,0,.15); }

/* 角标：4K / DV */
.badge-4k, .badge-dv {
  position:absolute;
  top:8px;
  padding:2px 8px;
  border-radius:4px;
  font-size:11px;
  font-weight:700;
  color:#fff;
}
.badge-4k {
  right:8px;
  background:#2e7be5;
}
.badge-dv {
  right:8px;
  top:32px;
  background:linear-gradient(135deg,#9b59b6,#8e44ad);
}

.movie-title {
  font-size:14.5px;
  font-weight:600;
  color:#333;
  line-height:1.4;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:0 2px;
}
.movie-card:hover .movie-title { color:#2e7be5; }

.movie-meta {
  display:flex;
  gap:6px;
  padding:4px 2px 0;
  font-size:12.5px;
  color:#888;
}
.movie-type {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.movie-rating {
  padding:3px 2px 0;
  font-size:13px;
  color:#f5a623;
  font-weight:600;
}

/* ===== 空数据 ===== */
.list-empty {
  padding:80px 0;
  text-align:center;
  color:#999;
  font-size:14px;
  background:#fff;
  border-radius:8px;
}

/* ===== 分页 ===== */
.pager {
  margin-top:26px;
  text-align:center;
}
.pager a {
  display:inline-block;
  padding:7px 14px;
  margin:0 3px;
  border:1px solid #e0e0e0;
  border-radius:6px;
  font-size:13.5px;
  color:#555;
  transition:.2s;
  text-decoration:none;
  background:#fff;
}
.pager a.active,
.pager a:hover {
  background:#2e7be5;
  color:#fff;
  border-color:#2e7be5;
}

/* ===================================================
   响应式
   =================================================== */
@media (max-width:1600px){
  .movie-grid { grid-template-columns:repeat(5, 1fr); }
}
@media (max-width:1200px){
  .movie-grid { grid-template-columns:repeat(4, 1fr); gap:16px; }
}
@media (max-width:900px){
  .movie-grid { grid-template-columns:repeat(3, 1fr); gap:12px; }
}
@media (max-width:768px){
  .list-wrap { padding:0 12px; margin:12px auto; }
  .list-header { padding:12px 16px; gap:10px; }
  .list-title { font-size:17px; padding-left:10px; border-left-width:3px; }
  .list-count { font-size:12.5px; padding:4px 10px; }

  .filter-box { padding:12px 14px; gap:12px; }
  .filter-group { width:calc(50% - 6px); }
  .filter-select { width:100%; min-width:0; font-size:13px; height:34px; }

  .movie-grid { grid-template-columns:repeat(3, 1fr); gap:10px; }
  .movie-title { font-size:12.5px; }
  .movie-meta { font-size:11px; }
  .movie-rating { font-size:12px; }
}