/* 文件描述：直播回放详情页样式（视频播放区） */

.nws-video-detail {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: clamp(20px, calc(100vw * 28 / 1440), 28px);
  box-shadow: 0 2px 8px rgba(23, 43, 77, 0.05);
}

.nws-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #0b1524;
  margin-bottom: 20px;
}

.nws-video-player iframe,
.nws-video-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.nws-video-player--link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nws-video-player-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.nws-video-player-link:hover {
  opacity: 0.92;
}

.nws-video-title {
  margin: 0 0 10px;
  font-size: clamp(20px, calc(100vw * 24 / 1440), 24px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--on-surface);
}

.nws-video-meta {
  margin: 0 0 16px;
  font-size: var(--fs-13);
  color: var(--slate-400);
}

.nws-video-desc {
  font-size: var(--fs-14);
  color: var(--on-surface-variant);
  line-height: 1.75;
}

.nws-video-player video[hidden] {
  display: none;
}

.nws-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 21, 36, 0.28);
  cursor: pointer;
}

.nws-video-overlay[hidden] {
  display: none;
}

.nws-video-play-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.nws-video-play-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 87, 156, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nws-video-play-icon::before {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

.nws-video-play-btn:hover .nws-video-play-icon,
.nws-video-play-btn:focus-visible .nws-video-play-icon {
  transform: scale(1.06);
  background: var(--primary);
}

.nws-video-play-text {
  font-size: var(--fs-14);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
