#blogTitle h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d6edb3;
}

#blogTitle h1 a {
    color: inherit;
    background-clip: text;
}

#blogTitle h2 {
    font-size: 1.5rem;
    color: #f6f8fa;
    font-weight: 600;
    padding-bottom: 2rem;
    margin-top: 1rem;
}

#blogLogo {
    float: right;
    width:100px;
    height:100px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#navigator {
    font-size: 1rem;
    border: none;
    height: 5rem;
    margin: 0.2rem 0;
    padding: 0.5rem;
    background: linear-gradient(135deg, #141414, #34353c);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

#navList {
    min-height: auto;
    display: flex;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

#navList li {
    margin: 0;
    list-style: none;
    position: relative;
}

#navList a {
    display: block;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

#navList a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    z-index: -1;
}

#navList a:hover {
    color: #4498db;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#navList a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.postTitle {
    border-left: 4px solid #34353c;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    float: none;
}

.postCon {
    color: #34353c;
    margin-bottom: 0.2rem;
    float: none;
    font-size: 0.9rem;
}

.postDesc {
    background: none;
    color: #34353c;
    font-size: 0.8rem;
    line-height: 2.2rem;
    padding: 0.5rem 0;
    border-top: 1px solid #ecf0f1;
    margin-top: 0.5rem;
}

/**************************************************
博客园PostList优化样式 - 现代扁平化设计
**************************************************/

/* 文章列表容器 */
.entrylist, .PostList {
    margin: 2rem 0;
}

/* 列表标题 */
.entrylistTitle, .PostListTitle, .thumbTitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.entrylistTitle:after, .PostListTitle:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #e74c3c;
}

/* 列表描述 */
.entrylistDescription {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 4px 4px 0;
}

/* 文章列表项 */
.entrylistItem, .PostList {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.entrylistItem:before, .PostList:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3498db;
    transition: width 0.3s ease;
}

.entrylistItem:hover, .PostList:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.entrylistItem:hover:before, .PostList:hover:before {
    width: 6px;
    background: #2980b9;
}

/* 文章标题 */
.entrylistPosttitle, .postTitl2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.entrylistPosttitle a, .postTitl2 a {
    color: #2c3e50;
    transition: all 0.2s ease;
    display: block;
    padding: 0.2rem 0;
}

.entrylistPosttitle a:hover, .postTitl2 a:hover {
    color: #3498db;
    text-decoration: none;
    transform: translateX(5px);
}

/* 文章摘要 */
.entrylistPostSummary, .postText2 {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章元数据 */
.entrylistItemPostDesc, .postDesc2 {
    color: #95a5a6;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f2f6;
}

.entrylistItemPostDesc a, .postDesc2 a {
    color: #7f8c8d;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.entrylistItemPostDesc a:hover, .postDesc2 a:hover {
    color: #3498db;
}

.entrylistItemPostDesc a:before, .postDesc2 a:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #bdc3c7;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.entrylistItemPostDesc a:first-child:before, .postDesc2 a:first-child:before {
    display: none;
}

/* 分隔线 */
.entrylist .postSeparator {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e6ed, transparent);
    margin: 2rem 0;
    border: none;
}

/* 分页器 */
.pager {
    margin: 2rem 0;
    text-align: center;
}

.pager a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin: 0 0.3rem;
    background: #3498db;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pager a:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* 分类标签样式 */
.entrylistItem .entry-category {
    display: inline-block;
    background: #ecf0f1;
    color: #7f8c8d;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    transition: all 0.2s ease;
}

.entrylistItem:hover .entry-category {
    background: #3498db;
    color: white;
}

/* 阅读量指示器 */
.entrylistItem .read-count {
    display: inline-flex;
    align-items: center;
    color: #95a5a6;
    font-size: 0.8rem;
}

.entrylistItem .read-count:before {
    content: '👁️';
    margin-right: 0.3rem;
}

