/* ====================================
   「与你一起度过的七年」聊天框美化
   主题：星空幻梦 × 龙胆花语
   ==================================== */
/* 统一聊天框基础样式 - 星空渐变背景 */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(135deg, 
        rgba(10, 14, 41, 0.95) 0%, 
        rgba(23, 29, 61, 0.98) 50%, 
        rgba(16, 20, 48, 0.95) 100%) !important;
    border-radius: 18px !important;
    border: 2px solid transparent !important;
    border-image: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.6), 
        rgba(255, 183, 178, 0.5), 
        rgba(168, 192, 255, 0.6)) 1 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
                0 0 0 1px rgba(168, 192, 255, 0.1) inset,
                0 4px 16px rgba(168, 192, 255, 0.15) !important;
    position: relative !important;
    overflow: visible !important;
    backdrop-filter: blur(12px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* 悬停效果 - 增强龙胆花光晕 */
.bg-gray-100\/90.relative.inline-block:hover {
    border-image: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.85), 
        rgba(255, 183, 178, 0.75), 
        rgba(168, 192, 255, 0.85)) 1 !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 
                0 0 24px rgba(168, 192, 255, 0.25),
                0 0 0 1px rgba(168, 192, 255, 0.2) inset !important;
    transform: translateY(-2px) !important;
}
/* 龙胆花纹装饰边框 - 使用SVG滤镜模拟 */
.bg-gray-100\/90.relative.inline-block::before {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(168, 192, 255, 0.08) 25%, 
        transparent 50%, 
        rgba(255, 183, 178, 0.08) 75%, 
        transparent 100%) !important;
    border-radius: 20px !important;
    z-index: -1 !important;
    opacity: 0.6 !important;
    filter: blur(8px) !important;
    background-size: 200% 200% !important;
    animation: gentianGlow 8s ease-in-out infinite !important;
}
@keyframes gentianGlow {
    0%, 100% { background-position: 0% 50% !important; }
    50% { background-position: 100% 50% !important; }
}
/* 花纹边框内侧细节 */
.bg-gray-100\/90.relative.inline-block::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 16px !important;
    background-image: 
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 10px, 
            rgba(168, 192, 255, 0.03) 10px, 
            rgba(168, 192, 255, 0.03) 12px),
        repeating-linear-gradient(-45deg, 
            transparent, 
            transparent 10px, 
            rgba(255, 183, 178, 0.03) 10px, 
            rgba(255, 183, 178, 0.03) 12px) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
