@media (max-width: 1280px) {
  #post .post-meta .page-pv {
    display: none;
  }
  .nav-header-pleaceholder {
    display: block;
  }
  .nav-header.is-post {
    position: fixed;
  }
  .nav-header.is-post.hide {
    transform: translateY(-100%);
  }
  .nav-header .header-inner .right .buttonSet .button.rss {
    margin-right: 16px;
  }
  .nav-header .header-inner .right .buttonSet .button.rss:last-child {
    margin-right: 0;
  }
  .nav-header .header-inner .right .buttonSet .button.toc {
    display: block;
  }
  .page-body .side-content {
    position: relative;
  }
  #toc {
    max-width: 100%;
    max-height: calc(100% - 65px);
    text-align: left;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: none;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 15px 0;
    transform: translateY(125%);
    transition: transform cubic-bezier(0.32, 0.72, 0, 1) 0.5s;
    border-right: none;
    -ms-overflow-style: unset;
    scrollbar-width: unset;
    padding-bottom: 15px;
  }
  @supports (padding-bottom: constant(safe-area-inset-bottom)) or (padding-bottom: env(safe-area-inset-bottom)) {
    #toc {
      padding-bottom: calc(15px + constant(safe-area-inset-bottom));
      padding-bottom: calc(15px + env(safe-area-inset-bottom));
    }
  }
  #toc .toc-item-wrap:not(.active) {
    opacity: unset;
    transition: unset;
  }
  #toc:hover .toc-item-wrap:not(.active) {
    opacity: unset;
  }
  #toc .toc-title::before {
    transform: rotate(180deg);
  }
  #toc .toc-item-wrap .toc-sub-item-wrap {
    display: block;
    margin-left: 0.5em;
  }
  #toc .toc-item-wrap.active .toc-item-link::before {
    left: 7.5px;
    width: 2px;
  }
  #toc .toc-item-wrap.active .toc-sub-item-link:not(.active) {
    opacity: unset;
  }
  #toc.visible {
    transform: translateY(0);
  }
  .series-nav {
    display: block;
  }
  body.resizing #toc,
  body.resizing post-series {
    display: none;
  }
  body.resizing .nav-header {
    transform: translateY(0);
  }
  body.resizing .nav-header.hide {
    transform: translateY(0);
  }
  .post-series {
    display: none;
  }
  #post .commented-text::after {
    white-space: normal;
  }
}
@media (max-width: 1000px) {
  #content-outer.series-outer .posts-info-layout {
    padding-left: min(3vw, 26px);
    padding-right: min(3vw, 26px);
  }
}
@media (max-width: 900px) {
  #top-posts .post-item {
    margin-top: 3vw;
  }
  #top-posts .post-item .title-excerpt .title {
    font-size: 20px;
  }
  #top-posts .post-item .title-excerpt .excerpt {
    font-size: 14px;
  }
  #top-posts .post-item:first-child .title-excerpt {
    width: 100%;
    margin-left: 0;
  }
  #top-posts .post-item:first-child .title-excerpt .title {
    font-size: 22px;
  }
  #top-posts .post-item:first-child .title-excerpt .excerpt {
    font-size: 14px;
  }
  #top-posts .post-item:first-child .item-body {
    flex-direction: column;
  }
  #top-posts .post-item:first-child .cover-img {
    width: 100%;
  }
  .post-cover-img-wrap::before,
  .post-cover-img-wrap::after,
  .series-cover-img-wrap::before,
  .series-cover-img-wrap::after {
    display: none;
  }
  #recent-posts .post-item .title-excerpt .title {
    font-size: 20px;
  }
  #recent-posts .post-item .title-excerpt .excerpt {
    font-size: 14px;
  }
  #recent-posts .post-item .cover-img {
    width: 33%;
  }
  .nav-header {
    padding: 0;
  }
  .nav-header .header-inner {
    padding-left: min(3vw, 26px);
    padding-right: min(3vw, 26px);
  }
  #post .post-title {
    margin-top: 0.4em;
  }
  #post h1 {
    font-size: 1.5em;
  }
  #post h2 {
    font-size: 1.35em;
  }
  #post h3 {
    font-size: 1.25em;
  }
  #post h4 {
    font-size: 1.15em;
  }
  #post h5 {
    font-size: 1.1em;
  }
  #post h6 {
    font-size: 1em;
  }
}
@media (max-width: 728px) {
  .commented-text {
    display: inline-block;
  }
  figure.highlight .gutter {
    display: none !important;
    width: 0 !important;
  }
  figure.highlight .line {
    padding-right: 1em;
  }
  .posts-info-layout {
    display: block;
  }
  .posts-info-layout .posts-wrap,
  .posts-info-layout .info-wrap {
    width: 100%;
  }
  .posts-info-layout .info-wrap .site {
    display: none;
  }
  .posts-info-layout .info-wrap .site-info {
    padding: 0;
  }
  .posts-info-layout .info-wrap .site-info.home {
    padding: 0;
  }
  .posts-info-layout .info-wrap .site-info .author {
    flex-direction: column;
    align-items: center;
  }
  .posts-info-layout .info-wrap .site-info .author .avatar {
    width: 25vw !important;
    height: 25vw !important;
  }
  .posts-info-layout .info-wrap .site-info .author .name {
    margin-top: 10px;
    margin-left: 0 !important;
  }
  .posts-info-layout .info-wrap .site-info .info-row.about {
    text-align: center;
    margin-top: 15px;
  }
  .posts-info-layout .info-wrap .site-info .description {
    text-align: center;
  }
  #top-posts .post-item {
    width: 100%;
    margin-right: 0;
  }
  #top-posts .post-item .cover-img {
    width: 100%;
  }
  #top-posts .post-item .title-excerpt {
    margin-top: 0.5rem;
  }
  #top-posts .post-item:first-child .title-excerpt .excerpt {
    font-size: 14px;
  }
  #recent-posts .post-item .post-meta {
    font-size: 12px;
  }
}
@media (max-width: 640px) {
  .nav-header .header-inner .title {
    width: 180px;
    height: 33.6px;
  }
  .nav-header .right {
    width: 100%;
  }
  .github-link {
    max-width: 100%;
  }
  .break-on-mobile {
    display: block;
  }
}
@media (max-width: 600px) {
  .copyright-desc {
    text-align: left;
  }
  #footer .footerInner .footerItems {
    justify-content: center;
  }
  #footer .footerItem:nth-child(2):not(:last-child)::after {
    content: none;
  }
  #footer .footerItem:nth-child(3) {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