/* 特色文章样式 */
.entrylistItem.featured {
    border-left: 4px solid #e74c3c;
    background: linear-gradient(135deg, #fff 0%, #fef9f9 100%);
}

.entrylistItem.featured:before {
    background: #e74c3c;
}

.entrylistItem.featured .featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* 图片文章样式 */
.entrylistItem.with-image {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.entrylistItem.with-image .entrylistPosttitle {
    margin-top: 0;
}

.entrylistItem .entry-image {
    flex: 0 0 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entrylistItem .entry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entrylistItem .entry-image .image-placeholder {
    color: #bdc3c7;
    font-size: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .entrylistItem, .PostList {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .entrylistTitle, .PostListTitle {
        font-size: 1.5rem;
    }
    
    .entrylistPosttitle, .postTitl2 {
        font-size: 1.2rem;
    }
    
    .entrylistItemPostDesc, .postDesc2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .entrylistItemPostDesc a:before, .postDesc2 a:before {
        display: none;
    }
    
    .entrylistItem.with-image {
        flex-direction: column;
    }
    
    .entrylistItem .entry-image {
        flex: 0 0 auto;
        width: 100%;
        height: 150px;
    }
}

/* 暗色主题支持 */
@media (prefers-color-scheme: dark) {
    .entrylistItem, .PostList {
        background: #2c3e50;
        border-color: #34495e;
        color: #ecf0f1;
    }
    
    .entrylistTitle, .PostListTitle {
        color: #ecf0f1;
        border-bottom-color: #3498db;
    }
    
    .entrylistDescription {
        background: #34495e;
        color: #bdc3c7;
    }
    
    .entrylistPosttitle a, .postTitl2 a {
        color: #ecf0f1;
    }
    
    .entrylistPostSummary, .postText2 {
        color: #bdc3c7;
    }
    
    .entrylistItemPostDesc, .postDesc2 {
        color: #95a5a6;
        border-top-color: #34495e;
    }
    
    .entrylistItem.featured {
        background: linear-gradient(135deg, #2c3e50 0%, #3a2c3e 100%);
    }
    
    .entrylistItem .entry-category {
        background: #34495e;
        color: #bdc3c7;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.entrylistItem, .PostList {
    animation: fadeInUp 0.5s ease-out;
}

.entrylistItem:nth-child(odd) {
    animation-delay: 0.05s;
}

.entrylistItem:nth-child(even) {
    animation-delay: 0.1s;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin: 2rem 0;
}

.load-more button {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.load-more button.loading {
    background: #95a5a6;
    pointer-events: none;
}

.load-more button.loading:after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

#topics .postTitle
{
    border-left: 4px solid #34353c;
    padding-left: 1.5rem;
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    float: none;
}

#sideBar {
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e6ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 0.9rem;
}

#leftcontentcontainer
{
    padding-top: 1.5rem;
}

#blog-calendar, #calendar {
    width: 100%;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.CalTitle {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    font-weight: 600;
}

.CalTodayDay {
    background: #e74c3c !important;
    color: white;
    font-weight: bold;
}

.CalDayHeader {
    background: #f8f9fa;
    font-weight: 600;
}

#profile_block
{
    font-size: 1.0rem;
    padding: 0.5rem;
}

.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory, .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView, .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory {
    background: #f8f9fa;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    font-size: 0.7rem;
}

.catListTitle {
    font-size: 1.0rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.catListLink li,
.catListTag li,
.RecentCommentBlock li,
#sidebar_postarchive li,
#TopViewPostsBlock li,
#TopFeedbackPostsBlock li,
#sidebar_postcategory li,
#TopDiggPostsBlock li
{
    font-size: 0.9rem;
    line-height: 1.8rem;
}

.recent_comment_author,
#TopViewPostsBlock li,
#TopFeedbackPostsBlock li,
#TopDiggPostsBlock li
{
    border-bottom: 1px solid #d0d7de;
}

#cnblogs_post_body {
    font: 1em/1.7 "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; /* 更好的字体栈和行高 */
    font-size: 16px;     /* 稍大的基础字号提高可读性 */
    max-width: 100%;
}

#cnblogs_post_body h1 {
    color: #2c3e50;      /* 改为文字色而非背景色 */
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 2em;      /* 使用相对单位 */
    font-weight: 700;
    line-height: 1.3;
    margin: 2em 0 1em;   /* 使用em单位保持比例 */
    padding: 0 0 0.5em;
    border-bottom: 3px solid #3498db; /* 底部边框替代背景块 */
    text-shadow: none;   /* 移除文字阴影 */
    background: none;    /* 移除背景 */
    border-radius: 0;    /* 移除圆角 */
    box-shadow: none;    /* 移除阴影 */
    height: auto;        /* 自动高度 */
}

#cnblogs_post_body h2 {
    color: #34495e;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.6em;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.8em 0 0.8em;
    padding: 0 0 0.5em;
    border-bottom: 2px solid #e74c3c;
    text-shadow: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
    height: auto;
}

#cnblogs_post_body h3 {
    color: #16a085;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.5em 0 0.5em;
    padding: 0.5em 0 0.5em 1em;
    border-left: 4px solid #16a085; /* 左侧装饰线 */
    text-shadow: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
    height: auto;
}

#cnblogs_post_body h4 {
    color: #8e44ad;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.2em 0 0.3em;
    padding: 0.3em 0;
    text-shadow: none;
    background: none;
    border-radius: 0;
    box-shadow: none;
    height: auto;
}
/* GitHub暗色系主题优化版 - 代码块样式 */
#cnblogs_post_body pre {
    background: #0d1117; /* GitHub暗色背景 */
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1.25em;
    margin: 1.5em 0;
    overflow-x: auto;
    font-family: "SF Mono", "Cascadia Code", "Consolas", "Liberation Mono", "Menlo", monospace;
    font-size: 0.875em;
    line-height: 1.45;
    position: relative;
    color: #e6edf3; /* 主文字颜色 */
}

#cnblogs_post_body pre:hover {
    border-color: #484f58;
    box-shadow: 0 0 0 1px #484f58;
}

