/* ===================== 修仙主题基础样式 - 柔和古风版 ===================== */

/* 隐藏现代元素 */
[class*="bg-[#F1CBCB]"],
[class*="bg-[#c9e1e9]"] {
    display: none;
}

/* ===================== 顶部栏样式 - 仙门大殿（古风版） ===================== */

/* 顶部整体背景 - 仙门大殿 */
.flex.items-center.justify-between.w-full.relative {
    background: linear-gradient(90deg, 
        #3a5f7a 0%,      /* 深青灰色 */
        #4a758f 30%,     /* 中青灰色 */
        #5d8ca6 60%,     /* 青灰色 */
        #6fa3bc 100%     /* 浅青灰色 */
    );
    padding: 10px 16px;
    border-bottom: 2px solid #b89446;
    box-shadow: 
        0 4px 20px rgba(74, 115, 140, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    z-index: 100;
}

/* 顶部栏装饰符文 */
.flex.items-center.justify-between.w-full.relative::before {
    content: '◈';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #b89446;
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(184, 148, 70, 0.5);
}

.flex.items-center.justify-between.w-full.relative::after {
    content: '◈';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #b89446;
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(184, 148, 70, 0.5);
}

/* 模型切换按钮 - 修仙法诀选择 */
.ai-model-selector .group.flex.items-center.px-2.h-8.rounded-md.justify-between.bg-grey-100.cursor-pointer.outline.outline-grey-300 {
    background: linear-gradient(145deg, 
        rgba(90, 130, 160, 0.9),     /* 青灰色 */
        rgba(120, 160, 190, 0.9)      /* 浅青灰色 */
    );
    outline-color: #b89446 !important;
    border: 1px solid #b89446 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    padding: 0 12px;
    height: 36px !important;
    position: relative;
    overflow: hidden;
}

.ai-model-selector .group.flex.items-center.px-2.h-8.rounded-md.justify-between.bg-grey-100.cursor-pointer.outline.outline-grey-300:hover {
    background: linear-gradient(145deg, 
        rgba(150, 180, 200, 0.9),    /* 淡青灰色 */
        rgba(120, 160, 190, 0.9)      /* 浅青灰色 */
    );
    outline-color: #d4b168 !important;
    border-color: #d4b168 !important;
    box-shadow: 
        0 0 15px rgba(212, 177, 104, 0.4),
        inset 0 0 10px rgba(212, 177, 104, 0.1);
    transform: translateY(-2px);
}

/* 模型选择器文本 */
.ai-model-selector .truncate.text-\[13px\].font-medium.text-\[\#292A2B\].group-hover\:text-\[\#1E88E5\] {
    color: #b89446 !important;
    font-family: "SimSun", "STKaiti", serif;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.ai-model-selector .group-hover .truncate.text-\[13px\].font-medium {
    color: #d4b168 !important;
    text-shadow: 0 0 5px rgba(212, 177, 104, 0.5);
}

/* 模型选择器箭头图标 */
.ai-model-selector .w-3\.5.h-3\.5.text-\[\#292A2B\].group-hover\:text-\[\#1E88E5\] {
    color: #b89446 !important;
    transition: all 0.3s ease;
}

.ai-model-selector .group-hover .w-3\.5.h-3\.5 {
    color: #d4b168 !important;
    transform: rotate(180deg);
}

/* 设置齿轮按钮 - 修炼设置 */
.header-setting-button.MuiButtonBase-root.MuiIconButton-root.MuiIconButton-sizeSmall.css-xz9haa {
    background: linear-gradient(145deg, 
        rgba(90, 130, 160, 0.9),     /* 青灰色 */
        rgba(120, 160, 190, 0.9)      /* 浅青灰色 */
    );
    border-radius: 8px !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #b89446 !important;
    transition: all 0.3s ease;
    padding: 0 !important;
}

.header-setting-button.MuiButtonBase-root.MuiIconButton-root.MuiIconButton-sizeSmall.css-xz9haa:hover {
    background: linear-gradient(145deg, 
        rgba(150, 180, 200, 0.9),    /* 淡青灰色 */
        rgba(120, 160, 190, 0.9)      /* 浅青灰色 */
    );
    border-color: #d4b168 !important;
    box-shadow: 
        0 0 15px rgba(212, 177, 104, 0.4),
        inset 0 0 10px rgba(212, 177, 104, 0.1);
    transform: rotate(90deg);
}

.header-setting-button .inline-block.flex-shrink-0.w-\[1em\].h-\[1em\].align-middle.fill-current.text-xl.text-grey-600 {
    color: #d4b168 !important;
    fill: #d4b168 !important;
    width: 20px !important;
    height: 20px !important;
    transition: all 0.3s ease;
}

.header-setting-button.MuiButtonBase-root.MuiIconButton-root.MuiIconButton-sizeSmall.css-xz9haa:hover .inline-block.flex-shrink-0.w-\[1em\].h-\[1em\].align-middle.fill-current.text-xl.text-grey-600 {
    color: #e8d4a8 !important;
    fill: #e8d4a8 !important;
    transform: scale(1.2);
}

/* 顶部左侧容器 */
.flex.items-center.gap-2 {
    gap: 12px !important;
}

/* ===================== 主容器样式 - 仙府秘境（古风版） ===================== */
.bg-gray-100\/90.relative.inline-block {
    background: linear-gradient(145deg, 
        #e8f0f7 0%,      /* 淡灰蓝色 */
        #d5e5f2 30%,     /* 浅灰蓝色 */
        #c2d8ec 70%,     /* 灰蓝色 */
        #aecae6 100%     /* 中灰蓝色 */
    );
    border: 2px solid #b89446;
    border-radius: 12px;
    box-shadow: 
        0 0 20px rgba(184, 148, 70, 0.3),   /* 柔和古铜色光晕 */
        0 0 30px rgba(160, 190, 220, 0.2),    /* 蓝色光晕 */
        inset 0 0 15px rgba(255, 255, 255, 0.3); /* 内发光 */
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    isolation: isolate;
    overflow: visible;
}

/* 主容器装饰符文 */
.bg-gray-100\/90.relative.inline-block::before {
    content: '☯';
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 24px;
    color: #b89446;
    opacity: 0.6;
    text-shadow: 0 0 8px rgba(184, 148, 70, 0.5);
    z-index: 2;
}

.bg-gray-100\/90.relative.inline-block::after {
    content: '䷀';
    position: absolute;
    bottom: -12px;
    left: -12px;
    font-size: 20px;
    color: #6ba06b;
    opacity: 0.5;
    transform: rotate(180deg);
    z-index: 2;
}

/* ===================== 仙法内容样式 ===================== */

.markdown-body {
    color: #2c3e50; /* 深蓝色文字 */
    font-family: "SimSun", "STKaiti", "楷体", serif;
    line-height: 1.8;
    font-size: 16px;
    z-index: 1;
    background: transparent;
    padding: 6px;
    position: relative;
}

.markdown-body::first-letter {
    font-size: 1.5em;
    color: #b89446;
    font-weight: bold;
}

/* ===================== 仙法秘籍(Details)样式 ===================== */

details {
    background: linear-gradient(145deg, 
        rgba(232, 240, 247, 0.92),      /* 淡灰蓝色 */
        rgba(213, 229, 242, 0.92)      /* 浅灰蓝色 */
    );
    border: 1px solid #b89446;
    border-radius: 10px;
    box-shadow: 
        0 0 15px rgba(184, 148, 70, 0.4),      /* 古铜色外阴影 */
        inset 0 0 12px rgba(255, 255, 255, 0.3); /* 内阴影 */
    padding: 15px;
    margin-top: 20px;
    color: #2c3e50;
    position: relative;
    backdrop-filter: blur(4px);
    overflow: hidden;
}

/* 仙法秘籍装饰符文 */
details::before,
details::after {
    content: '卍';
    position: absolute;
    font-size: 1.2em;
    z-index: 10;
    color: #b89446;
    opacity: 0.5;
    transition: all 0.4s ease;
    text-shadow: 0 0 5px rgba(184, 148, 70, 0.3);
}

details:hover::before,
details:hover::after {
    opacity: 0.8;
    transform: rotate(15deg);
}

details::before {
    top: -8px;
    left: -8px;
    transform: rotate(-30deg);
}

details::after {
    bottom: -8px;
    right: -8px;
    transform: rotate(210deg);
}

/* 秘籍标题样式 */
summary {
    color: #b89446;
    font-size: 1.3em;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(184, 148, 70, 0.5);
    padding: 10px;
    border-bottom: none;
    cursor: pointer;
    background: linear-gradient(90deg, 
        rgba(213, 229, 242, 0.85),     /* 浅灰蓝色 */
        rgba(194, 216, 236, 0.85)      /* 灰蓝色 */
    );
    border-radius: 8px;
    margin: -15px -15px 10px -15px;
    list-style: none;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid #6ba06b;
}

summary::before {
    content: '📜';
    margin-right: 10px;
    font-size: 1.1em;
    opacity: 0.8;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "▶";
    color: #b89446;
    margin-left: 8px;
    transition: transform 0.3s ease;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

details[open] summary::after {
    transform: translateY(-50%) rotate(90deg);
}

summary:hover {
    background: linear-gradient(90deg, 
        rgba(174, 202, 230, 0.95),    /* 中灰蓝色 */
        rgba(194, 216, 236, 0.95)     /* 灰蓝色 */
    );
    color: #d4b168;
    border-left: 3px solid #d4b168;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 秘籍内容区 */
details > div,
details > p,
details > ul,
details > ol,
details > span {
    color: #34495e;
    padding: 8px 0;
    margin-left: 10px;
    border-left: 2px solid transparent;
    padding-left: 12px;
    transition: all 0.3s ease;
    position: relative;
}

details > *:not(summary):hover {
    background-color: rgba(184, 148, 70, 0.12);
    border-left: 3px solid #b89446;
    padding-left: 15px;
}

/* 列表项美化 */
details ul,
details ol {
    padding-left: 25px;
}

details li {
    margin: 5px 0;
    padding: 6px 8px;
    border-left: none;
    background: linear-gradient(90deg, 
        rgba(194, 216, 236, 0.08),    /* 浅灰蓝色 */
        rgba(174, 202, 230, 0.08)    /* 中灰蓝色 */
    );
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
}

details li::before {
    content: '•';
    color: #b89446;
    font-weight: bold;
    margin-right: 8px;
    font-size: 1.2em;
}

details li:hover {
    background: linear-gradient(90deg, 
        rgba(174, 202, 230, 0.18),   /* 中灰蓝色 */
        rgba(184, 148, 70, 0.15)   /* 古铜色 */
    );
    transform: translateX(5px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

details li::marker {
    color: #b89446;
}

/* ===================== 修炼加载动画样式 ===================== */

/* 隐藏默认加载点 */
.style_dot-flashing__8L9-Q,
.style_dot-flashing__8L91Q.style_text__zGhNq {
    display: none;
}

/* 加载动画容器 */
div:has(> .style_dot-flashing__8L91Q.style_text__zGhNq) {
    min-height: 120px;
    width: 100%;
    background: none;
    border: none;
    position: relative;
    animation: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    overflow: hidden;
}

/* 背景灵气流动效果 */
div:has(> .style_dot-flashing__8L91Q.style_text__zGhNq)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(107, 160, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(90, 140, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(150, 110, 180, 0.1) 0%, transparent 50%);
    animation: spirit-flow 8s infinite linear;
    z-index: 0;
}

@keyframes cultivation-glow {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 8px #b89446, 0 0 16px rgba(184, 148, 70, 0.5);
    }
    50% {
        opacity: 0.8;
        text-shadow: 0 0 12px #d4b168, 0 0 24px rgba(212, 177, 104, 0.6);
    }
}

@keyframes spirit-flow {
    0% {
        transform: translateX(-100%) translateY(0);
    }
    100% {
        transform: translateX(100%) translateY(20px);
    }
}

/* 修炼加载动画 - 八卦旋转 */
div:has(> .style_dot-flashing__8L91Q.style_text__zGhNq)::after {
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    background: 
        radial-gradient(circle at 30% 30%, #b89446 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, #6ba06b 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, #5a8cb4 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, #966eb4 0%, transparent 50%);
    border-radius: 50%;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    animation: bagua-rotate 4s infinite linear;
    box-shadow: 
        0 0 20px rgba(184, 148, 70, 0.5),
        0 0 40px rgba(107, 160, 107, 0.3),
        0 0 60px rgba(90, 140, 180, 0.2);
}

@keyframes bagua-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 修炼文字 */
div:has(> .style_dot-flashing__8L91Q.style_text__zGhNq)::before {
    content: '修得天地正果位，证得长生不朽仙…';
    font-size: 16px;
    color: #b89446;
    font-family: "SimSun", "STKaiti", serif;
    white-space: normal;
    text-align: center;
    text-shadow: 0 0 5px rgba(120, 160, 190, 0.8);
    position: relative;
    z-index: 1;
    margin-top: 80px;
    animation: cultivation-glow 2s ease-in-out infinite alternate;
}

/* ===================== 修仙进度条样式 - 修复颜色覆盖 ===================== */

/* 修为信息标签 */
info {
    color: #b89446 !important;
    font-weight: bold !important;
    margin-right: 10px !important;
    text-shadow: 0 0 4px rgba(184, 148, 70, 0.6) !important;
    position: relative;
    padding-left: 24px !important;
    display: inline-block !important;
}

/* 生命值图标 */
info:contains("生命值"),
info:has-text("生命值") {
    padding-left: 28px !important;
}

info:contains("生命值")::before,
info:has-text("生命值")::before {
    content: '❤️';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: #6ba06b;
}

/* 法力值图标 */
info:contains("法力值"),
info:has-text("法力值") {
    padding-left: 28px !important;
}

info:contains("法力值")::before,
info:has-text("法力值")::before {
    content: '🔮';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: #5a8cb4;
}

/* 恶堕值图标 */
info:contains("恶堕值"),
info:has-text("恶堕值") {
    padding-left: 28px !important;
}

info:contains("恶堕值")::before,
info:has-text("恶堕值")::before {
    content: '☠️';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: #966eb4;
}

/* 好感度图标 */
info:contains("好感度"),
info:has-text("好感度") {
    padding-left: 28px !important;
}

info:contains("好感度")::before,
info:has-text("好感度")::before {
    content: '💝';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: #b46e6b;
}

/* 体力值图标 */
info:contains("体力值"),
info:has-text("体力值") {
    padding-left: 28px !important;
}

info:contains("体力值")::before,
info:has-text("体力值")::before {
    content: '💪';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: #d4b168;
}

/* 心情状态图标 */
info:contains("心情状态"),
info:has-text("心情状态") {
    padding-left: 28px !important;
}

info:contains("心情状态")::before,
info:has-text("心情状态")::before {
    content: '😊';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
    color: #966eb4;
}

/* 通用修为进度条样式 */
info + progress {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 120px !important;
    height: 14px !important;
    border-radius: 7px !important;
    border: 1px solid rgba(184, 148, 70, 0.5) !important;
    background-color: rgba(232, 240, 247, 0.85) !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 
        inset 0 0 8px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

info + progress::-webkit-progress-bar {
    background-color: rgba(232, 240, 247, 0.85) !important;
    border-radius: 7px !important;
}

/* 生命值进度条 */
info:contains("生命值") + progress::-webkit-progress-value,
info:has-text("生命值") + progress::-webkit-progress-value {
    background: linear-gradient(90deg, 
        #6ba06b 0%, 
        #8bc08b 50%, 
        #abe0ab 100%) !important;
    border-radius: 7px !important;
    box-shadow: 
        0 0 10px rgba(107, 160, 107, 0.8),
        inset 0 0 4px rgba(255, 255, 255, 0.3) !important;
    position: relative;
    overflow: hidden;
}

info:contains("生命值") + progress::-webkit-progress-value::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: progress-shine 2s infinite linear;
}

info:contains("生命值") + progress::-moz-progress-bar,
info:has-text("生命值") + progress::-moz-progress-bar {
    background: linear-gradient(90deg, 
        #6ba06b 0%, 
        #8bc08b 50%, 
        #abe0ab 100%) !important;
    border-radius: 7px !important;
}

/* 法力值进度条 */
info:contains("法力值") + progress::-webkit-progress-value,
info:has-text("法力值") + progress::-webkit-progress-value {
    background: linear-gradient(90deg, 
        #5a8cb4 0%, 
        #7aacd4 50%, 
        #9acce4 100%) !important;
    border-radius: 7px !important;
    box-shadow: 
        0 0 10px rgba(90, 140, 180, 0.8),
        inset 0 0 4px rgba(255, 255, 255, 0.3) !important;
}

info:contains("法力值") + progress::-moz-progress-bar,
info:has-text("法力值") + progress::-moz-progress-bar {
    background: linear-gradient(90deg, 
        #5a8cb4 0%, 
        #7aacd4 50%, 
        #9acce4 100%) !important;
    border-radius: 7px !important;
}

/* 恶堕值进度条 */
info:contains("恶堕值") + progress::-webkit-progress-value,
info:has-text("恶堕值") + progress::-webkit-progress-value {
    background: linear-gradient(90deg, 
        #966eb4 0%, 
        #b68ed4 50%, 
        #d6aef4 100%) !important;
    border-radius: 7px !important;
    box-shadow: 
        0 0 10px rgba(150, 110, 180, 0.8),
        inset 0 0 4px rgba(255, 255, 255, 0.3) !important;
}

info:contains("恶堕值") + progress::-moz-progress-bar,
info:has-text("恶堕值") + progress::-moz-progress-bar {
    background: linear-gradient(90deg, 
        #966eb4 0%, 
        #b68ed4 50%, 
        #d6aef4 100%) !important;
    border-radius: 7px !important;
}

/* 好感度进度条 */
info:contains("好感度") + progress::-webkit-progress-value,
info:has-text("好感度") + progress::-webkit-progress-value {
    background: linear-gradient(90deg, 
        #b46e6b 0%, 
        #d48e8b 50%, 
        #f4aeab 100%) !important;
    border-radius: 7px !important;
    box-shadow: 
        0 0 10px rgba(180, 110, 107, 0.8),
        inset 0 0 4px rgba(255, 255, 255, 0.3) !important;
}

info:contains("好感度") + progress::-moz-progress-bar,
info:has-text("好感度") + progress::-moz-progress-bar {
    background: linear-gradient(90deg, 
        #b46e6b 0%, 
        #d48e8b 50%, 
        #f4aeab 100%) !important;
    border-radius: 7px !important;
}

/* 体力值进度条 */
info:contains("体力值") + progress::-webkit-progress-value,
info:has-text("体力值") + progress::-webkit-progress-value {
    background: linear-gradient(90deg, 
        #d4b168 0%, 
        #e8c98c 50%, 
        #fce1b0 100%) !important;
    border-radius: 7px !important;
    box-shadow: 
        0 0 10px rgba(212, 177, 104, 0.8),
        inset 0 0 4px rgba(255, 255, 255, 0.3) !important;
}

info:contains("体力值") + progress::-moz-progress-bar,
info:has-text("体力值") + progress::-moz-progress-bar {
    background: linear-gradient(90deg, 
        #d4b168 0%, 
        #e8c98c 50%, 
        #fce1b0 100%) !important;
    border-radius: 7px !important;
}

/* 心情状态进度条 */
info:contains("心情状态") + progress::-webkit-progress-value,
info:has-text("心情状态") + progress::-webkit-progress-value {
    background: linear-gradient(90deg, 
        #966eb4 0%, 
        #b68ed4 50%, 
        #d6aef4 100%) !important;
    border-radius: 7px !important;
    box-shadow: 
        0 0 10px rgba(150, 110, 180, 0.8),
        inset 0 0 4px rgba(255, 255, 255, 0.3) !important;
}

info:contains("心情状态") + progress::-moz-progress-bar,
info:has-text("心情状态") + progress::-moz-progress-bar {
    background: linear-gradient(90deg, 
        #966eb4 0%, 
        #b68ed4 50%, 
        #d6aef4 100%) !important;
    border-radius: 7px !important;
}

/* 备用方案：使用nth-child选择器 */
.markdown-body br + info + progress:nth-of-type(1)::-webkit-progress-value {
    background: linear-gradient(90deg, #6ba06b, #8bc08b, #abe0ab) !important;
}

.markdown-body br + info + progress:nth-of-type(2)::-webkit-progress-value {
    background: linear-gradient(90deg, #5a8cb4, #7aacd4, #9acce4) !important;
}

.markdown-body br + info + progress:nth-of-type(3)::-webkit-progress-value {
    background: linear-gradient(90deg, #966eb4, #b68ed4, #d6aef4) !important;
}

.markdown-body br + info + progress:nth-of-type(4)::-webkit-progress-value {
    background: linear-gradient(90deg, #b46e6b, #d48e8b, #f4aeab) !important;
}

.markdown-body br + info + progress:nth-of-type(5)::-webkit-progress-value {
    background: linear-gradient(90deg, #d4b168, #e8c98c, #fce1b0) !important;
}

.markdown-body br + info + progress:nth-of-type(6)::-webkit-progress-value {
    background: linear-gradient(90deg, #966eb4, #b68ed4, #d6aef4) !important;
}

@keyframes progress-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===================== 状态栏容器样式（图2样式） ===================== */

/* 状态栏容器 */
.status-container {
    background: linear-gradient(145deg, 
        rgba(232, 240, 247, 0.9),      /* 淡灰蓝色 */
        rgba(213, 229, 242, 0.9)      /* 浅灰蓝色 */
    );
    border: 1px solid #b89446;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 10px 0;
    box-shadow: 
        0 0 10px rgba(184, 148, 70, 0.2),
        inset 0 0 8px rgba(255, 255, 255, 0.2);
    position: relative;
}

/* 状态栏标题 */
.status-title {
    color: #b89446;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(184, 148, 70, 0.3);
    padding-bottom: 5px;
}

/* 状态栏项目 */
.status-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(213, 229, 242, 0.5);
    transition: all 0.3s ease;
}

.status-item:hover {
    background: rgba(184, 148, 70, 0.1);
    transform: translateX(3px);
}

/* 状态栏图标 */
.status-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b89446;
    font-size: 16px;
}

/* 状态栏标签 */
.status-label {
    color: #b89446;
    font-weight: bold;
    min-width: 80px;
    margin-right: 10px;
}

/* 状态栏数值 */
.status-value {
    color: #2c3e50;
    font-weight: normal;
}

/* ===================== 仙法按钮样式 ===================== */

/* 通用按钮样式 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary,
.MuiTypography-root.MuiTypography-body2.css-6c0gf2,
.text-orange-500 {
    color: #b89446;
    font-weight: bold;
    font-size: 0.9rem;
    font-family: "SimSun", "STKaiti", serif;
    position: relative;
}

/* 主要按钮 */
.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.9),     /* 浅灰蓝色 */
        rgba(194, 216, 236, 0.9)      /* 灰蓝色 */
    );
    border: 1px solid #b89446;
    border-radius: 6px;
    padding: 6px 14px;
    margin-right: 6px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(184, 148, 70, 0.4);
    position: relative;
    overflow: hidden;
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover {
    background: linear-gradient(145deg, 
        rgba(174, 202, 230, 0.95),    /* 中灰蓝色 */
        rgba(194, 216, 236, 0.95)      /* 灰蓝色 */
    );
    color: #d4b168;
    transform: translateY(-3px);
    box-shadow: 
        0 5px 15px rgba(184, 148, 70, 0.5),
        0 0 20px rgba(184, 148, 70, 0.3);
}

.MuiButtonBase-root.MuiButton-root.MuiButton-text.MuiButton-textPrimary:hover::before {
    left: 100%;
}

/* ===================== 传音输入框样式 ===================== */

.ai-chat-input {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.94),     /* 浅灰蓝色 */
        rgba(194, 216, 236, 0.94)      /* 灰蓝色 */
    );
    border: 2px solid #b89446;
    border-radius: 10px;
    color: #2c3e50;
    box-shadow: 
        0 0 15px rgba(184, 148, 70, 0.4),
        inset 0 0 12px rgba(255, 255, 255, 0.3);
    padding: 12px 16px;
    font-family: "SimSun", "STKaiti", "楷体", serif;
    font-size: 16px;
    transition: all 0.4s ease-in-out;
    position: relative;
}

.ai-chat-input::placeholder {
    color: rgba(184, 148, 70, 0.6);
    font-style: italic;
}

.ai-chat-input:focus {
    outline: none;
    border-color: #d4b168;
    box-shadow: 
        0 0 20px rgba(212, 177, 104, 0.5), 
        inset 0 0 15px rgba(212, 177, 104, 0.15);
    background: linear-gradient(145deg, 
        rgba(174, 202, 230, 0.97),   /* 中灰蓝色 */
        rgba(213, 229, 242, 0.97)     /* 浅灰蓝色 */
    );
    transform: translateY(-2px);
}

/* 输入框装饰 */
.ai-chat-input::before {
    content: '✍';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(184, 148, 70, 0.5);
    font-size: 1.2em;
}

/* 底部输入框容器 */
.ai-chat-bottom-input {
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 10px;
}

/* ===================== 仙法功能按钮样式 ===================== */

.flex.items-center.gap-2.pb-2 > button {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.92),     /* 浅灰蓝色 */
        rgba(194, 216, 236, 0.92)      /* 灰蓝色 */
    );
    color: #b89446;
    border: 2px solid #b89446;
    border-radius: 8px;
    box-shadow: 
        0 0 12px rgba(184, 148, 70, 0.4),
        3px 3px 0px rgba(213, 229, 242, 0.8);
    font-weight: bold;
    text-transform: none;
    transition: all 0.25s ease-in-out;
    padding: 8px 18px;
    font-family: "SimSun", "STKaiti", serif;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.flex.items-center.gap-2.pb-2 > button::before {
    content: '✨';
    position: absolute;
    left: 10px;
    opacity: 0.7;
}

.flex.items-center.gap-2.pb-2 > button:hover {
    background: linear-gradient(145deg, 
        rgba(174, 202, 230, 0.95),    /* 中灰蓝色 */
        rgba(194, 216, 236, 0.95)      /* 灰蓝色 */
    );
    color: #d4b168;
    transform: translate(3px, 3px);
    box-shadow: 
        0 0 20px rgba(212, 177, 104, 0.5), 
        0 0 0px rgba(213, 229, 242, 0.8);
    border-color: #d4b168;
}

.flex.items-center.gap-2.pb-2 > button:active {
    transform: translate(4px, 4px);
    transition: transform 0.1s ease;
}

.flex.items-center.gap-2.pb-2 > button.active {
    background: linear-gradient(145deg, 
        rgba(212, 177, 104, 0.9), 
        rgba(184, 148, 70, 0.9)
    );
    color: #2c3e50;
    border-color: #d4b168;
    box-shadow: 
        0 0 20px rgba(212, 177, 104, 0.7), 
        0 0 0px rgba(213, 229, 242, 0.8);
}

/* ===================== 仙缘消息气泡样式 ===================== */

/* 仙尊消息气泡 */
.group .bg-gray-100\/90 {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.94),     /* 浅灰蓝色 */
        rgba(174, 202, 230, 0.94)     /* 中灰蓝色 */
    );
    border: 2px solid #b89446;
    border-radius: 12px;
    box-shadow: 
        0 0 20px rgba(184, 148, 70, 0.4),
        5px 5px 0px rgba(194, 216, 236, 0.7);
    color: #2c3e50;
    padding: 16px 20px;
    margin: 8px 0;
    position: relative;
    transition: all 0.4s ease;
}

.group .bg-gray-100\/90::before {
    content: '👑';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 1.2em;
    color: #d4b168;
    text-shadow: 0 0 8px rgba(212, 177, 104, 0.6);
    z-index: 5;
    background: rgba(213, 229, 242, 0.9);
    border-radius: 50%;
    padding: 3px;
}

.group .bg-gray-100\/90:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 25px rgba(184, 148, 70, 0.5),
        5px 5px 0px rgba(194, 216, 236, 0.9);
    border-color: #d4b168;
}

/* 道友消息气泡 */
.group.ml-0 > .flex.items-start.gap-2 {
    font-family: 'SimSun', 'STKaiti', '楷体', serif !important;
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.96),    /* 浅灰蓝色 */
        rgba(174, 202, 230, 0.96)    /* 中灰蓝色 */
    ) !important;
    border-radius: 12px !important;
    padding: 18px 22px !important;
    width: 100% !important;
    box-shadow: 
        0 0 25px rgba(194, 216, 236, 0.5),
        5px 5px 0px rgba(213, 229, 242, 0.7) !important;
    border: 2px solid #6ba06b !important;
    transition: all 0.4s ease-in-out !important;
    position: relative !important;
}

.group.ml-0 > .flex.items-start.gap-2::before {
    content: '👤';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 1.2em;
    color: #6ba06b;
    text-shadow: 0 0 8px rgba(107, 160, 107, 0.6);
    z-index: 5;
    background: rgba(213, 229, 242, 0.9);
    border-radius: 50%;
    padding: 3px;
}

.group.ml-0 > .flex.items-start.gap-2:hover {
    transform: translateY(-5px) !important;
    box-shadow: 
        0 0 30px rgba(107, 160, 107, 0.5),
        5px 5px 0px rgba(194, 216, 236, 0.9) !important;
    background: linear-gradient(145deg, 
        rgba(174, 202, 230, 0.98),   /* 中灰蓝色 */
        rgba(190, 218, 246, 0.98)    /* 稍浅的灰蓝色 */
    ) !important;
    border-color: #8bc08b !important;
}

.group.ml-0 .break-all {
    white-space: pre-wrap !important;
    line-height: 1.8 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    color: #2c3e50 !important;
}

/* 道友头像美化 */
.group.ml-0 .flex-shrink-0 img {
    border-radius: 50% !important;
    border: 2px solid #6ba06b !important;
    box-shadow: 
        0 0 12px rgba(107, 160, 107, 0.5),
        inset 0 0 8px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s ease !important;
}

.group.ml-0 .flex-shrink-0 img:hover {
    border-color: #8bc08b !important;
    box-shadow: 
        0 0 20px rgba(139, 192, 139, 0.6),
        inset 0 0 12px rgba(255, 255, 255, 0.2) !important;
    transform: scale(1.08) !important;
}

/* ===================== 仙法注解样式（图2样式） ===================== */

/* 注解触发文本 */
t {
    cursor: pointer;
    color: #b89446;
    text-decoration: underline dotted #d4b168;
    position: relative;
    display: inline-block;
    outline: none;
    user-select: none;
    z-index: 99;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 3px;
    background: rgba(184, 148, 70, 0.08);
}

t:hover {
    background-color: rgba(184, 148, 70, 0.15);
    transform: translateY(-2px);
}

/* 注解内容（图2样式） */
ti {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(145deg, 
        rgba(232, 240, 247, 0.98),      /* 淡灰蓝色 */
        rgba(213, 229, 242, 0.98)      /* 浅灰蓝色 */
    );
    border: 1px solid #b89446;
    border-radius: 6px;
    box-shadow: 
        0 4px 12px rgba(184, 148, 70, 0.3),
        0 0 8px rgba(213, 229, 242, 0.5);
    padding: 12px 16px;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.6;
    max-width: 400px;
    min-width: 200px;
    z-index: 1000;
    backdrop-filter: blur(8px);
    text-align: left;
    pointer-events: auto;
    word-wrap: break-word;
    margin-top: 8px;
    white-space: normal;
}

/* 小三角指示器 */
ti::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #b89446;
}

/* 注解标题 */
ti > strong {
    color: #b89446;
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    border-bottom: 1px solid rgba(184, 148, 70, 0.3);
    padding-bottom: 4px;
}

/* 注解内容 */
ti > span {
    display: block;
    color: #34495e;
    font-size: 14px;
    line-height: 1.5;
}

/* 显示注解 */
t:hover > ti,
t:active > ti,
t:focus > ti {
    display: block;
}

t:hover {
    z-index: 1001;
}

/* 注解关闭按钮 */
.tooltip-close {
    position: absolute;
    top: 6px;
    right: 6px;
    color: #b89446;
    font-size: 16px;
    text-decoration: none;
    padding: 4px 8px;
    background: rgba(213, 229, 242, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1002;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-close:hover {
    background: rgba(184, 148, 70, 0.2);
    color: #2c3e50;
    transform: scale(1.1);
}

/* ===================== 法宝物品样式 ===================== */

/* 法宝项样式 */
info + br + t {
    display: inline-block;
    margin: 6px 0;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(184, 148, 70, 0.12);
    border: 1px solid rgba(184, 148, 70, 0.4);
    z-index: 99;
    transition: all 0.3s ease;
}

info + br + t:hover {
    background: rgba(184, 148, 70, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.weapon-item {
    margin-top: 8px;
    padding: 8px 12px;
    background: linear-gradient(145deg, 
        rgba(174, 202, 230, 0.7),    /* 中灰蓝色 */
        rgba(213, 229, 242, 0.7)      /* 浅灰蓝色 */
    );
    border-left: 4px solid #d4b168;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(184, 148, 70, 0.2);
}

.item-entry {
    margin: 6px 0;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(184, 148, 70, 0.1);
    border: 1px dashed rgba(184, 148, 70, 0.4);
    transition: all 0.3s ease;
}

.item-entry:hover {
    background: rgba(184, 148, 70, 0.2);
    transform: translateX(5px);
    border-style: solid;
}

/* ===================== 底部大背景样式 ===================== */

/* 底部大背景 - 仙气缭绕 */
.bg-gradient-to-t.from-white.via-white.to-transparent.absolute.w-full.bottom-0.left-0.right-0.pb-4 {
    background-image: linear-gradient(to top, 
        rgba(213, 229, 242, 0.8),    /* 浅灰蓝色 */
        rgba(194, 216, 236, 0.6),    /* 灰蓝色 */
        transparent
    ) !important;
    backdrop-filter: blur(5px);
    z-index: 10;
}

/* 底部内容容器 */
.mx-auto.w-full.max-w-\[720px\].px-4 {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.7),     /* 浅灰蓝色 */
        rgba(194, 216, 236, 0.5)     /* 灰蓝色 */
    );
    border-top: 1px solid rgba(184, 148, 70, 0.3);
    border-radius: 8px 8px 0 0;
}

/* ===================== 溢出级美化扩展 - 覆盖所有按钮与对话框 ===================== */

/* 全局按钮仙化 */
button:not(.exclude-xiuxian) {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.92), 
        rgba(194, 216, 236, 0.92)
    ) !important;
    color: #b89446 !important;
    border: 2px solid #b89446 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 12px rgba(184, 148, 70, 0.4) !important;
    font-weight: bold !important;
    font-family: "SimSun", "STKaiti", serif !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
    text-transform: none !important;
}

button:not(.exclude-xiuxian):hover {
    background: linear-gradient(145deg, 
        rgba(174, 202, 230, 0.95), 
        rgba(194, 216, 236, 0.95)
    ) !important;
    color: #d4b168 !important;
    border-color: #d4b168 !important;
    box-shadow: 0 0 20px rgba(212, 177, 104, 0.6) !important;
    transform: translateY(-2px);
}

button:not(.exclude-xiuxian):active {
    transform: scale(0.98);
}

/* 输入框、文本域全局仙化 */
input[type="text"]:not(.exclude-xiuxian),
input[type="search"]:not(.exclude-xiuxian),
input[type="url"]:not(.exclude-xiuxian),
input[type="number"]:not(.exclude-xiuxian),
textarea:not(.exclude-xiuxian) {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.94), 
        rgba(194, 216, 236, 0.94)
    ) !important;
    border: 2px solid #b89446 !important;
    border-radius: 10px !important;
    color: #2c3e50 !important;
    box-shadow: 0 0 15px rgba(184, 148, 70, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.3) !important;
    padding: 12px 16px !important;
    font-family: "SimSun", "STKaiti", serif !important;
    font-size: 16px !important;
    transition: all 0.4s ease !important;
    outline: none !important;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: #d4b168 !important;
    box-shadow: 0 0 20px rgba(212, 177, 104, 0.6), inset 0 0 15px rgba(212, 177, 104, 0.15) !important;
    background: linear-gradient(145deg, 
        rgba(174, 202, 230, 0.97), 
        rgba(213, 229, 242, 0.97)
    ) !important;
    transform: translateY(-2px) !important;
}

/* Material-UI 组件全局覆盖 */
.MuiButtonBase-root:not(.exclude-xiuxian) {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.92), 
        rgba(194, 216, 236, 0.92)
    ) !important;
    color: #b89446 !important;
    border: 2px solid #b89446 !important;
    border-radius: 8px !important;
    box-shadow: 0 0 12px rgba(184, 148, 70, 0.4) !important;
    font-weight: bold !important;
    font-family: "SimSun", "STKaiti", serif !important;
    transition: all 0.3s ease !important;
}

.MuiButtonBase-root:not(.exclude-xiuxian):hover {
    background: linear-gradient(145deg, 
        rgba(174, 202, 230, 0.95), 
        rgba(194, 216, 236, 0.95)
    ) !important;
    color: #d4b168 !important;
    border-color: #d4b168 !important;
    box-shadow: 0 0 20px rgba(212, 177, 104, 0.6) !important;
    transform: translateY(-2px) !important;
}

.MuiInputBase-root:not(.exclude-xiuxian),
.MuiOutlinedInput-root:not(.exclude-xiuxian) {
    background: linear-gradient(145deg, 
        rgba(213, 229, 242, 0.94), 
        rgba(194, 216, 236, 0.94)
    ) !important;
    border: 2px solid #b89446 !important;
    border-radius: 10px !important;
    color: #2c3e50 !important;
    box-shadow: 0 0 15px rgba(184, 148, 70, 0.4), inset 0 0 12px rgba(255, 255, 255, 0.3) !important;
    transition: all 0.4s ease !important;
    font-family: "SimSun", "STKaiti", serif !important;
}

.MuiInputBase-root:focus-within,
.MuiOutlinedInput-root:focus-within {
    border-color: #d4b168 !important;
    box-shadow: 0 0 20px rgba(212, 177, 104, 0.6), inset 0 0 15px rgba(212, 177, 104, 0.15) !important;
}

/* 确保图标按钮保留大小 */
.MuiIconButton-root:not(.exclude-xiuxian) {
    width: auto !important;
    height: auto !important;
}

/* 保留溢出级装点的小三角 */
.MuiOutlinedInput-notchedOutline {
    border: none !important;
}

/* 文本域占位符仙化 */
::placeholder {
    color: rgba(184, 148, 70, 0.6) !important;
    font-style: italic;
}

/* ===================== 响应式设计 ===================== */

@media (max-width: 768px) {
    /* 顶部栏响应式 */
    .flex.items-center.justify-between.w-full.relative {
        padding: 8px 12px;
    }
    
    .flex.items-center.justify-between.w-full.relative::before,
    .flex.items-center.justify-between.w-full.relative::after {
        font-size: 16px;
    }
    
    .ai-model-selector .group.flex.items-center.px-2.h-8.rounded-md.justify-between.bg-grey-100.cursor-pointer.outline.outline-grey-300 {
        height: 32px !important;
        padding: 0 10px;
    }
    
    .ai-model-selector .truncate.text-\[13px\].font-medium.text-\[\#292A2B\].group-hover\:text-\[\#1E88E5\] {
        font-size: 13px !important;
    }
    
    .header-setting-button.MuiButtonBase-root.MuiIconButton-root.MuiIconButton-sizeSmall.css-xz9haa {
        width: 32px !important;
        height: 32px !important;
    }
    
    /* 主容器响应式 */
    .bg-gray-100\/90.relative.inline-block {
        padding: 15px;
        border-radius: 8px;
    }
    
    .bg-gray-100\/90.relative.inline-block::before,
    .bg-gray-100\/90.relative.inline-block::after {
        display: none;
    }

    details {
        padding: 12px;
    }

    summary {
        font-size: 1.2em;
        padding: 8px;
    }

    div:has(> .style_dot-flashing__8L91Q.style_text__zGhNq)::after {
        width: 50px;
        height: 50px;
    }

    /* Tooltip响应式 */
    ti {
        padding: 10px 14px;
        font-size: 13px;
        max-width: 300px;
        min-width: 180px;
    }

    .ai-chat-input {
        padding: 10px 14px;
        font-size: 15px;
        border-radius: 8px;
    }

    .flex.items-center.gap-2.pb-2 > button {
        padding: 7px 14px;
        font-size: 13px;
        border-radius: 6px;
    }

    .group .bg-gray-100\/90 {
        padding: 14px 18px;
        border-radius: 10px;
    }
    
    /* 移动端进度条调整 */
    info + progress {
        width: 100px !important;
        height: 12px !important;
    }
    
    /* 移动端状态栏调整 */
    .status-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .status-label {
        min-width: 60px;
        margin-bottom: 4px;
    }
    
    /* 移动端道友消息调整 */
    .group.ml-0 > .flex.items-start.gap-2 {
        padding: 16px 20px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 480px) {
    /* 顶部栏小屏优化 */
    .flex.items-center.justify-between.w-full.relative {
        padding: 6px 10px;
    }
    
    .flex.items-center.justify-between.w-full.relative::before,
    .flex.items-center.justify-between.w-full.relative::after {
        display: none;
    }
    
    .ai-model-selector .group.flex.items-center.px-2.h-8.rounded-md.justify-between.bg-grey-100.cursor-pointer.outline.outline-grey-300 {
        height: 30px !important;
        padding: 0 8px;
        font-size: 12px !important;
    }
    
    .ai-model-selector .truncate.text-\[13px\].font-medium.text-\[\#292A2B\].group-hover\:text-\[\#1E88E5\] {
        font-size: 12px !important;
    }
    
    .header-setting-button.MuiButtonBase-root.MuiIconButton-root.MuiIconButton-sizeSmall.css-xz9haa {
        width: 30px !important;
        height: 30px !important;
    }

    /* 主容器小屏优化 */
    .bg-gray-100\/90.relative.inline-block {
        padding: 12px;
        margin-bottom: 10px;
    }

    .markdown-body {
        font-size: 15px;
        line-height: 1.7;
    }

    details {
        padding: 10px;
        margin-top: 15px;
    }

    summary {
        font-size: 1.1em;
        padding: 6px;
    }

    div:has(> .style_dot-flashing__8L91Q.style_text__zGhNq) {
        min-height: 100px;
        padding: 15px 0;
    }

    div:has(> .style_dot-flashing__8L91Q.style_text__zGhNq)::after {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    div:has(> .style_dot-flashing__8L91Q.style_text__zGhNq)::before {
        font-size: 14px;
        margin-top: 60px;
    }

    /* Tooltip小屏优化 */
    ti {
        padding: 8px 12px;
        font-size: 13px;
        max-width: 250px;
        min-width: 150px;
    }

    info {
        font-size: 0.9em !important;
        margin-right: 6px !important;
        padding-left: 22px !important;
    }

    info::before {
        font-size: 1em;
    }

    info + progress {
        width: 80px !important;
        height: 10px !important;
        margin-right: 4px !important;
    }

    .ai-chat-input {
        padding: 8px 12px;
        font-size: 14px;
    }

    .flex.items-center.gap-2.pb-2 > button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .group .bg-gray-100\/90 {
        padding: 12px 16px;
    }
    
    .group.ml-0 > .flex.items-start.gap-2 {
        padding: 14px 18px !important;
    }
    
    .group.ml-0 > .flex.items-start.gap-2::before,
    .group .bg-gray-100\/90::before {
        font-size: 1em;
        top: -12px;
        left: 15px;
    }
}