#home{
    width:100%;
    max-width: 1500px;
    //background-color:rgba(255,255,255,0.9);
    //box-shadow:0 0 20px 10px rgba(220,220,220,0.3); 

}

#header{
    padding-bottom: 5px;
    margin-top:10px;
}

#blogTitle{
    padding-top:150px;
    padding-left: 130px;
    height:200px;
    clear:both;
    margin-bottom: 20px;
}
#blogTitle h1{
    font-size: 50px;
    font-weight: 800;
}
#blogTitle h1 a{
    color:black;
    text-decoration: none;
}
#blogTitle h1 a:hover{
    color:rgba(72,126,189);
}
#blogTitle h2{
    font-size:15px;
    font-weight:400;
    float:left;
}
#blogTitle h1,h2{
    line-height: 0.1;
}

#navigation{
    font-size:13px;

}
#navList{
    margin-left: 150px;
    min-height: 30px;
}
#navList li{
    float: left;
    margin: 0 40px 0 0;
}
#navList a{
    color:rgba(0,0,0,0.5);
    text-decoration: none;
    display: block;
    width: :5em;
    height:22px;
    float:left;
    padding-top:19px;
}
#navList a:active,#navList a:link,#navList a:visited{
    font-weight:700
}
#navList a:hover{
    color:rgba(72,126,189);
}
#navList ul, 
#navList li,
#sideBar li, 
ul.nav li {
    list-style: none !important; /* 核心代码：去掉列表样式 */
    list-style-type: none !important; /* 双重保险 */
}

.blogStats{
    color:rgba(0,0,0,0.5);
    float:right;
    margin-top:13px;
    margin-right:40px;
    //text-align:right
}

body {
    width:75%;
    font-family: JetBrains Mono, Consolas, 'Courier New', Source Han Sans CN, Footlight MT Light, monospace;
    font-size: 16px !important;
    background:
        linear-gradient(rgba(255,255,255,0.5),rgba(255,255,255,0.1)),
        linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)),
       url(https://images.cnblogs.com/cnblogs_com/blogs/819583/galleries/2494643/o_260211100551_1%E8%A3%81%E5%89%AA%E5%90%8E.png) no-repeat center center fixed;
    -webkit-text-size-adjust: none
}

#main{
    margin-left: 170px;
    margin-top: 30px;
    width: 100%;
    text-align: left;
    display: flex;
}
#mainContent {
    width: 100%;             /* 比如给它 73% 的宽度 */
    float: left;            /* 关键！让它靠左浮动 */
    margin-right: 2%;       /* 给右边留出 2% 的缝隙 */
    background-color: rgba(255,255,255,0.9); /* 白底 */
    border-radius: 15px;    /* 圆角 */
    padding: 20px;          /* 内边距 */
    box-sizing: border-box; /* 确保 padding 不会撑大宽度 */
}

.post{
    //background-color: rgba(255,255,255,0.9);
    //border:none;
    //border-radius:15px;
    padding:25px;
}

#sideBar {
    width: 25%;
    //float: right;
    background-color: rgba(255,255,255,0.9); 
    border-radius: 15px;
    box-sizing: border-box;
    display: block !important; /* 强制显示 */
    margin-top: 0;
    padding: 20px;
}
#sideBar a{
    color: rgba(72,126,189);
    text-decoration: none;
    
}

/* ==============================================================
   GitHub Style Sidebar (侧边栏样式)
   ============================================================== */

/* 1. 侧边栏容器调整 */
#blog-news {
    margin-bottom: 20px !important;
    overflow: visible !important; /* 允许头像阴影显示 */
}

/* 2. 个人卡片主结构 */
.gh-sidebar-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* 左对齐 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
}

/* 3. 超大头像 (左上角) */
.gh-sidebar-avatar img {
    width: 260px !important;       /* GitHub 桌面端标准宽度，可根据侧边栏实际宽度调整 */
    max-width: 100% !important;    /* 防止撑破 */
    height: auto !important;
    border-radius: 50% !important; /* 圆形 */
    border: 1px solid #d0d7de !important;
    box-shadow: 0 1px 3px rgba(27,31,35,0.12) !important;
    margin-bottom: 16px !important;
    z-index: 1 !important;
}

/* 4. 名字和简介 */
.gh-sidebar-names {
    margin-bottom: 16px !important;
}

.gh-sidebar-name {
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #24292f !important;
    margin: 0 !important;
}

.gh-sidebar-bio {
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #57606a !important;
    margin-top: 4px !important;
}

/* 5. 按钮区域 (Follow) */
.gh-sidebar-actions {
    width: 100% !important;
    margin-bottom: 16px !important;
}

.gh-sidebar-actions button {
    width: 100% !important;
    display: block !important;
    padding: 5px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    border: 1px solid rgba(27,31,35,0.15) !important;
    border-radius: 6px !important;
    color: #24292f !important;
    background-color: #f6f8fa !important;
    cursor: pointer !important;
    transition: 0.2s !important;
}