/* 单独的输出聊天框 - 增强层次感 */
.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90) {
    background: linear-gradient(135deg, 
        rgba(16, 20, 48, 0.96) 0%, 
        rgba(23, 29, 61, 0.99) 50%, 
        rgba(20, 25, 55, 0.96) 100%) !important;
}
/* 聊天框主文本内容 - 强制高对比度浅色 */
.markdown-body {
    color: #F5F5F5 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif !important;
    line-height: 1.75 !important;
    font-size: 15px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
}
/* 强化文本可读性 - 针对所有子元素 */
.markdown-body *:not(details):not(summary):not(code):not(pre) {
    color: inherit !important;
}
/* 特殊强调文本 */
.markdown-body strong, 
.markdown-body b {
    color: #A8C0FF !important;
    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(168, 192, 255, 0.4) !important;
}
.markdown-body em, 
.markdown-body i {
    color: #FFB7B2 !important;
    font-style: italic !important;
}
/* 链接样式 */
.markdown-body a {
    color: #A8C0FF !important;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-decoration-color: rgba(168, 192, 255, 0.5) !important;
    transition: all 0.3s ease !important;
}
.markdown-body a:hover {
    color: #FFFFFF !important;
    text-decoration-color: #FFB7B2 !important;
    text-shadow: 0 0 12px rgba(255, 183, 178, 0.6) !important;
}
/* 代码块保持默认样式 */
.markdown-body code,
.markdown-body pre {
    background: rgba(0, 0, 0, 0.4) !important;
    color: #E0E0E0 !important;
    border: 1px solid rgba(168, 192, 255, 0.2) !important;
    border-radius: 6px !important;
}
/* 隐藏顶部颜色装饰条 */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}
/* 底部操作按钮 - 星光主题 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    color: #E8E8E8 !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(168, 192, 255, 0.15) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(4px) !important;
}
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
    background: rgba(168, 192, 255, 0.15) !important;
    color: #FFFFFF !important;
    border-color: rgba(168, 192, 255, 0.4) !important;
    box-shadow: 0 0 12px rgba(168, 192, 255, 0.25) !important;
    transform: translateY(-1px) !important;
}
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:active {
    transform: translateY(0) !important;
    background: rgba(168, 192, 255, 0.25) !important;
}
/* 模型名称文本 - 龙胆紫调 */
.MuiTypography-root.MuiTypography-body2.css-6c0gf2 {
    color: #C5D4FF !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    opacity: 0.85 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.3px !important;
}
/* Token消耗文本 - 保持橙色但增强可读性 */
.text-orange-500 {
    color: #FFB87A !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 
                 0 0 8px rgba(255, 184, 122, 0.3) !important;
    opacity: 0.95 !important;
}
/* 移动端适配 (480px以下) */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block {
        border-radius: 14px !important;
        padding: 12px 14px !important;
        margin: 8px 4px !important;
        max-width: calc(100vw - 24px) !important;
    }
    .markdown-body {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
    .MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
        font-size: 12px !important;
        padding: 5px 10px !important;
        min-width: auto !important;
    }
    .bg-gray-100\/90.relative.inline-block::before {
        filter: blur(6px) !important;
    }
}
/* 平板端适配 (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .bg-gray-100\/90.relative.inline-block {
        border-radius: 16px !important;
        max-width: calc(100vw - 40px) !important;
    }
    .markdown-body {
        font-size: 14.5px !important;
    }
}
/* 桌面端优化 (769px以上) */
@media (min-width: 769px) {
    .bg-gray-100\/90.relative.inline-block {
        max-width: 85% !important;
    }
    .markdown-body {
        font-size: 15px !important;
    }
    /* 桌面端增强光晕效果 */
    .bg-gray-100\/90.relative.inline-block:hover::before {
        opacity: 0.85 !important;
        filter: blur(12px) !important;
    }
}
/* 保证details和summary不受影响 */
.markdown-body details,
.markdown-body summary {
    color: inherit !important;
}
/* 保证段落标签不受影响 */
.markdown-body p {
    color: inherit !important;
}
/* 引用块样式优化 */
.markdown-body blockquote {
    border-left: 3px solid rgba(168, 192, 255, 0.5) !important;
    background: rgba(168, 192, 255, 0.05) !important;
    padding: 8px 16px !important;
    margin: 12px 0 !important;
    border-radius: 0 8px 8px 0 !important;
    color: #E8E8E8 !important;
}
/* 列表样式 */
.markdown-body ul li::marker,
.markdown-body ol li::marker {
    color: #FFB7B2 !important;
}
/* 分割线 */
.markdown-body hr {
    border: none !important;
    height: 1px !important;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 192, 255, 0.4), 
        transparent) !important;
    margin: 20px 0 !important;
}
/* 表格样式 */
.markdown-body table {
    border-collapse: collapse !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
.markdown-body table th {
    background: rgba(168, 192, 255, 0.15) !important;
    color: #F5F5F5 !important;
    font-weight: 600 !important;
    padding: 10px !important;
    border: 1px solid rgba(168, 192, 255, 0.2) !important;
}
.markdown-body table td {
    color: #E8E8E8 !important;
    padding: 8px !important;
    border: 1px solid rgba(168, 192, 255, 0.15) !important;
}
/* 星空粒子装饰效果（可选增强） */
.bg-gray-100\/90.relative.inline-block:hover::after {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(168, 192, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 183, 178, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 10px, 
            rgba(168, 192, 255, 0.04) 10px, 
            rgba(168, 192, 255, 0.04) 12px) !important;
    animation: stardustShift 10s ease-in-out infinite !important;
}
@keyframes stardustShift {
    0%, 100% { opacity: 0.3 !important; }
    50% { opacity: 0.6 !important; }
}
/* ====================================
   「与你一起度过的七年」角色卡美化
   主题：星空幻梦 × 龙胆花语
   ==================================== */
/* 统一聊天框 - 深邃星空背景 */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(135deg, 
        #0a0e29 0%, 
        #171d3d 50%, 
        #10142f 100%) !important;
    border-radius: 18px !important;
    border: 2px solid transparent !important;
    border-image: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.7), 
        rgba(255, 183, 178, 0.6), 
        rgba(168, 192, 255, 0.7)) 1 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 
                0 0 0 1px rgba(168, 192, 255, 0.15) inset,
                0 4px 20px rgba(168, 192, 255, 0.2) !important;
    position: relative !important;
    overflow: visible !important;
    backdrop-filter: blur(12px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* 悬停增强效果 */
.bg-gray-100\/90.relative.inline-block:hover {
    border-image: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.9), 
        rgba(255, 183, 178, 0.8), 
        rgba(168, 192, 255, 0.9)) 1 !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7), 
                0 0 28px rgba(168, 192, 255, 0.3),
                0 0 0 1px rgba(168, 192, 255, 0.25) inset !important;
    transform: translateY(-3px) !important;
}
/* 龙胆花纹装饰外光晕 */
.bg-gray-100\/90.relative.inline-block::before {
    content: '' !important;
    position: absolute !important;
    top: -4px !important;
    left: -4px !important;
    right: -4px !important;
    bottom: -4px !important;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(168, 192, 255, 0.1) 25%, 
        transparent 50%, 
        rgba(255, 183, 178, 0.1) 75%, 
        transparent 100%) !important;
    border-radius: 22px !important;
    z-index: -1 !important;
    opacity: 0.7 !important;
    filter: blur(10px) !important;
    background-size: 300% 300% !important;
    animation: gentianGlow 12s ease-in-out infinite !important;
}
@keyframes gentianGlow {
    0%, 100% { background-position: 0% 50% !important; }
    50% { background-position: 100% 50% !important; }
}
/* 花纹边框内层 */
.bg-gray-100\/90.relative.inline-block::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 16px !important;
    background-image: 
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 8px, 
            rgba(168, 192, 255, 0.04) 8px, 
            rgba(168, 192, 255, 0.04) 10px),
        repeating-linear-gradient(-45deg, 
            transparent, 
            transparent 8px, 
            rgba(255, 183, 178, 0.04) 8px, 
            rgba(255, 183, 178, 0.04) 10px) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}
