/* 文章容器样式 */
#cnblogs_post_body {
    max-width: 920px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 15px;
    color: #000 !important;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 50, 0.15);
}

/* 引用块样式 */
#cnblogs_post_body blockquote {
    margin: 1em 0;
    padding: 0.8em 1.2em;
    background: rgba(255,255,255,0.9);
    border-left: 4px solid #409eff;
    border-radius: 4px;
    color: #222;
    font-size: 13px;
    line-height: 1.6;
}

/* 文章标题样式 */
#cb_post_title_url {
    font-size: 30px !important;
    font-weight: bold !important;
    color: #000 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}
#cb_post_title_url:hover {
    color: #00ffff !important;
}

/* 各级标题样式 */
#cnblogs_post_body h1 {
    font-size: 26px;
    color: #000 !important;
    margin: 1.2em 0 0.8em;
}
#cnblogs_post_body h2 {
    font-size: 18px;
    color: #000 !important;
    margin: 1.1em 0 0.5em;
}
#cnblogs_post_body h3,
#cnblogs_post_body h4 {
    font-size: 16px;
    color: #000 !important;
    margin: 1em 0 0.4em;
}

/* 段落样式 */
#cnblogs_post_body p {
    text-indent: 2em;
    margin: 0.7em 0;
    line-height: 1.7;
    color: #000 !important;
}

/* 列表样式 */
#cnblogs_post_body ul,
#cnblogs_post_body ol {
    margin: 0.8em 0 0.8em 2em;
    line-height: 1.7;
    color: #000 !important;
}

/* 代码块样式 */
#cnblogs_post_body pre {
    background: #f2fcfb !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 20px 24px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 1.5em 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    overflow-x: auto;
}
#cnblogs_post_body pre code {
    font-family: Consolas, monospace !important;
    color: #24292f !important;
}

/* 行内代码样式 */
#cnblogs_post_body :not(pre) > code {
    background: #eefbff;
    color: #24292f;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: Consolas, monospace;
}

/* 代码高亮配色 */
#cnblogs_post_body .hljs-keyword {
    color: #7dd3fc !important;
    font-weight: bold !important;
}
#cnblogs_post_body .hljs-string {
    color: #a3e635 !important;
}
#cnblogs_post_body .hljs-comment {
    color: #9ca3af !important;
}
#cnblogs_post_body .hljs-number {
    color: #fcd34d !important;
}
#cnblogs_post_body .hljs-function {
    color: #f472b6 !important;
}
#cnblogs_post_body .hljs-type {
    color: #2dd4bf !important;
}

/* ==============================================
   纯CSS鼠标样式（无JS，仅修改鼠标指针，100%生效）
   ============================================== */
/* 全局鼠标指针样式：自定义指针（替换默认箭头） */
body {
    cursor: url('https://assets.cnblogs.com/images/cursor.cur'), auto !important;
}
/* 链接/可点击元素鼠标样式：手型 */
a, button, .clickable {
    cursor: pointer !important;
}
/* 文本输入区域鼠标样式：文本选择型 */
input, textarea, code, pre {
    cursor: text !important;
}

/* 鼠标点击 彩色点赞/爱心 飞散特效 */
.like-icon {
    position: fixed;
    font-size: 24px;
    pointer-events: none;
    z-index: 9999;
    animation: like-fly 1s ease-out forwards;
    /* 彩色渐变 */
    background: linear-gradient(45deg, #ff5e7d, #ff9ff3, #54a0ff, #48dbfb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}
@keyframes like-fly {
    0%{opacity:1;transform:translateY(0) scale(1);}
    50%{transform:translateY(-30px) scale(1.3);}
    100%{opacity:0;transform:translateY(-60px) scale(0.7);}
}

/* ==============================================
   鼠标移动彩色粒子特效
   ============================================== */
.particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    animation: particle-fade 1.5s ease-out forwards;
}
@keyframes particle-fade {
    0% {opacity:1; transform:scale(1) translate(0,0);}
    100% {opacity:0; transform:scale(0.5) translate(var(--tx), var(--ty));}
}