.max-w-\[720px\] {
--dialogue-bg: #f5f5f5;
--dialogue-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
--details-border-color: #e0e0e0;
--details-header-bg: #ffffff;
--details-header-bg-hover: #fafafa;
--content-bg: #fafafa;
--text-color-primary: #2d3748;
--text-color-secondary: #718096;
--border-radius-main: 12px;
--border-radius-inner: 8px;
}
.chat-container .group .relative.inline-block {
background-color: var(--dialogue-bg);
border: 1px solid var(--details-border-color);
box-shadow: var(--dialogue-shadow);
border-radius: var(--border-radius-main);
}
.chat-container .group .relative.inline-block > .MuiBox-root.css-0 {display: none;
}
.markdown-body details {
border: none;
margin: 16px 0;
background-color: transparent;
overflow: visible;
}
.markdown-body summary {
display: inline-flex;
align-items: center;
padding: 8px 16px;
cursor: pointer;
background-color: var(--details-header-bg);
color: var(--text-color-primary);
font-weight: 500;
transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
outline: none;
border: 1px solid var(--details-border-color);
border-radius: 9999px;
box-shadow: 0 2px 4px rgba(0,0,0,0.04);list-style: none;
}
.markdown-body summary::-webkit-details-marker {
display: none;
}
.markdown-body summary:hover {
background-color: var(--details-header-bg-hover);
border-color: #c9c9c9;
box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}
.markdown-body summary::before {
content: '▶';
display: inline-block;
margin-right: 12px;
font-size: 0.7em;
color: var(--text-color-secondary);
transition: transform 0.2s ease-in-out;
transform-origin: center;
}
.markdown-body details[open] > summary::before {transform: rotate(90deg);
}
.markdown-body details > pre,
.markdown-body details > table {
margin-top: 8px;
border: 1px solid var(--details-border-color);
border-radius: var(--border-radius-inner);
background-color: var(--content-bg);
overflow-x: auto;
}
.markdown-body details pre > div:first-child[style*="border-color"] {
display: none;
}
.markdown-body details pre {
margin-left: 0;
margin-right: 0;
padding: 0;
}
.markdown-body details pre > div[node="[object Object]"] {
padding: 16px;
color: var(--text-color-primary);background: transparent !important;
}
.markdown-body details code.language-markdown {
font-size: 12px;
line-height: 1.3;
color: var(--text-color-primary);
background: transparent !important;
}
.markdown-body details table th,
.markdown-body details table td {
font-size: 12px;
padding: 6px 10px;
line-height: 1.3;
}
@keyframes ai-answer-spinner-rotation {
to {
transform: rotate(360deg);
}
}
#ai-chat-answer .chat-answer-container div:has(> .style_dot-flashing__8L91Q) {
justify-content: flex-start;width: auto;
height: auto;
}
#ai-chat-answer .chat-answer-container div:has(> .style_dot-flashing__8L91Q)::after {
content: '内容正在生成...';
font-size: 13px;
color: #9ca3af;
margin-left: 10px;
}
#ai-chat-answer .chat-answer-container .style_dot-flashing__8L91Q::before,
#ai-chat-answer .chat-answer-container .style_dot-flashing__8L91Q::after {
content: none;
display: none;
}
#ai-chat-answer .chat-answer-container .style_dot-flashing__8L91Q {
background: transparent;
width: 16px;
height: 16px;
box-sizing: border-box;flex-shrink: 0;
border: 2px solid rgba(107, 114, 128, 0.2);
border-left-color: #003153;
border-radius: 50%;
animation: ai-answer-spinner-rotation 0.8s linear infinite;
}