.markdown-html {
  display:flex;
  gap: 5px;
  flex-direction: column;
  color: #ffffffff;
  overflow-y: auto;
}

.markdown-html div {
  line-height: 1.5; 
  font-size: 14px;
}

.markdown-html h1 {
  font-size: 24px;
}

.markdown-html h2 {
  font-size: 20px;
}

.markdown-html h3 {
  font-size: 18px;
}

.markdown-html h4 {
  font-size: 17px;
}

.markdown-html h5 {
  font-size: 16px;
}

.markdown-html h6 {
  font-size: 15px;
}

.markdown-html li {
  font-size: 14px;
  margin: 0 0 0 18px;
}

.markdown-html hr {
  border: none;
  height: 2px; 
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 10px 0;
}

.AI {
  display: flex;
  gap: 10px;
  width: 580px;
  flex-direction: column;
  align-items: flex-end; 
  justify-content: flex-end;
  position: absolute; 
  right: 10px;
  bottom: 10px; 
  z-index: 999999;
}

.AIdow {
  display: none;
  gap: 15px;
  flex-direction: column;
  width: 100%;
  max-height:800px;
  border-radius: 10px;
  background: linear-gradient(150deg, #f6f4fb -15%, #2213e1 23%, #0714c4 60%);
  padding: 10px 15px 15px 15px;
  color: #ffffffff;
  filter: drop-shadow(1px 1px 15px rgba(27, 29, 227, 0.5));
  position: relative;
}

.AIdow img {
  width: 20px;
}

.AIdow textarea {
  display: flex;
  width: 100%;
  height: 80px;
  padding: 5px;
  resize: none;
  border: none;
  outline: none;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  border-radius: 5px;
}

.AIrcv {
  display: flex;
  gap: 5px;
  padding: 3px;
  font-size: 13px;
  width: 95%;
  align-items: center; 
  white-space: nowrap;
  overflow: hidden;
  color: #000;
  position: relative;
}

.AIrcv svg {
  width: 16px;
  height: 16px;
  color: #000;
}

.AIpi {
  display: flex;
  gap: 10px;
}

.tiwen {
  display: flex;
  border-radius: 15px 15px 5px 15px;
  padding: 5px 10px;
  color: #ffffffff;
  background: #3240ff;
  width: auto; 
  margin-left: auto;
}

.AIlog {
  display: none;
  gap: 5px;
  font-size: 13px;
  align-items: center; 
}

.AIxz {
  display: flex;
  gap: 5px;
  font-size: 13px;
  align-items: center; 
}

.AItool {
  display: flex;
  gap: 5px;
  justify-content: space-between;
  color: #000;
  padding: 5px;
  font-size: 11px;
  align-items: center; 
}

.pattern {
  display: flex;
  gap: 5px;
}

.aicat {
  display: flex;
  padding: 5px;
  border: 1px solid #cecece;
  border-radius: 50px;
  cursor: pointer;
}

.aitoo {
  display: none;
  gap: 10px;
  position: absolute;
  background: #FFFFFF;
  z-index: 9999999; 
  left: 20px;
  bottom: 60px;
  padding: 10px;
  border-radius: 5px;
  flex-direction: column;
  border: 1px solid #cecece;
  box-shadow: 0 4px 16.4px #0000001a;
  transition: all 0.1s ease;
  width: 200px;
}

.pat-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pattern-1 div {
  font-size: 14px;
  color: #000;
}

.pattern-1 p {
  font-size: 12px;
  color: #bbbbbbff;
}

.AIinput {
  display: flex;
  width: 100%;
  border-radius: 5px;
  flex-direction: column;
  border-radius: 5px;
  background: #fff;
  padding: 3px;
}

.AIinput button {
  display: flex;
  padding: 8px;
  border-radius: 10px;
  border: none;
  outline: none;
  align-items: center;  
  cursor: pointer;
}

.AIrtt {
  color: #000000ff;
}

.AIrtt ::before {
  content: "";
  position: absolute;
  left: 439px; 
  top: 0;
  width: 80px; 
  height: 100%; 
  background: linear-gradient(to right, transparent, #ffffff);
  pointer-events: none; /* 可选：不遮挡鼠标事件（比如点击/hover） */
}

.aipo {
  color: #0714c4;
  background: #ebebebff;
}

.aipo:hover {
  color: #ffffffff;
  background: #000000ff;
}

.AIinput-but {
  display: flex;
  gap: 5px;
}

.AIinput-but button {
  width: 30px;
  height: 30px;
}

.AIimg {
  cursor: pointer;
}

.AIcontent {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 0 5px 0 0;
  flex-direction: column;
}

.AItext {
  display: flex;
  gap: 6px;
  flex-direction: column;
  width: 100%;
}

.AItext p {
  font-size: 14px;
}

.AItoolbut {
  display: flex;
  opacity: 0;
  gap: 10px;
}

.AItoolbut button {
  color: #ffffffa9;
  border: none;
  outline: none;
  background: none;
  border-radius: 10px;
}

.AItoolbut button:hover {
  color: #ffffffff;
}

.AIcontext {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.AIpi:hover .AItoolbut {
  opacity: 1;
}

.AIts {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  margin: 20px 0;
}

.AIts-1 {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center; 
  align-items: center;
}

.AIts-1 div {
  display: flex;
  border-radius: 30px;
  background: #e0e0e0ff;
  color: #000000ff;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 13px;
}

.AIts-1 div:hover {
  background: #c4c4c4ff;
}