/* 输出聊天框特殊强化 */
.bg-gray-100\/90.relative.inline-block:not(.chat-answer-container .bg-gray-100\/90) {
    background: linear-gradient(135deg, 
        #10142f 0%, 
        #171d3d 50%, 
        #0e1228 100%) !important;
}
/* 主文本区域 - 强制浅色高对比 */
.markdown-body {
    color: #F5F5F5 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif !important;
    line-height: 1.8 !important;
    font-size: 15px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
}
/* ====================================
   <details> 折叠栏专属样式
   ==================================== */
.markdown-body details {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1.5px solid rgba(168, 192, 255, 0.3) !important;
    border-radius: 12px !important;
    margin: 16px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
.markdown-body details:hover {
    border-color: rgba(168, 192, 255, 0.5) !important;
    box-shadow: 0 6px 20px rgba(168, 192, 255, 0.15) !important;
}
.markdown-body details[open] {
    background: rgba(10, 14, 41, 0.4) !important;
    border-color: rgba(168, 192, 255, 0.6) !important;
    box-shadow: 0 8px 24px rgba(168, 192, 255, 0.2) !important;
}
.markdown-body summary {
    cursor: pointer !important;
    padding: 14px 18px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #A8C0FF !important;
    background: linear-gradient(90deg, 
        rgba(168, 192, 255, 0.15), 
        rgba(255, 183, 178, 0.1)) !important;
    border-bottom: 1px solid rgba(168, 192, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    user-select: none !important;
    text-shadow: 0 0 8px rgba(168, 192, 255, 0.3) !important;
}
.markdown-body summary::-webkit-details-marker {
    display: none !important;
}
.markdown-body summary::before {
    content: '▸' !important;
    margin-right: 10px !important;
    font-size: 14px !important;
    transition: transform 0.3s ease !important;
    color: #FFB7B2 !important;
    text-shadow: 0 0 6px rgba(255, 183, 178, 0.4) !important;
}
.markdown-body details[open] > summary::before {
    transform: rotate(90deg) !important;
}
.markdown-body summary:hover {
    background: linear-gradient(90deg, 
        rgba(168, 192, 255, 0.25), 
        rgba(255, 183, 178, 0.2)) !important;
    color: #FFFFFF !important;
    text-shadow: 0 0 12px rgba(168, 192, 255, 0.5) !important;
}
.markdown-body details > *:not(summary) {
    padding: 16px 18px !important;
    color: #E8E8E8 !important;
    line-height: 1.75 !important;
}
/* ====================================
   表格样式（记忆回廊专用）
   ==================================== */
.markdown-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 12px 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
.markdown-body table th {
    background: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.25), 
        rgba(168, 192, 255, 0.18)) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    padding: 12px 10px !important;
    text-align: left !important;
    font-size: 13px !important;
    border: 1px solid rgba(168, 192, 255, 0.3) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
.markdown-body table td {
    color: #E0E0E0 !important;
    padding: 10px !important;
    font-size: 13px !important;
    border: 1px solid rgba(168, 192, 255, 0.15) !important;
    background: rgba(0, 0, 0, 0.15) !important;
    vertical-align: top !important;
}
.markdown-body table tr:hover td {
    background: rgba(168, 192, 255, 0.08) !important;
}
/* ====================================
   特殊文本样式
   ==================================== */
.markdown-body strong, 
.markdown-body b {
    color: #A8C0FF !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(168, 192, 255, 0.5) !important;
}
.markdown-body em, 
.markdown-body i {
    color: #FFB7B2 !important;
    font-style: italic !important;
    text-shadow: 0 0 8px rgba(255, 183, 178, 0.4) !important;
}
.markdown-body a {
    color: #A8C0FF !important;
    text-decoration: underline !important;
    text-decoration-style: dotted !important;
    text-decoration-color: rgba(168, 192, 255, 0.6) !important;
    transition: all 0.3s ease !important;
}
.markdown-body a:hover {
    color: #FFFFFF !important;
    text-decoration-color: #FFB7B2 !important;
    text-shadow: 0 0 15px rgba(255, 183, 178, 0.7) !important;
}
/* 代码块 */
.markdown-body code,
.markdown-body pre {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #E8E8E8 !important;
    border: 1px solid rgba(168, 192, 255, 0.25) !important;
    border-radius: 6px !important;
    padding: 2px 6px !important;
    font-family: 'Consolas', 'Monaco', monospace !important;
    font-size: 13px !important;
}
/* 分割线（---） */
.markdown-body hr {
    border: none !important;
    height: 2px !important;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 192, 255, 0.5), 
        rgba(255, 183, 178, 0.4), 
        rgba(168, 192, 255, 0.5), 
        transparent) !important;
    margin: 24px 0 !important;
    box-shadow: 0 0 8px rgba(168, 192, 255, 0.3) !important;
}
/* 引用块 */
.markdown-body blockquote {
    border-left: 4px solid rgba(168, 192, 255, 0.6) !important;
    background: rgba(168, 192, 255, 0.08) !important;
    padding: 12px 18px !important;
    margin: 16px 0 !important;
    border-radius: 0 10px 10px 0 !important;
    color: #E8E8E8 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
/* 列表样式 */
.markdown-body ul,
.markdown-body ol {
    color: #E8E8E8 !important;
    padding-left: 24px !important;
    margin: 12px 0 !important;
}
.markdown-body ul li::marker {
    color: #FFB7B2 !important;
    font-size: 18px !important;
}
.markdown-body ol li::marker {
    color: #A8C0FF !important;
    font-weight: 600 !important;
}
.markdown-body li {
    margin: 6px 0 !important;
    line-height: 1.7 !important;
}
/* ====================================
   隐藏顶部颜色条
   ==================================== */
[class*="bg-[#F1CBCB]"], 
[class*="bg-[#c9e1e9]"] {
    display: none !important;
}
/* ====================================
   底部操作按钮
   ==================================== */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    color: #EAEAEA !important;
    font-size: 13px !important;
    padding: 7px 14px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(168, 192, 255, 0.2) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(6px) !important;
    font-weight: 500 !important;
}
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
    background: rgba(168, 192, 255, 0.2) !important;
    color: #FFFFFF !important;
    border-color: rgba(168, 192, 255, 0.5) !important;
    box-shadow: 0 0 16px rgba(168, 192, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:active {
    transform: translateY(0) !important;
    background: rgba(168, 192, 255, 0.3) !important;
}
/* 模型名称 */
.MuiTypography-root.MuiTypography-body2.css-6c0gf2 {
    color: #C5D4FF !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    opacity: 0.9 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
    letter-spacing: 0.4px !important;
}
/* Token消耗 */
.text-orange-500 {
    color: #FFBC7F !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 
                 0 0 10px rgba(255, 188, 127, 0.4) !important;
    opacity: 0.95 !important;
}
/* ====================================
   移动端适配 (<480px)
   ==================================== */
@media (max-width: 480px) {
    .bg-gray-100\/90.relative.inline-block {
        border-radius: 14px !important;
        padding: 14px 16px !important;
        margin: 10px 6px !important;
        max-width: calc(100vw - 20px) !important;
    }
    .markdown-body {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    .markdown-body summary {
        font-size: 15px !important;
        padding: 12px 14px !important;
    }
    .markdown-body details > *:not(summary) {
        padding: 14px !important;
    }
    .markdown-body table th,
    .markdown-body table td {
        font-size: 12px !important;
        padding: 8px 6px !important;
    }
    .MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
        font-size: 12px !important;
        padding: 6px 12px !important;
        min-width: auto !important;
    }
    .bg-gray-100\/90.relative.inline-block::before {
        filter: blur(8px) !important;
    }
}
/* ====================================
   平板端适配 (481px - 768px)
   ==================================== */
@media (min-width: 481px) and (max-width: 768px) {
    .bg-gray-100\/90.relative.inline-block {
        border-radius: 16px !important;
        max-width: calc(100vw - 40px) !important;
        padding: 16px 18px !important;
    }
    .markdown-body {
        font-size: 14.5px !important;
    }
    .markdown-body summary {
        font-size: 15.5px !important;
    }
    .markdown-body table th,
    .markdown-body table td {
        font-size: 12.5px !important;
    }
}
/* ====================================
   桌面端优化 (>769px)
   ==================================== */
@media (min-width: 769px) {
    .bg-gray-100\/90.relative.inline-block {
        max-width: 88% !important;
        padding: 20px 24px !important;
    }
    .markdown-body {
        font-size: 15px !important;
    }
    .markdown-body summary {
        font-size: 16px !important;
    }
    .bg-gray-100\/90.relative.inline-block:hover::before {
        opacity: 0.9 !important;
        filter: blur(14px) !important;
    }
    /* 桌面端表格滚动优化 */
    .markdown-body details > *:not(summary) {
        max-height: 600px !important;
        overflow-y: auto !important;
    }
    .markdown-body details > *:not(summary)::-webkit-scrollbar {
        width: 8px !important;
    }
    .markdown-body details > *:not(summary)::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2) !important;
        border-radius: 4px !important;
    }
    .markdown-body details > *:not(summary)::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, 
            rgba(168, 192, 255, 0.5), 
            rgba(255, 183, 178, 0.4)) !important;
        border-radius: 4px !important;
        border: 1px solid rgba(168, 192, 255, 0.3) !important;
    }
    .markdown-body details > *:not(summary)::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, 
            rgba(168, 192, 255, 0.7), 
            rgba(255, 183, 178, 0.6)) !important;
    }
}
/* ====================================
   星空粒子装饰（增强版）
   ==================================== */
