/* ============================================
   工程师在线咨询面板样式
   设计稿基准：750px (2x), 1rem = 100px (基于750px设计稿)
   ============================================ */

/* 触发按钮 */
.triggerBtn {
  position: fixed;
  bottom: 0.4rem;
  right: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  background: linear-gradient(135deg, #3b8cf5 0%, #5ba4f7 100%);
  border-radius: 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 1;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.triggerIcon {
  width: 0.48rem;
  height: 0.48rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.triggerText {
  font-size: 0.16rem;
  color: #ffffff;
  margin-top: 0.04rem;
  line-height: 0.22rem;
}

/* 遮罩层 */
.AIEngineerPop .consultMask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 底部弹出面板 */
.AIEngineerPop .consultPanel {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 10rem;
  display: flex;
  flex-direction: column;
  background: url("https://img1.17img.cn/ui/art/liuyz/2026/ai/gcs_bj_3x_20260525.png") no-repeat;
  background-size: cover;
  z-index: 1000;
  border-radius: 0.24rem 0.24rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 头部区域 */
.AIEngineerPop .panelHeader {
  width: 100%;
  height: 1.18rem;
  position: relative;
}

/* 关闭按钮 */
.AIEngineerPop .closeBtn {
  width: 0.48rem;
  height: 0.48rem;
  color: #ffffff;
  font-size: 0.36rem;
  cursor: pointer;
  position: absolute;
  right: .3rem;
  top: .26rem;
}

/* 卡片列表 */
.AIEngineerPop .cardList {
  padding: 0 0.28rem 0.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

/* 单个卡片 */
.AIEngineerPop .card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 0.16rem;
  padding: 0.32rem;
  margin-bottom: 0.2rem;
  box-sizing: border-box;
}

.AIEngineerPop .card:last-child {
  margin-bottom: 0;
}

/* 卡片 Logo */
.AIEngineerPop .cardLogo {
  width: 0.84rem;
  height: 0.84rem;
  background: linear-gradient(180deg, rgba(50, 84, 255, 1) 0%, rgba(53, 225, 255, 1) 100%);
  border-radius: 50%;
  padding: .04rem;
  box-sizing: border-box;
  overflow: hidden;
  margin-right: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.AIEngineerPop .cardLogo img {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 50%;
  background-color: #fff;
  object-fit: contain;
  display: block;
}

/* 卡片内容区域 */
.AIEngineerPop .cardContent {
  flex: 1;
  min-width: 0;
}

/* 客服名称 */
.AIEngineerPop .cardName {
  font-size: 0.28rem;
  color: #202933;
  font-weight: bold;
  line-height: 0.4rem;
  margin-bottom: 0.1rem;
}

/* 徽章 + 公司信息行 */
.AIEngineerPop .cardInfo {
  display: flex;
  align-items: center;
  margin-bottom: 0.08rem;
  flex-wrap: nowrap;
}

/* 徽章样式 */
.AIEngineerPop .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.16rem;
  color: #ffffff;
  line-height: 0.3rem;
  padding: 0 0.08rem 0 .32rem;
  border-radius: 0.04rem;
  flex-shrink: 0;
  margin-right: 0.06rem;
  white-space: nowrap;
}

/* 铜牌 */
.AIEngineerPop .badgeTP {
  background: url('https://img1.17img.cn/ui/bimg/SH100000/yxt4/houtai/member/V05.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* 银牌 */
.AIEngineerPop .badgeYP {
  background: url('https://img1.17img.cn/ui/bimg/SH100000/yxt4/houtai/member/V04.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* 白金 */
.AIEngineerPop .badgeBJ {
  background: url('https://img1.17img.cn/ui/bimg/SH100000/yxt4/houtai/member/V02.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* 黄金 */
.AIEngineerPop .badgeHJ {
  background: url('https://img1.17img.cn/ui/bimg/SH100000/yxt4/houtai/member/V03.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* 钻石 */
.AIEngineerPop .badgeZS {
  background: url('https://img1.17img.cn/ui/bimg/SH100000/yxt4/houtai/member/V01.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* 公司名称 */
.AIEngineerPop .companyName {
  font-size: .24rem;
  color: #37474F;
  line-height: .34rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 描述文字 */
.AIEngineerPop .cardDesc {
  font-size: 0.24rem;
  color: #7E8790;
  line-height: 0.46rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.engineerOnlineAI {
  width: 1.1rem;
  position: fixed;
  right: .32rem;
  bottom: 1.58rem;
  z-index: 9999;
}
.engineerOnlineAI a {
  display: block;
}
.engineerOnlineAI a img{
  width: 100%;
}
