/* ===========================================================================
 * 回复客户话术（#sub-reply）· 样式
 * ---------------------------------------------------------------------------
 * 🔴 类名前缀一律 `rep-`（写之前查过：`rp-` 前缀已被同事的功能占用，
 *    `rep-` 全站 0 占用）。改这里的任何类名，先跑 tools/check-css-collisions.py。
 *
 * 设计语言：**微信对话**。
 *   客户说的话 → 灰色左气泡（带「客」头像）
 *   你要回的话 → 品牌橙右气泡（带「我」头像）+ 复制按钮
 *   一眼就懂："上面是他说了什么，下面是我要发什么" —— 这是本功能的门面，
 *   不要把回复排成普通段落，那样用户还得自己脑补"发出去长什么样"。
 *
 * 🔴 本文件加载顺序在 style.css / hero.css / icebreak.css 之后 ——
 *    同优先级下后者胜，所以这里可以安全覆写 #view-copy 的网格列数。
 * =========================================================================== */

/* ===== 文案板块网格（12 张） =====
   破冰上线后是 11 张，本功能是第 12 张。
   12 张的排法：手机 3 列 → 3×4 满行；≥768 固定 4 列 → 4×3 满行。
   两个断点都是整行，**不需要任何末行居中 hack**（比 11 张那版更干净）。
   用 #view-copy 限定，绝不影响其它板块的 .func-grid。 */
@media (min-width: 768px) {
  #view-copy .func-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== 子页容器 ===== */
#sub-reply {
  padding-bottom: 110px;  /* 底部 TabBar 是 fixed（实测 82px），留足不压住最后一张卡 */
}
/* 🔴 hidden 会被后面的 display:grid / flex 盖掉 —— 必须显式兜底 */
#sub-reply [hidden] { display: none !important; }

/* ===== 头部说明 ===== */
.rep-head {
  background: linear-gradient(135deg, #fff6ef 0%, #fffbf7 100%);
  border: 1px solid #ffe6d5;
  border-radius: var(--radius);
  padding: 8px 14px 9px;   /* v3c：整卡瘦身，把生成按钮往首屏里提 */
  margin-bottom: 10px;
}
.rep-head-t {
  font-size: 16.5px; font-weight: 800; color: var(--text);
  letter-spacing: .3px; margin-bottom: 4px;
}
.rep-head-d {
  font-size: 12.5px; line-height: 1.6; color: var(--text2);
}
.rep-gains {
  display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px;
}
.rep-gain {
  font-size: 12px; font-weight: 600; color: #b84500;
  background: #fff; border: 1px solid #ffdcc2;
  padding: 5px 11px; border-radius: 999px;
}

/* ===== 卡片 ===== */
.rep-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px 14px 12px;
  margin-bottom: 9px;
  box-shadow: 0 2px 14px rgba(249, 89, 1, .055);
}
.rep-card-h {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 8px; flex-wrap: wrap;
}
.rep-step {
  flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 7px rgba(249, 89, 1, .3);
}
.rep-card-t { font-size: 15px; font-weight: 700; color: var(--text); }
.rep-req {
  font-size: 11px; font-weight: 700; color: #dc2626;
  background: #fee2e2; padding: 2px 7px; border-radius: 6px;
}
.rep-opt {
  font-size: 11px; font-weight: 600; color: var(--text2);
  background: #f4f1ee; padding: 2px 7px; border-radius: 6px;
}

