/* =========================================
   全局功能设定
   ========================================= */
   /* 隐藏思维链，维持高冷人设不崩塌 */
   think {
       display: none !important;
       }

       /* =========================================
          角色专属外观：塞西莉娅 (霜翼白龙少女)
             风格：深蓝制服禁欲系 x 冰霜冷感 x 隐藏害羞反差
             ========================================= */

             /* --- 1. 塞西莉娅 (AI输出框) --- */
             .group.is-assistant > div:first-child {
                 /* 深蓝制服质感背景 */
                     background: linear-gradient(145deg, #17253b 0%, #0f172a 100%) !important;
                         /* 霜冻冰蓝边缘 */
                             border: 1px solid rgba(186, 230, 253, 0.4) !important;
                                 /* 冰透质感阴影 */
                                     box-shadow: 0 4px 15px rgba(186, 230, 253, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
                                         border-radius: 12px 14px 14px 4px !important;
                                             transition: all 0.4s ease !important;
                                             }

                                             /* 反差萌动效：鼠标悬停时，冰冷的霜盾会透出一丝慌乱的淡粉色 (呼应被直球击中时的羞涩) */
                                             .group.is-assistant > div:first-child:hover {
                                                 border-color: rgba(244, 114, 182, 0.5) !important;
                                                     box-shadow: 0 4px 20px rgba(244, 114, 182, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
                                                     }

                                                     /* 塞西莉娅的发言文字：霜雪般的银白，绝对清晰可读 */
                                                     .group.is-assistant .rili-markdown-renderer,
                                                     .group.is-assistant .rili-markdown-renderer * {
                                                         color: #f8fafc !important;
                                                             font-weight: 400 !important;
                                                                 letter-spacing: 0.2px !important;
                                                                 }

                                                                 /* 塞西莉娅侧的底部信息与按钮 (冰蓝调) */
                                                                 .group.is-assistant .text-xs.font-mono.text-muted-foreground {
                                                                     color: rgba(186, 230, 253, 0.6) !important; /* 冰蓝小字 */
                                                                     }
                                                                     .group.is-assistant .bg-muted.rounded.flex {
                                                                         background: rgba(15, 23, 42, 0.6) !important;
                                                                             border: 1px solid rgba(186, 230, 253, 0.15) !important;
                                                                             }
                                                                             .group.is-assistant .bg-muted.rounded.flex button svg.lucide {
                                                                                 stroke: rgba(186, 230, 253, 0.8) !important;
                                                                                     transition: stroke 0.3s ease !important;
                                                                                     }
                                                                                     /* 按钮悬停同样泛起心动粉色 */
                                                                                     .group.is-assistant .bg-muted.rounded.flex button:hover svg.lucide {
                                                                                         stroke: #f472b6 !important; 
                                                                                         }


                                                                                         /* --- 2. 玩家 (User输入框) --- */
                                                                                         .group.is-user > div:first-child {
                                                                                             /* 校园晨光的清爽白色系，与塞西莉娅形成鲜明对比 */
                                                                                                 background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
                                                                                                     border: 1px solid rgba(203, 213, 225, 0.8) !important;
                                                                                                         box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
                                                                                                             border-radius: 14px 12px 4px 14px !important;
                                                                                                             }

                                                                                                             /* 玩家文字：深灰色，确保在白底上极佳的可读性 */
                                                                                                             .group.is-user .rili-markdown-renderer,
                                                                                                             .group.is-user .rili-markdown-renderer * {
                                                                                                                 color: #334155 !important;
                                                                                                                 }

                                                                                                                 /* 玩家侧底部信息与按钮 */
                                                                                                                 .group.is-user .text-xs.font-mono.text-muted-foreground {
                                                                                                                     color: rgba(100, 116, 139, 0.7) !important;
                                                                                                                     }
                                                                                                                     .group.is-user .bg-muted.rounded.flex {
                                                                                                                         background: rgba(241, 245, 249, 0.8) !important;
                                                                                                                             border: 1px solid rgba(203, 213, 225, 0.5) !important;
                                                                                                                             }
                                                                                                                             .group.is-user .bg-muted.rounded.flex button svg.lucide {
                                                                                                                                 stroke: #64748b !important;
                                                                                                                                 }


                                                                                                                                 /* --- 3. 专属加载动画：霜翼冰晶凝结 --- */
                                                                                                                                 /* 隐藏原生加载点 */
                                                                                                                                 .flex.gap-2.w-full.h-full.items-center.justify-center > span {
                                                                                                                                     display: none !important;
                                                                                                                                     }
                                                                                                                                     /* 植入内联SVG：旋转闪烁的冰晶 */
                                                                                                                                     .flex.gap-2.w-full.h-full.items-center.justify-center::after {
                                                                                                                                         content: "" !important;
                                                                                                                                             display: block !important;
                                                                                                                                                 width: 22px !important;
                                                                                                                                                     height: 22px !important;
                                                                                                                                                         /* 浅蓝色六芒星/冰晶构型的SVG动效 */
                                                                                                                                                             background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BAE6FD' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20M17 5l-10 14M7 5l10 14'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23BAE6FD' opacity='0.5'/%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='3s' repeatCount='indefinite'/%3E%3Canimate attributeName='opacity' values='0.4;1;0.4' dur='1.5s' repeatCount='indefinite'/%3E%3C/svg%3E") !important;
                                                                                                                                                                 background-size: contain !important;
                                                                                                                                                                     background-repeat: no-repeat !important;
                                                                                                                                                                     }