/* =========================================
   【渊欲之味】专属 UI 美化包 v1.0
   ========================================= */

/* 1. 隐藏思维链 (核心机制，保持正文清爽) */
think {
    display: none !important;
}

/* 2. 状态栏 (Details) 全局容器美化 */
details {
    background: linear-gradient(145deg, rgba(26, 15, 15, 0.85), rgba(42, 21, 21, 0.85));
    border: 1px solid #4a1c1c;
    border-radius: 12px;
    padding: 12px 15px;
    margin: 15px 0;
    color: #e0e0e0;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px); /* 毛玻璃效果 */
}

details:hover {
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    border-color: #802020;
    transform: translateY(-1px);
}

/* 3. 状态栏标题 (Summary) 美化 */
summary {
    font-weight: bold;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 1.1em;
    border-bottom: 2px solid transparent;
    padding-bottom: 8px;
    margin-bottom: 8px;
    list-style: none; /* 隐藏默认的恶心小三角 */
    display: flex;
    align-items: center;
    transition: color 0.3s, text-shadow 0.3s;
}

/* 兼容Safari隐藏小三角 */
summary::-webkit-details-marker {
    display: none;
}

/* 给标题加个契合主题的“滴血/爱心”小图标 */
summary::before {
    content: '🩸'; 
    margin-right: 8px;
    font-size: 1.1em;
    filter: drop-shadow(0 0 2px #ff0000);
}

/* 展开状态下的标题样式 */
details[open] summary {
    border-bottom: 2px dashed #ff3333;
    color: #ff8080;
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.5);
}

/* 4. 状态栏内部条目 (P标签) 美化 */
details p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 0.95em;
    color: #dcdcdc;
    border-left: 3px solid #ff4d4d;
    padding-left: 12px;
    background: linear-gradient(90deg, rgba(255, 77, 77, 0.1) 0%, rgba(255, 77, 77, 0) 100%);
    border-radius: 0 4px 4px 0;
}

/* 5. 针对“行动建议”的特殊高亮 (让选项更诱人) */
details:last-of-type {
    background: linear-gradient(145deg, rgba(30, 25, 10, 0.85), rgba(40, 35, 15, 0.85));
    border-color: #b38f00;
}

details:last-of-type summary {
    color: #ffcc00;
}

details:last-of-type summary::before {
    content: '✨'; /* 选项用闪光图标 */
}

details:last-of-type[open] summary {
    border-bottom: 2px dashed #ffcc00;
}

details:last-of-type p {
    border-left: 3px solid #ffcc00;
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.1) 0%, rgba(255, 204, 0, 0) 100%);
}

/* 6. 聊天气泡内正文排版优化 (可选功能，让文字更易读) */
text {
    display: block;
    line-height: 1.8;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    color: #f2f2f2;
    margin: 10px 0;
}