/*markdown_box*/
    html{background: #F4F6F9; font-family:"Microsoft YaHei", "微软雅黑", Arial; font-weight: 400}
    body{background:#F4F6F9;font-size: 16px; color: #515254; line-height: 188%; margin: 0 !important; padding: 0 !important;}
    .html_header{display:block; height: 60px; line-height: 46px; border-bottom: 1px solid #E6ECF1; text-align: left !important;}
    .html_header span::after{content: ""; font-size: 17px; font-weight: bold;}
    .html_header span::before{content: "❖"; font-size: 19px; font-weight: bold; margin:0 8px 0 5px; color: #1284d9}
    blockquote{border-radius:0 4px 4px 0;color:#708090;border-left:3px solid #1284d9; background:rgba(238,242,249,.7); padding:8px 16px; font-size: 15px;}
    code{padding: 2px 4px 1px; font-weight: bold; margin:0 3px; border:1px solid rgba(255,130,130,.3);background:rgba(255,130,120,.05); color:#F66; font-family:arial;}
    a{color: #1284d9}
    a:visited{color:#1284d9}
    a:hover{text-decoration: none; color: #087cd2}

    h2{margin: 40px 0 20px; font-size: 36px; font-weight: 400}
    h3{margin-top: 40px; font-size: 30px; font-weight: 400}
    /*img{border-radius:5px;margin:30px 0 46px !important;width:100%;max-width: 1100px; opacity: .6; transition: opacity .3s}
    img:hover{opacity: 1}*/


    #write{margin:50px 50px 50px 260px; padding: 20px 60px; max-width: unset; background: #fff;border: 1px solid #E6ECF1; box-shadow: 0 2px 8px rgba(116, 129, 141, .08); border-radius: 4px}
    .BlogAnchor {width: 210px !important}

    @media screen and (max-width: 1620px) {
        #write{margin:40px 40px 40px 250px; padding: 20px 40px;}
        .BlogAnchor {width: 210px !important}
    }

    @media screen and (max-width: 1370px) {
        #write{margin:30px 30px 30px 230px; padding: 20px 40px;}
        .BlogAnchor {width: 200px !important}
    }

    @media screen and (max-width: 1220px) {
        #write{margin:20px 20px 20px 220px; padding: 20px 40px;}
    }

    @media screen and (max-width: 820px) {
        #write{margin:20px 20px 20px 200px; padding: 20px 20px; font-size: 15px; line-height: 170%}
        .BlogAnchor {width: 180px !important}
        .html_header span::before{ margin-left: 0}
        .html_header span::after{ font-size: 15px;}
        h2{ font-size: 30px; }
        h3{ font-size: 24px; }
    }

    @media screen and (max-width: 640px) {
        #write{margin:10px; padding: 16px; font-size: 14px; line-height: 160%}
        .BlogAnchor {display: none;}
        h2{ font-size: 28px; }
        h3{ font-size: 22px; }
    }


/*scroll_style*/
.AnchorContent {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin-right:0 !important
}

.AnchorContent::-webkit-scrollbar {
    width: 6px;
    height: 10px;
    background-color: rgba(0,0,0,0) !important;
    position: absolute;
    right: 10px
}
.AnchorContent::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    border-radius: 0;
    background-color: rgba(0,0,0,0) !important
}
.AnchorContent::-webkit-scrollbar-thumb {
    border-radius: 0px;
    -webkit-box-shadow: none;
    background-color: none;
    opacity: 0 !important;
    transition: all .3s
}

.AnchorContent:hover::-webkit-scrollbar-thumb {
    border-radius: 0px;
    -webkit-box-shadow: none;
    background-color: #d4d6d8;
    border-right:2px solid #fff;
    opacity:1;
}

.AnchorContent::-webkit-scrollbar-thumb:hover {
    background-color: #c0c2c4 !important
}


/*导航*/
    .BlogAnchor {
        background: #fff;
        padding: 10px 0 ;
        line-height: 180%;
        position: fixed;
        height: 100%;
        width: 200px;
        left: 0;
        top: 0;
        border-right: 1px solid #E6ECF1;

    }
    .BlogAnchor p {
        font-size: 20px;
        color: #444;
        margin: 0 16px;
        text-align: center;
    }
    .BlogAnchor .AnchorContent {
        padding: 5px 0px;
        overflow: auto;
    }
    .BlogAnchor li{
        text-indent: 1.5rem;
        font-size: 14px;
        list-style: none;
        padding: 0 0px;
    }
    .BlogAnchor li .nav_item{
        padding:3px 16px;

    }


    .BlogAnchor li .item_h1{
        margin-left: 0rem;
        padding-left:3px;
        font-weight: bold;
    }
    .BlogAnchor li .item_h2{
        margin-left: 0;
        font-size: 0.8rem;
        padding-left: 18px;
        color: #708090
    }
    .BlogAnchor li .nav_item.current{
        color: #087cd2;
        background-color: rgba(238,242,249,.8);
        border-left:4px solid #087cd2;
        text-indent: 20px;
        font-weight: bold;

    }
    #AnchorContentToggle {
        font-size: 13px;
        font-weight: normal;
        color: #FFF;
        display: inline-block;
        line-height: 20px;
        background: rgb(7,196,189);
        font-style: normal;
        padding: 1px 8px;
    }
    .BlogAnchor a:hover {
        color: #087cd2  ;
        background:rgba(238,242,249,.5);
    }
    .BlogAnchor a {
        text-decoration: none;
        color: #333;
        display: block;
        border-radius: 0px;
    }
/* 顶部导航栏样式 */
.navbar {
  position: fixed; /* 跟随滚动固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 70px; /* 导航栏高度 */
  background-color: white; /* 白色背景 */
  border-bottom: 1px solid #E6ECF1; /* 底部边框分隔 */
  z-index: 9999; /* 确保在最上层 */
  display: flex;
  align-items: center; /* 垂直居中 */
  padding: 0 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 轻微阴影 */
}

/* Logo样式 */
.navbar .logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 20px; /* 调整为合适的高度 */
  width: auto;
}

/* 中间文字样式 */
.navbar .nav-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* 水平居中 */
  font-size: 18px;
  color: #333;
  font-weight: 500;
}

/* 调整内容区位置，避免被导航栏遮挡 */
#write {
  margin-top: 80px !important; /* 原有margin-top基础上增加导航栏高度+20px间距 */
}

/* 响应式适配 */
@media screen and (max-width: 640px) {
  .navbar {
    height: 50px;
    padding: 0 10px;
  }
  .navbar .logo img {
    height: 32px;
  }
  .navbar .nav-title {
    font-size: 16px;
  }
  #write {
    margin-top: 70px !important;
  }
}

/* 个人照片样式（修改后） */
.profile-img {
  width: 200px; /* 保持图片宽度不变 */
  height: auto;
  margin: 10px 0 10px 0; /* 关键修改：将底部margin从20px改为10px（数值越小间距越近） */
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 响应式调整（同步修改） */
@media screen and (max-width: 640px) {
  .profile-img {
    width: 150px;
    margin: 10px 0 10px 0; /* 小屏幕也保持一致的间距 */
  }
}