.gh-sidebar-actions button:hover {
    background-color: #f3f4f6 !important;
    border-color: rgba(27,31,35,0.15) !important;
}

/* 6. 统计数据 (图标 + 数字) */
.gh-sidebar-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    color: #57606a !important;
    font-size: 14px !important;
}

.gh-stat-item {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.gh-stat-item svg {
    fill: #57606a !important;
}

.gh-stat-item span {
    font-weight: 600 !important;
    color: #24292f !important;
}

/* 7. 底部详情 (位置、链接) */
.gh-sidebar-details {
    border-top: 1px solid #d0d7de !important;
    padding-top: 16px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 14px !important;
    color: #24292f !important;
}

.gh-sidebar-details a {
    color: #24292f !important;
    text-decoration: none !important;
}
.gh-sidebar-details a:hover {
    text-decoration: underline !important;
    color: #0969da !important;
}

/* --- 隐藏原本的博客园自带公告/个人信息 (视情况而定) --- */
#profile_block { display: none !important; }

#sideBar,
#sidebar,
.blog-sidebar,
.sidebar {
    text-align: left !important;
    direction: ltr !important;
}

/* 2. 重置所有链接和列表 */
#sideBar a,
#sideBar li,
#sideBar span,
#sideBar div {
    text-align: left !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    display: block !important;
    float: none !important;
}

/* 3. 特别处理列表 */
#sideBar ul,
#sideBar ol {
    padding-left: 20px !important;  /* 正常的列表缩进 */
    margin-left: 0 !important;
}

#sideBar li {
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style-position: outside !important;
}

/* 4. 链接样式统一 */
#sideBar a {
    display: inline-block !important;
    text-align: left !important;
    margin: 3px 0 !important;
    padding: 5px 10px !important;
    width: auto !important;
    max-width: 100% !important;
    text-decoration: none !important;
    color: rgba(72,126,189) !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

#sideBar a:hover {
    background-color: rgba(72,126,189,0.1) !important;
    padding-left: 15px !important;
    color: rgba(56,103,161) !important;
}

/* 5. 小标题也居左 */
#sideBar h3,
#sideBar h4,
#sideBar .catListTitle,
#sideBar .sidebar-title {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: 3px solid rgba(72,126,189) !important;
    padding-left: 10px !important;
}

.day,.entrylistItem:not(:last-of-type){
    min-height:10px;
    border-bottom:rgba(72,126,189,0.3) 4px solid;
}
.day:after,.entrylistItem:not(:last-of-type)::after{
    content: "";
    width: 7px;
    height: 7px;
    bottom: -5px;
    left:50%
}
.day{
    margin: 2rem auto;
    padding-bottom: 2rem;
    word-wrap:break-word
}
.btn_my_zzk,.c_b_p_desc_img,.day:after,.dayTitle{
    position: absolute;
}
.c_b_p_desc_readmore{
    display: block;
    background:0 0;
    border: 0;
    //border-bottom: 2px solid black;
    font-size:16px;
    padding: 0;
    transition-property: border;
    font-weight: 600;
    width: auto;
    text-align: right;
    color: #555;
    margin-top: 20px;
    text-decoration: none;
}
.c_b_p_desc_readmore:hover{
    background-color: rgba(72,126,189,0.5);
    color: white;
    border-color: rgba(72,126,189,0.5);
    //transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72,126,189,0.2);    
}
.day:after{
    display: block;
    border: 1px solid #e9e9e9;
    margin-left:-5px;
    background:#fff;
    border-radius: 100%;
}
/* 修正后的日期圆形标签 */
.dayTitle {
    display: block;
    position: relative;
    float: left;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(72,126,189,0.5);
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    margin: 10px 20px 20px -90px; /* 左负边距，突出到左侧 */
    text-align: center;
    line-height: 70px; /* 垂直居中 */
    font-size: 12px;
    color: rgba(72,126,189);
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.dayTitle a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.postCon,.postDesc,.postSeparator,.postTitle{
    width:100%;
    clear: both;
}
.postTitle{
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    clear:both;
}
.postTitle a{
    text-decoration: none;
    color:rgba(72,126,189);
}
.postTitle a:active,.postTitle a:visited{
    color:rgba(72,126,189);
    transition: color .3s ease;
}
.postTitle a:hover{
    color:rgba(72,126,189,0.5);
}
.entrylistPostSummary,.postCon{
    font-feature-settings: 'liga' 1,'onum' 1,'kern' 1;
    line-height: 1.7em;
    word-wrap: break-word;
    padding: 10px 0 10px;
    color: rgba(0,0,0,0.5);
    font-family:JetBrains Mono, Consolas, 'Courier New', Source Han Sans CN, Footlight MT Light, monospace;
    margin: 0;
    text-align: justify;
    font-size: 13px;
    display: block;
    position: relative;
    -webkit-margin-before:0;
    -webkit-margin-after:0;
    -webkit-margin-start:0;
    -webkit-margin-end:0;
    text-indent: 2em;
}
.postMeta{
    font-size: 14px;
    color: black;
    top: 10px;
    display: inline-block;
}
.postDesc,p.article-info-text>.postMeta br{
    display: none;
}
.postMeta>i{
    font-size: 15px;
    margin: 0 5px;
}
.postMeta>i:not(:first-child){
    margin-left:10px;
}
.postDesc{
    float: left;
    text-align: left;
    padding-right: 5px;
    margin: 0;
    font-family: JetBrains Mono, Consolas, 'Courier New', Source Han Sans CN, Footlight MT Light, monospace;
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: black;
}
#blog-calendar td,#sb_widget_my_zzk,.CalTitle{
    text-align: center;
}
p.article-info-text>.postMeta i{
    font-size: 16px;
}
/*.postSticky {
    display: inline-block;
    position: relative;
    top: -3px;
    font-size: 11px;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 6px rgba(255,107,107,0.25);
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
    vertical-align: middle;
    border: 2px solid white;
}*/