.bg-gray-100\/90.relative.inline-block:hover::after {
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(168, 192, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 75% 65%, rgba(255, 183, 178, 0.12) 0%, transparent 60%),
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 8px, 
            rgba(168, 192, 255, 0.05) 8px, 
            rgba(168, 192, 255, 0.05) 10px) !important;
    animation: stardustShift 15s ease-in-out infinite !important;
}
@keyframes stardustShift {
    0%, 100% { opacity: 0.4 !important; }
    50% { opacity: 0.7 !important; }
}
/* ====================================
   特殊标签美化（档案中的标签）
   ==================================== */
.markdown-body details strong::before {
    content: '✦ ' !important;
    color: #FFB7B2 !important;
    font-size: 12px !important;
    margin-right: 4px !important;
    text-shadow: 0 0 6px rgba(255, 183, 178, 0.5) !important;
}
/* 数值显示增强（好感度/依赖值） */
.markdown-body details em {
    background: rgba(168, 192, 255, 0.1) !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(168, 192, 255, 0.3) !important;
    font-style: normal !important;
    display: inline-block !important;
    margin: 0 4px !important;
}
/* ====================================
   特殊emoji优化
   ==================================== */
.markdown-body details summary::after {
    content: '' !important;
    position: absolute !important;
    right: 18px !important;
    width: 6px !important;
    height: 6px !important;
    background: #FFB7B2 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 10px rgba(255, 183, 178, 0.8) !important;
    animation: pulse 2s ease-in-out infinite !important;
}
@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}
.markdown-body details[open] summary::after {
    background: #A8C0FF !important;
    box-shadow: 0 0 10px rgba(168, 192, 255, 0.8) !important;
}
/* ====================================
   「与你一起度过的七年」全局界面美化
   主题：星空幻梦 × 龙胆花语
   ==================================== */
