/* 小保品牌区 · UAT 覆盖层（Hermes）
 *
 * V6 包内 brand-header-v6.css 一个字节都不改，全部对齐/覆盖写在这里。
 * 出问题摘掉 index.html 两行 link 即回到 V6 原始参数。
 *
 * 2026-10-27 变更：用户拍板「小保開單还是去掉，用回之前的小保AI字样」
 *   → 书法字标不再渲染（由 brand-header-v6-title-align.js 恢复文字标题）
 *   → 本文件移除 .xb-brand-wordmark 相关尺寸规则
 *   → .brand-lead 恢复原版样式（V6 把它改成了灰色细体，与之前不一致）
 *
 * 盾牌尺寸仍按小道现网实测（bazimaster-ai.com/xiaodao/）：
 *   桌面 .brand-logo 72×72 / margin 2px auto 8px
 *   手机 .brand-logo 96×96 / margin-bottom 8px   ← 小道手机上反而更大
 */
.brand-logo.xb-brand-shield {
  width: 72px !important;
  height: 72px !important;
  margin: 2px auto 8px !important;
}

/* 万一 V6 脚本仍插入书法图，一律隐藏（含图片直挂 .brand-title 的情况） */
.brand-title > img[data-xb-v6-wordmark],
.xb-brand-wordmark img {
  display: none !important;
}

/* 文字标题回到原版：字体/字号/字距全部沿用 styles.css 的 .brand-title */
.brand-title {
  font-size: 33px;
}
.brand-title small {
  font: 600 13px system-ui;
  letter-spacing: 0.1em;
  margin-left: 5px;
  color: var(--green);
}

/* V6 把 brand-lead 改成灰色细体，恢复原版（绿色、加粗、14.5px） */
.empty:has(.xb-brand-shield) .brand-lead {
  margin: 6px 0 0;
  max-width: none;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--green-ink);
  font-weight: 800;
}

@media (min-width: 768px) {
  .brand-title {
    font-size: 38px;
  }
}

@media (max-width: 520px) {
  .brand-logo.xb-brand-shield {
    width: 96px !important;
    height: 96px !important;
    margin-bottom: 8px !important;
  }
  .empty:has(.xb-brand-shield) .brand-lead {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-height: 700px) {
  .brand-title {
    font-size: 28px;
  }
}
