/* ========== Threadify 暗色主题修复 ========== */

/* 覆盖 Threadify 的浅色背景，改成深色 */
.threaded-post .Post-body {
    background-color: #1e1e2f !important;
    color: #e0e0e0 !important;
}

.threaded-post .Post-body * {
    color: #e0e0e0 !important;
}

/* 悬停时也保持深色 */
.threaded-post:hover .Post-body {
    background-color: #252540 !important;
}

/* @提及用户标签 */
.PostMention,
a.PostMention,
.UserMention {
    background: #2d2d44 !important;
    color: #e6a23c !important;
    padding: 3px 10px !important;
    border-radius: 15px !important;
    text-decoration: none !important;
    border: 1px solid #e6a23c !important;
    display: inline-block !important;
}

.PostMention:hover,
a.PostMention:hover {
    background: #3d3d54 !important;
    color: #f0b860 !important;
}

/* 引用框 */
blockquote,
.Post-body blockquote {
    background: #252540 !important;
    border-left: 4px solid #e6a23c !important;
    color: #c0c0c0 !important;
    padding: 12px 16px !important;
    margin: 10px 0 !important;
    border-radius: 0 8px 8px 0 !important;
}

blockquote *,
.Post-body blockquote * {
    color: #c0c0c0 !important;
}

/* 链接颜色 */
.Post-body a:not(.PostMention):not(.UserMention) {
    color: #5dade2 !important;
}

/* 线程连接线颜色改成更亮的 */
.threaded-post::before {
    background-color: #4a4a6a !important;
}

.threaded-post::after {
    background-color: #4a4a6a !important;
}

/* 隐藏调试边框 */
.thread-depth-1,
.thread-depth-2,
.thread-depth-3,
.thread-depth-4,
.thread-depth-5,
.thread-depth-6,
.thread-depth-7,
.thread-depth-8,
.thread-depth-9,
.thread-depth-10 {
    border-top: none !important;
}