/* ====================================
   顶部栏美化
   ==================================== */
/* 顶部栏主容器 - 深邃星空渐变 */
.sticky.w-full.top-0.flex.items-center {
    background: linear-gradient(135deg, 
        rgba(10, 14, 41, 0.98) 0%, 
        rgba(23, 29, 61, 0.98) 100%) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    border-bottom: 2px solid transparent !important;
    border-image: linear-gradient(90deg, 
        rgba(168, 192, 255, 0.6), 
        rgba(255, 183, 178, 0.5), 
        rgba(168, 192, 255, 0.6)) 1 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(168, 192, 255, 0.15) !important;
    position: relative !important;
}
/* 顶部栏星空粒子装饰 */
.sticky.w-full.top-0.flex.items-center::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(circle at 20% 50%, rgba(168, 192, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 183, 178, 0.08) 0%, transparent 50%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
/* 模型选择器容器 */
#ai-model-selector .group.flex.items-center {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(168, 192, 255, 0.3) !important;
    border-radius: 16px !important;
    padding: 8px 14px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(168, 192, 255, 0.1) inset !important;
}
#ai-model-selector .group.flex.items-center:hover {
    background: rgba(168, 192, 255, 0.15) !important;
    border-color: rgba(168, 192, 255, 0.6) !important;
    box-shadow: 0 4px 20px rgba(168, 192, 255, 0.25), 
                0 0 16px rgba(168, 192, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}
/* 模型名称文字 */
#ai-model-selector .truncate.text-\[13px\] {
    color: #E8E8E8 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
/* 下拉箭头图标 */
#ai-model-selector .shrink-0.flex.items-center svg {
    color: #FFB7B2 !important;
    filter: drop-shadow(0 0 6px rgba(255, 183, 178, 0.4)) !important;
    transition: all 0.3s ease !important;
}
#ai-model-selector .group.flex.items-center:hover svg {
    color: #FFFFFF !important;
    filter: drop-shadow(0 0 10px rgba(255, 183, 178, 0.7)) !important;
    transform: rotate(180deg) !important;
}
/* 设置按钮 */
#header-setting-button {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 183, 178, 0.3) !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}
#header-setting-button:hover {
    background: rgba(255, 183, 178, 0.2) !important;
    border-color: rgba(255, 183, 178, 0.6) !important;
    box-shadow: 0 4px 20px rgba(255, 183, 178, 0.3), 
                0 0 16px rgba(255, 183, 178, 0.25) !important;
    transform: rotate(90deg) scale(1.1) !important;
}
#header-setting-button svg {
    color: #FFB7B2 !important;
    filter: drop-shadow(0 0 6px rgba(255, 183, 178, 0.5)) !important;
}
/* ====================================
   开场白选择器美化
   ==================================== */
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"],
div.h-9.rounded-md.cursor-pointer.group:has(svg[data-icon="SlidersH"]) {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(168, 192, 255, 0.25) !important;
    border-radius: 14px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}
div.flex.items-center.h-9.bg-white.rounded-md.cursor-pointer.group[class*="border-gray"]:hover,
div.h-9.rounded-md.cursor-pointer.group:has(svg[data-icon="SlidersH"]):hover {
    background: rgba(168, 192, 255, 0.15) !important;
    border-color: rgba(168, 192, 255, 0.5) !important;
    box-shadow: 0 4px 18px rgba(168, 192, 255, 0.2) !important;
    transform: translateY(-1px) !important;
}
/* 滑块图标 */
div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="SlidersH"] {
    color: #A8C0FF !important;
    filter: drop-shadow(0 0 6px rgba(168, 192, 255, 0.4)) !important;
}
/* 下拉箭头 */
div.flex.items-center.h-9.cursor-pointer.group svg[data-icon="ChevronDown"] {
    color: #FFB7B2 !important;
    filter: drop-shadow(0 0 6px rgba(255, 183, 178, 0.4)) !important;
    transition: transform 0.3s ease !important;
}
div.flex.items-center.h-9.cursor-pointer.group:hover svg[data-icon="ChevronDown"] {
    transform: rotate(180deg) !important;
}
/* ====================================
   按钮栏美化
   ==================================== */
