/* 盾之勇者成名录主题CSS - 优化版（移除卡顿因素） */

/* 移除pulseGlow动画，用静态效果替代 */

/* 基础样式 - 优化版 */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #0a0707 0%, #1a0f0f 50%, #2d1b1b 100%);
    color: #ffffff;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

/* 优化面板样式 - 移除动画 */
details {
    background: linear-gradient(145deg, 
        rgba(85, 60, 60, 0.95) 0%, 
        rgba(65, 45, 45, 0.98) 50%, 
        rgba(50, 35, 35, 0.95) 100%);
    border: 2px solid #9d7a5f;
    border-radius: 8px;
    margin: 12px 0;
    padding: 15px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    color: #ffffff;
}

/* 移除details::before的滑动动画 */
details::before {
    display: none;
}

/* 简化hover效果 */
details:hover {
    border-color: #d4af37;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 优化标题样式 - 移除动画，使用白色 */
summary {
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    padding: 12px 15px;
    margin: -15px;
    margin-bottom: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        rgba(157, 122, 95, 0.6) 0%, 
        rgba(125, 93, 77, 0.4) 50%, 
        transparent 100%);
    border-bottom: 2px solid #9d7a5f;
    font-size: 1.15em;
    position: relative;
}

summary:hover {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.7) 0%, 
        rgba(157, 122, 95, 0.5) 50%, 
        transparent 100%);
    color: #ffffff;
    border-bottom-color: #ffeb99;
}

/* 思维链面板特殊样式 */
.cot-panel {
    background: linear-gradient(145deg, 
        rgba(110, 75, 65, 0.95) 0%, 
        rgba(85, 55, 45, 0.98) 50%, 
        rgba(65, 40, 35, 0.95) 100%);
    border: 2px solid #ffeb99;
    box-shadow: 
        0 0 20px rgba(255, 235, 153, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cot-panel summary {
    background: linear-gradient(135deg, 
        rgba(255, 235, 153, 0.4) 0%, 
        rgba(212, 175, 55, 0.3) 50%, 
        transparent 100%);
    border-bottom: 2px solid #ffeb99;
    color: #ffffff;
}

.cot-content {
    color: #ffffff;
    padding: 18px;
    font-style: italic;
    border-left: 4px solid #ffeb99;
    margin-left: 5px;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        transparent 20%);
    border-radius: 0 4px 4px 0;
}

/* 优化悬停提示系统 */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 2px dashed #d4af37;
    cursor: help;
    transition: all 0.3s;
    padding: 0 2px;
    font-weight: 500;
    color: #ffffff;
}

.tooltip:hover {
    color: #ffffff;
    border-bottom: 2px solid #ffeb99;
    background: rgba(255, 235, 153, 0.2);
    border-radius: 3px;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 240px;
    background: linear-gradient(135deg, 
        rgba(85, 60, 60, 0.98) 0%, 
        rgba(65, 45, 45, 0.98) 100%);
    color: #ffffff;
    text-align: left;
    border: 2px solid #d4af37;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    margin-left: -120px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 0.9em;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    transform: translateY(10px);
    backdrop-filter: blur(5px);
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #d4af37 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* 技能树交互系统 - 完美整合版 */
.skill-section {
    margin: 15px 0 !important;
    padding: 15px !important;
    background: linear-gradient(145deg, 
        rgba(85, 60, 60, 0.8) 0%, 
        rgba(65, 45, 45, 0.9) 100%) !important;
    border: 2px solid #9d7a5f !important;
    border-radius: 8px !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.skill-flex {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

.skill-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, 
        rgba(157, 122, 95, 0.7) 0%, 
        rgba(125, 93, 77, 0.6) 100%) !important;
    border: 2px solid #9d7a5f !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    box-shadow: 
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    min-width: 120px !important;
    text-align: center !important;
    z-index: 10 !important;
}

.skill-button:hover {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.8) 0%, 
        rgba(157, 122, 95, 0.7) 100%) !important;
    border-color: #ffeb99 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(255, 235, 153, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    z-index: 100 !important;
}

