/* ZHC-DECO-TB2-EDITOR-20261201 · 装修编辑器画布里的悬浮胶囊预览适配
   复用 deco-tb2.css 的 .dz-tb2 外观，仅把「贴浏览器底部 fixed」改成「画布内相对定位」，
   并缩到画布手机 proportion。只在 .canvas-tb2-host 内生效，不动顾客端一根线。 */
.canvas-tb2-host {
  position: relative;
  z-index: 6;
  height: 96px;                 /* 给胶囊 + 凸出按钮 + 底部留白留空间 */
  background: transparent;
  pointer-events: none;
}
.canvas-tb2-host .dz-tb2 {
  position: absolute;           /* 覆盖 C 端 fixed：画布内相对定位 */
  left: 0;
  right: 0;
  bottom: 8px;
  padding: 0 14px 0;
  pointer-events: none;
}
.canvas-tb2-host .dz-tb2__bar {
  height: 52px;                 /* C 端 62 → 画布 52 */
  max-width: 100%;
  border-radius: 26px;
  box-shadow: 0 8px 20px rgba(11, 42, 74, .16);
  pointer-events: none !important;   /* 纯预览：不拦截点击，让编辑器能选中底栏组件 */
}
.canvas-tb2-host .dz-tb2__main {
  width: 48px;                  /* C 端 58 → 48 */
  height: 48px;
  margin-left: -24px;
  top: -16px;
  border-width: 2.5px;
}
.canvas-tb2-host .dz-tb2__ava {
  width: 34px;                  /* C 端 38 → 34 */
  height: 34px;
}
.canvas-tb2-host .dz-tb2__ico,
.canvas-tb2-host .dz-tb2__ico svg {
  width: 20px;
  height: 20px;
}
.canvas-tb2-host .dz-tb2__t { font-size: 10.5px; }
