/* ===== 视频频道(video-block.css v1)===== */
.vd-head {
  display: flex; align-items: baseline; gap: 14px; padding: 26px 0 6px; flex-wrap: wrap;
}
.vd-head-tt {
  font-size: 26px; font-weight: 800; color: #1a1f36; letter-spacing: 1px;
  display: flex; align-items: center; gap: 10px;
}
.vd-head-tt .vd-play {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #ff5b5b, #e0231f);
  color: #fff; font-style: normal; display: inline-flex; align-items: center;
  justify-content: center; font-size: 13px; padding-left: 2px;
  box-shadow: 0 6px 14px rgba(224, 35, 31, .28);
}
.vd-head-tt em {
  font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: #b6bccf; margin-left: 4px;
}
.vd-head-sub { color: #8a91a8; font-size: 13px; }

/* 分类 tab */
.vd-tabs { display: flex; gap: 8px; margin: 16px 0 20px; flex-wrap: wrap; }
.vd-tabs a {
  padding: 7px 18px; border-radius: 999px; font-size: 14px; color: #4a5168;
  background: #f2f4fa; border: 1px solid transparent; text-decoration: none;
  transition: all .2s; display: inline-flex; align-items: center; gap: 6px;
}
.vd-tabs a span { font-size: 12px; color: #a4aabc; }
.vd-tabs a:hover { color: #e0231f; border-color: #ffd6d4; }
.vd-tabs a.on {
  background: linear-gradient(135deg, #ff5b5b, #e0231f); color: #fff;
  box-shadow: 0 4px 12px rgba(224, 35, 31, .22);
}
.vd-tabs a.on span { color: rgba(255, 255, 255, .82); }

/* 网格 */
.vd-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px;
}
.vd-grid-sm { margin-top: 18px; }

.vd-card { min-width: 0; }
.vd-card-bd { display: block; text-decoration: none; }
.vd-thumb {
  position: relative; display: block; overflow: hidden; border-radius: 12px;
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2a3050, #171a2e);
}
.vd-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.vd-card-bd:hover .vd-thumb img { transform: scale(1.045); }
.vd-noimg-txt {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .45); font-style: normal; font-size: 26px; font-weight: 800;
  letter-spacing: 8px;
}
.vd-play-ico {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; font-style: normal;
  background: rgba(15, 17, 26, .55); backdrop-filter: blur(6px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 15px; padding-left: 3px; border: 1px solid rgba(255, 255, 255, .35);
  transition: all .2s; opacity: 0;
}
.vd-card-bd:hover .vd-play-ico { opacity: 1; background: rgba(224, 35, 31, .85); }
.vd-dur {
  position: absolute; right: 8px; bottom: 8px; font-style: normal;
  background: rgba(10, 12, 20, .72); color: #fff; font-size: 11px;
  padding: 2px 7px; border-radius: 6px; letter-spacing: .5px;
}
.vd-fix {
  position: absolute; right: 8px; top: 8px; font-style: normal;
  background: rgba(10, 12, 20, .6); color: #ffd76a; font-size: 11px;
  padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 215, 106, .4);
  letter-spacing: 1px;
}
.vd-card-info { display: block; padding: 10px 2px 0; }
.vd-t {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 15px; line-height: 1.5; color: #1a1f36;
  font-weight: 600; min-height: 45px; word-break: break-all;
}
.vd-card-bd:hover .vd-t { color: #e0231f; }
.vd-meta {
  display: flex; align-items: center; gap: 10px; margin-top: 7px;
  color: #9aa1b5; font-size: 12px;
}
.vd-meta time { color: #b0b6c6; }
.vd-cat {
  font-style: normal; font-size: 11px; color: #e0231f; background: #fff0ef;
  padding: 2px 9px; border-radius: 999px; font-weight: 600;
}
.vd-views { display: inline-flex; align-items: center; gap: 4px; }

.vd-empty {
  padding: 70px 0; text-align: center; color: #9aa1b5; font-size: 15px;
}

/* 分页 */
.vd-pager {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; padding: 34px 0 10px; flex-wrap: wrap;
}
.vd-pg {
  min-width: 34px; height: 34px; padding: 0 12px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 9px;
  background: #f2f4fa; color: #4a5168; font-size: 13px; text-decoration: none;
}
.vd-pg:hover { color: #e0231f; }
.vd-pg.on {
  background: linear-gradient(135deg, #ff5b5b, #e0231f); color: #fff;
  font-weight: 700; box-shadow: 0 4px 10px rgba(224, 35, 31, .25);
}

/* ===== 播放页 ===== */
.vd-show { margin-top: 18px; }
.vd-player-box {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #0b0d15; border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(10, 14, 40, .18);
}
.vd-player { width: 100%; height: 100%; display: block; background: #000; }
.vd-no-src { position: absolute; inset: 0; }
.vd-no-src > img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.62); transform: scale(1.06); }
.vd-no-src-mask {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center;
  background: radial-gradient(rgba(12, 14, 24, .1), rgba(8, 10, 18, .66));
  color: #fff; padding: 0 20px;
}
.vd-no-src-ico {
  width: 74px; height: 74px; border-radius: 50%; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); margin-bottom: 4px;
}
.vd-no-src-mask b { font-size: 21px; letter-spacing: 1px; }
.vd-no-src-mask p { color: rgba(255, 255, 255, .72); font-size: 13px; max-width: 460px; line-height: 1.7; }

.vd-show-info { padding: 18px 2px 0; }
.vd-show-t { font-size: 21px; font-weight: 700; color: #1a1f36; line-height: 1.5; word-break: break-all; }
.vd-show-meta {
  display: flex; align-items: center; gap: 14px; margin-top: 10px;
  color: #9aa1b5; font-size: 13px; flex-wrap: wrap;
}
.vd-show-meta time { color: #aab0c2; }
.vd-fixing-tag {
  font-size: 12px; color: #a06f00; background: #fff7e2;
  border: 1px dashed #f2c94c; padding: 2px 10px; border-radius: 999px;
}
.vd-show-desc {
  margin-top: 14px; padding: 14px 16px; background: #f7f8fc;
  border-radius: 10px; color: #565d75; font-size: 14px; line-height: 1.9;
  white-space: pre-line; word-break: break-all;
}

.vd-sec { margin-top: 34px; }
.vd-sec-h {
  font-size: 18px; font-weight: 700; color: #1a1f36; padding-left: 12px;
  position: relative; margin-bottom: 18px;
}
.vd-sec-h::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 16px; border-radius: 3px; background: linear-gradient(#ff5b5b, #e0231f);
}

/* 响应式 */
@media (max-width: 1080px) { .vd-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .vd-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .vd-t { font-size: 14px; min-height: 42px; }
  .vd-head-tt { font-size: 22px; }
  .vd-show-t { font-size: 17px; }
}
@media (max-width: 430px) { .vd-grid { grid-template-columns: 1fr; } }
