/* ══ 批量任务「文案缺失」显式提示（batch-text-guard.js 配套）══
   位置固定在右下角，浮在工作台上方，不占布局、不碰 React 容器。 */
#xhs-btg-host {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2140;
  max-width: min(520px, calc(100vw - 36px));
  pointer-events: auto;
}
#xhs-btg-host[data-dismissed="1"] { display: none; }

.xhs-btg-body {
  border: 1px solid #6d4a33;
  border-radius: 12px;
  background: #241a14;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
  padding: 12px 14px 14px;
  color: #f2e6dc;
  font-size: 12.5px;
  line-height: 1.62;
}
.xhs-btg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.xhs-btg-head strong { font-size: 13px; color: #ffcf9a; }
.xhs-btg-close {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border: 1px solid #6d4a33;
  border-radius: 6px;
  background: transparent;
  color: #e2cbb6;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.xhs-btg-close:hover { background: #35251b; color: #fff; }

.xhs-btg-lead {
  margin: 0 0 8px;
  color: #cbb5a2;
  font-size: 11.5px;
}

.xhs-btg-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  max-height: 46vh;
  overflow: auto;
}
.xhs-btg-list li {
  border: 1px solid #4a3627;
  border-radius: 8px;
  background: #1c1410;
  padding: 7px 9px;
  display: grid;
  gap: 2px;
}
.xhs-btg-title { color: #f0e2d6; }
.xhs-btg-reason { color: #ffb4a0; font-size: 11.5px; }
.xhs-btg-hint { color: #9d8a78; font-size: 11.5px; }
.xhs-btg-more { margin-top: 6px; color: #9d8a78; font-size: 11.5px; }

/* 日间模式 */
:root[data-theme="light"] .xhs-btg-body {
  border-color: #ecc7b6;
  background: #fff8f4;
  color: #2a2c31;
  box-shadow: 0 14px 40px rgba(120, 70, 50, .18);
}
:root[data-theme="light"] .xhs-btg-head strong { color: #b4552a; }
:root[data-theme="light"] .xhs-btg-lead { color: #6d6167; }
:root[data-theme="light"] .xhs-btg-list li { border-color: #f0d7cb; background: #fff; }
:root[data-theme="light"] .xhs-btg-title { color: #2a2c31; }
:root[data-theme="light"] .xhs-btg-reason { color: #c03a1e; }
:root[data-theme="light"] .xhs-btg-hint,
:root[data-theme="light"] .xhs-btg-more { color: #8d9099; }
:root[data-theme="light"] .xhs-btg-close { border-color: #ecc7b6; color: #b4552a; }
:root[data-theme="light"] .xhs-btg-close:hover { background: #fdf0ea; color: #8d3a18; }