.postSeparator{
    height: 1px;
    float: right;
    margin: 0 auto 15px;
}

/* 确保右侧文字正常 */
.c_b_p_desc_text {
    overflow: hidden;  /* 创建BFC，避免文字环绕问题 */
}

.dayTitle:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(72,126,189,0.2);
}

/* ==============================================================
   GitHub Style Comments for CNBlogs
   Powered by: CSS Grid & Visual Tricks
   ============================================================== */

/* 1. 评论容器布局：使用 Grid 实现左头像、右卡片的结构 */
.feedbackItem {
    display: grid !important;
    grid-template-columns: 50px 1fr !important; /* 左侧头像50px，右侧自适应 */
    grid-template-rows: auto auto !important;   /* 两行：标题栏 + 内容栏 */
    gap: 0 15px !important;                     /* 头像和卡片的间距 */
    margin-bottom: 20px !important;
    padding: 0 !important;
    border: none !important;
}

/* 2. 头像样式 (位于左侧) */
.feedbackAvatar {
    grid-row: 1 / 3 !important; /* 让头像跨越两行 */
    width: 50px !important;
    height: 50px !important;
}

.feedbackAvatar img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important; /* GitHub是圆形的，想要圆角矩形改 6px */
    box-shadow: 0 0 0 1px rgba(27,31,35,0.04) !important;
    transition: all 0.2s;
}

.feedbackAvatar img:hover {
    transform: scale(1.05);
}

/* 3. 卡片头部 (用户信息栏) - 模拟 GitHub 灰色标题 */
.feedbackListSubtitle {
    grid-column: 2 / 3 !important; /* 放在右侧列 */
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    
    /* 核心样式：上半部分卡片 */
    background-color: #f6f8fa !important;  /* GitHub 标题灰 */
    border: 1px solid #d0d7de !important;  /* 边框颜色 */
    border-bottom: none !important;        /* 去掉底边框，与内容融合 */
    border-radius: 6px 6px 0 0 !important; /* 只有上边有圆角 */
    
    padding: 8px 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
    color: #57606a !important;
    position: relative !important;
}

/* 4. 卡片内容 (正文) - 模拟 GitHub 白色内容区 */
.feedbackCon {
    grid-column: 2 / 3 !important; /* 放在右侧列 */
    
    /* 核心样式：下半部分卡片 */
    background-color: #ffffff !important;
    border: 1px solid #d0d7de !important;
    border-top: 1px solid rgba(208, 215, 222, 0.5) !important; /* 加一条淡淡的分界线 */
    border-radius: 0 0 6px 6px !important; /* 只有下边有圆角 */
    
    padding: 16px !important;
    margin: 0 !important;
    
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #24292e !important;
    min-height: 40px !important;
}

/* ==============================================================
   修复：气泡小三角 (完美对齐版)
   ============================================================== */

/* 必须确保容器不裁剪溢出内容，否则三角会看不见 */
.feedbackListSubtitle {
    overflow: visible !important; 
}

/* 1. 重置三角通用样式 */
.feedbackListSubtitle::before, .feedbackListSubtitle::after {
    display: block !important;
    content: " " !important;
    position: absolute !important;
    /* 核心修复：根据边框宽度计算负值的 left */
    right: auto !important; 
    border-style: solid !important;
    pointer-events: none !important;
}

/* 2. 外层三角 (形成边框线) - 位于最底层 */
.feedbackListSubtitle::before {
    /* 颜色：透明 - 灰色 - 透明 - 透明 -> 形成向左的灰色三角 */
    border-color: transparent #d0d7de transparent transparent !important;
    border-width: 8px !important;
    
    /* 垂直定位 */
    top: 11px !important;
    
    /* 水平定位修复：
       8px (边框) * 2 = 16px。
       设置 -16px 才能让整个三角刚好位于左边缘的外侧。
    */
    left: -16px !important; 
}

