.ai-qa-panel {
  display: flex;
  width: 100%;
  height: 600px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.ai-qa-panel .qa-left {
  width: 316px;
  flex-shrink: 0;
  display: flex;
  padding: 30px 20px 0;
  flex-direction: column;
  background: #f0f6ff;
}
.ai-qa-panel .qa-left .title-box {
  margin-bottom: 15px;
}
.ai-qa-panel .qa-left .title-box .open-new-btn {
  cursor: pointer;
  width: 216px;
  height: 40px;
  justify-content: center;
  border-radius: 31px;
  border: 1px solid #2f54eb;
  background: #fff;
  box-shadow: 0 0 8px 0 rgba(47, 84, 235, 0.25);
  margin: 0 auto 27px;
}
.ai-qa-panel .qa-left .title-box .open-new-btn:hover {
  box-shadow: 0 0 8px 0 rgba(47, 84, 235, 0.6);
}
.ai-qa-panel .qa-left .title-box .open-new-btn .open-new-icon {
  width: 19px;
  height: 19px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a4.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-right: 8px;
}
.ai-qa-panel .qa-left .title-box .open-new-btn .open-new-text {
  color: #2f54eb;
  text-align: center;
  font-family: "PingFang SC";
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  /* 157.143% */
}
.ai-qa-panel .qa-left .title-box .title-box2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-qa-panel .qa-left .title-box .title-box2 .icon2 {
  width: 18px;
  height: 18px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a5.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-right: 8px;
}
.ai-qa-panel .qa-left .title-box .title-box2 .text2 {
  color: #474d58;
  text-align: center;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  /* 171.429% */
}
.ai-qa-panel .qa-left .title-box .title-box2 .change-box {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.ai-qa-panel .qa-left .title-box .title-box2 .change-box .icon3 {
  width: 18px;
  height: 18px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a3.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-right: 5px;
}
.ai-qa-panel .qa-left .title-box .title-box2 .change-box .text3 {
  color: #2f54eb;
  text-align: center;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  /* 100% */
}
.ai-qa-panel .qa-left .item-box {
  width: 100%;
}
.ai-qa-panel .qa-left .item-box .item {
  max-width: 276px;
  display: flex;
  align-items: center;
  padding: 14px;
  margin-bottom: 13px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 0;
  /* 关键：flex子元素需要这个属性才能限制宽度 */
  color: #040b19;
  font-family: "PingFang SC";
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  /* 核心修改：把文字溢出的样式移到内容容器上 */
}
.ai-qa-panel .qa-left .item-box .item .item-content {
  flex: 1;
  /* 占满剩余宽度 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-qa-panel .qa-left .item-box .item:hover {
  border-radius: 8px;
  border: 1px solid #2f54eb;
  background: rgba(214, 228, 255, 0.5);
  color: #2f54eb;
}
.ai-qa-panel .qa-left .item-box .item.empty {
  justify-content: center;
  color: #95989e;
  cursor: default;
}
.ai-qa-panel .qa-left .item-box .item.empty:hover {
  border-color: #e8e8e8;
  box-shadow: none;
  color: #95989e;
}
.ai-qa-panel .qa-left .history-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-qa-panel .qa-left .history-box .line1 {
  margin: 20px 0;
}
.ai-qa-panel .qa-left .history-box .title-box3 {
  display: flex;
  align-self: center;
  margin-bottom: 15px;
  width: 100%;
}
.ai-qa-panel .qa-left .history-box .title-box3 .icon1 {
  width: 18px;
  height: 18px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a6.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-right: 8px;
}
.ai-qa-panel .qa-left .history-box .title-box3 .text1 {
  color: #474d58;
  text-align: center;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  /* 171.429% */
}
.ai-qa-panel .qa-left .history-box .history-item-box {
  flex: 1;
  width: 100%;
  overflow-y: auto;
  min-height: 0;
}
.ai-qa-panel .qa-left .history-box .history-item-box::-webkit-scrollbar {
  width: 4px;
}
.ai-qa-panel .qa-left .history-box .history-item-box::-webkit-scrollbar-track {
  background: transparent;
}
.ai-qa-panel .qa-left .history-box .history-item-box::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.ai-qa-panel .qa-left .history-box .history-item-box .item {
  max-width: 276px;
  display: flex;
  align-items: center;
  padding: 14px;
  margin-bottom: 13px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 0;
  /* 关键：flex子元素需要这个属性才能限制宽度 */
  color: #040b19;
  font-family: "PingFang SC";
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  /* 核心修改：把文字溢出的样式移到内容容器上 */
}
.ai-qa-panel .qa-left .history-box .history-item-box .item .item-content {
  flex: 1;
  /* 占满剩余宽度 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-qa-panel .qa-left .history-box .history-item-box .item:hover {
  border-color: #2f54eb;
  box-shadow: 0 2px 8px rgba(47, 84, 235, 0.15);
  color: #2f54eb;
}
.ai-qa-panel .qa-left .history-box .history-item-box .item.empty {
  justify-content: center;
  color: #95989e;
  cursor: default;
}
.ai-qa-panel .qa-left .history-box .history-item-box .item.empty:hover {
  border-color: #e8e8e8;
  box-shadow: none;
  color: #95989e;
}
.ai-qa-panel .qa-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(46% 46.92% at 82.38% 15.56%, rgba(255, 211, 243, 0.4) 0%, rgba(255, 211, 243, 0) 100%), linear-gradient(0deg, #b2d1ff 0%, #e9f1fe 100%);
  padding: 0 20px;
}
.ai-qa-panel .qa-right .title-box {
  height: 74px;
  display: flex;
  align-items: center;
}
.ai-qa-panel .qa-right .title-box .gradient-text {
  background: linear-gradient(90deg, #2f54eb, #722ed1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 26px;
  font-weight: 600;
  /* 优化多行文字：让渐变随文字宽度自适应 */
  background-size: cover;
  /* 可选：禁止背景重复（避免短文字渐变断层） */
  background-repeat: no-repeat;
  /* 可选：居中显示（仅布局用） */
  text-align: center;
}
.ai-qa-panel .qa-right .title-box .desc-img {
  margin-left: 30px;
  width: 413px;
  height: 24px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a14.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.ai-qa-panel .qa-right .default-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-qa-panel .qa-right .default-box .img1 {
  width: 200px;
  height: 200px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a1.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.ai-qa-panel .qa-right .answer-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-qa-panel .qa-right .answer-box .ai-common {
  height: 100%;
  display: flex;
  padding: 0 0 20px !important;
  flex-direction: column;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer {
  position: relative;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content {
  color: #15151a;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  margin-top: 10px;
  word-wrap: break-word;
  white-space: normal;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content code {
  background: #f5f7fa;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Consolas, Monaco, "Andale Mono", monospace;
  font-size: 13px;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content pre {
  background: #f5f7fa;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 8px 0;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content pre code {
  background: transparent;
  padding: 0;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content strong {
  font-weight: 600;
  color: #2f54eb;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h1,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h2,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h3,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h4,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h5,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h6 {
  font-weight: 600;
  color: #040b19;
  line-height: 1.4;
  margin-bottom: 10px;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h1 {
  font-size: 16px;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h2 {
  font-size: 16px;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h3 {
  font-size: 16px;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h4,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h5,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content h6 {
  font-size: 14px;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content p {
  margin: 4px 0;
  line-height: 1.5;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content ul,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content ol {
  padding-left: 20px;
  margin: 10px 0;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content li {
  line-height: 1.4;
  margin: 2px 0;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content ul li {
  list-style-type: disc;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content ol li {
  list-style-type: decimal;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content a {
  color: #2f54eb;
  text-decoration: none;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content a:hover {
  text-decoration: underline;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content blockquote {
  padding: 8px 12px;
  border-left: 3px solid #2f54eb;
  background: #f5f7fa;
  color: #595959;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content blockquote p {
  margin: 0;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 13px;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content table th,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content table td {
  border: 1px solid #e8e8e8;
  padding: 8px 10px;
  text-align: left;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content table th {
  background: #f5f7fa;
  font-weight: 600;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content table tr:nth-child(even) {
  background: #fafafa;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 12px 0;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .answer-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 8px 0;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns {
  position: absolute;
  bottom: -30px;
  display: flex;
  gap: 0;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  padding: 0 10px;
  border-left: 1px solid #c0d5f6;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn:first-child {
  border-left: none;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn:hover {
  opacity: 1;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn.copied,
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn.active {
  opacity: 1;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn .btn-icon {
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-right: 4px;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn .btn-text {
  font-size: 12px;
  color: #666;
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn.copy-btn .btn-icon {
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a8.png");
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn.like-btn .btn-icon {
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a9.png");
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn.dislike-btn .btn-icon {
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a10.png");
}
.ai-qa-panel .qa-right .answer-box .ai-common-answer .action-btns .action-btn.regenerate-btn .btn-icon {
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a11.png");
}
.ai-qa-panel .qa-right .input-box {
  position: relative;
  padding: 20px 47px 20px 15px;
  border-radius: 16px;
  height: 110px;
  border: 1px solid #597ef7;
  background: linear-gradient(0deg, #fff 0%, #eff2fe 100%);
  transition: box-shadow 0.3s ease;
}
.ai-qa-panel .qa-right .input-box:focus-within {
  box-shadow: 0 4px 16px rgba(47, 84, 235, 0.35);
}
.ai-qa-panel .qa-right .input-box .go-down-icon {
  display: none;
  position: absolute;
  top: -43px;
  right: calc(50% - 20px);
  width: 40px;
  height: 40px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a13.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.ai-qa-panel .qa-right .input-box .go-down-icon:hover {
  transform: scale(1.1);
}
.ai-qa-panel .qa-right .input-box .go-down-icon.visible {
  display: block;
}
.ai-qa-panel .qa-right .input-box .default-text-img {
  position: absolute;
  top: -71px;
  right: 0;
  width: 244px;
  height: 56px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a12.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.ai-qa-panel .qa-right .input-box .message-input {
  width: 100%;
  height: 100%;
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: "PingFang SC";
  font-size: 14px;
  color: #333;
  resize: none;
  transition: all 0.3s ease;
  text-align: left;
  padding: 0;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}
.ai-qa-panel .qa-right .input-box .message-input::placeholder {
  color: #bfbfbf;
  text-align: left;
}
.ai-qa-panel .qa-right .input-box .message-input:focus {
  outline: none;
}
.ai-qa-panel .qa-right .input-box .message-send {
  position: absolute;
  right: 8px;
  bottom: 20px;
  width: 28px;
  height: 28px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/common/send.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  background-position: center;
  opacity: 0.6;
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
}
.ai-qa-panel .qa-right .input-box .message-send.active {
  opacity: 1;
  pointer-events: auto;
}
.ai-qa-panel .qa-right .input-box .message-send:hover {
  box-shadow: 0 0 8px 0 rgba(47, 84, 235, 0.6);
}
.ai-qa-panel .qa-right .input-box .message-send:active {
  transform: scale(0.95);
}
.ai-qa-panel .qa-right .input-box .message-send.loading {
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a7.png");
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.ai-qa-panel .qa-right .tip-text {
  height: 42px;
  line-height: 42px;
  color: #2f54eb;
  text-align: center;
  font-family: "PingFang SC";
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}
@media (max-width: 768px) {
  .ai-qa-panel {
    flex-direction: column;
    height: auto;
    min-height: 500px;
  }
  .ai-qa-panel .qa-left {
    width: 100%;
    max-height: 250px;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
  .ai-qa-panel .qa-right {
    min-height: 400px;
  }
}

.ai-common {
  padding: 0 20px 20px;
  position: relative;
}
.ai-common .ai-common-label-wrapper {
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-common .ai-common-label-wrapper .icon1 {
  width: 255px;
  height: 28px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/service-center/s12.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.ai-common .ai-common-label-wrapper span {
  color: #040b19;
  font-family: "PingFang SC";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.ai-common .ai-common-label-wrapper .btns {
  display: flex;
  align-items: center;
}
.ai-common .ai-common-label-wrapper .btns .ai-common-btn-new {
  width: 24px;
  height: 24px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/service-center/s13.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
}
.ai-common .ai-common-label-wrapper .btns .ai-common-btn-history {
  width: 24px;
  height: 24px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/service-center/s14.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  margin-left: 20px;
}
.ai-common .ai-common-history-wrapper {
  width: 100%;
  height: calc(100% - 56px);
  position: absolute;
  right: 0;
  top: 56px;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
}
.ai-common .ai-common-history-wrapper .history-content {
  width: 260px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  position: relative;
  margin-left: auto;
}
.ai-common .ai-common-history-wrapper .history-content .title-box {
  height: 45px;
  padding: 0 15px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}
.ai-common .ai-common-history-wrapper .history-content .title-box .text1 {
  color: #95989e;
  font-family: "PingFang SC";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
}
.ai-common .ai-common-history-wrapper .history-content .title-box .close-icon {
  width: 14px;
  height: 14px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/service-center/s16.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
}
.ai-common .ai-common-history-wrapper .history-content .title-box .close-icon:hover {
  opacity: 0.7;
}
.ai-common .ai-common-history-wrapper .history-content .item-box {
  height: calc(100% - 45px);
  overflow-y: auto;
  max-height: calc(100% - 45px);
}
.ai-common .ai-common-history-wrapper .history-content .item-box::-webkit-scrollbar {
  width: 4px;
}
.ai-common .ai-common-history-wrapper .history-content .item-box::-webkit-scrollbar-track {
  background: transparent;
}
.ai-common .ai-common-history-wrapper .history-content .item-box::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.ai-common .ai-common-history-wrapper .history-content .item-box .item {
  height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f5f5f5;
}
.ai-common .ai-common-history-wrapper .history-content .item-box .item:hover {
  background-color: #f5f7fa;
}
.ai-common .ai-common-history-wrapper .history-content .item-box .item .item-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #040b19;
  font-family: "PingFang SC";
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  margin-right: 8px;
}
.ai-common .ai-common-history-wrapper .history-content .item-box .item .item-close-icon {
  width: 16px;
  height: 16px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/service-center/s17.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  opacity: 0.6;
  flex-shrink: 0;
}
.ai-common .ai-common-history-wrapper .history-content .item-box .item .item-close-icon:hover {
  opacity: 1;
}
.ai-common .ai-common-content-wrapper {
  overflow-y: auto;
  height: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ai-common .ai-common-content-wrapper::-webkit-scrollbar {
  width: 4px;
}
.ai-common .ai-common-content-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.ai-common .ai-common-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.ai-common .ai-common-content-wrapper .ai-common-question {
  margin-left: auto;
  min-height: 44px;
  width: fit-content;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 14px 14px 0 14px;
  background: linear-gradient(90deg, rgba(146, 84, 222, 0) 0%, rgba(146, 84, 222, 0.6) 100%), #2f54eb;
  color: #fff;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  word-wrap: break-word;
}
.ai-common .ai-common-content-wrapper .ai-common-answer {
  position: relative;
  margin-right: auto;
  width: fit-content;
  max-width: 90%;
  padding: 10px 14px 30px 14px;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 0 14px 14px 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-label {
  color: #15151a;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 21px;
  margin-bottom: 5px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-label .loading-dots {
  display: inline-block;
  width: 20px;
  text-align: left;
  content: ".";
  opacity: 0.2;
  animation: thinkLoading 0.6s infinite;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-label .loading-dots::before,
.ai-common .ai-common-content-wrapper .ai-common-answer .think-label .loading-dots::after {
  content: ".";
  display: inline-block;
  opacity: 0.2;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-label .loading-dots::before {
  animation: thinkLoading 0.6s 0.2s infinite;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-label .loading-dots::after {
  animation: thinkLoading 0.6s 0.4s infinite;
}
@keyframes thinkLoading {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-content {
  color: #95989e;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  border-left: 2px solid #f5f7fa;
  padding: 10px 0 10px 8px;
  max-height: 200px;
  overflow-y: auto;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-content code {
  background: #f5f7fa;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Consolas, Monaco, "Andale Mono", monospace;
  font-size: 13px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-content pre {
  background: #f5f7fa;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-content pre code {
  background: transparent;
  padding: 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .think-content strong {
  font-weight: 600;
  color: #2f54eb;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content {
  color: #15151a;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  margin-top: 10px;
  word-wrap: break-word;
  white-space: normal;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content code {
  background: #f5f7fa;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Consolas, Monaco, "Andale Mono", monospace;
  font-size: 13px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content pre {
  background: #f5f7fa;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 8px 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content pre code {
  background: transparent;
  padding: 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content strong {
  font-weight: 600;
  color: #2f54eb;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h1,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h2,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h3,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h4,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h5,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h6 {
  font-weight: 600;
  color: #040b19;
  line-height: 1.4;
  margin-bottom: 10px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h1 {
  font-size: 16px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h2 {
  font-size: 16px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h3 {
  font-size: 16px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h4,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h5,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content h6 {
  font-size: 14px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content p {
  margin: 4px 0;
  line-height: 1.5;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content ul,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content ol {
  padding-left: 20px;
  margin: 10px 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content li {
  line-height: 1.4;
  margin: 2px 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content ul li {
  list-style-type: disc;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content ol li {
  list-style-type: decimal;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content a {
  color: #2f54eb;
  text-decoration: none;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content a:hover {
  text-decoration: underline;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content blockquote {
  padding: 8px 12px;
  border-left: 3px solid #2f54eb;
  background: #f5f7fa;
  color: #595959;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content blockquote p {
  margin: 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 13px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content table th,
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content table td {
  border: 1px solid #e8e8e8;
  padding: 8px 10px;
  text-align: left;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content table th {
  background: #f5f7fa;
  font-weight: 600;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content table tr:nth-child(even) {
  background: #fafafa;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content hr {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: 12px 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .answer-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 8px 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns {
  position: absolute;
  bottom: -30px;
  display: flex;
  gap: 0;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  padding: 0 10px;
  border-left: 1px solid #c0d5f6;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn:first-child {
  border-left: none;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn:hover {
  opacity: 1;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn.copied,
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn.active {
  opacity: 1;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn .btn-icon {
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-right: 4px;
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn.copy-btn .btn-icon {
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a8.png");
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn.like-btn .btn-icon {
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a9.png");
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn.dislike-btn .btn-icon {
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a10.png");
}
.ai-common .ai-common-content-wrapper .ai-common-answer .action-btns .action-btn.regenerate-btn .btn-icon {
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a11.png");
}
.ai-common .ai-common-input-wrapper {
  margin: 20px 20px 0;
  height: 50px;
  padding: 8px 20px;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  border: 2px solid #597ef7;
  background: linear-gradient(0deg, #fff 0%, #eff2fe 100%);
  transition: all 0.3s ease;
  position: relative;
}
.ai-common .ai-common-input-wrapper:focus-within {
  border-color: #2f54eb;
  box-shadow: 0 0 0 2px rgba(47, 84, 235, 0.1);
}
.ai-common .ai-common-input-wrapper .go-down-icon {
  display: none;
  position: absolute;
  top: -43px;
  right: calc(50% - 20px);
  width: 40px;
  height: 40px;
  background-image: url("https://static.qinqinxiaobao.com/flb-mp/img/official-site-2026/ai-common/a13.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.ai-common .ai-common-input-wrapper .go-down-icon:hover {
  transform: scale(1.1);
}
.ai-common .ai-common-input-wrapper .go-down-icon.visible {
  display: block;
}
.ai-common .ai-common-input-wrapper .ai-common-input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--character-primary-85, #040b19);
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
}
.ai-common .ai-common-input-wrapper .ai-common-input::placeholder {
  color: #bfbfbf;
}
.ai-common .ai-common-input-wrapper .ai-common-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ai-common .ai-common-input-wrapper .ai-common-btn {
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  border-radius: 50%;
  overflow: hidden;
}
.ai-common .ai-common-input-wrapper .ai-common-btn:hover {
  transform: scale(1.1);
}
.ai-common .ai-common-input-wrapper .ai-common-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ai-common .ai-common-input-wrapper .ai-common-btn:disabled:hover {
  transform: none;
}
.ai-common .ai-common-input-wrapper .ai-common-btn img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

