/* ACTICEE-WIDGET-TPLLINK-001：在线客服回复里的模板编号、网址链接与模板缩略图卡片（widget-tpllinks.js 生成） */
/* 主题全局样式里有把 a 设成块级的规则，这里明确按行内显示，编号不单独占一行 */
.lxw-bub a.lx-tpl-link {
  display: inline;
  color: #ff7605;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}
.lxw-bub a.lx-tpl-link:hover {
  color: #e05f00;
}
.lxw-bub .lx-tplrec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  white-space: normal;
}
.lxw-bub .lx-tplrec-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eceef2;
  border-radius: 8px;
  background: #fff;
  color: #1f2329;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lxw-bub .lx-tplrec-card:hover {
  border-color: #ff7605;
  box-shadow: 0 4px 14px rgba(255, 118, 5, 0.16);
}
.lxw-bub .lx-tplrec-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top;
  background: #f1f2f4;
}
.lxw-bub .lx-tplrec-no {
  padding: 6px 8px 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: #ff7605;
}
.lxw-bub .lx-tplrec-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 8px 8px;
  font-size: 12px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
