/* 视频中心样式（列表卡片 + 详情页轻量播放器） */

/* 列表卡片 */
.moto-video-card { background: #fff; border-radius: 6px; overflow: hidden; }
.moto-video-card:hover h5 a { color: var(--baseColor); }
.moto-video-thumb { overflow: hidden; border-radius: 6px; background: #f5f5f5; }
.moto-video-thumb img { aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.moto-video-thumb:hover img { transform: scale(1.04); }
.moto-video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 20px;
  transition: transform .35s ease, background .35s ease;
}
.moto-video-thumb:hover .moto-video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--baseColor); }
.moto-video-dur {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 4px;
  background: rgba(0, 0, 0, .72); color: #fff; font-size: 12px; line-height: 1.6;
}

/* 详情页播放器：点击后才加载 iframe / video */
.moto-video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 8px; background: #0e0d10; cursor: pointer;
}
.moto-video-frame.is-vertical { aspect-ratio: 9 / 16; max-width: 420px; }
.moto-video-poster { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .35s ease, transform .35s ease; }
.moto-video-frame:hover .moto-video-poster { opacity: 1; transform: scale(1.02); }
.moto-video-frame.is-vertical .moto-video-poster { object-fit: contain; }
.moto-video-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 50%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .6) 100%);
}
.moto-video-frame .moto-video-play { width: 82px; height: 82px; font-size: 26px; z-index: 2; }
.moto-video-frame.is-playing .moto-video-poster,
.moto-video-frame.is-playing .moto-video-play,
.moto-video-frame.is-playing::after { display: none; }
.moto-video-frame iframe,
.moto-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 详情正文 */
.moto-video-desc { line-height: 1.8; color: var(--body-text, #666); font-size: 15px; }
.moto-video-transcript-body { margin-top: 12px; line-height: 1.8; color: var(--body-text, #666); font-size: 14px; white-space: normal; }

@media (max-width: 767px) {
  .moto-video-frame .moto-video-play { width: 64px; height: 64px; font-size: 20px; }
}
