/* --- 顶部颜色条移除 --- */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* --- 聊天框通用样式 (清新青色贴图感) --- */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%) !important;
    border: 2px solid #4dd0e1 !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 16px rgba(0, 188, 212, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.5) !important;
    padding: 12px 16px !important;
    margin-bottom: 10px !important;
    position: relative !important;
    isolation: isolate !important;
    transition: transform 0.2s ease !important;
}

/* --- 文本内容可读性强化 --- */
.markdown-body {
    color: #006064 !important; /* 深青色确保极高可读性 */
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif !important;
    line-height: 1.6 !important;
    z-index: 1 !important;
    background: transparent !important;
}

.markdown-body strong {
    color: #00838f !important;
    font-weight: 800 !important;
}

/* --- 底部附加元素 (按钮与标签) --- */
/* 按钮样式 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    color: #0097a7 !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px !important;
    margin: 2px !important;
    font-weight: bold !important;
    text-transform: none !important;
}

/* 模型名称与Token消耗 */
.MuiTypography-root.MuiTypography-body2.css-6c0gf2,
.text-orange-500 {
    color: #00838f !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
}

/* --- 清新动效：SVG SMIL 加载动画 --- */
/* 隐藏默认加载点 */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}

/* 容器定位 */
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    overflow: visible !important;
}

/* 使用 ::before 注入 SVG 动画 */
.flex.items-center.justify-center.w-6.h-5::before {
    content: "" !important;
    position: absolute !important;
    width: 40px !important;
    height: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='10' fill='%234dd0e1'%3E%3Canimate attributeName='r' from='10' to='20' dur='0.8s' begin='0s' repeatCount='indefinite' /%3E%3Canimate attributeName='opacity' from='1' to='0' dur='0.8s' begin='0s' repeatCount='indefinite' /%3E%3C/circle%3E%3Ccircle cx='50' cy='50' r='10' fill='%2300bcd4'%3E%3Canimate attributeName='r' from='5' to='15' dur='0.8s' begin='0.4s' repeatCount='indefinite' /%3E%3Canimate attributeName='opacity' from='1' to='0' dur='0.8s' begin='0.4s' repeatCount='indefinite' /%3E%3C/circle%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

/* --- 背景装饰：漂浮的气泡 (::after) --- */
.bg-gray-100\/90.relative.inline-block::after {
    content: "♥" !important;
    position: absolute !important;
    right: 10px !important;
    top: -10px !important;
    color: #4dd0e1 !important;
    font-size: 20px !important;
    opacity: 0.6 !important;
    z-index: 0 !important;
    filter: drop-shadow(0 0 2px white) !important;
}

/* --- 移动端适配 --- */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block {
        padding: 10px !important;
        border-radius: 15px !important;
    }
    .markdown-body {
        font-size: 14px !important;
    }
}