/* ===== 输入区：微信对话感 ===== */
.rep-chat {
  display: flex; gap: 8px; align-items: flex-start;
  margin-bottom: 6px;
}
.rep-chat-av {
  flex: none;
  width: 24px; height: 24px; border-radius: 7px;
  background: #e9e5e1; color: #8a8078;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rep-chat-body { flex: 1; min-width: 0; }
.rep-bub.in {
  display: inline-block; max-width: 100%;
  background: #f3f1ef; color: #2f2a26;
  padding: 10px 13px;
  border-radius: 4px 15px 15px 15px;   /* 左上角小圆角 = 气泡尾巴 */
  font-size: 14px; line-height: 1.6;
  word-break: break-word; white-space: pre-wrap;
}
.rep-bub.in.ph { color: #b3aaa3; font-style: normal; }

.rep-words {
  width: 100%; box-sizing: border-box;
  min-height: 70px; resize: vertical;
  border: 1.5px solid #efe9e4; border-radius: 14px;
  background: #fffdfb;
  padding: 12px 13px;
  font-size: 14px; line-height: 1.65; color: var(--text);
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
}
.rep-words:focus {
  outline: none; border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(249, 89, 1, .09);
}
.rep-ph { font-size: 12px; color: var(--text2); line-height: 1.6; margin-top: 8px; }

/* ===== 「他卡在哪儿」= 卡片式单选（比 chip 更好点、更好读） ===== */
.rep-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 400px) { .rep-blocks { grid-template-columns: 1fr; } }
.rep-blk {
  display: flex; align-items: flex-start; gap: 8px;
  text-align: left;
  background: #fffdfb; border: 1.5px solid #efe9e4;
  border-radius: 14px; padding: 10px 11px;
  cursor: pointer; font-family: inherit;
  transition: all .16s;
}
.rep-blk:hover { border-color: #ffd9bd; }
.rep-blk.on {
  background: linear-gradient(135deg, #fff4ea 0%, #fff9f5 100%);
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(249, 89, 1, .13);
}
.rep-blk-ico { font-size: 16px; line-height: 1.3; flex: none; }
.rep-blk-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rep-blk-body b { font-size: 13px; font-weight: 700; color: var(--text); }
.rep-blk.on .rep-blk-body b { color: #c94900; }
.rep-blk-body i {
  font-size: 11px; font-style: normal; color: var(--text2);
  line-height: 1.45;
}

/* ===== 小 chip（目标 / 语气） ===== */
.rep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rep-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--chip-bg); border: 1.5px solid transparent;
  color: #8a4a1c; font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
  cursor: pointer; font-family: inherit;
  transition: all .16s;
}
.rep-chip:hover { border-color: #ffd9bd; }
.rep-chip.on {
  background: var(--grad); color: #fff;
  box-shadow: 0 3px 11px rgba(249, 89, 1, .27);
}
.rep-chip-ico { font-size: 13px; }

/* ===== 输入框 ===== */
.rep-input, .rep-area {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #efe9e4; border-radius: 13px;
  background: #fffdfb; padding: 11px 13px;
  font-size: 14px; color: var(--text); font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
}
.rep-area { min-height: 66px; resize: vertical; line-height: 1.6; }
.rep-input:focus, .rep-area:focus {
  outline: none; border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(249, 89, 1, .09);
}

/* ===== 折叠区 ===== */
.rep-adv-btn {
  width: 100%; box-sizing: border-box;
  margin-top: 11px;
  display: flex; align-items: center; justify-content: space-between;
  background: #fffaf6; border: 1.5px dashed #ffdfc7;
  border-radius: 13px; padding: 10px 13px;
  font-size: 13px; font-weight: 600; color: #b84500;
  cursor: pointer; font-family: inherit;
  transition: all .16s;
}
.rep-adv-btn:hover { background: #fff3e9; }
.rep-adv-btn.on { border-style: solid; }
.rep-caret { transition: transform .2s; font-size: 11px; color: #d4763a; }
.rep-adv-btn.on .rep-caret { transform: rotate(180deg); }
.rep-adv { margin-top: 12px; display: flex; flex-direction: column; gap: 11px; }
.rep-adv-l { font-size: 12.5px; font-weight: 600; color: var(--text2); margin-bottom: 6px; }

/* ===== 「想更准一点」折叠区（v3）=====
 * 🔴 2026-09-19 老成第二次反馈：「中间那些，如果我不选，它压根就点不了」。
 *    根因不是校验，是**布局**：生成按钮原本压在第 4 张卡最底部，要滚过整页才看得到，
 *    而滚到底时它正好落在 fixed TabBar 那一层，鼠标/手指点下去 event 落到 TabBar 上
 *    （探针 tools/probe-reply-clickable.cjs 实测过：按钮 boundingBox 与 TabBar 重叠）。
 *    现在：唯一必填项下面紧跟生成按钮；所有「要选」的东西收进这一层，默认收起。
 *    改这里的类名前先跑 tools/check-css-collisions.py（`rep-` 前缀全站唯一）。 */
.rep-opt-head {
  width: 100%; box-sizing: border-box;
  display: flex; align-items: center; gap: 9px;
  background: #fffaf6; border: 1.5px dashed #ffdfc7;
  border-radius: 14px; padding: 12px 13px;
  font-family: inherit; text-align: left; cursor: pointer;
  transition: background .16s, border-color .16s;
}
.rep-opt-head:hover { background: #fff3e9; }
.rep-opt-head.on { background: #fff5ec; border-style: solid; border-color: #ffcda9; }
.rep-opt-t { font-size: 14px; font-weight: 800; color: #b84500; }
.rep-opt-tag {
  flex: none; font-size: 11.5px; font-weight: 700; color: #c96a1f;
  background: #fff1e7; border-radius: 999px; padding: 2px 9px;
}
.rep-opt-head .rep-caret { margin-left: auto; }
.rep-opt-head.on .rep-caret { transform: rotate(180deg); }
.rep-opt-body { padding-top: 15px; }
.rep-opt-gap { margin-top: 18px; }

/* ===== 生成按钮 ===== */
.rep-gen {
  width: 100%; box-sizing: border-box;
  margin-top: 12px;
  background: var(--grad); color: #fff;
  border: none; border-radius: 15px;
  padding: 14px; font-size: 15.5px; font-weight: 800;
  font-family: inherit; cursor: pointer;
  box-shadow: 0 5px 18px rgba(249, 89, 1, .3);
  transition: transform .14s, box-shadow .14s, opacity .14s;
}
.rep-gen:hover { transform: translateY(-1px); box-shadow: 0 7px 22px rgba(249, 89, 1, .36); }
.rep-gen:active { transform: translateY(0); }
.rep-gen:disabled { opacity: .58; cursor: default; transform: none; box-shadow: none; }

/* 生成按钮下面那句「不用选任何东西」—— 必须显眼，它专门回答「我是不是得先选点什么」 */
#repHint {
  text-align: center; font-size: 12.5px; line-height: 1.55;
  color: #b84500; background: #fff7f1; border-radius: 12px;
  padding: 9px 12px; margin-top: 10px;
}
#repHint:empty { display: none; }

/* ===== 结果区 ===== */
.rep-result-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 15px; flex-wrap: wrap;
}
.rep-mood {
  font-size: 11.5px; color: #b84500; font-weight: 600;
  background: #fff2e8; padding: 4px 10px; border-radius: 999px;
}

/* 章节标题 */
.rep-sec-h {
  display: flex; align-items: baseline; gap: 7px;
  padding: 4px 0 10px;
  margin-top: 8px;
  border-bottom: 1px solid #f6f1ec;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.rep-sec-h:first-child { margin-top: 0; }
.rep-sec-h b { font-size: 15px; font-weight: 800; color: var(--text); }
.rep-sec-h i { font-size: 11.5px; font-style: normal; color: var(--text2); }
.rep-sec-ico { font-size: 15px; }

/* 己方气泡（右对齐）—— 「这条是要发出去的」 */
.rep-row {
  display: flex; gap: 9px; align-items: flex-start;
  justify-content: flex-end;
}
.rep-av {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.rep-av.me { background: var(--grad); color: #fff; order: 2; }
.rep-bub.me {
  max-width: 82%;
  background: var(--grad); color: #fff;
  padding: 11px 14px;
  border-radius: 15px 4px 15px 15px;   /* 右上角小圆角 */
  font-size: 14.5px; line-height: 1.62;
  word-break: break-word; white-space: pre-wrap;
  box-shadow: 0 3px 12px rgba(249, 89, 1, .2);
  order: 1;
}
.rep-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.rep-copy {
  background: #fff; color: #c94900;
  border: 1.5px solid #ffd9bd; border-radius: 10px;
  padding: 7px 15px; font-size: 12.5px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: all .16s;
}
.rep-copy:hover { background: #fff6ef; border-color: var(--primary); }
.rep-copy.ok {
  background: #16a34a; border-color: #16a34a; color: #fff;
}
.rep-why {
  font-size: 12.5px; color: #9a7a62; line-height: 1.62;
  background: #fffaf6; border-left: 3px solid #ffd9bd;
  border-radius: 0 10px 10px 0;
  padding: 8px 12px; margin-top: 9px;
}

/* 主推 / 备选 */
.rep-pick { margin-bottom: 17px; }
.rep-pick:last-child { margin-bottom: 0; }
.rep-pick-t {
  display: inline-block;
  font-size: 11.5px; font-weight: 800; color: var(--text2);
  letter-spacing: .5px; margin-bottom: 8px;
}
.rep-pick.main .rep-pick-t {
  color: #fff; background: var(--grad);
  padding: 3px 10px; border-radius: 7px;
  box-shadow: 0 2px 8px rgba(249, 89, 1, .25);
}

/* 「他说的 → 他想说」对照 */
.rep-mean { display: flex; flex-direction: column; gap: 9px; }
.rep-mrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch; gap: 7px;
}
@media (max-width: 560px) {
  .rep-mrow { grid-template-columns: 1fr; }
  .rep-marrow { justify-content: center; }
}
.rep-msay, .rep-mreal {
  font-size: 12.5px; line-height: 1.6;
  padding: 10px 12px; border-radius: 12px;
  word-break: break-word;
}
.rep-msay { background: #f5f3f1; color: #6b625a; }
.rep-mreal { background: #fff4ea; color: #a83f00; font-weight: 600; }
.rep-msay span, .rep-mreal span {
  display: block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .4px; margin-bottom: 4px; opacity: .72;
}
.rep-marrow {
  display: flex; align-items: center;
  color: #e0b795; font-size: 14px; font-weight: 700;
}
.rep-mtail {
  margin-top: 11px;
  font-size: 12.5px; line-height: 1.65; color: #8a4a1c;
  background: #fffaf6; border-radius: 12px;
  padding: 10px 13px;
}

/* 「如果他说…」预案 */
.rep-case {
  background: #fffdfb;
  border: 1px solid #f4ede7;
  border-radius: 15px;
  padding: 12px 13px;
  margin-bottom: 11px;
}
.rep-case:last-child { margin-bottom: 0; }
.rep-case-q {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.rep-case-tag {
  font-size: 10.5px; font-weight: 800; color: #8a8078;
  background: #f0edea; padding: 3px 8px; border-radius: 6px;
  letter-spacing: .3px; flex: none;
}
.rep-case-tx {
  font-size: 13.5px; font-weight: 700; color: #2f2a26;
  background: #f3f1ef; padding: 6px 11px;
  border-radius: 4px 12px 12px 12px;
  word-break: break-word;
}

/* 避坑 */
.rep-avoid { display: flex; flex-direction: column; gap: 10px; }
.rep-av {
  border: 1px solid #f4ede7; border-radius: 14px;
  overflow: hidden;
}
.rep-av-bad, .rep-av-good {
  font-size: 13px; line-height: 1.62;
  padding: 10px 12px;
  display: flex; gap: 8px; align-items: flex-start;
}
.rep-av-bad { background: #fff7f7; color: #8a3636; }
.rep-av-good { background: #f6fdf8; color: #1f6b3d; }
.rep-av-bad span, .rep-av-good span {
  flex: none;
  font-size: 10.5px; font-weight: 800;
  padding: 2px 7px; border-radius: 6px;
  margin-top: 1px;
}
.rep-av-bad span { background: #fee2e2; color: #b91c1c; }
.rep-av-good span { background: #dcfce7; color: #15803d; }

/* 推进节奏 */
.rep-push { display: flex; flex-direction: column; gap: 2px; }
.rep-push-row {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed #f2ebe5;
}
.rep-push-row:last-child { border-bottom: none; }
.rep-push-k {
  flex: none; min-width: 62px;
  font-size: 12px; font-weight: 800; color: #c94900;
  padding-top: 1px;
}
.rep-push-v { font-size: 13.5px; line-height: 1.65; color: var(--text); flex: 1; }

/* 自检提醒 */
.rep-lint {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 14px; padding: 12px 13px; margin-bottom: 15px;
}
.rep-lint-h { font-size: 12.5px; font-weight: 800; color: #92400e; margin-bottom: 7px; }
.rep-lint-i {
  font-size: 12.5px; line-height: 1.6; color: #78350f;
  padding-left: 15px; position: relative; margin-bottom: 4px;
}
.rep-lint-i:last-child { margin-bottom: 0; }
.rep-lint-i::before { content: '·'; position: absolute; left: 5px; font-weight: 800; }

/* 降级渲染 */
.rep-raw { font-size: 13.5px; line-height: 1.72; color: var(--text); }
.rep-raw p { margin: 0 0 8px; }
.rep-raw p:last-child { margin-bottom: 0; }

/* 加载 / 错误 */
.rep-loading {
  display: flex; align-items: center; gap: 11px;
  padding: 22px 4px; font-size: 13.5px; color: var(--text2);
  line-height: 1.6;
}
.rep-spin {
  flex: none; width: 17px; height: 17px;
  border: 2.5px solid #ffe0c9; border-top-color: var(--primary);
  border-radius: 50%; animation: rep-spin .8s linear infinite;
}
@keyframes rep-spin { to { transform: rotate(360deg); } }

.rep-err {
  background: #fff7f7; border: 1px solid #fecaca;
  border-radius: 14px; padding: 15px;
}
.rep-err-t { font-size: 14px; font-weight: 800; color: #b91c1c; margin-bottom: 7px; }
.rep-err-d { font-size: 13.5px; line-height: 1.65; color: #7f1d1d; }
.rep-err-x { font-size: 12px; line-height: 1.6; color: #a16207; margin-top: 9px; }

/* 历史 */
.rep-hs { display: flex; flex-direction: column; gap: 8px; }
.rep-h {
  display: flex; align-items: center; gap: 10px;
  width: 100%; box-sizing: border-box; text-align: left;
  background: #fffdfb; border: 1.5px solid #f4ede7;
  border-radius: 13px; padding: 11px 13px;
  cursor: pointer; font-family: inherit;
  transition: all .16s;
}
.rep-h:hover { border-color: #ffd9bd; background: #fffaf6; }
.rep-h-w {
  flex: 1; min-width: 0;
  font-size: 13px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rep-h-m {
  flex: none; font-size: 11px; color: #b84500;
  background: #fff2e8; padding: 3px 8px; border-radius: 999px;
  max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rep-h-t { flex: none; font-size: 11px; color: var(--text2); }

/* Toast */
.rep-toast {
  position: fixed; left: 50%; bottom: 96px;
  transform: translate(-50%, 14px);
  background: rgba(47, 42, 38, .93); color: #fff;
  font-size: 13.5px; font-weight: 600;
  padding: 11px 19px; border-radius: 999px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
  z-index: 9999;
  max-width: 82vw; text-align: center;
}
.rep-toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ================= AI 判断条 + 一键纠正（2026-09-19） =================
 * 背景：销售**看不懂客户怎么想、也不知道自己该干嘛**，这正是他要这个功能的原因。
 * 所以这两行判断必须由 AI 直接给出、摊开放在结果里，让他核对；
 * 判错了他点一下就能改，不用从头再选一遍。
 * ⚠️ 只用 flex + wrap，不含 absolute 装饰物 → 不会撑宽 document（手机端安全）。 */
#sub-reply .rep-vd {
  margin: 12px 0 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: #fff8f3;
  border: 1px solid #ffd9c2;
}
#sub-reply .rep-vrow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding: 5px 0;
}
#sub-reply .rep-vrow + .rep-vrow { border-top: 1px dashed #ffdcc7; }
#sub-reply .rep-vlab {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text2);
  letter-spacing: .3px;
}
#sub-reply .rep-vval {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
}
#sub-reply .rep-vwhy {
  flex: 1 1 100%;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text2);
  word-break: break-word;
}
#sub-reply .rep-vfix {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #ffdcc7;
}
#sub-reply .rep-vflab {
  display: block;
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 7px;
}
#sub-reply .rep-vfrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
#sub-reply .rep-vfrow:last-child { margin-bottom: 0; }
#sub-reply .rep-vfg {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text2);
  margin-right: 2px;
}
#sub-reply .rep-vfc {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #ffd0b3;
  background: #fff;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, transform .1s;
}
#sub-reply .rep-vfc:active { background: var(--chip-bg); transform: scale(.97); }

/* ============================================================================
   v3d（2026-09-19）· 矮屏压缩 —— 让「粘贴框」和「生成按钮」同屏可见
   ----------------------------------------------------------------------------
   为什么需要：
     同事 16:5x 按老成要求（「颜色不搭…不吸引人，你来优化一下」）在本目录的
     copyhero.css 里把 .rep-head 从白底小卡重做成了**彩色 hero**（25px 标题、
     padding 22/19/17）→ 实测高 **164px**（线上 360x500 量得），比白底卡高 104px。
     后果：在 500px 高的屏幕上，生成按钮被顶到 TabBar（82px，fixed）底下 ——
       粘贴框 bottom=449 · 按钮 464→517 · TabBar top=418 → **按钮整条被盖住，点不到**。
     这正是老成第二次投诉「不选就点不了」的真身（代码层没有任何校验）。

   怎么做（严守「改别人的样式别动别人的文件」）：
     · copyhero.css 里用的是 `#sub-reply .rep-head`（0,2,0）+ 后加载者胜；
       本文件在它**之前**加载 → 单靠顺序赢不了。
     · 所以在**本文件**里写成 `#sub-reply.subpanel …`（0,3,0）→ 特异性压过它，
       并且只挂在 `max-height: 660px` 上 —— **正常屏完整保留同事的 hero 设计**。
     · 同时把「客户回显气泡」让位：它与粘贴框内容重复，矮屏优先保主动作，
     而且**它会随客户原话变长而长高**（实测 375 宽下 +14px）—— 正是它把按钮
     顶过 TabBar 线的（375x667 干跑：填字前按钮 511→564，填字后 578→631 > TabBar 585）。
   · 断点取 700（不是 660）：非压缩档要能扛住「回显气泡长高」这笔账 ——
     375 宽下按钮底边 588，需 h-82 ≥ 588 即 h ≥ 670，再留余量 ⇒ 700。
   ========================================================================= */
@media (max-height: 700px) {
  #sub-reply.subpanel [data-page-node-id="rep-head"] {
    padding: 9px 15px 11px;
    margin-bottom: 9px;
    border-radius: 16px;
  }
  #sub-reply.subpanel .rep-head-t {
    font-size: 16.5px; line-height: 1.34; margin: 6px 0 3px;
  }
  #sub-reply.subpanel .rep-head-d { font-size: 12px; line-height: 1.5; }
  #sub-reply.subpanel [data-page-node-id="rep-head"]::before {
    font-size: 10.5px; padding: 3px 9px;
  }
  #sub-reply.subpanel [data-page-node-id="rep-head"]::after {
    width: 64px; height: 48px; right: -18px; bottom: -20px;
  }
  /* 回显气泡 vs 主动作 —— 矮屏保主动作 */
  #sub-reply.subpanel [data-page-node-id="rep-chat"] { display: none; }
  /* 卡片1 与「不用选任何东西」提示：矮屏把省下来的行都还给主动作 */
  #sub-reply.subpanel [data-page-node-id="rep-card-1"] { padding-top: 10px; }
  #sub-reply.subpanel #repHint {
    padding: 2px 10px; margin-top: 7px; font-size: 11.5px; line-height: 1.4;
  }
  #sub-reply.subpanel .rep-gen { margin-top: 9px; }
}
