/* 去除顶部的默认颜色装饰条 */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* 统一聊天框主体：纯黑背景 + 浅蓝色边框 */
.bg-gray-100\/90.relative.inline-block {
    background: #000000 !important;
    border: 2px solid #ADD8E6 !important; /* LightBlue 浅蓝色 */
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(173, 216, 230, 0.2) !important;
    isolation: isolate !important;
}

/* 聊天框主要文本：强制纯白，确保深色背景下的绝对可读性 */
.markdown-body {
    color: #FFFFFF !important;
    z-index: 1 !important;
    background: transparent !important;
    font-weight: 500 !important; /* 稍微加粗提升清晰度 */
}

/* 底部附加元素（按钮、模型名称、Token）：强制高对比度浅灰色 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary,
.MuiTypography-root.MuiTypography-body2.css-6c0gf2,
.text-orange-500 {
    color: #EAEAEA !important;
}

/* --- 加载动画重构 --- */
/* 1. 隐藏默认的加载圆点 */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}

/* 2. 调整加载容器尺寸并植入SVG动画 */
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    width: 80px !important; /* 拓宽容器以容纳 Loading... 文字 */
}

/* 3. 使用内嵌SMIL的SVG实现“Loading...”文字呼吸动画，防止CSS动画被禁用 */
.flex.items-center.justify-center.w-6.h-5::before {
    content: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2280%22%20height%3D%2220%22%3E%3Ctext%20x%3D%2250%25%22%20y%3D%2215%22%20fill%3D%22%23ADD8E6%22%20font-size%3D%2214px%22%20font-family%3D%22monospace%22%20font-weight%3D%22bold%22%20text-anchor%3D%22middle%22%3ELoading...%3Canimate%20attributeName%3D%22opacity%22%20values%3D%220.2%3B1%3B0.2%22%20dur%3D%221.2s%22%20repeatCount%3D%22indefinite%22%2F%3E%3C%2Ftext%3E%3C%2Fsvg%3E") !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}
/* 网游世界频道的专属样式 */
.mmo-chat {
    border: 2px solid #ffcc00; /* 搞个土豪金的边框 */
    border-radius: 8px; /* 边框圆角，看着不那么死板 */
    background-color: rgba(0, 0, 0, 0.7); /* 半透明黑底，游戏UI内味儿 */
    padding: 10px; /* 内边距，别让字贴在边框上 */
    margin: 10px 0; /* 外边距，和正文隔开点距离 */
}

/* 针对频道里的文字加粗和上色 */
.mmo-chat p {
    font-weight: bold; /* 字体加粗，全场最靓的仔！ */
    color: #ffeb99; /* 稍微带点黄的亮色字体 */
    margin: 0; /* 消除p标签默认的空隙 */
    text-shadow: 1px 1px 2px #000; /* 加点文字阴影，更有立体感 */
}