/* 按钮外层容器背景（仅在需要时使用） */
#ai-mod-button2 {
    background: linear-gradient(180deg, 
        rgba(10, 14, 41, 0.6) 0%, 
        rgba(23, 29, 61, 0.4) 100%) !important;
    backdrop-filter: blur(15px) !important;
    padding: 12px 16px !important;
    border-radius: 18px !important;
}
/* 按钮样式 */
#ai-mod-button2 button.MuiButton-root {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(168, 192, 255, 0.25) !important;
    border-radius: 14px !important;
    padding: 10px 18px !important;
    color: #E8E8E8 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
#ai-mod-button2 button.MuiButton-root:hover {
    background: rgba(168, 192, 255, 0.2) !important;
    border-color: rgba(168, 192, 255, 0.6) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(168, 192, 255, 0.3), 
                0 0 16px rgba(168, 192, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}
#ai-mod-button2 button.MuiButton-root:active {
    transform: translateY(0) !important;
    background: rgba(168, 192, 255, 0.3) !important;
}
/* 按钮图标 */
#ai-mod-button2 button.MuiButton-root svg {
    color: #A8C0FF !important;
    filter: drop-shadow(0 0 6px rgba(168, 192, 255, 0.5)) !important;
    transition: all 0.3s ease !important;
}
#ai-mod-button2 button.MuiButton-root:hover svg {
    color: #FFFFFF !important;
    filter: drop-shadow(0 0 10px rgba(168, 192, 255, 0.7)) !important;
    transform: scale(1.15) !important;
}
/* ====================================
   底部栏美化
   ==================================== */
/* 底部栏外层渐变背景 */
.bg-gradient-to-t {
    background: linear-gradient(to top, 
        rgba(10, 14, 41, 0.98) 0%, 
        rgba(23, 29, 61, 0.95) 50%, 
        transparent 100%) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    padding-top: 40px !important;
}
/* 输入框容器 */
#ai-chat-bottom-input {
    background: rgba(10, 14, 41, 0.85) !important;
    border: 2px solid transparent !important;
    border-image: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.5), 
        rgba(255, 183, 178, 0.4), 
        rgba(168, 192, 255, 0.5)) 1 !important;
    border-radius: 20px !important;
    padding: 14px 18px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 
                0 0 0 1px rgba(168, 192, 255, 0.15) inset,
                0 -4px 24px rgba(168, 192, 255, 0.1) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}
#ai-chat-bottom-input::before {
    content: '' !important;
    position: absolute !important;
    top: -3px !important;
    left: -3px !important;
    right: -3px !important;
    bottom: -3px !important;
    background: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.1), 
        rgba(255, 183, 178, 0.08), 
        rgba(168, 192, 255, 0.1)) !important;
    border-radius: 22px !important;
    z-index: -1 !important;
    opacity: 0.6 !important;
    filter: blur(10px) !important;
    animation: gentianPulse 8s ease-in-out infinite !important;
}
@keyframes gentianPulse {
    0%, 100% { opacity: 0.4 !important; }
    50% { opacity: 0.8 !important; }
}
#ai-chat-bottom-input:focus-within {
    border-image: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.8), 
        rgba(255, 183, 178, 0.7), 
        rgba(168, 192, 255, 0.8)) 1 !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7), 
                0 0 32px rgba(168, 192, 255, 0.3),
                0 0 0 1px rgba(168, 192, 255, 0.25) inset !important;
}
/* 主输入框 */
#ai-chat-input {
    color: #F5F5F5 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    background: transparent !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
/* 占位符样式 */
#ai-chat-input::placeholder {
    color: rgba(168, 192, 255, 0.5) !important;
    font-style: italic !important;
    opacity: 0.7 !important;
}
/* 文字选中效果 */
#ai-chat-input::selection {
    background: rgba(168, 192, 255, 0.4) !important;
    color: #FFFFFF !important;
}
/* ====================================
   分页栏美化（仅颜色和视觉样式）
   ==================================== */
