/* 焕然美学八大风格课程 · 封面展示层
   只做低透明度衬底与课程页顶部大图，不改按钮布局、不改深色科技风主色。 */
.hr-cv-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center 28%;
  opacity: .30; filter: saturate(.72) contrast(1.04);
  transition: opacity .3s ease, transform .5s ease;
}
.hr-cv-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 9, .28) 0%, rgba(7, 8, 9, .58) 55%, rgba(7, 8, 9, .92) 100%);
}
.style-chip, .m-style-grid button { position: relative; overflow: hidden; }
.style-chip > b, .style-chip > span,
.m-style-grid button > b, .m-style-grid button > span { position: relative; z-index: 1; }
.style-chip:hover .hr-cv-bg, .style-chip.selected .hr-cv-bg,
.m-style-grid button:hover .hr-cv-bg, .m-style-grid button.selected .hr-cv-bg { opacity: 0; }

/* 课程页顶部封面大图已按用户要求移除（原 .hr-cv-hero / .hr-cv-cap）。
   封面图仍作为 <video poster> 使用；风格按钮保留低透明度封面衬底。 */

/* 风格课程页：真正的播放器（点风格进来就能看，不用再跳一层） */
.hr-cv-player {
  position: relative; width: 100%; margin: 0 0 26px;
  border: 1px solid #303438; border-radius: 10px; overflow: hidden;
  background: #050708;
}
.hr-cv-player video {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  object-fit: cover; background: #050708;
}
/* 中央悬浮播放按钮已按用户要求取消：进课静音自动起播，
   点视频画面或原生控制条喇叭即可开声音，画面上不再有任何遮挡。 */
.hr-cv-pbar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  flex-wrap: wrap; padding: 11px 14px;
  border-top: 1px solid #242a2d; background: #0b0f11;
}
.hr-cv-pbar b { font: 500 13px Manrope, "PingFang SC", sans-serif; color: #eef1ed; }
.hr-cv-pbar span { font: 9px/1.5 "DM Mono", monospace; letter-spacing: .06em; color: #8f9b97; }

/* 总部发布面板：每个风格位的封面缩略图 */
.cv-slot { position: relative; overflow: hidden; }
.cv-slot .hr-cv-thumb {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center 30%; opacity: .20;
}
.cv-slot .hr-cv-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 9, .35), rgba(7, 8, 9, .9));
}
.cv-slot > b, .cv-slot > span { position: relative; z-index: 1; }
.cv-slot.on .hr-cv-thumb { opacity: .34; }

@media (max-width: 850px) {
  .hr-cv-player { border-radius: 8px; margin-bottom: 20px; }
  .hr-cv-pbar { padding: 9px 11px; gap: 6px; }
}
