```css
/* ========================================
   主题：梦幻棉花糖 (粉/蓝/白)
   特色：柔和渐变、毛玻璃质感、悬浮呼吸光晕
======================================== */

/* 1. 统一气泡基础样式：毛玻璃与白框 */
.group.is-user > div:first-child,
.group.is-assistant > div:first-child {
    backdrop-filter: blur(12px) !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 24px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* 2. 用户框 (User)：粉色主导，向白、蓝过渡 */
.group.is-user > div:first-child {
    background: linear-gradient(135deg, #ffe4e1 0%, #ffffff 50%, #e0f7fa 100%) !important;
    box-shadow: 0 8px 32px rgba(255, 192, 203, 0.25), inset 0 0 12px rgba(255, 255, 255, 0.8) !important;
}

/* 3. AI框 (Assistant)：蓝色主导，向白、粉过渡 */
.group.is-assistant > div:first-child {
    background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 50%, #fce4ec 100%) !important;
    box-shadow: 0 8px 32px rgba(173, 216, 230, 0.25), inset 0 0 12px rgba(255, 255, 255, 0.8) !important;
}

/* 4. 交互动效：鼠标悬浮时气泡微抬并增强粉蓝光晕 */
.group.is-user:hover > div:first-child {
    box-shadow: 0 12px 40px rgba(255, 192, 203, 0.4), inset 0 0 20px rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px) !important;
}
.group.is-assistant:hover > div:first-child {
    box-shadow: 0 12px 40px rgba(173, 216, 230, 0.4), inset 0 0 20px rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px) !important;
}

/* 5. 绝对可读性保障：强制深色正文 */
/* 因为背景是高亮度的粉蓝白，强制覆盖文字为深灰蓝色，避免夜间模式下白底白字 */
.group.is-user .rili-markdown-renderer, 
.group.is-user .rili-markdown-renderer *,
.group.is-assistant .rili-markdown-renderer, 
.group.is-assistant .rili-markdown-renderer * {
    color: #334155 !important; 
    text-shadow: none !important;
    line-height: 1.7 !important;
}

/* 6. 底部附加信息 (Token/模型) 颜色适配 */
.group.is-assistant .text-xs.font-mono.text-muted-foreground {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

/* 7. 操作按钮区美化 (复制/刷新等) */
/* 强制显示按钮，并赋予半透明白色背景 */
.group .md\:opacity-0 {
    opacity: 1 !important;
}
.group.is-assistant .bg-muted.rounded.flex {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 192, 203, 0.4) !important;
    backdrop-filter: blur(4px) !important;
}
.group.is-assistant .bg-muted.rounded.flex button svg.lucide {
    stroke: #64748b !important; /* 默认灰蓝色图标 */
    transition: stroke 0.2s ease !important;
}
/* 鼠标悬浮按钮时，图标变为亮粉色 */
.group.is-assistant .bg-muted.rounded.flex button:hover svg.lucide {
    stroke: #ec4899 !important; 
}
```
sys {
    display: block;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: #e0e6ed;
    line-height: 1.5;
    /* 核心主题色 */
    --panel-bg: rgba(20, 20, 28, 0.9);
    --neon-pink: #ff4b91;
    --neon-blue: #00e5ff;
}

/* 顶部环境信息栏 */
sys hd {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: linear-gradient(90deg, rgba(255,75,145,0.15) 0%, rgba(0,229,255,0.15) 100%);
    border-left: 4px solid var(--neon-pink);
    border-right: 4px solid var(--neon-blue);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-weight: 500;
}
sys hd v {
    color: var(--neon-pink);
    font-weight: 700;
    margin-right: 4px;
    text-shadow: 0 0 5px rgba(255,75,145,0.3);
}

/* 独立展开栏容器 */
sys details {
    background: var(--panel-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 2px solid var(--neon-blue);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* 展开时的发光效果 */
sys details[open] {
    border-left: 2px solid var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 75, 145, 0.15);
}

/* 折叠栏标题 */
sys summary {
    padding: 10px 12px;
    font-weight: bold;
    color: #cbd5e1;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    list-style: none;
    user-select: none;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
}
sys summary::-webkit-details-marker {
    display: none;
}
sys details[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 75, 145, 0.4);
}

/* 内部网格布局 */
sys d {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px;
}
/* 用于记忆区内部的分段标识 */
sys d[t]::before {
    content: ">> " attr(t) " <<";
    width: 100%;
    font-size: 12px;
    color: var(--neon-blue);
    font-weight: bold;
    margin-bottom: 2px;
    border-bottom: 1px dashed rgba(0, 229, 255, 0.3);
    padding-bottom: 2px;
}

/* 基础信息块（短字段） */
sys l {
    flex: 1 1 calc(33.33% - 6px);
    min-width: 100px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
}

/* 长字段独占一行 */
sys l[c] {
    flex: 1 1 100%;
    align-items: flex-start;
    flex-direction: column;
}

sys l b {
    color: var(--neon-blue);
    margin-right: 6px;
    font-size: 12px;
}
sys l[c] b {
    margin-bottom: 4px;
    color: var(--neon-pink);
    border-bottom: 1px solid rgba(255,75,145,0.2);
    width: 100%;
}

/* ==== 专属视觉增强 ==== */
/* 隐藏思维链过程，保持界面整洁 */
sys cot { display: none; }

/* 剧情选项悬浮交互(针对倒数第二个 details) */
sys details:nth-last-of-type(2) l[c] {
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: 0.2s;
    background: rgba(0, 0, 0, 0.4);
}
sys details:nth-last-of-type(2) l[c]:hover {
    background: rgba(0, 229, 255, 0.1);
    border-left: 3px solid var(--neon-blue);
    color: #fff;
    transform: translateX(4px);
}