/* host-zen-bg-20261118a.css —— 主播端连麦禅意背景 v1
 * 只作用于主播页（body.cg-zen-host-on 由 fe-host-zen-bg.js 在连麦中切换）。
 * 全部是「容器背景」，位于视频下方，不新增任何覆盖层，不遮挡按钮与画面。
 */
body.cg-zen-host-on #host-preview {
  background-image: var(--host-zen-bg, none) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
body.cg-zen-host-on #host-preview video {
  background: transparent !important;
}
body.cg-zen-host-on .guest-pips > div {
  background-image: var(--host-zen-bg, none) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
body.cg-zen-host-on .guest-pips > div video {
  background: transparent !important;
}

/* 2026-11-18 方案B v2：整页铺底（仅连麦时生效，单人开播不受影响）
   .host-page 自带 radial-gradient 深色底，只改 background-color 无效，
   必须直接覆盖它的 background-image，否则只有连麦窗格能看到背景。 */
body.cg-zen-host-on {
  background-image: var(--host-zen-bg, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body.cg-zen-host-on .host-page {
  background-image: var(--host-zen-bg, none) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* 2026-11-18 方案B v3：真正的全屏黑底在 .preview-wrap
   （position:fixed; inset:0; z-index:0; background:#000），
   它盖在 .host-page 之上，所以必须直接铺到它身上。 */
body.cg-zen-host-on .preview-wrap {
  /* 2026-11-18：按用户要求去除压暗遮罩，只留荷花本身 */
  background-image: var(--host-zen-bg, none) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

/* 2026-11-18：去除整页遮罩后，用「文字底衬」保证可读性。
   只给文字加阴影和局部底衬，不再压暗荷花。 */
body.cg-zen-host-on .host-page {
  text-shadow: 0 1px 3px rgba(0, 0, 0, .78), 0 0 1px rgba(0, 0, 0, .6);
}
body.cg-zen-host-on .host-page button,
body.cg-zen-host-on .host-page .gp-name,
body.cg-zen-host-on .host-page .seat-float * {
  text-shadow: none;
}
body.cg-zen-host-on .gp-name {
  background: rgba(0, 0, 0, .45) !important;
  border-radius: 4px;
  padding: 1px 6px;
}
