/* 前台桌面端固定导航；移动端继续由 mobile-fixed-nav.js 接管。 */
@media(min-width:821px){
  html.has-desktop-fixed-nav{
    --desktop-fixed-nav-height:72px;
    scroll-padding-top:calc(var(--desktop-fixed-nav-height, 72px) + 18px)!important;
  }

  html.has-desktop-fixed-nav body{
    padding-top:var(--desktop-fixed-nav-height, 72px)!important;
  }

  html.has-desktop-fixed-nav .modern-site-header,
  html.has-desktop-fixed-nav .site-header,
  html.has-desktop-fixed-nav body > header[data-desktop-fixed-nav]{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:10050!important;
    transform:none!important;
    translate:none!important;
    will-change:auto!important;
  }

  /* 防止锚点跳转被固定导航遮挡。 */
  html.has-desktop-fixed-nav [id]{
    scroll-margin-top:calc(var(--desktop-fixed-nav-height, 72px) + 22px);
  }

  /* 后台不使用前台的桌面固定导航。 */
  body.admin-shell,
  body.admin-page,
  body.write-admin{
    padding-top:0!important;
  }
}

@media(max-width:820px){
  html.has-desktop-fixed-nav{
    scroll-padding-top:initial!important;
  }
  html.has-desktop-fixed-nav body{
    padding-top:initial!important;
  }
}
.header-icons .header-submit-link{
  width:auto;
  min-width:0;
  padding:0 15px;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
}
