h3 {
  margin-bottom: 16px !important;
}

table {
  display: table !important;
  margin: 0 !important;
}

a {
  text-decoration: none !important;
}

.vp-doc li+li {
  margin-top: 0 !important;
}

.vp-doc th,
.vp-doc td {
  border: none;
}

.vp-doc ul,
.vp-doc ol {
  padding-left: 0 !important;
  margin: 0 !important;
}

.vp-doc blockquote {
  border-left: 2px solid var(--primary-color);
  padding-left: 10px;
  color: var(--vp-c-text-1) !important;
}

#api+table {
  width: 100%;
}

blockquote+table {
  width: 100%;
}

p.text {
  margin-bottom: 1em;
}

h2.text {
  margin-top: 20px;
  margin-bottom: 0.5em;
}

/* 调整样式 */
body {
  --vp-code-font-size: 12px !important;
}

.VPDoc.has-aside .content-container {
  max-width: 940px;
}

.VPDoc .content {
  min-width: 940px;
  padding: 0;
}

.VPDoc .content .content-container {
  max-width: 100% !important;
}

.VPDoc .prev-next {
  padding-bottom: 40px !important;
}

.VPDocAside .content {
  padding-left: 10px;
}

.VPHomeHero .text {
  margin-top: 12px !important;
}

#VPContent.has-sidebar {
  padding-right: 0;
  padding-left: 260px;
}

.VPSidebar {
  padding-left: 60px !important;
  width: 280px !important;
}

.VPNavBar.has-sidebar .container>.title {
  padding-left: 60px !important;
  width: 280px !important;
}

.VPNavBar.has-sidebar .content {
  padding-left: 280px !important;
}

.VPNavBar.has-sidebar .divider {
  padding-left: 300px !important;
}

.content-container {
  margin-left: 30px !important;
}

.vp-doc td,
.vp-doc th {
  font-size: 12px;
}

.custom-block {
  padding: 12px 30px !important;
}

.custom-block-title {
  display: none;
}

.VPHomeHero .image-bg {
  background-image: linear-gradient(-45deg, #646cffcc 50%, #ffd14785 50%);
  filter: blur(68px);
}

.vp-doc tr:nth-child(2n) {
  background-color: transparent;
}

.vp-doc h2 {
  border-top: none;
  margin: 10px;
}

h2.text {
  margin-top: 0;
}

:root {
  --soui-font-14: 12px;
  --soui-tabs-tab-font-size: 12px;
  --soui-14-regular: 12px;
  --vp-c-brand-1: var(--soui-brand-6);
  --vp-c-brand-2: var(--soui-brand-6);
  --vp-button-brand-bg: var(--soui-brand-6);
}

body {
  font-size: 12px;
}

.VPNavBar.has-sidebar .content {
  padding-right: 40px !important;
}

h2 {
  margin-left: 0 !important;
}

.VPImage.logo {
  border-radius: 50%;
  height: 30px;
}

.vp-doc[class*=" _interview"] .custom-block {
  padding: 16px !important;
}

.vp-doc[class*=" _interview"] .custom-block summary {
  margin-bottom: 0 !important;
}

.vp-doc[class*=" _interview"] .custom-block p {
  margin: 0 !important;
}


/* 对话气泡样式 */

/* 对话气泡样式 */

/* details 块内添加聊天背景 */
.custom-block.details > summary ~ * {
  background: transparent;
}

.custom-block.details {
  background-color: #f7f3ee !important;
  border: none !important;
  padding: 16px 20px !important;
}

.custom-block.details summary {
  color: #555 !important;
  font-weight: 500;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: nowrap;
}

.chat-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.user-avatar {
  background-color: #2c2c2c;
  color: #fff;
  font-weight: 600;
  background: url("https://p6-passport.byteacctimg.com/img/user-avatar/e81ae5d171bcd9404e0f9d690161fd41~180x180.awebp");
  background-size: cover;
}

.chat-bubble {
  max-width: 72%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.75;
  word-break: break-word;
}

.robot-bubble {
  background-color: #ffffff;
  border: 1px solid #e8e4de;
  border-top-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  color: #333;
}

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

.user-bubble {
  background-color: #fdf6ec;
  border: 1px solid #eddfc8;
  border-top-right-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  color: #333;
}

.chat-bubble p {
  margin: 0 !important;
}

.chat-bubble ul,
.chat-bubble ol {
  margin: 4px 0 0 !important;
  padding-left: 18px !important;
}

.chat-bubble li {
  margin: 0 !important;
}

.chat-bubble li + li {
  margin-top: 5px !important;
}