/* 3. 内层三角 (形成背景色) - 覆盖在边框三角上 */
.feedbackListSubtitle::after {
    /* 颜色：透明 - 背景灰 - 透明 - 透明 */
    border-color: transparent #f6f8fa transparent transparent !important;
    border-width: 7px !important; /* 稍微小一点，露出1px边框 */
    
    /* 垂直定位：为了居中，需要微调 (11px + (8-7)px) */
    top: 12px !important;
    
    /* 水平定位修复：7px * 2 = 14px */
    left: -14px !important; 
}

/* --------------------------------------------------------------
   特殊处理：楼主(博主)评论的小三角
   楼主卡片背景是蓝色的，所以三角也要跟着变蓝
   -------------------------------------------------------------- */

/* 楼主外层三角：边框颜色变淡蓝 */
.feedbackListSubtitle-louzhu::before {
    border-right-color: #c0d3eb !important; /* 对应楼主卡片边框色 */
}

/* 楼主内层三角：背景颜色变淡蓝 */
.feedbackListSubtitle-louzhu::after {
    border-right-color: #f1f8ff !important; /* 对应楼主卡片背景色 */
}

/* ==============================================================
   细节微调 & 文字样式
   ============================================================== */

/* 链接样式 */
.feedbackListSubtitle a {
    color: #57606a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    margin-right: 4px !important;
}

.feedbackListSubtitle a:hover {
    color: #0969da !important; /* GitHub 蓝 */
    text-decoration: underline !important;
}

/* 楼层号 & 时间的样式 (假设它们是 span) */
.feedbackListSubtitle span, .feedbackListSubtitle .layer {
    margin-right: 8px !important;
    color: #57606a !important;
    font-weight: normal !important;
}

/* 楼主 (博主) 的特殊样式 - 模拟 GitHub "Owner" 徽章 */
.louzhu {
    color: #57606a !important;
    border: 1px solid #d0d7de !important;
    border-radius: 2em !important;
    padding: 0 7px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    display: inline-block !important;
    line-height: 18px !important;
    margin-left: 5px !important;
    background: transparent !important;
}

/* 如果是博主评论，头部背景色稍微变一点 (可选，GitHub 其实是加个 Label) */
.feedbackListSubtitle-louzhu {
    background-color: #f1f8ff !important; /* 淡淡的蓝色背景 */
    border-bottom-color: rgba(208, 215, 222, 0.5) !important;
}
/* 博主评论的小三角颜色也要跟着变 */
.feedbackListSubtitle-louzhu::after {
    border-right-color: #f1f8ff !important;
}

/* 隐藏不必要的元素 */
/*.feedbackManage {
    display: none !important; /* 通常隐藏原本难看的“修改/删除”按钮，或者你需要的话再单独写样式 */
//}*/
/* 如果你需要保留管理按钮，可以把它放右边 */

.feedbackManage {
    display: block !important;
    position: absolute;
    right: 10px;
    top: 8px;
}

/* 评论框内代码块优化 */
.feedbackCon pre {
    background: #f6f8fa !important;
    border-radius: 6px !important;
    padding: 10px !important;
    border: none !important;
}

/* ==============================================================
   GitHub Style Action Buttons (回复/引用)
   ============================================================== */

/* 按钮容器：绝对定位到标题栏右侧 */
.feedbackListSubtitle {
    position: relative !important; /* 确保父元素也是定位基准 */
}

.gh-action-box {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    gap: 8px !important;
    opacity: 1; /* 默认隐藏，看起来更简洁 */
    transition: opacity 0.2s ease-in-out;
}

/* 鼠标悬停在标题栏时，显示按钮 */
/*.feedbackListSubtitle:hover .gh-action-box {
    opacity: 1;
}*/

/* 按钮样式 */
.gh-action-btn {
    cursor: pointer !important;
    font-size: 12px !important;
    color: #57606a !important;
    background-color: transparent !important;
    border: 1px solid rgba(27, 31, 35, 0.15) !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    line-height: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
    user-select: none !important;
}

/* 按钮 Hover 效果 */
.gh-action-btn:hover {
    background-color: #f3f4f6 !important;
    border-color: rgba(27, 31, 35, 0.15) !important;
    color: #0969da !important;
    text-decoration: none !important;
}

/* 点击时的微小按压效果 */
.gh-action-btn:active {
    background-color: #ebecf0 !important;
    transform: translateY(1px);
}

/* 移动端适配：手机上不需要 Hover 才能看，直接显示 */
@media (max-width: 768px) {
    .gh-action-box {
        opacity: 1 !important;
        position: static !important; /* 手机上放回流里，不然容易遮挡文字 */
        margin-left: auto !important; /* 挤到最右边 */
        transform: none !important;
    }
}

/* ==============================================================
   评论区头部工具栏美化 (GitHub Toolbar 风格)
   ============================================================== */