@media (max-width: 479px) {
  body {
    font-size: 16px;
  }
  #post h1 {
    font-size: max(min(6.5vw, 1.5em), 20px);
  }
  #post h2 {
    font-size: max(min(5.5vw, 1.35em), 18px);
  }
  #post h3 {
    font-size: max(min(4.5vw, 1.25em), 17px);
  }
  #post h4,
  #post h5,
  #post h6 {
    font-size: max(min(3.5vw, 1.15em), 16px);
  }
  #content-outer.post-outer #gitalk-container {
    min-height: 235px;
  }
  #archive .tag-list {
    justify-content: flex-start;
  }
  .image-grid {
    margin-bottom: 1em;
  }
  #post .post-meta #content-switch {
    width: fit-content;
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}
@media (max-width: 350px) {
  .nav-header .header-inner .title {
    width: 150px;
    height: 28px;
  }
  .nav-header .header-inner .right .navItems .navItem:not(:last-child) {
    margin-right: 15px;
  }
}
@media (max-width: 340px) {
  body {
    font-size: 14px;
  }
  .nav-header .header-inner .title {
    width: 150px;
    height: 28px;
    background-size: 100% 100%;
  }
  .nav-header .header-inner .right .navItems .navItem:not(:last-child) {
    margin-right: 10px;
  }
  .nav-header .header-inner .right .buttonSet .button:not(:last-child) {
    margin-right: 10px;
  }
  .nav-header .header-inner .right .buttonSet .button.hdr-switch {
    display: none;
  }
}
@media (orientation: portrait) {
  .banner-bg {
    height: 42.85714286vw;
  }
}
@media print {
  #toc {
    display: none;
  }
  .post-series {
    display: none;
  }
  .nav-header-pleaceholder {
    display: none;
  }
  .nav-header.nav-header {
    position: relative;
  }
  .post-nav-wrap {
    display: none;
  }
  #gitalk-container {
    display: none;
  }
  .series-nav {
    display: none;
  }
  #page-donates {
    display: none;
  }
  #back-to-top {
    display: none;
  }
  footer {
    margin-top: 1em;
  }
}