```css
/* ==========================================================
   风月平台 · 极光玫瑰主题 CSS (华丽深色版 · 彻底修复白色Bug)
   ========================================================== */

/* 移除顶部默认颜色条 */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* ==================== 一、AI 输出气泡 (暗夜玫瑰 · 奢华深色) ==================== */
/* 强力覆盖 AI 气泡的白色背景，防漏网之鱼 */
.group.is-assistant > div:first-child,
.group.is-assistant [class*="bg-white"],
.group.is-assistant [class*="bg-gray-50"],
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(135deg, #1f121a 0%, #11090f 100%) !important; /* 深邃暗紫粉 */
    border: 1.5px solid rgba(255, 105, 180, 0.25) !important; /* 霓虹粉边框 */
    border-radius: 20px 20px 20px 6px !important;
    /* 华丽的粉色霓虹环境光影 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(255, 105, 180, 0.15),
                inset 0 0 12px rgba(255, 182, 193, 0.05) !important; 
    transition: all 0.3s ease !important;
    position: relative !important;
    isolation: isolate !important;
}

/* 聊天框内的主要文本内容 (高对比珍珠粉白) */
.group.is-assistant .rili-markdown-renderer,
.group.is-assistant .rili-markdown-renderer *,
.bg-gray-100\/90.relative.inline-block .markdown-body,
.bg-gray-100\/90.relative.inline-block .markdown-body * {
    color: #FFF0F5 !important; /* 薰衣草珍珠白 */
    font-family: system-ui, -apple-system, sans-serif !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* 强调文字（加粗）渲染为玫瑰金 */
.group.is-assistant strong, 
.bg-gray-100\/90 strong {
    color: #FFB6C1 !important;
    text-shadow: 0 0 8px rgba(255, 182, 193, 0.3) !important;
}

/* ==================== 二、用户输入气泡 (晚霞流光 · 霓虹紫粉) ==================== */
.group.is-user > div:first-child {
    background: linear-gradient(135deg, #8b1e5f 0%, #4a0e35 100%) !important; /* 华丽紫红 */
    border: 1.5px solid rgba(255, 192, 203, 0.4) !important;
    box-shadow: 0 8px 24px rgba(139, 30, 95, 0.3),
                inset 0 2px 4px rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px 20px 6px 20px !important;
}

.group.is-user .rili-markdown-renderer,
.group.is-user .rili-markdown-renderer * {
    color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* ==================== 三、底部状态栏与附加元素 ==================== */
.group.is-assistant .bg-muted.rounded.flex {
    background-color: rgba(255, 105, 180, 0.08) !important;
    border: 1px solid rgba(255, 182, 193, 0.2) !important;
    border-radius: 30px !important;
    padding: 3px 8px !important;
}

.group.is-assistant .bg-muted.rounded.flex button svg.lucide {
    stroke: #FFB6C1 !important;
}

.group.is-assistant .bg-muted.rounded.flex button:hover {
    background-color: rgba(255, 105, 180, 0.2) !important;
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.3) !important;
}

/* 积分消耗文字 */
.MuiStack-root.text-purple-500.mt-1,
.MuiStack-root.mt-1 {
    background: rgba(31, 18, 26, 0.8) !important;
    border: 1px solid rgba(255, 182, 193, 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    border-radius: 30px !important;
}

.MuiStack-root.text-purple-500.mt-1 p,
.MuiStack-root.mt-1 p,
.MuiStack-root.text-purple-500.mt-1 .text-orange-500,
.MuiStack-root.mt-1 .text-orange-500 {
    color: #FFB6C1 !important;
}

/* ==================== 四、华丽粉红心型加载动画 ==================== */
/* 隐藏原生加载点 */
.style-module__AtdJSq__dot-flashing.style-module__AtdJSq__text,
.flex.gap-2.w-full.h-full.items-center.justify-center > span {
    display: none !important;
}

.flex.gap-2.w-full.h-full.items-center.justify-center,
.flex.items-center.justify-center.w-6.h-5 {
    position: relative !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 绚丽的心形呼吸灯 */
.flex.gap-2.w-full.h-full.items-center.justify-center::before,
.flex.items-center.justify-center.w-6.h-5::before {
    content: '' !important;
    width: 24px !important;
    height: 24px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FF69B4"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"><animate attributeName="opacity" values="0.4;1;0.4" dur="1.2s" repeatCount="indefinite"/><animateTransform attributeName="transform" type="scale" values="0.9;1.15;0.9" dur="1.2s" repeatCount="indefinite" transform-origin="center"/></path></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    animation: pulseGlow 1.2s infinite ease-in-out !important;
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 105, 180, 0.4)); }
    50% { filter: drop-shadow(0 0 12px rgba(255, 105, 180, 0.8)); }
}

/* ==================== 五、折叠状态栏 (黑金玫瑰) ==================== */
details {
    background: linear-gradient(135deg, rgba(31, 18, 26, 0.95) 0%, rgba(20, 10, 16, 0.98) 100%) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 182, 193, 0.25) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                inset 0 0 15px rgba(255, 105, 180, 0.05) !important;
    margin: 14px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

details:hover {
    border-color: rgba(255, 105, 180, 0.5) !important;
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.12),
                inset 0 0 15px rgba(255, 105, 180, 0.1) !important;
    transform: translateY(-1px) !important;
}

summary {
    padding: 16px 20px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #FFB6C1 !important;
    letter-spacing: 1.5px !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: rgba(255, 105, 180, 0.05) !important;
    border-bottom: 1px solid transparent !important;
    transition: all 0.3s ease !important;
}
summary::-webkit-details-marker { display: none !important; }

summary::before {
    content: "🌹" !important;
    margin-right: 12px !important;
    font-size: 16px !important;
    filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.5)) !important;
}

summary::after {
    content: "✦" !important;
    font-size: 14px !important;
    color: #FFB6C1 !important;
    transition: transform 0.4s ease, color 0.4s ease !important;
    text-shadow: 0 0 5px rgba(255, 105, 180, 0.5) !important;
}

details[open] summary::after {
    transform: rotate(180deg) scale(1.2) !important;
    color: #FF69B4 !important;
}

details[open] summary {
    color: #FF69B4 !important;
    background: rgba(255, 105, 180, 0.12) !important;
    border-bottom: 1px solid rgba(255, 182, 193, 0.2) !important;
}

details .content,
details > div:not(summary) {
    padding: 20px !important;
    color: #FFF0F5 !important;
    background: rgba(0, 0, 0, 0.2) !important;
}

/* ==================== 六、超华丽数据表格 ==================== */
details table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: rgba(20, 10, 16, 0.6) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 12px 0 !important;
    border: 1px solid rgba(255, 182, 193, 0.15) !important;
}

details th,
details td {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 182, 193, 0.1) !important;
    color: #FFF0F5 !important;
}

details th {
    background: rgba(255, 105, 180, 0.1) !important;
    font-weight: 700 !important;
    color: #FF69B4 !important;
    text-shadow: 0 0 4px rgba(255, 105, 180, 0.3) !important;
}

details tr:last-child td {
    border-bottom: none !important;
}

/* 鼠标悬停在表格行上的霓虹高光 */
details tbody tr:hover {
    background-color: rgba(255, 105, 180, 0.05) !important;
    box-shadow: inset 4px 0 0 #FF69B4 !important;
    transition: all 0.2s ease !important;
}

/* ==================== 七、个性化滚动条 ==================== */
::-webkit-scrollbar {
    width: 4px !important;
}
::-webkit-scrollbar-track {
    background: rgba(20, 10, 16, 0.5) !important;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFB6C1 0%, #FF69B4 100%) !important;
    border-radius: 10px !important;
}

/* ==================== 八、移动端适配 ==================== */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block,
    .group.is-assistant > div:first-child {
        border-radius: 14px 14px 14px 4px !important;
    }
    details {
        border-radius: 12px !important;
    }
    summary {
        font-size: 13px !important;
        padding: 12px 16px !important;
    }
    details th,
    details td {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}