/* 分页按钮 */
.MuiPaginationItem-root {
    color: #E8E8E8 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(168, 192, 255, 0.2) !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(6px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
.MuiPaginationItem-root:hover {
    background: rgba(168, 192, 255, 0.15) !important;
    border-color: rgba(168, 192, 255, 0.4) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(168, 192, 255, 0.2) !important;
}
/* 选中状态 */
.MuiPaginationItem-root.Mui-selected {
    background: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.35), 
        rgba(255, 183, 178, 0.25)) !important;
    border-color: rgba(168, 192, 255, 0.6) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(168, 192, 255, 0.3), 
                0 0 12px rgba(168, 192, 255, 0.2) !important;
    font-weight: 700 !important;
}
/* 禁用状态 */
.MuiPaginationItem-root.Mui-disabled {
    opacity: 0.3 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(168, 192, 255, 0.1) !important;
}
/* 翻页箭头图标 */
.MuiPaginationItem-icon {
    color: #FFB7B2 !important;
    filter: drop-shadow(0 0 4px rgba(255, 183, 178, 0.4)) !important;
}
.MuiPaginationItem-root:hover .MuiPaginationItem-icon {
    color: #FFFFFF !important;
    filter: drop-shadow(0 0 8px rgba(255, 183, 178, 0.6)) !important;
}
/* 跳转输入区域容器 */
.MuiStack-root.css-1uwir8f {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(168, 192, 255, 0.2) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}
/* 跳转文字 */
.MuiStack-root.css-1uwir8f .MuiBox-root {
    color: #E8E8E8 !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
/* 跳转输入框 */
.MuiInputBase-input {
    color: #F5F5F5 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(168, 192, 255, 0.25) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}
.MuiInputBase-input:focus {
    background: rgba(168, 192, 255, 0.1) !important;
    border-color: rgba(168, 192, 255, 0.5) !important;
    box-shadow: 0 0 12px rgba(168, 192, 255, 0.2) !important;
    outline: none !important;
}
/* ====================================
   评论区美化
   ==================================== */
/* 评论区背景主容器 */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
    background: linear-gradient(to bottom, 
        rgba(10, 14, 41, 0.95) 0%, 
        rgba(23, 29, 61, 0.98) 100%) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    border-top: 2px solid transparent !important;
    border-image: linear-gradient(90deg, 
        rgba(168, 192, 255, 0.5), 
        rgba(255, 183, 178, 0.4), 
        rgba(168, 192, 255, 0.5)) 1 !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(168, 192, 255, 0.1) !important;
}
/* 顶部标题 */
div.text-lg.font-bold {
    color: #FFFFFF !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 8px rgba(168, 192, 255, 0.4), 
                 0 0 16px rgba(168, 192, 255, 0.2) !important;
    background: linear-gradient(90deg, #A8C0FF, #FFB7B2) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
/* "个人评分"文字 */
p.MuiTypography-body1.text-grey-600 {
    color: #E8E8E8 !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
/* 评分容器 */
span.MuiRating-root {
    filter: drop-shadow(0 2px 6px rgba(255, 183, 178, 0.3)) !important;
}
/* 未选中星星 */
span.MuiRating-iconEmpty svg {
    color: rgba(255, 183, 178, 0.3) !important;
    filter: drop-shadow(0 0 4px rgba(255, 183, 178, 0.2)) !important;
}
/* 选中星星 */
span.MuiRating-iconFilled svg {
    color: #FFB7B2 !important;
    filter: drop-shadow(0 0 8px rgba(255, 183, 178, 0.6)) !important;
}
/* 评分数字 */
span.text-orange-500 {
    color: #FFBC7F !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 
                 0 0 10px rgba(255, 188, 127, 0.5) !important;
}
/* 输入框容器 */
div.flex.flex-col.border-gray-200 {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1.5px solid rgba(168, 192, 255, 0.25) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.35s ease !important;
}
div.flex.flex-col.border-gray-200:focus-within {
    border-color: rgba(168, 192, 255, 0.6) !important;
    box-shadow: 0 6px 24px rgba(168, 192, 255, 0.25) !important;
}
/* 输入框 */
textarea.rc-textarea {
    color: #F5F5F5 !important;
    background: transparent !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif !important;
}
textarea.rc-textarea::placeholder {
    color: rgba(168, 192, 255, 0.4) !important;
    font-style: italic !important;
}
/* 字数统计 */
div.bg-gray-100.text-gray-500 {
    background: rgba(0, 0, 0, 0.25) !important;
    color: #C5D4FF !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px !important;
}
/* 发送评论按钮 */
div.cursor-pointer.group.flex.items-center.justify-center {
    background: rgba(168, 192, 255, 0.15) !important;
    border: 1.5px solid rgba(168, 192, 255, 0.4) !important;
    border-radius: 12px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}
div.cursor-pointer.group.flex.items-center.justify-center:hover {
    background: rgba(168, 192, 255, 0.3) !important;
    border-color: rgba(168, 192, 255, 0.7) !important;
    box-shadow: 0 4px 20px rgba(168, 192, 255, 0.3), 
                0 0 16px rgba(168, 192, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}
/* 发送图标 */
div[data-state="closed"] svg[data-icon="Send03"] {
    color: #A8C0FF !important;
    filter: drop-shadow(0 0 8px rgba(168, 192, 255, 0.5)) !important;
    transition: all 0.3s ease !important;
}
div.cursor-pointer.group:hover svg[data-icon="Send03"] {
    color: #FFFFFF !important;
    filter: drop-shadow(0 0 12px rgba(168, 192, 255, 0.7)) !important;
    transform: translateX(3px) !important;
}
/* 分割线 */
div.style_divider__mW0YX {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 192, 255, 0.4), 
        rgba(255, 183, 178, 0.3), 
        rgba(168, 192, 255, 0.4), 
        transparent) !important;
    height: 2px !important;
    box-shadow: 0 0 8px rgba(168, 192, 255, 0.2) !important;
}
/* 排序按钮容器 */
.MuiStack-root.css-1dmzxoz {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(8px) !important;
}
/* 已选中排序按钮 */
button.MuiButton-containedPrimary {
    background: linear-gradient(135deg, 
        rgba(168, 192, 255, 0.35), 
        rgba(255, 183, 178, 0.25)) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    border: 1px solid rgba(168, 192, 255, 0.5) !important;
    box-shadow: 0 4px 12px rgba(168, 192, 255, 0.25) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
/* 未选中排序按钮 */
button.MuiButton-outlinedPrimary {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #E8E8E8 !important;
    border: 1px solid rgba(168, 192, 255, 0.25) !important;
    font-weight: 500 !important;
}
button.MuiButton-outlinedPrimary:hover {
    background: rgba(168, 192, 255, 0.15) !important;
    border-color: rgba(168, 192, 255, 0.4) !important;
    color: #FFFFFF !important;
}
/* 评论列表容器 */
div.p-3.overflow-y-auto {
    background: rgba(0, 0, 0, 0.15) !important;
    border-radius: 14px !important;
}
/* 单条评论 */
div.group.ml-0 {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(168, 192, 255, 0.15) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(6px) !important;
    transition: all 0.3s ease !important;
}
div.group.ml-0:hover {
    background: rgba(168, 192, 255, 0.08) !important;
    border-color: rgba(168, 192, 255, 0.3) !important;
    box-shadow: 0 4px 16px rgba(168, 192, 255, 0.15) !important;
}
/* 用户头像 */
div.group img.rounded-full {
    border: 2px solid rgba(168, 192, 255, 0.4) !important;
    box-shadow: 0 0 12px rgba(168, 192, 255, 0.3) !important;
}
/* 用户名 */
div.text-sm.text-grey-600 span.font-bold {
    color: #A8C0FF !important;
    font-weight: 700 !important;
    text-shadow: 0 0 8px rgba(168, 192, 255, 0.4) !important;
}
/* "（你）"标签 */
span.text-\[10px\] {
    color: #FFB7B2 !important;
    background: rgba(255, 183, 178, 0.15) !important;
    border: 1px solid rgba(255, 183, 178, 0.3) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}
/* 评论内容 */
div.break-all {
    color: #E8E8E8 !important;
    line-height: 1.7 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
/* 时间戳 */
div.text-xs.text-grey-600 {
    color: #C5D4FF !important;
    font-size: 12px !important;
    opacity: 0.8 !important;
}
/* 点赞按钮 */
button.text-gray-400 {
    color: rgba(255, 183, 178, 0.6) !important;
    transition: all 0.3s ease !important;
}
button.text-gray-400:hover {
    color: #FFB7B2 !important;
}
button.text-gray-400 svg {
    filter: drop-shadow(0 0 4px rgba(255, 183, 178, 0.3)) !important;
}
button.text-gray-400:hover svg {
    filter: drop-shadow(0 0 8px rgba(255, 183, 178, 0.6)) !important;
    transform: scale(1.2) !important;
}
/* 回复文字 */
span.cursor-pointer {
    color: #A8C0FF !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}
span.cursor-pointer:hover {
    color: #FFFFFF !important;
    text-shadow: 0 0 8px rgba(168, 192, 255, 0.5) !important;
}
/* 回复区域边框 */
div.ml-8.border-l {
    border-left: 2px solid rgba(255, 183, 178, 0.4) !important;
    background: linear-gradient(to right, 
        rgba(255, 183, 178, 0.08), 
        transparent) !important;
}
/* ====================================
   移动端适配 (<480px)
   ==================================== */
@media (max-width: 480px) {
    .sticky.w-full.top-0.flex.items-center {
        padding: 10px 12px !important;
    }
    #ai-model-selector .group.flex.items-center {
        padding: 6px 10px !important;
        border-radius: 12px !important;
    }
    #ai-model-selector .truncate.text-\[13px\] {
        font-size: 13px !important;
    }
    #header-setting-button {
        width: 34px !important;
        height: 34px !important;
    }
    #ai-chat-bottom-input {
        padding: 12px 14px !important;
        border-radius: 16px !important;
    }
    #ai-chat-input {
        font-size: 14px !important;
    }
    div.text-lg.font-bold {
        font-size: 18px !important;
    }
    .MuiPaginationItem-root {
        font-size: 13px !important;
        min-width: 32px !important;
        height: 32px !important;
    }
}
/* ====================================
   平板端适配 (481px - 768px)
   ==================================== */
@media (min-width: 481px) and (max-width: 768px) {
    #ai-chat-bottom-input {
        padding: 14px 16px !important;
    }
    #ai-chat-input {
        font-size: 14.5px !important;
    }
}
/* ====================================
   桌面端优化 (>769px)
   ==================================== */
