/* 1. 隐藏顶部的颜色装饰条，确保风格统一 */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* 2. 统一聊天框美化：丝绸质感与缝合边框 */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.95) 0%, rgba(255, 220, 230, 0.95) 100%) !important;
    border: 2px dashed #ff85a2 !important; /* 缝合线效果 */
    border-radius: 18px !important;
    box-shadow: 0 4px 15px rgba(255, 133, 162, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.5) !important;
    padding: 12px !important;
    backdrop-filter: blur(5px) !important;
    transition: all 0.3s ease !important;
}

/* 3. 聊天框文字：极致清晰的深玫瑰色，确保绝对可读性 */
.markdown-body {
    color: #4a0e1c !important; /* 极高对比度的深色文本 */
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

/* 4. 强调文字（加粗）：带有病娇感的暗红色 */
.markdown-body strong {
    color: #d63384 !important;
    font-weight: bold !important;
}

/* 5. 底部附加元素美化（按钮、模型名、Token） */
/* 按钮样式：淡粉色丝绸质感 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    color: #ff4d6d !important;
    font-weight: bold !important;
    text-transform: none !important;
}

/* 模型名称与Token消耗：深粉色确保可见 */
.MuiTypography-root.MuiTypography-body2.css-6c0gf2,
.text-orange-500 {
    color: #c9184a !important;
    font-weight: 600 !important;
    opacity: 0.8 !important;
}

/* 6. 输出加载动画美化：旋转的粉色缝纫针线 */
/* 隐藏原始加载点 */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}

/* 使用容器伪元素创建新动画 */
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    width: 30px !important;
    height: 30px !important;
}

.flex.items-center.justify-center.w-6.h-5::before {
    content: "" !important;
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    border: 3px solid #ff85a2 !important;
    border-top-color: #ff0054 !important; /* 病娇感的深红 */
    border-radius: 50% !important;
    animation: stitch-spin 1s linear infinite !important;
}

@keyframes stitch-spin {
    to { transform: rotate(360deg); }
}

/* 移动端适配：确保边距舒适 */
@media (max-width: 768px) {
    .bg-gray-100\/90.relative.inline-block {
        max-width: 95% !important;
        margin: 5px auto !important;
    }
}