
.bg-gray-100\/90.relative.inline-block {
    background: #F5F5F5 !important;
    border: 1px solid rgba(180, 180, 180, 0.7) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.10) !important;
    padding: 14px 18px !important;
    margin: 10px 0 !important;
    position: relative !important;
    isolation: isolate !important;
    transition: transform 0.2s ease, box-shadow 0.3s ease !important;
}

.bg-gray-100\/90.relative.inline-block:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.18) !important;
}

/* ==== 聊天气泡文本内容 ==== */
.markdown-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: #333333 !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    z-index: 1 !important;
    background: transparent !important;
}

/* ==== 输入聊天框独立样式 ==== */
.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90) {
    background: #F5F5F5 !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08) !important;
}

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

/* ==== 底部附属元素 ==== */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary,
.MuiTypography-root.MuiTypography-body2.css-6c0gf2,
.text-orange-500 {
    color: #555555 !important;
    font-weight: 500 !important;
}

/* ==== 加载动画：隐藏默认点闪烁 ==== */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}

/* ==== 自定义中心SVG加载图标（SMIL实现） ==== */
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    justify-content: center !important;
    align-items: center !important;
}
.flex.items-center.justify-center.w-6.h-5::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    margin: auto;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='35' stroke='%23666' stroke-width='8' fill='none' stroke-dasharray='164' stroke-dashoffset='164'><animate attributeName='stroke-dashoffset' dur='1.8s' values='164;0' repeatCount='indefinite'/><animateTransform attributeName='transform' attributeType='XML' type='rotate' from='0 50 50' to='360 50 50' dur='1.8s' repeatCount='indefinite'/></circle></svg>") center/contain no-repeat !important;
    z-index: 1 !important;
}

/* 低动效适配 */
@media (prefers-reduced-motion: reduce) {
    .flex.items-center.justify-center.w-6.h-5::before {
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='35' stroke='%23666' stroke-width='8' fill='none'/></svg>") center/contain no-repeat !important;
    }
}

/* 移动端尺寸微调 */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block {
        padding: 12px !important;
        border-radius: 8px !important;
    }
}

/* ==== 状态栏 details 美化 ==== */
details {
    background: #f5f5f5 !important;
    border: 1px solid #d0d0d0 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin-top: 12px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}

details summary {
    font-weight: bold !important;
    cursor: pointer !important;
    color: #444 !important;
    user-select: none !important;
}