.feedback_area_title {
    display: flex !important;
    justify-content: space-between !important; /* 标题在左，按钮在右 */
    align-items: center !important;            /* 垂直居中 */
    flex-wrap: wrap !important;                /* 手机端自动换行 */
    
    margin: 0 0 20px 0 !important;             /* 上方去间距，下方留出20px */
    padding: 10px 0 15px 0 !important;         /* 增加一点内部空间 */
    border-bottom: 1px solid #d0d7de !important; /* GitHub 经典的底部分割线 */
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;                /* 标题文字稍微大一点 */
    color: #24292f !important;
}

/* 隐藏“刷新评论”整行 */
#divRefreshComments {
    display: none !important;
}

div#tbCommentBodyPreview {
    border: 0!important;
    background: rgba(72,126,189,0.1)!important;
    padding: 8px 20px!important;
    border-radius: 20px!important;
    color: rgba(72,126,189)!important;
    cursor: pointer!important;
    transition: all 0.3s ease!important;
}
/*#divRefreshComments{
    text-align: right!important;
    margin-bottom: 10px!important;
}*/
.commenttb {
    padding: 10px 12px!important;
    margin-bottom: 12px!important;
    color: #555;
    border: 1px solid #e1e4e8!important;
    border-radius: 6px!important;
    width: 320px!important;
    font-size: 14px!important;
    transition: all 0.3s ease!important;
    background: #fafbfc!important;
}
.commentTestBox:hover,.commenttb:hover{
    color:#333!important;
    border-color:rgba(82,168,236,0.8)!important;
    transition: all 0.4s linear 0s!important;
}
.commenttb:hover{
    outline: 0!important;
    -webkit-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.075),0 0 4px rgba(82,168,236,0.6)!important;
    -moz-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.075),0 0 4px rgba(82,168,236,0.6)!important;
    box-shadow:inset 1px 1px 1px rgba(0,0,0,0.075),0 0 4px rgba(82,168,236,0.6)!important;
}
#Profile1_panelAdd input[type=text]:hover,#Profile1_txtContent:hover,.commentTestBox:hover{
    -webkit-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.075),0 0 4px rgba(82,168,236,0.6)!important;
    -moz-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.075),0 0 4px rgba(82,168,236,0.6)!important;
    outline: 0!important;
    box-shadow:inset 1px 1px 1px rgba(0,0,0,0.075),0 0 4px rgba(82,168,236,0.6)!important;
}
.commentTextBox {
    width: 410px !important;  /* 修复：添加px单位 */
    min-height: 120px!important;
    margin-top: 10px!important;
    margin-bottom: 15px!important;
    padding: 12px!important;
    border: 1px solid #e1e4e8!important;
    border-radius: 6px!important;
    font-size: 14px!important;
    line-height: 1.6!important;
    resize: vertical!important;  /* 允许垂直调整大小 */
    font-family: inherit!important;
}
#AjaxHolder_PostComment_btnSubmit {
	padding:8px 20px;
	text-align:center;
	font-size:14px;
	color:#fff;
	border:none;
	background:rgba(72,126,189);
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-webkit-transition:all .4s ease;
	-moz-transition:all .4s ease;
	-o-transition:all .4s ease;
	-ms-transition:all .4s ease;
	transition:all .4s ease;
	cursor:pointer;
	display:inline-block;
	vertical-align:middle;
	outline:0;
	text-decoration:none
}
#AjaxHolder_PostComment_btnSubmit:hover {
	background:#333
}
#AjaxHolder_PostComment_divCommnentArea tr {
	margin-top:10px;
	margin-bottom:10px
}
.comment_vote {
	padding-right:10px
}
.comment_vote a {
	color:#999
}
.comment_vote a:hover {
	color:#5c8ec6
}
#commentform_title {
	font:normal normal 16px/35px "Microsoft YaHei";
	margin:0;
	background-image:none;
	padding:0
}
#comment_form_container .author {
	padding-left:10px;
	color:#555;
	border:1px solid #ddd;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	width:320px;
	height:20px;
	background-image:none
}
#comment_form_container p {
	font-size:14px;
	margin-bottom:20px
}
.commentbox_title_left {
	font-size:14px
}
#comment_form_container .comment_textarea {
	font-size:13px;
	padding:8px;
	margin-bottom:10px;
	color:#555;
	border:1px solid #ddd;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	min-height:250px;
	width:100%;
	height:100%
}
#comment_form_container .comment_textarea:hover {
	border-color:#5c8ec6;
	outline:0;
	transition:all .4s linear 0s
}
#comment_form_container .comment_textarea:focus {
	outline:0
}
.commentbox_tab.active,.commentbox_tab:hover {
	border-bottom:0;
	color:#5c8ec6
}
.comment_btn {
	border:none;
	background-color:rgba(72,126,189);
    color:white;
}
.comment_btn:hover {
	background:#71ace5
}

.skin-codinglife .bannerbar-mobile,.skin-codinglife .imagebar-mobile {
    margin-bottom: -10px
}

.skin-codinglife .bannerbar-text-mobile,.skin-codinglife .imagebar-text-mobile {
    margin-bottom: 0
}