/* 行内代码样式 - 优化背景色 */
#cnblogs_post_body code {
    background: rgba(110, 118, 129, 0.2); /* 降低背景不透明度 */
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: "SF Mono", "Cascadia Code", "Consolas", "Liberation Mono", "Menlo", monospace;
    font-size: 0.85em;
    color: #e6edf3;
    border: 1px solid rgba(110, 118, 129, 0.3);
}

/* 代码块内的代码样式 - 确保无背景 */
#cnblogs_post_body pre code {
    background: none !important;
    padding: 0 !important;
    border: none !important;
    color: inherit;
    font-size: 1em;
}

/* GitHub暗色系语法高亮颜色优化 */
#cnblogs_post_body .hljs-string,
#cnblogs_post_body .hljs-template-string,
#cnblogs_post_body .hljs-meta-string {
    color: #a5d6ff; /* 蓝色 - 字符串 */
    background: none !important; /* 确保字符串无背景色 */
}

#cnblogs_post_body .hljs-keyword,
#cnblogs_post_body .hljs-built_in {
    color: #ff7b72; /* 红色 - 关键字 */
    background: none;
}

#cnblogs_post_body .hljs-comment {
    color: #8b949e; /* 灰色 - 注释 */
    font-style: italic;
    background: none;
}

#cnblogs_post_body .hljs-function,
#cnblogs_post_body .hljs-title {
    color: #d2a8ff; /* 紫色 - 函数名 */
    background: none;
}

#cnblogs_post_body .hljs-number,
#cnblogs_post_body .hljs-literal {
    color: #79c0ff; /* 亮蓝色 - 数字 */
    background: none;
}

#cnblogs_post_body .hljs-variable,
#cnblogs_post_body .hljs-params {
    color: #ffa657; /* 橙色 - 变量和参数 */
    background: none;
}

#cnblogs_post_body .hljs-class,
#cnblogs_post_body .hljs-type {
    color: #ffa657; /* 橙色 - 类名 */
    background: none;
}

#cnblogs_post_body .hljs-attr,
#cnblogs_post_body .hljs-attribute {
    color: #7ee787; /* 绿色 - 属性 */
    background: none;
}

#cnblogs_post_body .hljs-tag {
    color: #7ee787; /* 绿色 - HTML标签 */
    background: none;
}

#cnblogs_post_body .hljs-selector-tag {
    color: #ff7b72; /* 红色 - 选择器标签 */
    background: none;
}

#cnblogs_post_body .hljs-selector-class {
    color: #ffa657; /* 橙色 - 类选择器 */
    background: none;
}

#cnblogs_post_body .hljs-selector-id {
    color: #d2a8ff; /* 紫色 - ID选择器 */
    background: none;
}

#cnblogs_post_body .hljs-meta {
    color: #8b949e; /* 灰色 - 元数据 */
    background: none;
}

#cnblogs_post_body .hljs-section {
    color: #1f6feb; /* 蓝色 - 章节标题 */
    background: none;
}

/* 特殊语法元素优化 */
#cnblogs_post_body .hljs-regexp,
#cnblogs_post_body .hljs-link {
    color: #a5d6ff; /* 字符串相同的蓝色 */
    background: none;
}

#cnblogs_post_body .hljs-built_in,
#cnblogs_post_body .hljs-name {
    color: #ffa657; /* 橙色 */
    background: none;
}

/* 代码语言标识 */
#cnblogs_post_body pre::before {
    content: attr(data-lang);
    position: absolute;
    top: 0;
    right: 0;
    background: #30363d;
    color: #8b949e;
    font-size: 0.75em;
    padding: 0.4em 0.8em;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 代码行号样式 */
#cnblogs_post_body .hljs-ln-numbers {
    color: #484f58;
    padding-right: 1em;
    text-align: right;
    user-select: none;
    border-right: 1px solid #30363d;
    margin-right: 1em;
    background: none !important;
}

