/* 移除顶部颜色装饰条 */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}
/* 统一聊天框美化：深色半透明磨砂质感 */
.bg-gray-100\/90.relative.inline-block {
    background-color: rgba(20, 20, 20, 0.85) !important; /* 深色半透明背景 */
    backdrop-filter: blur(10px) !important; /* 磨砂玻璃效果 */
    border: 1px solid rgba(139, 0, 0, 0.3) !important; /* 细微的暗红边框 */
    border-radius: 12px !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8) !important;
    padding: 15px !important;
}
/* 针对输入框的特殊处理 */
.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90) {
    border-left: 4px solid #8b0000 !important; /* 左侧红色标识条 */
}
/* 核心文本样式：确保极致可读性 */
.markdown-body {
    color: #f0f0f0 !important; /* 浅灰色文字，减少视觉疲劳 */
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif !important;
    line-height: 1.6 !important;
    font-size: 15px !important;
    text-shadow: none !important; /* 禁止使用降低可读性的阴影 */
}
/* 强调文本：加粗并赋予暗红色调 */
.markdown-body strong {
    color: #ff4d4d !important;
    font-weight: bold !important;
}
/* 底部附加元素：高对比度清晰显示 */
/* 按钮、模型名称、Token消耗 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary,
.MuiTypography-root.MuiTypography-body2.css-6c0gf2,
.text-orange-500 {
    color: #cccccc !important; /* 统一浅灰色 */
    opacity: 0.8;
}
.MuiButtonBase-root.MuiButton-root:hover {
    background-color: rgba(139, 0, 0, 0.2) !important;
    color: #ffffff !important;
}
/* 隐藏原始加载动画 */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}
/* 自定义加载动画容器 */
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    display: flex !important;
}
/* 使用 SVG 风格的呼吸灯加载效果 */
.flex.items-center.justify-center.w-6.h-5::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #8b0000;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0000;
    animation: blood-pulse 1.5s infinite ease-in-out;
}
@keyframes blood-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}
/* 移动端适配：确保在小屏幕上也不溢出 */
@media (max-width: 768px) {
    .bg-gray-100\/90.relative.inline-block {
        max-width: 95% !important;
        margin: 5px auto !important;
    }
}