.bannerbar-text-mobile,.imagebar-text-mobile {
    text-align: center;
    padding: 10px 0;
    background-color: #ede9f2
}

.bannerbar-text-mobile a:link,.bannerbar-text-mobile a:hover,.bannerbar-text-mobile a:active,.bannerbar-text-mobile a:visited,.imagebar-text-mobile a:link,.imagebar-text-mobile a:hover,.imagebar-text-mobile a:active,.imagebar-text-mobile a:visited {
    color: #369;
    font-size: 14px;
    text-decoration: none
}

.bannerbar-text-mobile a:hover,.imagebar-text-mobile a:hover {
    text-decoration: underline
}

#bannerbar img,#imagebar img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 70px
}

.formobile {
    display: block
}

.forpc {
    display: none !important
}

#blog_nav_rss {
    display: none !important
}

#blog_nav_rss_image {
    display: none !important
}

#blog_nav_newpost {
    display: none !important
}

.blogpost-body img,.blog_comment_body img {
    max-width: 300px !important;
    height: auto
}

.blogpost-body p>img {
    display: block;
    margin: auto
}

.blogpost-body iframe {
    max-width: 100% !important;
    height: auto
}

div.commentform textarea {
    min-height: 200px
}

.commentbox_title {
    width: auto
}

#green_channel {
    width: 100%
}

#cnblogs_post_body table[style] {
    width: auto !important;
    height: auto !important
}

#sidebar_search_box input[type="text"] {
    width: 260px
}

#cnblogs_post_body table {
    display: block;
    overflow-x: scroll;
    -webkit-overflow-scrolling: regular;
    max-height: 800px
}

#cnblogs_post_body table::-webkit-scrollbar:horizontal {
    height: 12px
}

#cnblogs_post_body table::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    border-radius: 10px;
    background-color: #f5f5f5
}

#cnblogs_post_body table::-webkit-scrollbar {
    width: 12px;
    background-color: #f5f5f5
}

#cnblogs_post_body table::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555
}

#blog_c1,#cnblogs_c2 {
    text-align: center;
    margin: 10px auto 0 auto
}

#blog_c1 {
    width: 300px
}

#cnblogs_c2 img {
    max-width: 100%;
    height: auto
}

.commentform {
    margin-left: 10px
}

.commentbox_tab {
    width: 100%
}

.comment_textarea {
    width: 100%
}

div.commentform textarea {
    font-size: 16px
}

.commentbox_title_right,.commentbox_title_left {
    width: 100%;
    max-width: 100%;
    justify-content: space-between
}

.commentbox_title_right {
    padding: 8px 5px
}

.navbar {
    display: none
}

.cnblogs-markdown :not(pre,div,td)>code,.blogpost-body :not(pre,div,td)>code {
    white-space: pre-wrap
}

.cnblogs-markdown p>a>img,.cnblogs-markdown p>img {
    display: block;
    margin: 0 auto
}

.category-link-list {
    grid-template-columns: repeat(2,minmax(0,1fr))
}

body.skin-lessismore {
    min-width: auto
}

.skin-lessismore #home {
    width: 100%
}

.skin-lessismore #mainContent {
    float: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0
}

.skin-lessismore #sideBarMain {
    width: 100%
}

.skin-lessismore .forFlow {
    margin: 10px
}

.skin-lessismore #green_channel {
    width: 80%
}

.skin-lessismore #tbCommentBody {
    width: 100%
}

.skin-simplememory #mainContent {
    float: none;
    margin-left: 0
}

.skin-simplememory #main {
    padding: 10px
}

.skin-simplememory .forFlow {
    margin: 0 10px
}

.skin-simplememory #sideBarMain {
    width: 100%;
    float: none;
    padding: 10px;
    margin-right: 0
}

.skin-custom #mainContent {
    float: none;
    margin-left: 0
}

.blogpost-body,.blogpost-body p {
    font-size: 14px
}

/* ==============================================================
   GitHub Style Vote/Digg Buttons (推荐/反对区)
   ============================================================== */

/* 1. 区域容器：居中对齐，清理浮动 */
#div_digg {
    display: flex !important;
    justify-content: center !important; /* 居中显示 */
    align-items: center !important;
    gap: 15px !important;               /* 两个按钮之间的间距 */
    
    float: none !important;             /* 清除原本的右浮动 */
    clear: both !important;
    width: 100% !important;
    margin: 40px auto 20px !important;  /* 上下留白 */
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. 按钮通用样式 (推荐 & 反对) */
.diggit, .buryit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    width: auto !important;             /* 覆盖原本的固定宽度 */
    height: auto !important;
    min-width: 80px !important;
    padding: 6px 16px !important;
    
    background: #f6f8fa !important;     /* GitHub 按钮灰 */
    border: 1px solid rgba(27, 31, 35, 0.15) !important;
    border-radius: 6px !important;      /* 圆角 */
    box-shadow: 0 1px 0 rgba(27, 31, 35, 0.04) !important;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #24292f !important;
    
    cursor: pointer !important;
    transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1) !important;
    text-decoration: none !important;
    float: none !important;             /* 极其重要：防止按钮跑偏 */
    margin: 0 !important;
}

