* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f1f9fe;
  /* 兜底：防止任何子元素导致横向溢出（移动端 + iframe 撑大） */
  overflow-x: hidden;
}
.mzsm{
  cursor: pointer;
  color: #0459e4;
}
.mzsm:hover {
  color:#1F49A7
}

/* ============ 免责声明弹窗 ============ */
.mzsm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  /* 动画 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mzsm-modal.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mzsm-dialog {
  background: #ffffff;
  border-radius: 6px;
  width: 600px;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  /* 入场动画 */
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.25s ease;
  overflow: hidden;
}

.mzsm-modal.show .mzsm-dialog {
  transform: translateY(0) scale(1);
}

.mzsm-header {
  height: 50px;
  background: linear-gradient(214deg, #0459e4 0%, #4a85f5 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  flex-shrink: 0;
}

.mzsm-title {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
}

.mzsm-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.mzsm-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.mzsm-body {
  padding: 24px 28px;
  color: #333;
  font-size: 14px;
  line-height: 1.9;
  overflow-y: auto;
  flex: 1;
}

.mzsm-body p {
  margin: 0 0 16px 0;
  color: #333;
}

.mzsm-body p:last-child {
  margin-bottom: 0;
}

/* 平板适配 */
@media (max-width: 1023px) {
  .mzsm-dialog {
    width: 90%;
    max-width: 500px;
  }
}

/* 手机适配 */
@media (max-width: 768px) {
  .mzsm-dialog {
    width: 92%;
    max-height: 80vh;
  }
  .mzsm-header {
    height: 46px;
    padding: 0 16px;
  }
  .mzsm-title {
    font-size: 15px;
  }
  .mzsm-body {
    padding: 18px 20px;
    font-size: 13px;
    line-height: 1.85;
  }
  .mzsm-body p {
    margin-bottom: 12px;
  }
}

.background {
  background: url(bg_1512.jpg) no-repeat bottom center;
  color: #333;
  line-height: 1.6;
  height: 100%;
  background-size: 100% 100%;
  padding-bottom: 57px;
  padding-top: 20px;
  background-color: #f1f9fe;
}
.ztzwfw_bottom{
  position:relative;
}
.bottom {
  margin-top: 0;
}
.bottom-tip{
  /* width:1200px; */
  margin:0 auto;
  color: #999;
  position: absolute;
  bottom: calc(100% + 15px);
  left: 37%;
  transform: translateX(-50%);
  font-size: 14px;
  /* padding-left: 275px; */
}

.header {
  height: 44px;
  line-height: 44px;
  background: unset;
  background-color: #3c78a7;
}

.zcwjk-logo {
  width: 1200px;
  height: 63px;
  margin: 0 auto;
}

.container {
  display: flex;
  width: 1200px;
  margin: 0 auto;
  gap: 42px;
  margin-top: 20px;
}

.left-panel {
  background: url(big-robot1.jpg);

  flex-direction: column;
  justify-content: center;
  width: 773px;
  height: 728px;
  display: flex;
  gap: 10px;
}
.left-panel.in-chat {
  gap: 0;
}

.top-container {
  padding-left: 232px;
  padding-right: 20px;
  /* margin-top: 100px; */
  height: 170px;
  display: flex;
  align-items: center;
  background:
    url(robot_big.png) no-repeat 32px 0 / 200px 170px,
    transparent;
}

.left-panel-one {
  width: 773px;
  display: flex;
  border-radius: 10px 10px 10px 10px;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
}

.fw-word {
  margin: 8px 0;
}

.fw-word .zrg-btn i {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(support.png);
  margin-right: 5px;
}

.zrg-btn {
  float: right;
  width: 120px;
  white-space: nowrap;
  height: 32px;
  line-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e6f0ff;
  box-shadow: 0px 5px 6px 0px #e1e7f0;
  border-radius: 30px 30px 30px 30px;
  transition: all 0.2s ease;
  border: 1px solid #0459e4;
}

/* "å›žåˆ°äººå·¥å®¢æœ" çŠ¶æ€ï¼šå®½åº¦æ›´å®½ï¼Œé¿å…æ–‡å­—æº¢å‡º */
.fw-word .fw-list li[data-artificial-opened="true"] {
  width: 160px;
}

/* è½¬äººå·¥â†’å›žåˆ°äººå·¥å®¢æœï¼šè°ƒæ•´ .fw-list çš„å·¦å†…è¾¹è·ä»¥é¿å¼€å˜å®½çš„æŒ‰é’® */
.fw-word .fw-list {
  padding-left: 600px;
}

.fw-word[data-artificial-opened="true"] .fw-list {
  padding-left: 560px;
}

.zrg-btn:hover {
  transform: translateY(-2px);
  background-color: #d2e3ff;

  box-shadow: 0 4px 10px #c8dbf8;
}

.right-panel {
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* gap: 20px; */
  width: 340px;
}

.chat-container {
  display: flex;
  flex-direction: column;
  /* height: 500px; */
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #0459e4 #e8edf7;
  padding-right: 30px;
}

.init {
  display: none !important;
}

/* ============== Ã§Å Â¶Ã¦â‚¬ÂÃ¥Ë†â€¡Ã¦ÂÂ¢Ã¯Â¼Å¡Ã¦Â¬Â¢Ã¨Â¿Å½Ã©Â¡Âµ Ã¢â€ â€ Ã¨ÂÅ Ã¥Â¤Â©Ã©Â¡Âµ ============== */
.left-panel {
  transition: all 0.45s ease;
}

.left-panel .top-container,
.left-panel .guess {
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    margin 0.45s ease,
    padding 0.45s ease;
  overflow: hidden;
  max-height: 500px;
  opacity: 1;
}

.left-panel .init {
  transition: opacity 0.35s ease;
  opacity: 0;
}

/* Ã¨ÂÅ Ã¥Â¤Â©Ã§Å Â¶Ã¦â‚¬ÂÃ¯Â¼Å¡Ã¦â€Â¶Ã¨ÂµÂ·Ã¦Â¬Â¢Ã¨Â¿Å½Ã¥Å’ÂºÃ¯Â¼Å’Ã¦ËœÂ¾Ã§Â¤ÂºÃ¨ÂÅ Ã¥Â¤Â©Ã¥â€¦Æ’Ã§Â´Â  */
.left-panel.in-chat .top-container,
.left-panel.in-chat .guess {
  max-height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: 0 !important;
  pointer-events: none;
}

.left-panel.in-chat .init {
  display: none !important;
}

/* Ã¨ÂÅ¡Ã§â€žÂ¦Ã¥ÂÅ½Ã¯Â¼Ë†in-chat Ã¦â‚¬ÂÃ¯Â¼â€°Ã¯Â¼Å¡Ã¨Â®Â©Ã¨ÂÅ Ã¥Â¤Â©Ã¥Å’ÂºÃ¥ÂÂ Ã¦Â»Â¡Ã©ÂÂ¢Ã¦ÂÂ¿Ã©Â«ËœÃ¥ÂºÂ¦ */
.left-panel.in-chat .left-panel-one {
  height: 100%;
}

.left-panel.in-chat .init.history-btn,
.left-panel.in-chat .init#charCount,
.left-panel.in-chat .init#clearBtn,
.left-panel.in-chat span.init {
  /* display: inline-flex !important; */
}

.left-panel.in-chat .input-box div.init {
  display: block !important;
}

.chat-header {
  position: relative;
  font-family:
    Microsoft YaHei UI,
    Microsoft YaHei UI;
  font-weight: 400;
  font-size: 20px;
  color: #333333;
  line-height: 20px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.chat-header img {
  position: absolute;
  top: -40px;
}

.chat-header .text {
  /* padding-left: 100px; */
  margin-bottom: 9px;
}

.robot-title {
  font-family:
    Microsoft YaHei UI,
    Microsoft YaHei UI;
  font-weight: bold;
  font-size: 24px;
  /* line-height: 24px; */
  text-align: left;
  color: #004ae1;
  font-style: normal;
  text-transform: none;
  /* margin-bottom: 0; */
  line-height: 40px;
}

.chat-messages {
  -ms-overflow-style: none;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages ::-webkit-scrollbar {
  width: 2px;
}

.chat-messages::-webkit-scrollbar-thumb {
  width: 2px;
  background: #c1c1c1;
  /* Ã¦Â»â€˜Ã¥Ââ€”Ã©Â¢Å“Ã¨â€°Â² */
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar {
  display: none;
}

.message {
  margin-bottom: 15px;
  display: flex;
  animation: fadeIn 0.3s ease;
}

.message.other {
  justify-content: flex-start;
  width: 100%;
}

.message.self {
  justify-content: flex-end;
}

.message-content {
  display: flex;
  align-items: flex-start;
  max-width: 80%;
}

.message.self .message-content {
  flex-direction: row-reverse;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  flex-shrink: 0;
}

.message.self .avatar {
  margin: 0 0 0 10px;
  display: none;
}

.message.other .avatar {
  margin: 0 10px 0 0;
  width: 54px;
  height: 36px;
}

.message-bubble {
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 3px 0px 3px 3px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #333;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  word-break: break-all;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.message.other .message-bubble {
  background: white;
  text-align: left;
  border-radius: 0 18px 18px 18px;
}

.message.self .message-bubble {
  background: #0459e4;
  color: #fff;
  border-radius: 18px 0 18px 18px;
  /* width: 123%; */
}

.message.self .message-bubble::before {
  content: "";
  position: absolute;
  right: -8px;
  top: 12px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #e7f7ff;
}

.message-sender {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.message.other .message-sender {
  color: #3498db;
}

.message.self .message-sender {
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

.message-time {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 5px;
}

.message.other .message-time {
  text-align: left;
}

.message.self .message-time {
  text-align: right;
}

.input-container {
  padding: 17px 16px;
  position: relative;
  width: 670px;
  margin-left: 60px;
  height: 154px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px 10px 10px 10px;
  border: 1px solid #e0e0e0;
}

.input-box {
  /*   display: flex;
            gap: 10px; */
  position: relative;
  height: 100%;
}

.input-box textarea {
  flex: 1;
  /* padding: 12px; */
  border: none;
  border-radius: 8px;
  outline: none;
  background: transparent;
  font-size: 1rem;
  font-size: 18px;
  resize: none;
  height: 80px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.input-box textarea::placeholder {
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 18px;
  color: #999999;
  line-height: 30px;
  text-align: justified;
  font-style: normal;
  text-transform: none;
}

#charCount {
  color: #0459e4;
}

.history-btn {
  width: 111px;
  height: 36px;
  background: #f4f8ff;
  border-radius: 10px 10px 10px 10px;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #999999;
  line-height: 30px;
  font-style: normal;
  text-transform: none;
}

.history-btn:hover {
  color: #0459e4;
  border: 1px solid #0459e4;
}

.history-btn:hover::after {
  background: url(arrow_hov.png) no-repeat center;
  background-size: contain;
}

.history-btn::after {
  content: "";
  background: url(arrow_nor.png) no-repeat center;
  display: inline-block;
  margin-left: 10px;
  width: 11px;
  height: 11px;
  transition: 0.2s all ease;
  background-size: contain;
}

.input-btn {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  z-index: 20;
  pointer-events: auto;
}

#sendBtn {
  flex-shrink: 0;
  position: relative;
  z-index: 21;
  color: white;
  border: none;
  padding: 5px 20px;
  cursor: pointer;
  transition: background 0.3s;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background:
    url(send.png) no-repeat center,
    linear-gradient(214deg, #0459e4 0%, #9cb9fb 82.69%, #cfd2ff 100%);
  box-shadow: 0px 4px 4px 0px rgba(114, 171, 251, 0.45);
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  line-height: 30px;
  text-align: justified;
  font-style: normal;
  text-transform: none;
}

#sendBtn span {
  display: none;
  margin-left: 25px;
}

#sendBtn {
  transition:
    width 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  overflow: hidden;
}

#sendBtn.send-active {
  width: 102px;
  background:
    url(send.png) no-repeat 15px,
    linear-gradient(214deg, #0459e4 0%, #9cb9fb 82.69%, #cfd2ff 100%);
  box-shadow: 0px 4px 4px 0px rgba(114, 171, 251, 0.45);
}

#sendBtn.send-active span {
  display: inline-block;
  margin-left: 20px;
}

#clearBtn {
  flex-shrink: 0;
  display: inline-block;
  width: 18px;
  height: 20px;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 21;
}

.input-tips {
  display: flex;
  gap: 10px;
  align-items: center;
  /* å¹³æ»‘è¿‡æ¸¡ï¼šopacity + transformï¼Œé¿å…å¤±ç„¦çž¬é—´æ¶ˆå¤±çš„"è·³ä¸€ä¸‹" */
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  opacity: 1;
  transform: translateY(0);
}
.guess-toggle {
  display: none !important;
}

/* å¤±ç„¦æ—¶æ•´å—éšè—ï¼šopacity æ¸éš + ä¸‹ç§»ï¼Œä¸å½±å“å¸ƒå±€ */
.input-tips.init {
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  /* è®© .init ç»§ç»­ç”Ÿæ•ˆæ—¶ä¸å ç©ºé—´ */
  pointer-events: none;
}

.lxc-box {
  display: none;
  position: absolute;
  bottom: 85px;
  background: white;
  width: calc(100% - 110px);
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.lxc-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.lxc-item:hover,
.lxc-item.selected {
  background: #f5f5f5;
}

.lxc-item:last-child {
  border-bottom: none;
}

.guess-questions {
  padding: 15px 18px 21px;
  display: flex;
  gap: 14px;
}

.section-title {
  font-size: 1.1rem;
  width: 84px;
  height: 66px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(blue-title.png);
  background-size: 99% 100%;
}

.tag-icon {
  /* padding-left: 15px; */
  color: #436b8b;
  position: relative;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: bold;
  font-size: 18px;
  width: 36px;
  color: #0459e4;
  line-height: 22px;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.tag-icon i {
  width: 5px;
  height: 25px;
  border-radius: 2px;
  position: absolute;
  top: 2px;
  left: 0;
  background: #217aff;
}

.change {
  display: flex;
  justify-content: center;
}

.change-btn {
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  padding-left: 23px;
  background-image: url(refresh.png);
  background-repeat: no-repeat;
  background-position-y: center;
  color: #555555;
  cursor: pointer;
  /* display: block; */
  /* margin: 0 auto; */
}

.change-btn:hover {
  color: #0459e4;
  background-image: url(refresh_hov.png);
}

.guess-toggle {
  display: none;
}

.questions-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.question-item {
  display: flex;
  align-items: center;
  padding-left: 10px;
  gap: 3px;
  position: relative;
  padding: 10px 15px;
  height: 50px;
  background: #f6faff;
  box-shadow: 0px 0px 10px 0px rgba(69, 137, 239, 0.1);
  border-radius: 30px 30px 30px 30px;
  border: 1px solid #ffffff;
  transition: 0.2s all ease;
}

.question-item i {
  width: 24px;
  height: 24px;
  line-height: 24px;
  margin-right: 3px;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.question-text {
  width: auto;
  text-overflow: ellipsis;
  overflow: hidden;
  /* display: flex; */
  /* justify-content: space-between; */
  align-items: center;
  white-space: nowrap;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 18px;
  color: #555555;
  line-height: 30px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  position: relative;
  cursor: pointer;
}

.question-item:hover .question-text {
  color: #0459e4;
}

.question-item:hover {
  transform: translateY(-4px);
  box-shadow: 0px 0px 10px 0px rgba(69, 137, 239, 0.2);
}

.right-module {
  background: white;
  width: 385px;
  border-radius: 18px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;

  /* border: 1px solid #0459e4; */
}

.zxzc-box {
  /* min-height: 301px; */
  height: 360px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 0px 10px 0px rgba(69, 137, 239, 0.1);
}

.lsjl-box {
  height: 256px;
}

.module-title {
  padding: 0 20px;
  position: relative;
  font-family:
    Microsoft YaHei UI,
    Microsoft YaHei UI;
  font-weight: 400;
  font-size: 24px;
  color: #333333;
  line-height: 24px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  line-height: 60px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  height: 60px;
  /* background: #dfeaff; */
  text-transform: none;
}

.module-title a {
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #0459e4;
  line-height: 34px;
  text-align: right;
  font-style: normal;
  text-transform: none;
}

.module-title a::after {
  content: "";
  display: inline-block;
  width: 5.5px;
  height: 11px;
  background: url(right_more_icon.png);
  margin-left: 9px;
  background-size: 100% 100%;
  transition: all 0.2s ease;
}

.module-title a:hover::after {
  transform: translateX(10px);
}

.module-title i {
  width: 5px;
  height: 25px;
  border-radius: 2px;
  position: absolute;
  top: 2px;
  left: 0;
  background: #217aff;
}

.policy-list {
  list-style: none;
  padding: 10px 20px 80px;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.policy-list.justify-between {
  justify-content: space-between;
}

.policy-item {
  /* padding: 10px 0 10px 10px; */
  /* border-bottom: 1px dashed #eee; */
  display: flex;
  align-items: center;
  /* height: 25%; */
  width: 100%;
  line-height: 30px;
  align-items: center;
}

.policy-item i {
  width: 6px;
  display: block;
  height: 6px;
  background-color: #0459e4;
  margin-right: 5px;
  border-radius: 10px;
  margin-top: 11px;
  margin-right: 10px;
}

.policy-item:last-child {
  border-bottom: none;
}

.policy-item-content {
  display: flex;
  align-items: flex-start;
  max-height: 60px;
}

.policy-item a {
  color: #333;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
  flex: 1;
  /* width: 90%; */
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  /* max-width: 290px; */
  /* width: 100%; */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 30px;
}

.policy-item a:hover {
  color: #0459e4;
}

.policy-date {
  font-size: 0.8rem;
  color: #999;
  margin-top: 5px;
}

.history-list {
  list-style: none;
  padding: 20px;
  height: 196px;
  background: #eef3fc;
  overflow: hidden;
  border-top: 1px solid #d4ddee;
  position: relative;
}

.history-empty {
  position: absolute;
  left: 0;
  right: 0;
  top: 72%;
  transform: translateY(-50%);
  text-align: center;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-size: 16px;
  color: #999999;
  cursor: default;
  line-height: 23px;
}

.history-remove {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #555555;
  line-height: 34px;
  text-align: right;
  font-style: normal;
  text-transform: none;
}

.history-remove span {
  width: 72px;
  /* height: 30px; */
}

.history-remove img {
  margin-right: 5px;
}

history-remove:hover {
  color: #4a90e2;
}

/* å¯¹è¯è®°å½•æµ®å±‚ï¼šç‚¹å‡»"å¯¹è¯è®°å½•"æŒ‰é’®æ—¶å±•ç¤º */
.history-popup {
  position: absolute;
  left: 0;
  bottom: -107px;
  width: 639px;
  height: 102px;
  background: #ffffff;
  box-shadow: 0px 0px 24px 0px rgba(69, 137, 239, 0.1);
  border-radius: 16px;
  padding: 16px 13px;
  box-sizing: border-box;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  pointer-events: none;
}

.history-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.history-popup-list {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.history-popup-list:empty::before {
  content: "æš‚æ— å¯¹è¯è®°å½•";
  grid-column: 1 / -1;
  color: #999;
  font-size: 14px;
  text-align: center;
}

.history-popup-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
}

.history-popup-item:hover {
  color: #0459e4;
}

.history-popup-item img {
  width: 20px;
  height: 14px;
  flex-shrink: 0;
}

.history-popup-item span {
  overflow: hidden;
  flex: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-popup-clear {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  /* padding-left: 20px; */
  margin-left: 24px;
  border-left: 1px solid #eee;
  cursor: pointer;
  color: #999;
  font-size: 14px;
  width: 112px;
  flex-shrink: 0;
}

.history-popup-clear span {
  text-align: center;
}

.history-popup-clear img {
  width: 20px;
  height: 20px;
}

.history-popup-clear:hover {
  color: #4a90e2;
}

.history-popup-clear:hover img {
  content: url(del_hov.png);
}

.history-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  line-height: 23px;
  text-align: left;
  font-style: normal;
  text-transform: none;
}

.history-item:hover {
  color: #0459e4;
}

.history-item > img {
  /* width: 10px; */
  margin-right: 10px;
}

.history-item-title {
  flex: 1;
  width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 290px;
}

.ksrk-box {
  height: 338px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 0px 10px 0px rgba(69, 137, 239, 0.1);
}

.history-item-remove {
  display: none;
  margin-left: 10px;
}

/* .history-item:last-child {
    border-bottom: none;
  } */
.history-item a {
  color: #333;
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.history-item a:hover {
  color: #4a90e2;
}

.history-item:last-of-type {
  margin-bottom: 0px;
}

.history-date {
  font-size: 0.8rem;
  color: #999;
  margin-top: 5px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  /* background: #eef3fc; */
  height: 278px;
  padding: 20px 17px 28px;
  gap: 10px;
  /* border-top: 1px solid #d4ddee; */
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  /* padding: 10px 12px 0 12px; */
  transition: background 0.3s;
  width: 90px;
  height: 110px;
}

.quick-link:hover span {
  color: #0459e4;
}

.quick-link-top {
  width: 90px;
  height: 52px;
  /* padding: 10px 0; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* border: 1px solid #d8e0f9; */
  border-radius: 10px;
  margin-bottom: 8px;
}

.quick-link:hover .quick-link-top {
  /* background:#DFEAFF; */
}

.quick-link img {
  width: 52px;
  width: 62px;
  height: 63px;
  /* margin-bottom: 8px; */
}

.quick-link span {
  width: 102px;
  height: 47px;
  font-family:
    Microsoft YaHei,
    Microsoft YaHei;
  font-weight: 400;
  font-size: 16px;
  color: #333333;
  line-height: 23px;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

.manyi-box {
  margin-top: 10px;
  text-align: right;
  display: none;
}

.manyi-btn {
  display: inline-flex;
  gap: 10px;
}

.manyiGood,
.manyiBad {
  width: 24px;
  height: 24px;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
}

.manyiGood {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"/></svg>');
}

.manyiBad {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F44336"><path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"/></svg>');
}

.answers-content {
  line-height: 1.6;
}

.answers-content p {
  margin-bottom: 10px;
}
/* answers-content ä¸‹çš„ p å¦‚æžœåŒ…å« a æ ‡ç­¾ï¼Œåº”ç”¨é“¾æŽ¥å—æ ·å¼ */
.answers-content p:has(a) {
  border-radius: 6px 6px 6px 6px;
  color: #333;
  line-height: 34px;
  /* padding-left: 10px; */
  display: flex;
}
.answers-content p a {
  display: inline-block;
  color: #0459e4;
}
.answers-content p a:hover {
  color: #1F49A7;
}

.answers-content p a span {
  display: inline;
}
.KnowPoint {
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
}

.optimize-item {
  cursor: pointer;
  padding: 5px 0;
  color: #4a90e2;
}

.optimize-item:hover {
  color: #2c67d8;
}

.item-title {
  cursor: pointer;
  padding: 5px 0;
  color: #0459e4;
}

.item-title:hover {
  color: #1F49A7;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.fw-word .fw-list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  -webkit-box-orient: horizontal;
  display: flex;
  padding-left: 600px;
  /* justify-content: flex-end; */
}

.fw-word .fw-list li {
  margin: 0;
  margin-top: 4px;
  margin-left: 10px;
  user-select: none;
  /* border-radius: 10px; */
  padding: 6px 8px;
  font-size: 18px;
  /* color: #1071bc; */
  cursor: pointer;
  /* float: left; */
  background: url(headset-solid.png) no-repeat;
  width: 120px;
  height: 42px;
  background: #f6faff;
  box-shadow: 0px 0px 10px 0px rgba(69, 137, 239, 0.1);
  border-radius: 30px 30px 30px 30px;
  border: 1px solid #ffffff;
}

.fw-word .fw-list li:hover {
  color: #0459e4;
}

@media screen and (min-width: 1024px) and (max-width: 1220px) {
  .container {
    width: 100%;
    padding: 0 20px;
    gap: 20px;
    /* gap: 0; */
  }
  .bottom-tip{
    padding-left:18px;
  }
  .fw-word .fw-list {
    padding-left: 520px;
  }
  .fw-word[data-artificial-opened="true"] .fw-list {
    padding-left: 480px;
  }
  .right-module {
    width: 100%;
  }
  .history-popup {
    width: 600px;
  }

  .zcwjk-logo {
    width: 100%;
  }

  .containers {
    width: 100% !important;
  }

  .bottom {
    min-width: unset;
  }

  .btn {
    width: 100%;
  }

  .footer2_1 li {
    margin-right: 0;
  }

  .footer2_1 ul {
    display: flex;
    justify-content: space-around;
  }

  .dt {
    width: 63% !important;
  }

  body {
    min-width: unset;
  }

  .left-panel {
    width: 66%;
    /* margin-right: 20px; */
    background-size: 131px;
    background-position: 12px 9px;
  }

  .right-panel {
    width: 32%;
  }

  .left-panel-one {
    width: 100%;
  }

  .guess-questions {
    width: 100%;
  }

  .question-text {
    width: 85%;
  }

  .input-container {
    width: 100%;
    margin-left: 0;
  }

  .quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
  }

  .top-container {
    padding-left: 20px;
    background-size: 170px 140px;
  }

  .chat-header {
    padding-left: 187px;
  }

  .question-item {
  }
}

@media (max-width: 1023px) {
  .container {
    flex-direction: column;
    width: 100%;
    padding: 0px 10px;
  }
  .bottom-tip{
    /* padding-left:90px; */
    left: 30%;
  }
  /* pad/手机端：隐藏"对话记录"按钮和浮层（639px 会撑大 body） */
  #historyBtn,
  .history-popup {
    display: none !important;
  }
  .fw-word .fw-list {
    padding-left: 540px;
  }
  .fw-word[data-artificial-opened="true"] .fw-list {
    padding-left: calc(100% - 248px);
  }
  .containers {
    width: 100% !important;
  }
  .chat-container {
    padding: 0px 20px;
    overflow-x: hidden;
  }

  body {
    min-width: unset;
    background: unset;
  }

  .zcwjk-logo {
    padding-left: 10px;
    width: 100%;
  }

  .bottom {
    min-width: unset;
  }

  .btn {
    width: 100%;
  }

  .footer2_1 li {
    margin-right: 0;
  }

  .footer2_1 ul {
    display: flex;
    justify-content: space-around;
  }

  .dt {
    width: 65% !important;
  }

  .dzjg {
    display: flex;
    flex-direction: column;
    margin-top: 0 !important;
    margin-right: 0 !important;
  }

  .left-panel {
    width: 100%;
    background-size: 118px;
    background-position: 24px 20px;
  }

  .right-panel {
    display: none;
  }

  .left-panel-one {
    width: 100%;
  }

  .input-container {
    width: 80%;
    margin: 0 auto;
  }

  .top-container {
    padding: 20px 20px 0;
    /* padding-left: 130px; */
    background-size: 180px;
    /* padding-top: 0; */
    /* align-items: flex-start; */
  }

  .guess-questions {
    width: 100%;
    height: auto;
    /* margin-right: 303px; */
    /* margin-left: -115px; */
  }

  .chat-header {
    padding-left: 201px;
  }

  .question-item {
    /* width: auto; */
  }
}

.transfer-modal {
  display: none;
  /* position: fixed; */
  /* top: 0;
            left: 0; */
  width: 100%;
  height: 728px;
  /* background-color: rgba(0, 0, 0, 0.6); */
  z-index: 10001;
  justify-content: center;
  align-items: center;
}

.transfer-modal.active {
  display: flex;
}

.transfer-dialog {
  /* width: 768px; */
  /* height: 85%; */
  max-width: 1200px;
  max-height: 800px;
  background: #fff;
  border-radius: 18px;
  /* box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3); */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.2s ease;
  width: 100%;
  height: 100%;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.transfer-header {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  height: 60px;
  font-weight: bold;
  font-size: 22px;
  color: #fff;
  line-height: 60px;
  text-align: left;
  background: linear-gradient(270deg, #2470fd 0%, #0459e4 100%);
}

.transfer-logo {
  display: flex;
  color: #fff;
  align-items: center;
}

.transfer-logo .support-logo {
  width: 36px;
  height: 36px;
  margin-right: 8px;
  margin-bottom: 4px;
}

.transfer-header span:first-child {
  font-size: 22px;
  color: #fff;
}

.transfer-close {
  cursor: pointer;
  font-size: 20px;
  line-height: 24px;
  /* font-weight: bold; */
  background: none;
  border: none;
  color: #a3c8f1;
  transition: opacity 0.2s;
  border: 1px solid #0459e4;
  /* padding: 8px 20px; */
  width: 83px;
  height: 36px;
  /* background: #ebf3ff; */
  border-radius: 8px;
  width: 150px;
  height: 32px;
  border-radius: 30px 30px 30px 30px;
  border: 1px solid rgba(163, 200, 241, 0.3);
  position: relative;
  z-index: 11;
}
.transfer-close:hover {
  color: #fff;
  border: 1px solid #fff;
}

.transfer-body {
  flex: 1;
  padding: 0;
  position: relative;
  z-index: 1;
  /* background: #f5f7fa; */
  background: linear-gradient(270deg, #2470fd 0%, #0459e4 100%);
}

.transfer-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  border-radius: 18px;
}

@media (max-width: 767px) {
  .transfer-dialog {
    width: 95%;
    height: 90%;
  }
  /* pad/手机端：彻底隐藏"对话记录"按钮和浮层 */
  #historyBtn,
  .history-popup {
    display: none !important;
  }
  .fw-word .fw-list {
    padding-left: calc(100% - 138px);
  }
  .fw-word[data-artificial-opened="true"] .fw-list {
    padding-left: calc(100% - 180px);
  }
  body {
    margin-bottom: 0;
  }
  .bottom-tip{
    /* padding-left: 49px; */
    left: 50%;
  }
  .bottom-tip>span{
    display:flex;
    /* align-items:flex-start; */
    white-space: nowrap;
  }

  .header {
    height: 0.37rem;
    line-height: 0.37rem;
  }
  .chat-header .text {
    margin-bottom: 0;
  }

  .robot-title {
    font-size: 0.4rem;
    line-height: 0.6rem;
  }
  .zcwjk-logo {
    width: 100%;
    width: 100%;
    padding-left: 10px;
    height: 0.6rem;
  }
  .top-container {
    padding-top: 0;
    align-items: center;
    background-size: 136px;
    background-position: 27px 31px;
  }

  .message.other .message-content {
    max-width: 98%;
  }

  .zcwjk-logo a img {
    width: 3rem;
  }
  .input-container {
    width: 96%;
  }

  .left-panel {
    padding-top: 0;
    background-position: 19px 14px;
    margin-bottom: 20px;
  }

  .transfer-header {
    padding: 8px 15px;
  }

  .questions-grid {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    transition:
      max-height 0.35s ease,
      opacity 0.35s ease;
  }

  .guess-questions {
    flex-direction: column;
    width: 100%;
    position: relative;
  }

  .containers {
    width: 100% !important;
  }

  .section-title {
    background: unset;
    height: auto;
  }

  .tag-icon {
    width: 100%;
  }

  .guess-questions.collapsed + .change {
    display: none;
  }

  .guess-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 19px;
    right: 18px;
    font-size: 14px;
    color: #555555;
    cursor: pointer;
    font-family:
      Microsoft YaHei,
      Microsoft YaHei;
    line-height: 1;
    font-size: 16px;
    user-select: none;
  }

  .guess-toggle::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #555555;
    border-bottom: 2px solid #555555;
    transform: rotate(-135deg);
    transition: transform 0.3s ease;
  }

  .guess-questions.collapsed .guess-toggle::after {
    transform: rotate(45deg);
  }

  .guess-questions.collapsed .questions-grid {
    max-height: 0;
    opacity: 0;
  }

  .message.self .message-bubble {
    max-width: 100%;
  }

  .chat-header {
    font-size: 0.3rem;
    line-height: 0.4rem;
    padding-left: 160px;
  }

  .question-item {
    width: 94%;
  }

  .question-text {
    width: 81%;
  }

  .common-talk-content .greetings-card .card-content .service-text {
    font-size: 0.4rem;
  }

  .m-block {
    display: block;
  }

  .p-block {
    display: none;
  }
}

body.modal-open {
  overflow: hidden;
}