/* 技能按钮的悬浮提示 - 与盾之勇者主题风格保持一致 */
.skill-button .skill-tooltiptext {
    visibility: hidden !important;
    width: 280px !important;
    background: linear-gradient(135deg, 
        rgba(85, 60, 60, 0.98) 0%, 
        rgba(65, 45, 45, 0.98) 100%) !important;
    color: #ffffff !important;
    text-align: left !important;
    border: 2px solid #d4af37 !important;
    padding: 15px !important;
    border-radius: 8px !important;
    position: absolute !important;
    z-index: 999 !important;
    bottom: 125% !important;
    left: 50% !important;
    margin-left: -140px !important;
    opacity: 0 !important;
    transition: opacity 0.3s, transform 0.3s !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8) !important;
    font-size: 0.95em !important;
    pointer-events: none !important;
    line-height: 1.5 !important;
    backdrop-filter: blur(8px) !important;
    transform: translateY(10px) !important;
}

.skill-button .skill-tooltiptext::after {
    content: "" !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    margin-left: -8px !important;
    border-width: 8px !important;
    border-style: solid !important;
    border-color: #d4af37 transparent transparent transparent !important;
}

.skill-button:hover .skill-tooltiptext {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 不同技能类型颜色变体 */
.skill-combat {
    background: linear-gradient(135deg, 
        rgba(157, 95, 95, 0.7) 0%, 
        rgba(125, 77, 77, 0.6) 100%) !important;
    border-color: #d46a6a !important;
}

.skill-combat:hover {
    background: linear-gradient(135deg, 
        rgba(255, 100, 100, 0.8) 0%, 
        rgba(212, 106, 106, 0.7) 100%) !important;
    border-color: #ff9999 !important;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(255, 153, 153, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.skill-magic {
    background: linear-gradient(135deg, 
        rgba(95, 122, 157, 0.7) 0%, 
        rgba(77, 93, 125, 0.6) 100%) !important;
    border-color: #6a8dd4 !important;
}

.skill-magic:hover {
    background: linear-gradient(135deg, 
        rgba(100, 180, 255, 0.8) 0%, 
        rgba(106, 141, 212, 0.7) 100%) !important;
    border-color: #99ccff !important;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(153, 204, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.skill-utility {
    background: linear-gradient(135deg, 
        rgba(122, 157, 95, 0.7) 0%, 
        rgba(93, 125, 77, 0.6) 100%) !important;
    border-color: #8dd46a !important;
}

.skill-utility:hover {
    background: linear-gradient(135deg, 
        rgba(150, 255, 100, 0.8) 0%, 
        rgba(141, 212, 106, 0.7) 100%) !important;
    border-color: #ccff99 !important;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(204, 255, 153, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.skill-passive {
    background: linear-gradient(135deg, 
        rgba(157, 95, 157, 0.7) 0%, 
        rgba(125, 77, 125, 0.6) 100%) !important;
    border-color: #d46ad4 !important;
}

.skill-passive:hover {
    background: linear-gradient(135deg, 
        rgba(255, 100, 255, 0.8) 0%, 
        rgba(212, 106, 212, 0.7) 100%) !important;
    border-color: #ff99ff !important;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(255, 153, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* 优化进度条样式 - 移除动画 */
progress {
    width: 100%;
    height: 14px;
    border-radius: 4px;
    border: 2px solid #9d7a5f;
    background: linear-gradient(135deg, #1a0f0f 0%, #2d1b1b 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

progress::-webkit-progress-bar {
    background: linear-gradient(135deg, #1a0f0f 0%, #2d1b1b 100%);
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

progress::-webkit-progress-value {
    background: linear-gradient(90deg, #d4af37, #ffeb99, #fff9e6);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 235, 153, 0.7);
}

progress::-moz-progress-bar {
    background: linear-gradient(90deg, #d4af37, #ffeb99, #fff9e6);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 235, 153, 0.7);
}

/* 优化表格样式 - 移除动画 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    border: 2px solid #9d7a5f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, 
        rgba(85, 60, 60, 0.9) 0%, 
        rgba(65, 45, 45, 0.95) 100%);
    color: #ffffff;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #9d7a5f;
    color: #ffffff;
}

th {
    background: linear-gradient(135deg, 
        rgba(157, 122, 95, 0.7) 0%, 
        rgba(125, 93, 77, 0.6) 100%);
    color: #ffffff;
    font-weight: bold;
    border-right: 2px solid #9d7a5f;
}

td {
    border-right: 2px solid rgba(125, 93, 77, 0.4);
    background: rgba(0, 0, 0, 0.2);
}

tr:hover td {
    background: rgba(255, 235, 153, 0.1);
}

/* 优化特殊状态标记 - 移除动画，使用浅色 */
.status-critical {
    color: #ffcccc;
    font-weight: bold;
}

.status-good {
    color: #e6ffe6;
    font-weight: 500;
}

.status-warning {
    color: #fff0cc;
    font-weight: 500;
}

/* 战斗仪表盘特殊样式 */
details[open] summary {
    border-bottom: 2px solid #d4af37;
    margin-bottom: 15px;
}

/* 优化羁绊系统颜色 - 移除动画，使用浅色 */
.bond-lv0 { color: #e6e6e6; }
.bond-lv1 { color: #ccffcc; }
.bond-lv2 { color: #cce6ff; }
.bond-lv3 { color: #f0ccff; }
.bond-lv4 { 
    color: #ffffff;
    font-weight: bold;
}

/* 优化叙事区域样式 - 移除动画 */
.narrative-area {
    background: linear-gradient(145deg, 
        rgba(85, 60, 60, 0.95) 0%, 
        rgba(65, 45, 45, 0.98) 50%, 
        rgba(50, 35, 35, 0.95) 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #ffeb99;
    margin: 18px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    line-height: 1.7;
    font-size: 1.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #ffffff;
}

/* 优化引用样式 - 移除动画 */
blockquote {
    border-left: 4px solid #d4af37;
    margin: 18px 0;
    padding: 12px 22px;
    background: linear-gradient(90deg, 
        rgba(157, 122, 95, 0.3) 0%, 
        transparent 20%);
    font-style: italic;
    border-radius: 0 6px 6px 0;
    color: #ffffff;
}

/* 优化代码块样式 - 移除动画 */
code, pre {
    background: linear-gradient(135deg, 
        rgba(50, 35, 35, 0.9) 0%, 
        rgba(38, 27, 27, 0.95) 100%);
    border: 2px solid #9d7a5f;
    border-radius: 4px;
    padding: 3px 6px;
    font-family: 'Courier New', monospace;
    color: #ffffff;
}

pre {
    padding: 15px;
    overflow-x: auto;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
        font-size: 0.95em;
    }
    
    .tooltip .tooltiptext {
        width: 200px;
        margin-left: -100px;
    }
    
    .skill-button .skill-tooltiptext {
        width: 220px !important;
        margin-left: -110px !important;
    }
    
    details {
        padding: 12px;
    }
    
    summary {
        padding: 10px 12px;
    }
    
    .skill-flex {
        gap: 8px !important;
    }
    
    .skill-button {
        min-width: 100px !important;
        padding: 6px 12px !important;
        font-size: 0.9em !important;
    }
}

/* 滚动条样式保持不变，不影响性能 */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, 
        rgba(65, 45, 45, 0.8) 0%, 
        rgba(50, 35, 35, 0.9) 100%);
    border-radius: 4px;
    border: 1px solid #9d7a5f;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #9d7a5f, #d4af37);
    border-radius: 4px;
    border: 1px solid #7d5d4d;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #d4af37, #ffeb99);
}

/* 移除自适应文本颜色类（有动画），使用白色 */
.adaptive-text-light {
    color: #ffffff;
}

.adaptive-text-dark {
    color: #ffffff;
}

/* 保持无文字阴影 */
* {
    text-shadow: none !important;
}

/* 优化加载动画 - 保持不变 */
#ai-chat-answer .chat-answer-container div:has(> .style_dot-flashing__8L91Q) {
    justify-content: flex-start !important;
    width: auto !important;
    height: auto !important;
    background: linear-gradient(135deg, #fef9f4, #fdf6f0) !important;
    border: 1px solid #e8d5c4 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin: 8px 0 !important;
    animation: gentle-page-turn 3s ease-in-out infinite !important;
}

#ai-chat-answer .chat-answer-container div:has(> .style_dot-flashing__8L91Q)::after {
    content: '正在构建世界状态...' !important;
    font-size: 14px !important;
    color: #8d6e63 !important;
    margin-left: 12px !important;
    font-style: italic !important;
    display: inline-block;
    animation: text-generating 3.5s ease-in-out infinite !important;
}

#ai-chat-answer .chat-answer-container .style_dot-flashing__8L91Q {
    background: transparent !important;
    width: 20px !important;
    height: 20px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    border: 2px solid rgba(141, 110, 99, 0.3) !important;
    border-left-color: #8d6e63 !important;
    border-radius: 50% !important;
    animation: ai-answer-spinner-rotation 1s linear infinite !important;
}

@keyframes text-generating {
    0%, 20% {
        content: '正在构建世界状态...' !important;
        opacity: 1;
    }
    25%, 45% {
        content: '正在构建世界状态..' !important;
        opacity: 0.8;
    }
    50%, 70% {
        content: '正在构建世界状态.' !important;
        opacity: 0.6;
    }
    75%, 85% {
        content: '正在构建世界状态' !important;
        opacity: 0.3;
    }
    90%, 95% {
        content: '' !important;
        opacity: 0;
    }
    100% {
        content: '正在构建世界状态...' !important;
        opacity: 1;
    }
}

@keyframes ai-answer-spinner-rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes gentle-page-turn {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(141, 110, 99, 0.1);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(141, 110, 99, 0.15);
    }
}

/* =================================================================
   Shield Hero Theme: Naofumi Iwatani & Shield Hero Party
   盾之勇者成名录主题：岩谷尚文 · 盾之勇者 · 尚文的队伍
   核心配色：盾牌铁黑 + 翠绿魔纹 + 拉芙塔莉雅棕/红 + 菲洛黄
   ================================================================= */

/* --- 1. 顶部栏净化 (清除原版杂色) --- */
.sticky.w-full.top-0 [class*="bg-[#F1CBCB]"],
.sticky.w-full.top-0 [class*="bg-[#c9e1e9]"] {
    display: none !important;
}

/* --- 1. 顶部栏 (盾之勇者/队伍风格) --- */
/* 顶部栏容器 - 模拟尚文的坚韧盾牌与队伍的守护 */
.sticky.w-full.top-0.flex.items-center {
    /* 背景：盾牌的深沉铁黑与少许魔纹绿光 */
    background: linear-gradient(90deg, rgba(30, 30, 30, 0.98), rgba(60, 60, 60, 0.95)) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 2px solid #5cb85c !important; /* 守护之盾的翠绿边框 */
    box-shadow: 0 0 20px rgba(40, 40, 40, 0.6) !important;
}

/* 模型名称 - 模拟【尚文的分析/鉴定】面板 */
#ai-model-selector .truncate.text-\[13px\] {
    color: #e0e0e0 !important; /* 鉴定结果的清晰字体 */
    text-shadow: 0 0 8px rgba(144, 238, 144, 0.7); /* 鉴定魔法的微光 */
    font-weight: bold !important;
    font-family: "Georgia", "Microsoft YaHei", sans-serif !important; /* 异世界文字风格 */
    letter-spacing: 1px !important;
}

#ai-model-selector .truncate.text-\[13px\]::before {
    content: "【鉴定结果: "; /* 尚文的鉴定台词 */
    color: #90ee90 !important; /* 鉴定魔法的翠绿 */
    text-shadow: 0 0 5px rgba(144, 238, 144, 0.6);
}

#ai-model-selector .truncate.text-\[13px\]::after {
    content: "】";
    color: #90ee90 !important;
    opacity: 0.8;
}

/* --- 2. 聊天气泡 (核心需求：盾牌的坚实灰黑) --- */
.bg-gray-100\/90.relative.inline-block {
    /* 背景：尚文盾牌的坚硬质感 - 深灰石板 */
    background: linear-gradient(145deg, #424242 0%, #303030 60%, #212121 100%) !important;
    /* 边框：盾牌的金属边缘 */
    border: 1px solid #757575 !important;
    border-radius: 16px 16px 16px 4px !important; /* 模拟盾牌的轮廓 */
    /* 阴影：坚固与沉稳 */
    box-shadow:
        5px 5px 15px rgba(0, 0, 0, 0.3),
        inset 2px 2px 5px rgba(90, 90, 90, 0.7),
        inset -2px -2px 5px rgba(0, 0, 0, 0.2) !important;
    color: #f5f5f5 !important; /* 清晰的白色文字 */
}

/* 气泡文字 */
.bg-gray-100\/90.relative.inline-block .markdown-body {
    color: #e0e0e0 !important; /* 盾牌上的文字颜色 */
    font-family: "Microsoft YaHei", sans-serif !important;
}

/* 强调文字 (拉芙塔莉雅的魔法/剑气风格) */
.bg-gray-100\/90.relative.inline-block .markdown-body strong {
    /* 拉芙塔莉雅的魔法光辉，或愤怒之盾的诅咒绿 */
    color: #f44336 !important; /* 拉芙塔莉雅的头发和服饰颜色，代表决心 */
    text-shadow: 0px 0px 2px rgba(255, 100, 100, 0.4) !important;
    font-weight: 800 !important;
}

/* 代码块背景适配 (异世界魔法书/地图风格) */
.bg-gray-100\/90.relative.inline-block pre {
    background-color: rgba(255, 250, 240, 0.8) !important; /* 羊皮纸色 */
    border: 1px solid #d7ccc8 !important; /* 羊皮纸边缘 */
    color: #212121 !important;
}

/* --- 3. 按钮组 (菲洛的羽毛/队伍标志风格) --- */
/* 顶部功能按钮 - 模拟菲洛的羽毛与队伍的标志 */
#ai-mod-button2 button.MuiButton-root,
#header-setting-button {
    background: linear-gradient(135deg, #ffeb3b, #fdd835) !important; /* 菲洛的金色羽毛 */
    color: #795548 !important; /* 菲洛的棕色眼睛/尚文的皮甲 */
    border: 1px solid #ffca28 !important;
    border-bottom: 2px solid #ffb300 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(255, 202, 40, 0.3) !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

#ai-mod-button2 button.MuiButton-root:hover,
#header-setting-button:hover {
    background: linear-gradient(135deg, #ffffff, #ffecb3) !important;
    color: #5cb85c !important; /* 悬停时变为守护之盾的翠绿 */
    border-color: #8bc34a !important;
    box-shadow: 0 0 10px rgba(139, 195, 74, 0.4) !important;
}

/* 分页按钮 */
.MuiPaginationItem-root.Mui-selected {
    background-color: #5cb85c !important; /* 守护之盾的翠绿选中态 */
    color: #ffffff !important;
    box-shadow: 0 0 8px rgba(92, 184, 92, 0.8) !important;
}

/* --- 4. 底部输入框 (尚文的药草/炼金术风格) --- */
#ai-chat-input {
    background-color: rgba(245, 245, 245, 0.95) !important; /* 炼金台的石板色 */
    color: #37474f !important; /* 药草研磨后的颜色 */
    border: 1px solid #b0bec5 !important;
    border-left: 4px solid #8bc34a !important; /* 药草的鲜绿色泽 */
    border-radius: 4px !important;
}
#ai-chat-input:focus {
    box-shadow: 0 0 15px rgba(139, 195, 74, 0.3) !important;
    border-color: #5cb85c !important; /* 聚焦时亮起炼金术的光芒 */
    background-color: #fff !important;
}
#ai-chat-input::placeholder {
    color: rgba(84, 110, 122, 0.5) !important;
}

/* --- 6. 评论区 (异世界村落/集市风格) --- */
div[class*="w-full"][class*="bg-white"][class*="bottom-0"] {
    background: linear-gradient(to top, #eceff1, #ffffff) !important; /* 村落的石灰墙和天空 */
    border-top: 2px solid #b0bec5 !important;
}

div[class*="w-full"][class*="bg-white"][class*="bottom-0"] div.cursor-pointer.group.flex.items-center.justify-center {
    background: linear-gradient(135deg, #4caf50, #388e3c) !important; /* 尚文制作的药草/食物的绿色 */
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3) !important;
}

/* --- 7. 系统日志文字注入 (尚文的经验/技能提示) --- */
.system-log-1 .loading-text::before { content: '«警告» 经验值获取中...' !important; }
.system-log-2 .loading-text::before { content: '«鉴定» 目标：用户 技能信息读取中...' !important; }