/* 代码块滚动条样式 */
#cnblogs_post_body pre::-webkit-scrollbar {
    height: 8px;
}

#cnblogs_post_body pre::-webkit-scrollbar-track {
    background: #161b22;
    border-radius: 0 0 6px 6px;
}

#cnblogs_post_body pre::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

#cnblogs_post_body pre::-webkit-scrollbar-thumb:hover {
    background: #484f58;
}

/* 代码复制按钮样式 */
#cnblogs_post_body .code-copy-btn {
    position: absolute;
    top: 0.5em;
    right: 4em;
    background: #30363d;
    border: 1px solid #484f58;
    border-radius: 4px;
    padding: 0.3em 0.6em;
    font-size: 0.75em;
    color: #8b949e;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    font-family: system-ui, -apple-system, sans-serif;
}

#cnblogs_post_body pre:hover .code-copy-btn {
    opacity: 1;
}

#cnblogs_post_body .code-copy-btn:hover {
    background: #484f58;
    color: #e6edf3;
    border-color: #6e7681;
}

/* 选中文本样式 */
#cnblogs_post_body pre ::selection {
    background: rgba(56, 139, 253, 0.4);
}

#cnblogs_post_body code ::selection {
    background: rgba(56, 139, 253, 0.4);
}

/* 响应式优化 */
@media (max-width: 768px) {
    #cnblogs_post_body pre {
        margin: 1em -1em;
        border-radius: 0;
        border-left: none;
        border-right: none;
        font-size: 0.8em;
    }
    
    #cnblogs_post_body code {
        word-break: break-word;
        font-size: 0.8em;
    }
    
    #cnblogs_post_body pre::before {
        font-size: 0.7em;
        padding: 0.3em 0.6em;
    }
}

/* 打印样式优化 */
@media print {
    #cnblogs_post_body pre {
        background: #f6f8fa;
        border: 1px solid #d0d7de;
        color: #24292f;
    }
    
    #cnblogs_post_body code {
        background: #f6f8fa;
        border: 1px solid #d0d7de;
        color: #24292f;
    }
}

/* 修复可能的问题类 */
#cnblogs_post_body .hljs-subst,
#cnblogs_post_body .hljs-formula {
    color: #e6edf3;
    background: none;
}

/**************************************************
评论区域优化
**************************************************/
.feedback_area_title {
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin: 2rem 0 1.5rem;
}

.feedbackItem {
    background: #f8f9fa;
    padding: 1.5rem;
    font-size: 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

/* 搜索框容器 - 扁平风格 */
.div_my_zzk {
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    position: relative;
    margin: 1.5rem 0 2rem 0;
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 8px;
    border: 2px solid #e0e6ed;
}

/* 搜索框标题 - 扁平风格 */
.div_my_zzk h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e6ed;
    text-align: left;
}

/* 搜索输入框 - 扁平风格 */
.input_my_zzk {
    border: 2px solid #e0e6ed;
    height: 44px;
    padding: 0 0 0 1rem;
    outline: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.2s ease;
    color: #2c3e50;
}


.input_my_zzk:hover {
    border-color: #3498db;
}

.input_my_zzk:focus {
    border-color: #2980b9;
    background-color: #f8f9fa;
}

/* 搜索按钮 - 扁平风格 */
.btn_my_zzk {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 36px;
    background: #3498db;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn_my_zzk:hover {
    background: #2980b9;
}

.btn_my_zzk:active {
    background: #21618c;
}

.div_my_zzk label {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/**************************************************
响应式设计
**************************************************/
@media (max-width: 768px) {
    #home {
        width: 95%;
        margin: 1rem auto;
        padding: 1rem;
    }
    
    #blogTitle h1 {
        font-size: 2rem;
    }
    
    #navigator {
        padding: 0.5rem;
    }
    
    #navList {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dayTitle {
        position: relative;
        left: 0;
        margin-bottom: 1rem;
    }
    
    #sideBar {
        margin-top: 2rem;
    }
    
    #mainContent, #topics {
        padding: 1rem;
    }
}

/* 确保所有语法元素都没有背景色 */
#cnblogs_post_body .hljs * {
    background: none !important;
}


/**************************************************
滚动条优化
**************************************************/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/**************************************************
页脚优化
**************************************************/
#footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    color: #7f8c8d;
    border-top: 1px solid #ecf0f1;
    font-size: 1.1rem;
}

#post_next_prev,#author_profile
{
    font-size: 1.0rem;
    padding: 0.4rem;
}
.author_profile_info
{
    line-height: 1.5rem;
    padding: 0.4rem;
}