.article.category-menu-inner,
.archive-page-surface,
.article-type-page .article-inner {
  min-height: calc((100vh - 128px) * var(--blog-zoom-inverse, 1));
  box-sizing: border-box;
}

.mid-col {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh * var(--blog-zoom-inverse, 1));
}

.body-wrap {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

.menu-l,
.content-ll {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
}

#footer {
  flex: 0 0 auto;
  margin-top: auto;
}

#page-nav {
  position: static;
  left: auto;
  bottom: auto;
  width: 100%;
  clear: both;
  box-sizing: border-box;
  margin-top: auto;
  padding-top: 30px;
  transform: none;
}

@-webkit-keyframes fall {
  0% {
    opacity: 0;
    top: -12vh;
  }

  10% {
    opacity: 0.86;
  }

  72% {
    opacity: 0.72;
  }

  86% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    top: 112vh;
  }
}

@keyframes fall {
  0% {
    opacity: 0;
    top: -12vh;
  }

  10% {
    opacity: 0.86;
  }

  72% {
    opacity: 0.72;
  }

  86% {
    opacity: 0;
  }

  100% {
    opacity: 0;
    top: 112vh;
  }
}

.sakura {
  position: fixed !important;
  z-index: 20;
  will-change: top, margin-left, transform, opacity;
}

#header .header-nav .social a.sakura-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(232, 126, 154, 0.92);
  border-color: rgba(232, 126, 154, 0.92);
  color: #fff;
}

#header .header-nav .social a.sakura-toggle:hover {
  border-color: rgba(214, 91, 128, 0.95);
}

#header .header-nav .social a.sakura-toggle.is-off {
  opacity: 0.38;
  filter: grayscale(0.45);
}

#header .header-nav .social a.sakura-toggle.is-off::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 13px;
  width: 14px;
  height: 1px;
  background: currentColor;
  transform: rotate(-38deg);
  transform-origin: center;
}

.sakura-toggle-icon {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
  transform: translate(-0.7px, -0.6px);
}

.article-type-page .article-inner {
  background: #fff;
  border-radius: 40px;
}

.article-type-page .article-header {
  padding-top: 24px;
  padding-bottom: 8px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.article-type-page .article-inner h1.article-title,
.article-type-page .article-title {
  display: block;
  margin-left: 0;
  text-align: center;
}

.article.category-menu-inner {
  width: auto;
  max-width: none;
}

.article-type-page .article-entry {
  font-size: 18px;
  line-height: 1.55;
}

.article-type-page .article-entry p,
.article-type-page .article-entry ol,
.article-type-page .article-entry ul {
  font-size: 18px;
  line-height: 1.55;
}

.article-type-page .article-entry p {
  margin-top: 6px;
  margin-bottom: 6px;
}

.article-type-page .article-entry h1 {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 24px;
}

.article-type-page .article-entry hr {
  margin: 10px 0;
}

.article-type-page .article-entry ul li:before {
  margin-top: 10px;
}

.article-type-page .article-info-index {
  display: none;
}

.article.category-menu-inner .category-menu,
.article.category-menu-inner .tag-cloud {
  width: 100%;
  max-width: none;
}

.article.category-menu-inner .category-list,
.article.category-menu-inner .category-item,
.article.category-menu-inner .category-toggle {
  width: 100%;
  box-sizing: border-box;
}

.article.category-menu-inner .category-toggle {
  padding: 16px 20px;
}

.article.category-menu-inner .category-name {
  min-width: 0;
}

.article.category-menu-inner .post-list {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}

.article.category-menu-inner .category-item.is-open .post-list {
  padding-top: 10px;
}

.article.category-menu-inner .post-link {
  width: 100%;
  box-sizing: border-box;
  padding-left: 22px;
}

.archive-page-card {
  border: 0;
  background: transparent;
}

.archive-page-surface {
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 28px 7.6923% 30px;
  background: #fff;
  border-radius: 40px;
  font-family: "Times New Roman", Times, fangsong, serif;
}

.archive-page-surface .archive-page-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
  font-family: times, fangsong, serif;
  color: #111;
}

.archive-groups {
  display: grid;
  gap: 16px;
  width: 100%;
}

.archive-year-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  align-items: start;
}

.archive-year-label {
  padding-top: 0;
}

.archive-year-link {
  display: inline-block;
  color: #666;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  font-family: "Times New Roman", Times, fangsong, serif;
}

.archive-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.archive-list-item {
  margin: 0;
}

.archive-list-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: rgba(250, 250, 250, 0.92);
  color: #222;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.archive-list-link:hover {
  transform: translate3d(0, -1px, 0);
  border-color: rgba(136, 172, 219, 0.45);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.archive-list-title {
  min-width: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  font-family: "Times New Roman", Times, fangsong, serif;
  color: #222;
  overflow-wrap: anywhere;
}

.archive-list-date {
  color: #888;
  font-size: 13px;
  line-height: 1.35;
  font-family: "Times New Roman", Times, serif;
  text-align: right;
  white-space: nowrap;
}

.archive-page-surface #page-nav {
  position: static;
  left: auto;
  transform: none;
  margin-top: auto;
  padding-top: 0;
}

.archive-page-surface #page-nav .page-number {
  margin-bottom: 0;
}

#page-nav .extend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  box-sizing: border-box;
  margin: 0 10px 30px;
  padding: 5px 10px;
  border-radius: 3px;
  background: #696969;
  color: #fff;
  line-height: 16px;
  transition: background 0.3s ease, transform 0.24s ease, opacity 0.24s ease;
}

#page-nav .extend:hover {
  background: #3c3c3c;
  color: #fff;
  transform: translate3d(0, -1px, 0);
}

#page-nav .extend.disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

#page-nav .extend::after {
  display: none;
}

@media screen and (max-width: 800px) {
  .article.category-menu-inner,
  .archive-page-surface,
  .article-type-page .article-inner {
    min-height: auto;
  }

  .body-wrap {
    margin-bottom: 24px;
  }

  .archive-page-surface {
    padding: 24px 18px 30px;
    border-radius: 20px;
  }

  .archive-page-surface .archive-page-title {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .archive-groups {
    gap: 20px;
  }

  .archive-year-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .archive-year-label {
    padding-top: 0;
  }

  .archive-year-link {
    font-size: 24px;
  }

  .archive-list-link {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 13px 14px;
  }

  .archive-list-title {
    font-size: 17px;
  }

  .archive-list-date {
    text-align: left;
  }

  .article.category-menu-inner .category-toggle {
    padding: 12px 14px;
  }
}
