#top_nav.navbar.forpc.navbar-custom {
  display: block !important;
}
#nav_main, #nav_left, #nav_right {
  display: flex !important;
}



 





/*日历左右键*/
.CalNextPrev a {
  background: #fbca1f;
  font-family: inherit;
  padding: 0.18em 0.55em;
  font-weight: 900;
  font-size: 11px;
  border: 1.5px solid black;
  border-radius: 0.2em;
  box-shadow: 0.04em 0.04em;
  cursor: pointer;
  text-decoration: none;
  color: #000;
}

.CalNextPrev a:hover {
  transform: translate(-0.02em, -0.02em);
  box-shadow: 0.06em 0.06em;
}

.CalNextPrev a:active {
  transform: translate(0.02em, 0.02em);
  box-shadow: 0.02em 0.02em;
}











 
/* From Uiverse.io by Cornerstone-04 - 修复版，适配profile_block */
 
#profile_block a,
#sidebar_shortcut a {
  display: inline-block;
  width: 120px;  /* 统一宽度，想要更长就改成140px/150px */
  text-align: center; /* 文字居中 */
  transition: .5s linear;
  position: relative;
  overflow: hidden;
  padding: 6px 10px;
  margin: 0 5px;
  background: transparent;
  font-weight: 900;
  text-decoration: none;
  color: #000;
  vertical-align: middle;
}
 
#profile_block a:before,
#sidebar_shortcut a:before {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  border-bottom: 4px solid transparent;
  border-left: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(100%);
}
 
#profile_block a:after,
#sidebar_shortcut a:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-top: 4px solid transparent;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  transform: translateX(-100%);
}
 
#profile_block a:hover,
#sidebar_shortcut a:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

#profile_block a:hover:before,
#sidebar_shortcut a:hover:before {
  border-color: #262626;
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height linear .3s;
} 

#profile_block a:hover:after,
#sidebar_shortcut a:hover:after {
  border-color: #262626;
  height: 100%;
  transform: translateX(0);
  transition: .3s transform linear, .3s height linear .5s;
}

#sidebar_shortcut ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
#sidebar_shortcut li {
  margin: 8px 0;
}
#profile_block {
  line-height: 2.2;
}




/*导航*/
#navigator {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 6px;
    width: 100%;
    box-sizing: border-box;
}

#navList {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
    white-space: nowrap;
}

#navList li {
    display: inline-block;
}

#navList a.menu {
    color: #000;
    text-decoration: none;
    padding: 4px 6px;
    position: relative;
    transition: 0.5s ease;
}

#navList a.menu::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #ffc506;
    transition: 0.5s ease;
}

#navList a.menu:hover {
    color: #ffc506;
    transition-delay: 0.5s;
}

#navList a.menu:hover::before {
    width: 100%;
}

#navList a.menu::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    background-color: #ffc506;
    transition: 0.4s ease;
    z-index: -1;
}

#navList a.menu:hover::after {
    height: 100%;
    transition-delay: 0.4s;
}

.blogStats {
    color: #000;
    white-space: nowrap;
}




/* ========== 博客园侧边搜索框 · 原深色按钮版，只修位置与对齐 ========== */
#sidebar_search_box {
    width: 85%;
    margin: 12px auto 0;
    box-sizing: border-box;
}

#widget_my_zzk .div_my_zzk {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}

#widget_my_zzk .input_my_zzk {
    flex: 1;
    height: 44px;
    padding: 0 32px 0 12px;
    font-size: 14px;
    font-family: "Courier New", monospace;
    color: #000;
    background-color: #fff;
    border: 4px solid #000;
    border-right: none;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    box-shadow: 6px 6px 0 #000;
    position: relative;
    transition: all 0.3s ease;
}

#widget_my_zzk .input_my_zzk::placeholder {
    color: #888;
}

#widget_my_zzk .input_my_zzk:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #000;
}

#widget_my_zzk .input_my_zzk:focus {
    background-color: #444654;
    color: #fff;
    border-color: #000;
    animation: shake 0.4s ease-in-out;
}

#widget_my_zzk .input_my_zzk:focus::placeholder {
    color: #fff;
}

#widget_my_zzk .input_my_zzk:not(:placeholder-shown) {
    animation: none;
    font-weight: normal;
    letter-spacing: normal;
}

#widget_my_zzk .btn_my_zzk {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    font-family: "Courier New", monospace;
    background-color: #444654;
    color: #fff;
    border: 4px solid #000;
    border-left: none;
    border-radius: 0;
    box-shadow: 6px 6px 0 #000;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

#widget_my_zzk .btn_my_zzk:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #000;
}

#widget_my_zzk .div_my_zzk::after {
    display: none;
}

#widget_my_zzk .input_my_zzk {
    position: relative;
}

#widget_my_zzk .input_my_zzk:focus::after {
    content: "|";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    animation: blink 0.7s step-end infinite;
    pointer-events: none;
}

#widget_my_zzk .input_my_zzk:not(:focus)::after {
    content: "|";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    animation: blink 0.7s step-end infinite;
    pointer-events: none;
}

@keyframes blink {
    50% { opacity: 0; }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px) rotate(-4deg); }
    50% { transform: translateX(4px) rotate(4deg); }
    75% { transform: translateX(-4px) rotate(-4deg); }
    100% { transform: translateX(0); }
}





/*下一篇上一篇*/
/*下一篇上一篇*/
#post_next_prev {
    line-height: 2.2;
    font-size: 17px;
    color: #000000 !important; /* 上一篇：下一篇： 默认黑色 */
}
#post_next_prev a {
    font-size: 17px;
    background: transparent;
    border: none;
    padding: 0;
    color: #000000; /* 链接默认黑色 */
    position: relative;
    transition: 0.5s ease;
    text-decoration: none;
}
#post_next_prev .p_n_p_prefix {
    margin-right: 6px;
    color: #000000 !important;
}
#post_next_prev br {
    display: block;
    margin: 8px 0;
}

#post_next_prev a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #ffc506;
    transition: 0.5s ease;
}
#post_next_prev a:hover {
    color: #ffc506; /* hover 深黄色 */
    transition-delay: 0.5s;
}
#post_next_prev a:hover::before {
    width: 100%;
}
#post_next_prev a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    background-color: #ffc506;
    transition: 0.4s ease;
    z-index: -1;
}
#post_next_prev a:hover::after {
    height: 100%;
    transition-delay: 0.4s;
}