@media (min-width: 769px) {
    .sticky.w-full.top-0.flex.items-center {
        padding: 14px 24px !important;
    }
    #ai-chat-bottom-input {
        max-width: 900px !important;
        margin: 0 auto !important;
    }
    /* 评论区滚动条美化 */
    div.p-3.overflow-y-auto::-webkit-scrollbar {
        width: 10px !important;
    }
    div.p-3.overflow-y-auto::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.25) !important;
        border-radius: 8px !important;
    }
    div.p-3.overflow-y-auto::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, 
            rgba(168, 192, 255, 0.5), 
            rgba(255, 183, 178, 0.4)) !important;
        border-radius: 8px !important;
        border: 1.5px solid rgba(168, 192, 255, 0.3) !important;
    }
    div.p-3.overflow-y-auto::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, 
            rgba(168, 192, 255, 0.7), 
            rgba(255, 183, 178, 0.6)) !important;
    }
}
/* ====================================
   全局星空粒子增强效果
   ==================================== */
.sticky.w-full.top-0.flex.items-center::after,
.bg-gradient-to-t::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(168, 192, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(255, 183, 178, 0.06) 0%, transparent 40%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
    animation: stardustFloat 20s ease-in-out infinite !important;
}
@keyframes stardustFloat {
    0%, 100% { opacity: 0.3 !important; transform: translateY(0) !important; }
    50% { opacity: 0.6 !important; transform: translateY(-10px) !important; }
}