/* 3. 去掉原本的背景图和文字缩进 */
.diggit, .buryit {
    background-image: none !important;
    text-indent: 0 !important;
}

/* 4. 推荐按钮 (Digg) - 悬停变绿 */
.diggit:hover {
    background-color: #f3f4f6 !important;
    border-color: #2da44e !important;   /* GitHub Green */
    color: #2da44e !important;
}

/* 添加一个拇指图标 (伪元素) */
.diggit::before {
    content: "👍" !important;
    margin-right: 6px !important;
    font-weight: normal !important;
}

/* 5. 反对按钮 (Bury) - 悬停变红 */
.buryit:hover {
    background-color: #f3f4f6 !important;
    border-color: #cf222e !important;   /* GitHub Red */
    color: #cf222e !important;
}

/* 添加一个踩图标 (伪元素) */
.buryit::before {
    content: "👎" !important;
    margin-right: 6px !important;
    font-weight: normal !important;
}

/* 6. 数字样式 */
.diggnum, .burynum {
    font-size: 14px !important;
    font-family: inherit !important;
    line-height: 1 !important;
    color: inherit !important; /* 跟随父元素颜色变化 */
}

/* 7. 隐藏不需要的提示文字 (比如 "推荐成功") */
.diggword {
    display: none !important;
}

/* ==============================================================
   隐藏 "合集：XXXX" 模块
   ============================================================== */
/* 隐藏文章底部的合集/系列文章容器 */
#entry-series, 
.post-collection,
.post-collection-container,
div[id^="entry-series"] {
    display: none !important;
}

.divRecentComment{
    text-indent: 2em;
    color:black;
    margin-bottom: 20px;
}

/* ===== 博客园官方模块·完全隐藏 ===== */
/* 文中推荐卡片 */
#cnblogs_ch {
    display: none !important;
}

/* 顶部导航栏 */
#top_nav {
    display: none !important;
}

/* 广告/空白块 */
#ad_t2, #cnblogs_c1, #cnblogs_c2 {
    display: none !important;
}

/* 文章底部的“推荐”卡片（不是点赞按钮） */
.under-post-card {
    display: none !important;
}

/* 历史上的今天 */
#HistoryToday {
    display: none !important;
}

.pfl_feedback_area_title {
	text-align:right;
	font-weight:700;
	margin-bottom:10px
}
.pfl_feedbackItem {
	border:1px dashed #ccc;
	padding:10px;
	border-radius:3px;
	margin-bottom:20px
}
.pfl_feedbacksubtitle {
	width:100%;
	height:1.5em
}
.pfl_feedbackname {
	float:left
}
.commentbox_title_right,.pfl_feedbackManage {
	float:right
}
.pfl_feedbackname a {
	color:#5c8ec6;
	font-weight:700
}
.pfl_feedbackCon {
	color:#000;
	padding-top:5px;
	padding-bottom:5px
}
.pfl_feedbackAnswer {
	color:black;
	text-indent:2em
}
.tdSentMessage {
	text-align:right
}
.errorMessage {
	width:300px;
	float:left
}

#footer {
    display:none;
    text-align: center !important;
    font-size: 12px !important;
    color: white !important;
    padding: 20px 0 !important;
    border-top: 1px solid #eee !important;
    margin-top: 30px !important;
}

/* ==============================================================
   GitHub Style Author Profile (终极修正版)
   ============================================================== */

/* 1. 外层容器：填满整行，强制横向 Flex 布局 */
#author_profile {
    display: flex !important;
    flex-direction: row !important;  /* 必须横向 */
    align-items: center !important;  /* 垂直居中 */
    justify-content: space-between !important; /* 两端对齐：左边是信息，右边是按钮 */
    
    width: 100% !important;          /* 撑满整行 */
    box-sizing: border-box !important;
    
    background-color: #ffffff !important;
    border: 1px solid #d0d7de !important;
    border-radius: 6px !important;
    padding: 20px !important;
    margin-top: 30px !important;
    margin-bottom: 50px !important;
    
    text-align: left !important;     /* 强制左对齐，防止继承原本的居中 */
}

/* 2. 左侧信息区包裹层 (头像 + 文字) */
/* 注意：有些皮肤没有这个ID，但大多数标准皮肤有，我们尝试让它也是 flex */
#author_profile_info {
    display: flex !important;
    flex-direction: row !important;  /* 头像在左，字在右 */
    align-items: center !important;
    flex-grow: 1 !important;         /* 占据左侧所有空间 */
}

/* 3. 头像样式 */
#author_profile .author_avatar {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    border: 1px solid #e1e4e8 !important;
    padding: 2px !important;
    margin: 0 15px 0 0 !important;   /* 右侧留出间距，给文字腾地儿 */
    flex-shrink: 0 !important;       /* 禁止头像被挤扁 */
}

