/* 统一聊天框美化 - 更浅的Gala Game粉 */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.95), rgba(255, 245, 250, 0.9)) !important;
    border: 1px solid rgba(255, 182, 193, 0.4) !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.15) !important;
    backdrop-filter: blur(5px) !important;
}

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

/* 顶部栏美化 - 更浅的粉 */
.sticky.w-full.top-0.flex.items-center {
    background: rgba(255, 250, 252, 0.98) !important;
    border-bottom: 2px solid #ffe4ec !important;
}

#ai-model-selector .truncate.text-\[13px\] {
    color: #c71585 !important;
    font-weight: bold !important;
}

/* 底部输入框美化 - Gala Game粉 */
#ai-chat-bottom-input {
    background: #fffafc !important;
    border: 2px solid #ffe4ec !important;
    border-radius: 20px !important;
}

#ai-chat-input {
    color: #333 !important;
}

#ai-chat-input::placeholder {
    color: #ffb6c1 !important;
}

/* 评论区美化 - 极浅粉 */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
    background: #fff9fb !important;
}

div.text-lg.font-bold {
    color: #c71585 !important;
}

/* 评分星星变为粉色 */
span.MuiRating-iconFilled svg {
    fill: #ff69b4 !important;
}

/* 发送按钮 - 保持原有粉色但更柔和 */
div.cursor-pointer.group.flex.items-center.justify-center {
    background-color: #ffb6c1 !important;
    border-radius: 50% !important;
    transition: transform 0.2s ease !important;
}

div.cursor-pointer.group.flex.items-center.justify-center:hover {
    transform: scale(1.1) rotate(10deg) !important;
}

/* 底部按钮美化 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary,
.MuiTypography-root.MuiTypography-body2.css-6c0gf2,
.text-orange-500 {
    color: #ff69b4 !important;
    font-weight: bold !important;
}

/* 加载动画：暧昧粉色圆点 - 更浅 */
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none !important;
}

.flex.items-center.justify-center.w-6.h-5::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #ffb6c1;
    border-radius: 50%;
    display: inline-block;
    animation: heartBeat 1.2s infinite ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { 
        transform: scale(0.8); 
        opacity: 0.4; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.8; 
    }
}

/* --- 文本染色逻辑 (保持文字高对比度) --- */

/* 确保正文可读性 (深灰色文字，高对比) */
.markdown-body {
    color: #2d1a2d !important;
    font-family: "Microsoft YaHei", sans-serif !important;
    line-height: 1.6 !important;
}

/* 1. 角色台词染色：深红色 + 呼吸律动感 (模拟喘息) */
.markdown-body strong {
    color: #b22222 !important;
    font-weight: 900 !important;
    display: inline-block;
    animation: breathingText 3s infinite ease-in-out !important;
}

@keyframes breathingText {
    0%, 100% { 
        text-shadow: 0 0 2px rgba(255, 182, 193, 0.4); 
        transform: scale(1); 
    }
    50% { 
        text-shadow: 0 0 8px rgba(255, 182, 193, 0.7); 
        transform: scale(1.02); 
    }
}

/* 2. 心理活动染色：紫色、斜体、半透明感 */
.markdown-body em {
    color: #9b7ebb !important;
    font-style: italic !important;
    opacity: 0.95 !important;
}

/* 3. 身体/肉欲描写染色：艳粉色 + 湿润质感 */
.markdown-body code {
    color: #d44b8c !important;
    background: linear-gradient(90deg, rgba(255, 230, 240, 0.5), rgba(255, 220, 230, 0.4)) !important;
    border-left: 2px solid #ff9eb5 !important;
    box-shadow: inset 0 0 5px rgba(255, 182, 193, 0.1) !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
    font-family: inherit !important;
    font-weight: bold !important;
}

/* 4. 系统提示染色：深粉色、左侧带粗边框 */
.markdown-body blockquote {
    border-left: 4px solid #ffb6c1 !important;
    background-color: rgba(255, 250, 252, 0.7) !important;
    color: #b3446c !important;
    padding: 8px 12px !important;
    margin: 10px 0 !important;
    font-size: 0.9em !important;
}