/* 4. 文字详情区 (名字 + 粉丝数) */
#author_profile_detail {
    display: flex !important;
    flex-direction: column !important; /* 名字在上，数据在下 */
    justify-content: center !important;
    align-items: flex-start !important;
}

/* 关键修复：隐藏原本导致换行的 br 标签，让粉丝和关注能排在一行 */
#author_profile_detail br {
    display: none !important;
}

/* 5. 博主名字 */
#author_profile_detail a:first-child {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #24292f !important;
    text-decoration: none !important;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
}

/* 6. 粉丝和关注数据 (变成横向排列) */
#author_profile_detail a:not(:first-child) {
    font-size: 13px !important;
    color: #57606a !important;
    text-decoration: none !important;
    margin-right: 15px !important;     /* 两个数据之间的间距 */
    display: inline-block !important;  /* 强制同行显示 */
}

#author_profile_detail a:not(:first-child):hover {
    color: #0969da !important;
    text-decoration: none !important;
}

/* 7. 右侧关注按钮区 */
#author_profile_follow {
    display: block !important;
    margin-left: auto !important; /* 把它推到最右边 */
    padding-left: 10px !important;
    flex-shrink: 0 !important;    /* 防止按钮被挤没 */
}

/* 8. 关注按钮样式 (修复竖排文字问题) */
#author_profile_follow a {
    display: inline-block !important;
    background-color: #2da44e !important; /* GitHub 绿 */
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(27,31,35,0.15) !important;
    
    white-space: nowrap !important; /* 核心修复：强制不换行！解决竖排问题 */
    line-height: 20px !important;
    box-shadow: 0 1px 0 rgba(27,31,35,0.1) !important;
}

#author_profile_follow a:hover {
    background-color: #2c974b !important;
}

/* 9. 移动端适配 (手机上变回竖排，防止太挤) */
@media (max-width: 600px) {
    #author_profile {
        flex-direction: column !important; /* 手机上改回垂直 */
        align-items: center !important;
        text-align: center !important;
    }
    
    #author_profile_info {
        flex-direction: column !important; /* 头像在名字上面 */
        margin-bottom: 15px !important;
    }
    
    #author_profile .author_avatar {
        margin: 0 0 10px 0 !important; /* 头像下边留空 */
    }
    
    #author_profile_detail {
        align-items: center !important; /* 文字居中 */
    }
    
    #author_profile_follow {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    #author_profile_follow a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* ===== ESL One 电竞风格 · 文章底部按钮条 ===== */

/* 1. 整个按钮条的容器——去掉白底灰边，改为透明/深色竞技感 */
#green_channel {
    width: 100% !important;
    max-width: 780px !important;      /* 别太宽，保持战斗队形 */
    margin: 30px auto !important;
    padding: 0 !important;
    background: transparent !important;  /* 不要白底，干净利落 */
    border: 1px solid rgba(27, 31, 35, 0.15) !important;
    border-radius: 6px !important;  
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 2px !important;              /* 按钮之间不留宽缝，像战队肩章 */
}

/* 2. 单个按钮——去掉圆角、渐变、阴影，换成硬边、高对比 */
#green_channel a {
    flex: 1 1 auto !important;
    min-width: 100px !important;
    padding: 14px 8px !important;
    margin: 0 !important;
    background: rgba(82,168,236,0.8) !important;   /* 深蓝黑底，和你footer一致 */
    border: none !important;
    border-radius: 10px !important;      
    color: white !important;
    font-size: 15px !important;
    font-weight: 800 !important;      /* 极粗，像赛事战报标题 */
    font-family: 'Impact', 'Arial Black', 'Helvetica Bold', 'Source Han Sans CN', sans-serif !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: none !important;
    text-shadow: none !important; /* 微弱蓝光，竞技感 */
    transition: all 0.15s ease !important;
}

/* 3. 悬停效果——像按钮被“激活” */
#green_channel a:hover {
    background: rgba(72,126,189,0.5) !important;   /* 亮蓝底 */
    color: white ;
    text-shadow: none !important;
    border-left: 3px solid white !important;
    border-right: 3px solid white !important;
}

/* 4. 推荐/反对的票数数字（如果显示） */
#green_channel .diggnum {
    margin-left: 5px !important;
    color: #ffd966 !important;        /* 琥珀色，像电竞奖杯 */
    font-weight: 900 !important;
    font-size: 1.1em !important;
}

/* 5. 如果加了Teams/微博等其他分享按钮，也统一风格 */
#green_channel_teams,
#green_channel a[href*="teams"],
#green_channel a[href*="weibo"] {
    background: #1a2a3a !important;
}

#digg_tip {
    background: #1a1a1a !important;
    border: 3px solid white !important;
    color: white !important;
    text-shadow: none !important;
    box-shadow: 0 0 30px rgba(0,0,0,0.9) !important;
}

#digg_tip a {
    color: white !important;
    border-color: white !important;
}
