.personal-home.blog-home {
  --blog-ink: #3f4148;
  --blog-muted: #7b7f89;
  --blog-line: #e5e7eb;
  --blog-accent: #617ecf;
  --blog-accent-strong: #5069b8;
  --blog-warm: #d7658c;
  min-height: 100svh;
  overflow-x: clip;
  overflow-y: visible;
  color: var(--blog-ink);
  background: #aabfe9;
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

html.personal-route {
  scrollbar-color: #7c6fff #e8e8f3;
  scrollbar-width: thin;
  background: #aabfe9 !important;
  background-image: none !important;
}

html.personal-route body {
  background: #aabfe9 !important;
  background-image: none !important;
}

html.personal-route #showcase {
  display: none !important;
}

html.personal-route #personalHome[hidden] {
  display: block !important;
}

html.personal-route::-webkit-scrollbar {
  width: 13px;
}

html.personal-route::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #fee9f1 0%, #fff2cf 24%, #dcf8e9 49%, #e1f2ff 74%, #eee7ff 100%);
  box-shadow: inset 0 0 0 1px rgba(78, 83, 109, 0.1);
}

html.personal-route::-webkit-scrollbar-thumb {
  min-height: 54px;
  border: 3px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6680, #ffb757 24%, #63d98c 48%, #4fb9f3 72%, #8c6cff) border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 0 8px rgba(116, 111, 255, 0.34);
}

html.personal-route::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff4265, #ffa72f 24%, #39ca72 48%, #2ca8eb 72%, #7650f3) border-box;
}

.blog-home button,
.blog-home input {
  font-family: inherit;
}

.blog-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  color: #4e5057;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px);
}

.blog-topbar-inner {
  width: min(100% - 32px, 960px);
  min-height: 60px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.blog-site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #464850;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.blog-site-brand img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(67, 70, 84, 0.12);
}

.blog-main-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  height: 60px;
}

.blog-main-nav button {
  position: relative;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  color: #5e6068;
  background: transparent;
  cursor: pointer;
}

.blog-main-nav button::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 0;
  left: 13px;
  height: 3px;
  background: var(--blog-accent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.blog-main-nav button:hover,
.blog-main-nav button:focus-visible,
.blog-main-nav button.is-active {
  color: var(--blog-accent-strong);
  outline: 0;
}

.blog-main-nav button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.blog-topbar-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-topbar-actions a,
.blog-topbar-actions button,
.blog-search-strip button,
.blog-back-top {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #555963;
  background: transparent;
  cursor: pointer;
}

.blog-topbar-actions .blog-studio-entry {
  width: auto;
  min-width: 176px;
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid #6d7ac3;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(110deg, #617ecf, #806ac6);
  box-shadow: 0 5px 14px rgba(82, 97, 180, 0.22);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.blog-topbar-actions .blog-bakehub-entry {
  width: auto;
  min-width: 128px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #c7c9d8;
  border-radius: 3px;
  color: #555963;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.blog-topbar-actions .blog-bakehub-entry:hover,
.blog-topbar-actions .blog-bakehub-entry:focus-visible {
  border-color: #777fc4;
  color: #fff;
  background: #6f76bd;
  transform: translateY(-1px);
}

.blog-topbar-actions .blog-studio-entry:hover,
.blog-topbar-actions .blog-studio-entry:focus-visible {
  background: linear-gradient(110deg, #617ecf, #806ac6);
  box-shadow: 0 8px 20px rgba(82, 97, 180, 0.34);
  filter: saturate(1.12);
  transform: translateY(-1px);
}

.blog-studio-entry svg:last-child,
.blog-bakehub-entry svg:last-child {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.blog-studio-entry:hover svg:last-child,
.blog-bakehub-entry:hover svg:last-child {
  transform: translate(2px, -2px);
}

.blog-topbar-actions a:hover,
.blog-topbar-actions a:focus-visible,
.blog-topbar-actions button:hover,
.blog-topbar-actions button:focus-visible {
  color: #fff;
  background: var(--blog-accent);
  outline: 0;
}

.blog-topbar-actions svg,
.blog-search-strip svg,
.blog-back-top svg {
  width: 18px;
  height: 18px;
}

.blog-search-strip {
  width: min(100% - 32px, 960px);
  min-height: 52px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  border-top: 1px solid #eceef2;
}

.blog-search-strip[hidden] {
  display: none;
}

.blog-search-strip label {
  display: grid;
  place-items: center;
  color: var(--blog-accent);
}

.blog-search-strip input {
  min-width: 0;
  height: 42px;
  padding: 0;
  border: 0;
  color: var(--blog-ink);
  background: transparent;
  font-size: 15px;
  outline: 0;
}

.blog-backdrop {
  min-height: calc(100svh - 60px);
  padding: 42px 16px 72px;
  background:
    linear-gradient(135deg, rgba(209, 181, 244, 0.96) 0%, rgba(154, 190, 244, 0.96) 48%, rgba(121, 198, 238, 0.96) 100%),
    #aabfe9;
}

.personal-loading .blog-topbar,
.personal-loading .blog-page-shell,
.personal-loading .blog-footer,
.personal-loading .blog-back-top {
  opacity: 0;
}

.personal-home.is-entering .blog-topbar {
  transform-origin: left;
  animation: showcase-reveal-line 600ms ease both;
}

.personal-home.is-entering .blog-site-brand,
.personal-home.is-entering .blog-main-nav,
.personal-home.is-entering .blog-topbar-actions {
  animation: showcase-reveal-up 520ms 180ms ease both;
}

.personal-home.is-entering .blog-page-shell {
  animation: showcase-reveal-up 600ms 240ms ease both;
}

.personal-home.is-entering .blog-footer {
  animation: showcase-reveal-up 500ms 360ms ease both;
}

.personal-home.is-entering .blog-back-top {
  animation: showcase-reveal-up 440ms 420ms ease both;
}

.blog-page-shell {
  width: min(100%, 960px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin: 0 auto;
}

.blog-author-card,
.blog-post-card,
.blog-article-detail-card,
.blog-static-card,
.blog-category-grid,
.blog-archive-list,
.blog-project-card {
  border: 1px solid rgba(70, 75, 96, 0.11);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(59, 63, 91, 0.11);
}

.blog-author-card,
.blog-post-card {
  border: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
}

.blog-author-card {
  position: sticky;
  top: 82px;
  padding: 24px 22px 18px;
  text-align: center;
}

.blog-author-avatar {
  width: 154px;
  max-width: 100%;
  aspect-ratio: 1;
  display: block;
  margin: 0 auto 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(50, 54, 70, 0.09);
}

.blog-author-card h1 {
  margin: 0;
  color: #3e4046;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.35;
}

.blog-author-role {
  margin: 7px 0 0;
  color: #666a73;
  font-size: 13px;
}

.blog-author-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 9px 0 0;
  color: #777b84;
  font-size: 12px;
}

.blog-author-location svg {
  width: 14px;
  height: 14px;
  color: var(--blog-warm);
}

.blog-author-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px -8px 0;
  padding: 15px 0;
  border-top: 1px solid var(--blog-line);
  border-bottom: 1px solid var(--blog-line);
}

.blog-author-stats button {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 0 4px;
  border: 0;
  border-left: 1px solid var(--blog-line);
  color: #60636c;
  background: transparent;
  cursor: pointer;
}

.blog-author-stats button:first-child {
  border-left: 0;
}

.blog-author-stats button:hover,
.blog-author-stats button:focus-visible {
  color: var(--blog-accent-strong);
  outline: 0;
}

.blog-author-stats span {
  font-size: 11px;
}

.blog-author-stats strong {
  color: #3f4148;
  font-size: 24px;
  font-weight: 500;
}

.blog-author-bio {
  margin: 17px 0;
  color: #777b84;
  font-size: 12px;
  line-height: 1.75;
  text-align: left;
}

.blog-author-links {
  display: grid;
  border-top: 1px solid var(--blog-line);
}

.blog-author-links a,
.blog-author-links button {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 5px;
  border: 0;
  border-bottom: 1px solid var(--blog-line);
  color: #63666f;
  background: transparent;
  font-size: 12px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.blog-author-links a:hover,
.blog-author-links a:focus-visible,
.blog-author-links button:hover,
.blog-author-links button:focus-visible {
  color: var(--blog-accent-strong);
  outline: 0;
}

.blog-author-links svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.blog-content-column {
  min-width: 0;
}

.blog-latest-tree {
  display: none;
  min-width: 0;
}

.blog-latest-card {
  position: sticky;
  top: 82px;
  padding: 20px 18px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
}

.blog-latest-heading {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--blog-line);
}

.blog-latest-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--blog-accent);
  font-size: 9px;
  font-weight: 700;
}

.blog-latest-heading h2 {
  margin: 0;
  color: #3f4148;
  font-size: 18px;
  font-weight: 600;
}

.blog-latest-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 5px 0 0 17px;
  list-style: none;
}

.blog-latest-list::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 4px;
  width: 1px;
  background: #d9dceb;
}

.blog-latest-item {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 13px 0 14px;
  border-bottom: 1px solid var(--blog-line);
}

.blog-latest-item:last-child {
  border-bottom: 0;
}

.blog-latest-item::before {
  content: "";
  position: absolute;
  top: 19px;
  left: -17px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blog-accent);
  box-shadow: 0 0 0 1px rgba(104, 115, 194, 0.2);
}

.blog-latest-item time {
  color: #999da7;
  font-size: 10px;
  line-height: 1;
}

.blog-latest-item a {
  color: #484b53;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.blog-latest-item a:hover,
.blog-latest-item a:focus-visible {
  color: var(--blog-accent-strong);
  outline: 0;
}

.blog-latest-item span {
  width: fit-content;
  padding: 2px 5px;
  color: #74788a;
  background: #f1f0f7;
  font-size: 9px;
  line-height: 1.25;
}

.blog-latest-empty {
  padding: 16px 0;
  color: var(--blog-muted);
  font-size: 11px;
}

.blog-public-panel[hidden] {
  display: none;
}

.blog-public-panel.is-active {
  animation: blog-panel-in 240ms ease both;
}

.blog-panel-heading {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px;
  margin-bottom: 16px;
  border-radius: 4px;
  color: #44474e;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(59, 63, 91, 0.09);
}

.blog-panel-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--blog-accent);
  font-size: 9px;
  font-weight: 700;
}

.blog-panel-heading h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
}

.blog-panel-heading small {
  color: var(--blog-muted);
  font-size: 11px;
}

.blog-post-list,
.blog-project-list {
  display: grid;
  gap: 18px;
}

.blog-post-card {
  position: relative;
  padding: 27px 28px 25px;
  cursor: default;
  transition: box-shadow 260ms ease, transform 260ms ease;
}

.blog-post-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 0 1px rgba(0, 0, 0, 0.1);
  transform: none;
}

.blog-post-title {
  margin: 0 0 11px;
  color: #303239;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.35;
}

.blog-post-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.blog-post-card:hover .blog-post-title-link,
.blog-post-title-link:focus-visible {
  color: var(--blog-accent-strong);
  outline: 0;
}

.blog-post-title::before {
  content: "»";
  margin-right: 10px;
  color: #303239;
  font-family: Arial, sans-serif;
  font-weight: 800;
}

.blog-post-title::after {
  content: "";
  width: 62px;
  height: 3px;
  display: block;
  margin-top: 10px;
  background: var(--blog-accent);
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 18px;
  color: #858993;
  font-size: 11px;
}

.blog-post-meta span,
.blog-post-meta time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-post-meta svg {
  width: 13px;
  height: 13px;
  color: var(--blog-accent);
}

.blog-article-cover {
  width: 100%;
  max-height: 380px;
  display: block;
  margin: 0 0 20px;
  border-radius: 2px;
  object-fit: cover;
}

.blog-article-cover-link {
  display: block;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 2px;
}

.blog-article-cover-link .blog-article-cover {
  margin: 0;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-post-card:hover .blog-article-cover {
  transform: scale(1.012);
}

.blog-post-excerpt {
  margin: 0;
  color: #555861;
  font-size: 14px;
  line-height: 1.92;
}

.blog-post-body {
  position: relative;
  overflow: hidden;
  color: #555861;
  font-size: 14px;
  line-height: 1.92;
  transition: max-height 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: max-height;
}

.blog-home-post-body {
  overflow: visible;
  font-size: 15.4px;
  line-height: 1.5;
  transition: none;
  will-change: auto;
}

.blog-home-post-body > :last-child {
  margin-bottom: 0;
}

.blog-home-post-footer {
  justify-content: flex-start;
}

.blog-post-body.is-collapsed {
  max-height: 420px;
}

.blog-post-body.is-collapsed::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 86px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
  pointer-events: none;
}

.blog-post-body h1,
.blog-post-body h2,
.blog-post-body h3 {
  margin: 1.05em 0 0.55em;
  color: #34363d;
  font-weight: 650;
  line-height: 1.4;
}

.blog-post-body h1 { font-size: 24px; }
.blog-post-body h2 { font-size: 21px; }
.blog-post-body h3 { font-size: 17px; }
.blog-post-body p { margin: 0 0 13px; }
.blog-post-body ul,
.blog-post-body ol { padding-left: 22px; }
.blog-post-body img { max-width: 100%; height: auto; border-radius: 2px; }
.blog-post-body a { color: var(--blog-accent-strong); }
.blog-post-body blockquote { margin: 1.2em 0; padding: 8px 15px; border-left: 3px solid var(--blog-accent); color: #6c7080; background: #f5f6fb; }
.blog-post-body code { padding: 2px 5px; color: #a33e61; background: #f7edf1; font-family: Consolas, monospace; }
.blog-post-body pre { overflow-x: auto; padding: 15px; color: #ecedf2; background: #30343d; }
.blog-post-body pre code { padding: 0; color: inherit; background: transparent; }
.blog-post-body table { width: 100%; border-collapse: collapse; }
.blog-post-body th,
.blog-post-body td { padding: 8px; border: 1px solid #dfe2e8; text-align: left; }

.blog-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--blog-line);
}

.blog-post-tags {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-post-tags span {
  padding: 4px 7px;
  color: #7a6ba8;
  background: #f0edf8;
  font-size: 10px;
}

.blog-post-expand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 0;
  color: #fff;
  background: var(--blog-accent);
  font-size: 11px;
  cursor: pointer;
}

.blog-post-expand:hover,
.blog-post-expand:focus-visible {
  background: var(--blog-accent-strong);
  outline: 0;
}

.blog-post-expand svg {
  width: 13px;
  height: 13px;
}

.blog-post-open {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  color: #fff;
  background: var(--blog-accent);
  font-size: 11px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.blog-post-open:hover,
.blog-post-open:focus-visible {
  color: #fff;
  background: var(--blog-accent-strong);
  outline: 0;
  transform: translateX(2px);
}

.blog-post-open svg {
  width: 13px;
  height: 13px;
}

.blog-article-detail-card {
  padding: 31px 34px 34px;
}

.blog-article-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 30px;
  color: #686c77;
  font-size: 11px;
  text-decoration: none;
}

.blog-article-back:hover,
.blog-article-back:focus-visible {
  color: var(--blog-accent-strong);
  outline: 0;
}

.blog-article-back svg {
  width: 14px;
  height: 14px;
  transition: transform 160ms ease;
}

.blog-article-back:hover svg {
  transform: translateX(-2px);
}

.blog-article-detail-head > span {
  display: block;
  margin-bottom: 10px;
  color: var(--blog-accent);
  font-size: 9px;
  font-weight: 750;
}

.blog-article-detail-head h1 {
  margin: 0 0 18px;
  color: #303239;
  font-size: 34px;
  font-weight: 650;
  line-height: 1.35;
}

.blog-article-detail-head .blog-post-meta {
  margin-bottom: 0;
}

.blog-article-detail-cover {
  width: 100%;
  max-height: 480px;
  display: block;
  margin: 27px 0 0;
  border-radius: 2px;
  object-fit: cover;
}

.blog-article-detail-body {
  overflow: visible;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--blog-line);
  font-size: 15px;
  line-height: 2;
  will-change: auto;
}

.blog-article-detail-body > :first-child {
  margin-top: 0;
}

.blog-article-detail-body > :last-child {
  margin-bottom: 0;
}

.blog-article-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--blog-line);
}

.blog-article-detail-footer > span {
  flex: 0 0 auto;
  color: var(--blog-muted);
  font-size: 10px;
}

.blog-article-neighbors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.blog-article-neighbors a {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 5px 9px;
  padding: 15px;
  border: 1px solid var(--blog-line);
  color: #4b4e57;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.blog-article-neighbors a:hover,
.blog-article-neighbors a:focus-visible {
  border-color: #9f94cd;
  background: #f7f5fc;
  outline: 0;
}

.blog-article-neighbors small {
  grid-column: 1 / -1;
  color: var(--blog-muted);
  font-size: 9px;
}

.blog-article-neighbors strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
}

.blog-article-neighbors svg {
  width: 14px;
  height: 14px;
  color: var(--blog-accent);
}

.blog-article-missing {
  min-height: 420px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.blog-article-missing > svg {
  width: 34px;
  height: 34px;
  color: var(--blog-accent);
}

.blog-article-missing h1 {
  margin: 16px 0 0;
  color: #393c44;
  font-size: 24px;
}

.blog-article-missing p {
  margin: 9px 0 22px;
  color: var(--blog-muted);
  font-size: 12px;
}

.blog-article-missing a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blog-accent-strong);
  font-size: 12px;
  text-decoration: none;
}

.blog-search-empty,
.blog-public-empty {
  min-height: 140px;
  display: grid;
  place-items: center;
  margin: 0;
  border-radius: 4px;
  color: var(--blog-muted);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(59, 63, 91, 0.09);
}

.blog-search-empty[hidden] {
  display: none;
}

.blog-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 12px;
}

.blog-category-item {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--blog-line);
  border-bottom: 1px solid var(--blog-line);
  color: #454850;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.blog-category-item:nth-child(2n) { border-right: 0; }
.blog-category-item:hover,
.blog-category-item:focus-visible { color: var(--blog-accent-strong); background: #f7f8fc; outline: 0; }
.blog-category-item strong { font-size: 18px; font-weight: 550; }
.blog-category-item span { color: var(--blog-muted); font-size: 11px; }

.blog-archive-list {
  padding: 14px 28px 24px;
}

.blog-archive-year {
  margin: 18px 0 7px;
  color: var(--blog-accent-strong);
  font-size: 20px;
}

.blog-archive-row {
  min-height: 52px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--blog-line);
  text-decoration: none;
  transition: background 160ms ease;
}

.blog-archive-row:hover,
.blog-archive-row:focus-visible {
  background: #f8f7fc;
  outline: 0;
}

.blog-archive-row > svg {
  width: 14px;
  height: 14px;
  color: var(--blog-accent);
}

.blog-archive-row time,
.blog-archive-row span {
  color: var(--blog-muted);
  font-size: 11px;
}

.blog-archive-row strong {
  min-width: 0;
  overflow: hidden;
  color: #4a4d55;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-static-card {
  padding: 0 30px 34px;
}

.blog-static-card .blog-panel-heading {
  padding: 0;
  margin: 0 0 24px;
  box-shadow: none;
}

.blog-about-avatar {
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: block;
  margin: 0 auto 28px;
  border-radius: 2px;
  object-fit: cover;
}

.blog-about-copy {
  color: #575a63;
  font-size: 14px;
  line-height: 1.9;
}

.blog-about-copy blockquote {
  margin: 24px 0 0;
  padding: 13px 17px;
  border-left: 3px solid var(--blog-warm);
  color: #6d617d;
  background: #f6f1f8;
}

.blog-project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  overflow: hidden;
}

.blog-project-copy {
  min-width: 0;
  padding: 25px 27px;
}

.blog-project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blog-accent-strong);
  font-size: 10px;
}

.blog-project-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48b887;
}

.blog-project-copy h3 {
  margin: 12px 0 10px;
  color: #34363d;
  font-size: 22px;
}

.blog-project-copy p {
  margin: 0;
  color: #686c76;
  font-size: 13px;
  line-height: 1.75;
}

.blog-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.blog-project-tags span {
  padding: 4px 7px;
  color: #74699b;
  background: #f0edf8;
  font-size: 9px;
}

.blog-project-copy a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blog-accent-strong);
  font-size: 12px;
  text-decoration: none;
}

.blog-project-copy a svg {
  width: 14px;
  height: 14px;
}

.blog-project-package-public {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding: 0 27px;
  border-top: 1px solid var(--blog-line);
}

.blog-project-package-toggle {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--blog-accent-strong);
  background: transparent;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.blog-project-package-toggle:hover,
.blog-project-package-toggle:focus-visible {
  color: #7650bd;
  outline: 0;
}

.blog-project-package-toggle svg {
  width: 15px;
  height: 15px;
}

.blog-project-package-toggle small {
  color: var(--blog-muted);
  font-size: 9px;
}

.blog-project-package-toggle > svg:last-child {
  transition: transform 180ms ease;
}

.blog-project-package-toggle[aria-expanded="true"] > svg:last-child {
  transform: rotate(180deg);
}

.blog-project-package-detail {
  padding: 16px 0 4px;
  border-top: 1px solid var(--blog-line);
}

.blog-project-package-detail[hidden] {
  display: none;
}

.blog-package-loading {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--blog-muted);
  font-size: 11px;
}

.blog-package-loading svg {
  width: 16px;
  height: 16px;
  animation: blog-package-spin 900ms linear infinite;
}

.blog-project-source-layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(210px, .58fr) minmax(320px, 1fr);
  gap: 0;
  padding: 1px;
  border: 1px solid var(--blog-line);
  background: #fff;
}

.blog-project-source-layout > section,
.blog-project-source-layout > article {
  min-width: 0;
  max-height: 560px;
  overflow: auto;
  padding: 18px;
}

.blog-project-source-layout > article {
  border-left: 1px solid var(--blog-line);
}

.blog-project-source-layout h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #44474f;
  font-size: 13px;
}

.blog-project-source-layout h4 svg {
  width: 16px;
  height: 16px;
  color: var(--blog-accent);
}

.blog-home .blog-package-tree {
  color: #777b85;
  font: 500 10px/1.4 Consolas, monospace;
}

.blog-home .blog-package-tree-dir > summary,
.blog-home .blog-package-tree-file {
  min-height: 29px;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  list-style: none;
}

.blog-home .blog-package-tree-dir > summary {
  color: #50545d;
  cursor: pointer;
}

.blog-home .blog-package-tree-dir > summary::-webkit-details-marker { display: none; }
.blog-home .blog-package-tree-dir svg, .blog-home .blog-package-tree-file svg { width: 13px; height: 13px; color: var(--blog-accent); }
.blog-home .blog-package-tree-dir span, .blog-home .blog-package-tree-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blog-home .blog-package-tree-dir small, .blog-home .blog-package-tree-file small { color: #a0a3ab; font-size: 8px; }
.blog-home .blog-package-tree-dir > div { padding-left: 15px; border-left: 1px solid var(--blog-line); }
.blog-home .blog-package-readme { overflow-wrap: anywhere; color: #575b64; font-size: 12px; line-height: 1.8; }
.blog-home .blog-package-readme h1, .blog-home .blog-package-readme h2, .blog-home .blog-package-readme h3 { margin: 1em 0 .5em; color: #35383f; }
.blog-home .blog-package-readme h1 { font-size: 22px; } .blog-home .blog-package-readme h2 { font-size: 18px; } .blog-home .blog-package-readme h3 { font-size: 15px; }
.blog-home .blog-package-readme img { max-width: 100%; height: auto; }
.blog-home .blog-package-readme a { color: var(--blog-accent-strong); }
.blog-home .blog-package-readme pre { overflow: auto; padding: 12px; color: #eceef3; background: #30343d; }
.blog-home .blog-package-readme code { padding: 2px 4px; color: #a23d61; background: #f7edf1; }
.blog-home .blog-package-readme pre code { padding: 0; color: inherit; background: transparent; }
.blog-package-error { margin: 0; padding: 14px; color: #b33d59; background: #fff0f4; font-size: 11px; }

.blog-project-media {
  min-height: 220px;
  overflow: hidden;
  background: #eef0f5;
}

.blog-project-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.blog-footer {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(20px, calc((100% - 960px) / 2));
  color: #777b84;
  background: #fff;
  font-size: 11px;
}

.blog-back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  color: var(--blog-accent-strong);
  background: #fff;
  box-shadow: 0 6px 18px rgba(53, 58, 82, 0.2);
}

.blog-scroll-particles {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}

.blog-scroll-particles i {
  position: absolute;
  top: var(--particle-y);
  right: var(--particle-x);
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--particle-color);
  box-shadow: 0 0 8px var(--particle-color);
  animation: blog-rainbow-particle 720ms cubic-bezier(0.18, 0.72, 0.24, 1) forwards;
}

.blog-back-top:hover,
.blog-back-top:focus-visible {
  color: #fff;
  background: var(--blog-accent);
  outline: 0;
}

@keyframes blog-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blog-rainbow-particle {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.5) rotate(0deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--particle-drift), var(--particle-rise), 0) scale(1.35) rotate(180deg); }
}

@keyframes blog-package-spin { to { transform: rotate(360deg); } }

@media (min-width: 981px) {
  .blog-topbar-inner,
  .blog-search-strip {
    width: min(100% - 32px, 960px);
  }

  .blog-site-brand span {
    display: none;
  }

  .blog-topbar-actions .blog-studio-entry,
  .blog-topbar-actions .blog-bakehub-entry {
    width: auto;
    padding: 0 13px;
    border: 0;
    color: #fff;
  }

  .blog-topbar-actions .blog-bakehub-entry {
    min-width: 148px;
    background: #30343c;
    box-shadow: 0 5px 14px rgba(39, 43, 52, 0.2);
  }

  .blog-topbar-actions .blog-studio-entry {
    min-width: 140px;
    background: #6676c8;
    box-shadow: 0 5px 14px rgba(82, 97, 180, 0.28);
  }

  .blog-studio-entry span,
  .blog-studio-entry svg:last-child,
  .blog-bakehub-entry span,
  .blog-bakehub-entry svg:last-child {
    display: inline-block;
  }

  .personal-home:not(.is-literary-view) .blog-page-shell {
    grid-template-columns: 184px 550px 184px;
    justify-content: start;
  }

  .personal-home:not(.is-literary-view) .blog-latest-tree {
    display: block;
  }

  .personal-home:not(.is-literary-view) .blog-author-card {
    padding: 20px 16px 16px;
  }

  .personal-home:not(.is-literary-view) .blog-author-avatar {
    width: 126px;
    margin-bottom: 12px;
  }

  .personal-home:not(.is-literary-view) .blog-author-card h1 {
    font-size: 21px;
  }

  .personal-home:not(.is-literary-view) .blog-author-role {
    margin-top: 4px;
  }

  .personal-home:not(.is-literary-view) .blog-author-location {
    margin-top: 6px;
  }

  .personal-home:not(.is-literary-view) .blog-author-stats {
    margin-top: 20px;
    padding: 12px 0;
  }

  .personal-home:not(.is-literary-view) .blog-author-bio {
    margin: 14px 0 8px;
  }

  .personal-home:not(.is-literary-view) .blog-home-heading {
    display: none;
  }

  .personal-home:not(.is-literary-view) .blog-post-list {
    gap: 20px;
  }

  .personal-home:not(.is-literary-view) .blog-post-card {
    padding: 22px 20px 18px;
  }

  .personal-home:not(.is-literary-view) .blog-post-title {
    margin-bottom: 8px;
    font-size: 28px;
  }

  .personal-home:not(.is-literary-view) .blog-post-title::after {
    margin-top: 7px;
  }

  .personal-home:not(.is-literary-view) .blog-post-meta {
    margin-bottom: 12px;
  }

  .personal-home:not(.is-literary-view) .blog-post-excerpt {
    line-height: 1.75;
  }

  .personal-home:not(.is-literary-view) .blog-post-footer {
    margin-top: 13px;
    padding-top: 11px;
  }
}

@media (min-width: 1408px) {
  .blog-topbar-inner,
  .blog-search-strip {
    width: min(calc(100% - 120px), 1800px);
  }

  .personal-home:not(.is-literary-view) .blog-page-shell {
    width: min(calc(100% - 64px), 1800px);
    grid-template-columns: minmax(260px, 1fr) minmax(0, 4.2fr) minmax(260px, 1fr);
    gap: 20px;
  }

  .personal-home:not(.is-literary-view) .blog-author-card {
    padding: 21px;
  }

  .personal-home:not(.is-literary-view) .blog-latest-card {
    padding: 21px;
  }

  .personal-home:not(.is-literary-view) .blog-latest-item a {
    font-size: 14px;
  }

  .personal-home:not(.is-literary-view) .blog-post-card {
    padding: 22px 21px 18px;
  }

  .personal-home:not(.is-literary-view) .blog-post-title {
    font-size: 28px;
  }

  .personal-home:not(.is-literary-view) .blog-post-excerpt {
    font-size: 15px;
    line-height: 1.72;
  }
}

@media (max-width: 980px) {
  .blog-site-brand span {
    display: none;
  }

  .blog-topbar-actions .blog-studio-entry,
  .blog-topbar-actions .blog-bakehub-entry {
    min-width: 42px;
    width: 42px;
    padding: 0;
  }

  .blog-studio-entry span,
  .blog-studio-entry svg:last-child,
  .blog-bakehub-entry span,
  .blog-bakehub-entry svg:last-child {
    display: none;
  }
}

@media (max-width: 860px) {
  .blog-topbar-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .blog-site-brand span {
    display: none;
  }

  .blog-main-nav {
    justify-content: center;
  }

  .blog-main-nav button {
    min-width: 54px;
    padding: 0 8px;
    font-size: 12px;
  }

  .blog-page-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .blog-author-card {
    padding-inline: 16px;
  }

  .blog-author-avatar {
    width: 132px;
  }

  .blog-project-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-project-media {
    min-height: 260px;
  }

  .blog-topbar-actions .blog-studio-entry {
    min-width: 42px;
    width: 42px;
    padding: 0;
  }

  .blog-studio-entry span,
  .blog-studio-entry svg:last-child {
    display: none;
  }

}

@media (max-width: 680px) {
  .blog-topbar {
    position: relative;
  }

  .blog-topbar-inner {
    width: 100%;
    min-height: 58px;
    grid-template-columns: 44px minmax(0, 1fr) 108px;
    padding: 0 8px;
  }

  .blog-site-brand {
    gap: 0;
  }

  .blog-site-brand img {
    width: 34px;
    height: 34px;
  }

  .blog-main-nav {
    min-width: 0;
    height: 58px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blog-main-nav::-webkit-scrollbar { display: none; }

  .blog-main-nav button {
    min-width: 40px;
    flex: 0 0 auto;
    padding: 0 2px;
    font-size: 9px;
  }

  .blog-main-nav button::after {
    right: 3px;
    left: 3px;
  }

  .blog-topbar-actions {
    gap: 0;
  }

  .blog-topbar-actions a,
  .blog-topbar-actions button {
    width: 36px;
  }

  .blog-topbar-actions .blog-studio-entry,
  .blog-topbar-actions .blog-bakehub-entry {
    min-width: 36px;
    width: 36px;
  }

  .blog-search-strip {
    width: calc(100% - 20px);
  }

  .blog-backdrop {
    padding: 18px 10px 44px;
  }

  .blog-page-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .blog-author-card {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    column-gap: 16px;
    padding: 16px;
    text-align: left;
  }

  .blog-author-avatar {
    width: 88px;
    grid-row: 1 / span 4;
    margin: 0;
  }

  .blog-author-card h1 {
    align-self: end;
    font-size: 20px;
  }

  .blog-author-role,
  .blog-author-location {
    justify-content: flex-start;
    margin-top: 4px;
  }

  .blog-author-stats,
  .blog-author-bio,
  .blog-author-links {
    grid-column: 1 / -1;
  }

  .blog-author-stats {
    margin: 16px 0 0;
  }

  .blog-author-bio {
    margin-bottom: 10px;
  }

  .blog-author-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-author-links a:nth-child(odd),
  .blog-author-links button:nth-child(odd) {
    border-right: 1px solid var(--blog-line);
  }

  .blog-panel-heading {
    min-height: 66px;
    padding: 0 18px;
  }

  .blog-panel-heading h2 {
    font-size: 19px;
  }

  .blog-post-card {
    padding: 22px 18px 20px;
  }

  .blog-post-title {
    font-size: 22px;
  }

  .blog-post-body {
    font-size: 13px;
  }

  .blog-post-excerpt {
    font-size: 13px;
  }

  .blog-article-detail-card {
    padding: 22px 18px 24px;
  }

  .blog-article-back {
    margin-bottom: 22px;
  }

  .blog-article-detail-head h1 {
    font-size: 27px;
  }

  .blog-article-detail-body {
    margin-top: 22px;
    padding-top: 20px;
    font-size: 14px;
  }

  .blog-article-detail-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-article-neighbors {
    grid-template-columns: 1fr;
  }

  .blog-category-grid {
    grid-template-columns: 1fr;
  }

  .blog-category-item,
  .blog-category-item:nth-child(2n) {
    border-right: 0;
  }

  .blog-archive-list {
    padding-inline: 18px;
  }

  .blog-archive-row {
    grid-template-columns: 64px minmax(0, 1fr) 16px;
  }

  .blog-archive-row span {
    display: none;
  }

  .blog-static-card {
    padding: 0 20px 24px;
  }

  .blog-project-media {
    min-height: 190px;
  }

  .blog-project-package-toggle {
    grid-template-columns: 18px minmax(0, 1fr) 18px;
  }

  .blog-project-package-toggle small {
    display: none;
  }

  .blog-project-source-layout {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .blog-project-source-layout > article {
    border-top: 1px solid var(--blog-line);
    border-left: 0;
  }

  .blog-footer {
    min-height: 74px;
    display: grid;
    justify-content: center;
    align-content: center;
    gap: 6px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .personal-home.is-entering .blog-topbar,
  .personal-home.is-entering .blog-site-brand,
  .personal-home.is-entering .blog-main-nav,
  .personal-home.is-entering .blog-topbar-actions,
  .personal-home.is-entering .blog-page-shell,
  .personal-home.is-entering .blog-footer,
  .personal-home.is-entering .blog-back-top,
  .blog-public-panel.is-active,
  .blog-scroll-particles i {
    animation: none;
  }

  .blog-post-body,
  .blog-studio-entry,
  .blog-post-card {
    transition: none;
  }
}

/* Community: article comments, guestbook and diary-style treehole. */
.blog-community-lead { margin: -8px 0 26px; color: var(--blog-muted); font-size: 13px; line-height: 1.8; }
.blog-community-empty { margin: 0; padding: 28px; border: 1px dashed var(--blog-line); color: var(--blog-muted); text-align: center; }
.blog-comment-thread { margin-top: 24px; padding: 24px; border: 1px solid var(--blog-line); background: rgba(255,255,255,.76); }
.blog-comment-thread > header { margin-bottom: 18px; }
.blog-comment-thread > header span { color: var(--blog-accent); font: 700 9px/1 "Cascadia Code", Consolas, monospace; }
.blog-comment-thread > header h3 { margin: 8px 0 0; color: var(--blog-ink); font-size: 22px; }
.blog-comment-thread > header small { color: var(--blog-muted); font-size: 12px; }
.blog-comment-list { display: grid; gap: 12px; margin-bottom: 20px; }
.blog-comment-item { padding: 16px; border: 1px solid var(--blog-line); background: #fff; }
.blog-comment-item header { display: flex; align-items: center; gap: 10px; }
.blog-comment-item header > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--blog-accent); font: 700 12px/1 "Cascadia Code", Consolas, monospace; }
.blog-comment-item header div { display: grid; gap: 4px; }
.blog-comment-item strong { color: var(--blog-ink); font-size: 13px; }
.blog-comment-item time { color: var(--blog-muted); font: 600 8px/1 "Cascadia Code", Consolas, monospace; }
.blog-comment-item p, .blog-message-item p { margin: 13px 0 0; color: var(--blog-copy); font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.blog-community-form { display: grid; grid-template-columns: minmax(160px,.36fr) minmax(0,1fr) auto; gap: 12px; align-items: end; padding: 18px; border-top: 3px solid var(--blog-accent); background: var(--blog-paper-soft); }
.blog-community-form label { min-width: 0; display: grid; gap: 7px; }
.blog-community-form label > span { color: var(--blog-muted); font: 700 9px/1 "Cascadia Code", Consolas, monospace; }
.blog-community-form input, .blog-community-form textarea { width: 100%; border: 1px solid var(--blog-line); border-radius: 0; color: var(--blog-ink); background: #fff; outline: 0; font: inherit; }
.blog-community-form input { height: 42px; padding: 0 11px; }
.blog-community-form textarea { min-height: 72px; padding: 10px 11px; resize: vertical; line-height: 1.55; }
.blog-community-form input:focus, .blog-community-form textarea:focus { border-color: var(--blog-accent); }
.blog-community-form button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 16px; border: 1px solid var(--blog-accent); color: #fff; background: var(--blog-accent); cursor: pointer; }
.blog-community-form button:disabled { opacity: .55; cursor: wait; }
.blog-community-form button svg { width: 15px; height: 15px; }
.blog-community-status { grid-column: 1/-1; min-height: 16px; margin: 0; color: var(--blog-muted); font-size: 11px; }
.blog-community-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.blog-treehole-list { display: grid; }
.blog-treehole-entry { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 22px; animation: blog-panel-in 480ms calc(var(--treehole-order) * 55ms) both; }
.blog-treehole-date { position: relative; display: flex; justify-content: center; }
.blog-treehole-date::after { content:""; position:absolute; top:64px; bottom:-1px; left:50%; width:1px; background:var(--blog-line); }
.blog-treehole-date time { position: relative; z-index:1; width:68px; height:68px; display:grid; place-content:center; text-align:center; border:1px solid var(--blog-line); background:var(--blog-paper); }
.blog-treehole-date strong { color:var(--blog-accent); font-size:25px; line-height:1; }
.blog-treehole-date span { margin-top:5px; color:var(--blog-muted); font:650 8px/1 "Cascadia Code",Consolas,monospace; }
.blog-treehole-card { min-width:0; margin-bottom:24px; padding:24px; border:1px solid var(--blog-line); background:rgba(255,255,255,.82); }
.blog-treehole-card > header > span { color:var(--blog-accent); font:700 8px/1 "Cascadia Code",Consolas,monospace; }
.blog-treehole-card > header h3 { margin:9px 0 12px; color:var(--blog-ink); font-size:23px; }
.blog-treehole-card > header div { display:flex; flex-wrap:wrap; gap:14px; }
.blog-treehole-card > header small { display:inline-flex; align-items:center; gap:5px; color:var(--blog-muted); }
.blog-treehole-card > header svg { width:13px; height:13px; color:var(--blog-accent); }
.blog-treehole-card > p { margin:20px 0 0; color:var(--blog-copy); font-size:14px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; }
.blog-treehole-card .blog-comment-thread { padding:0; border:0; border-top:1px solid var(--blog-line); background:transparent; }
.blog-guestbook { display:grid; gap:22px; }
.blog-message-list { display:grid; gap:10px; }
.blog-message-item { display:grid; grid-template-columns:54px minmax(0,1fr); border:1px solid var(--blog-line); background:rgba(255,255,255,.8); }
.blog-message-item > span { display:grid; place-items:center; color:var(--blog-accent); border-right:1px solid var(--blog-line); font:700 11px/1 "Cascadia Code",Consolas,monospace; }
.blog-message-item > div { padding:16px 18px; }
.blog-message-item header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.blog-message-item strong { color:var(--blog-ink); }
.blog-message-item time { color:var(--blog-muted); font:600 8px/1 "Cascadia Code",Consolas,monospace; }

@media (max-width: 760px) {
  .blog-community-form { grid-template-columns:1fr; }
  .blog-community-status { grid-column:auto; }
  .blog-treehole-entry { grid-template-columns:56px minmax(0,1fr); gap:10px; }
  .blog-treehole-date time { width:54px; height:58px; }
  .blog-treehole-date strong { font-size:20px; }
  .blog-treehole-card { padding:18px 14px; }
  .blog-comment-thread { padding:18px 14px; }
  .blog-message-item { grid-template-columns:42px minmax(0,1fr); }
  .blog-message-item header { align-items:flex-start; flex-direction:column; }
}

/* Literary treehole and drifting guestbook, inspired by classic text-first blogs. */
.personal-home.is-literary-view .blog-backdrop {
  padding-top: 34px;
  background: #e7e7e7;
}

.personal-home.is-literary-view .blog-page-shell {
  width: min(100% - 32px, 1120px);
  display: block;
}

.personal-home.is-literary-view .blog-author-card {
  display: none;
}

.personal-home.is-literary-view .blog-panel-heading {
  min-height: 0;
  display: block;
  padding: 30px 36px 20px;
  margin: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.personal-home.is-literary-view .blog-panel-heading span {
  color: #8a8a8a;
  font: 600 11px/1.2 Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.personal-home.is-literary-view .blog-panel-heading h2 {
  color: #555;
  font: 700 30px/1.35 Georgia, "Songti SC", SimSun, serif;
}

.personal-home.is-literary-view .blog-panel-heading small {
  display: block;
  margin-top: 12px;
  color: #969696;
  font-size: 12px;
}

.personal-home.is-literary-view .blog-community-lead {
  margin: 0;
  padding: 0 36px 28px;
  color: #777;
  background: #fff;
  font-family: "LXGW WenKai Screen R", "Kaiti SC", KaiTi, STKaiti, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

.blog-treehole-list {
  background: #fff;
}

.blog-treehole-entry {
  display: block;
  padding: 54px max(36px, 7vw) 42px;
  border-top: 1px solid #e8e8e8;
  animation: blog-panel-in 480ms calc(var(--treehole-order) * 55ms) both;
}

.blog-treehole-head > span {
  color: #999;
  font: 600 11px/1 Georgia, "Times New Roman", serif;
}

.blog-treehole-head h3 {
  margin: 10px 0 13px;
  color: #555;
  font: 700 30px/1.35 Georgia, "Songti SC", SimSun, serif;
}

.blog-treehole-head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #929292;
  font-size: 12px;
}

.blog-treehole-head time,
.blog-treehole-head small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-treehole-head svg {
  width: 13px;
  height: 13px;
}

.blog-treehole-prose {
  margin-top: 30px;
  color: #444;
  font-family: "LXGW WenKai Screen R", "Kaiti SC", KaiTi, STKaiti, "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.88;
}

.blog-treehole-prose p {
  margin: 0 0 1.55em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.blog-treehole-entry > .blog-comment-thread {
  margin-top: 50px;
  padding: 28px 0 0;
  border: 0;
  border-top: 1px solid #ddd;
  background: transparent;
}

.blog-treehole-entry .blog-comment-item,
.personal-home.is-literary-view .blog-community-form {
  border-color: #ddd;
  background: #fafafa;
  box-shadow: none;
}

.blog-literary-empty {
  min-height: 420px;
  display: grid;
  place-items: center;
  border: 0;
  color: #888;
  background: #fff;
  font: 16px/1.8 "LXGW WenKai Screen R", KaiTi, STKaiti, serif;
}

.personal-home.is-message-view .blog-content-column {
  overflow: hidden;
  background: #fff;
}

.personal-home.is-message-view .blog-guestbook {
  gap: 0;
  background: #fff;
}

.blog-message-sky {
  position: relative;
  min-height: 0;
  padding: 30px 36px 34px;
  overflow: visible;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #e2e2e2;
  background:
    linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)),
    repeating-linear-gradient(0deg, transparent 0 49px, rgba(60,60,60,.035) 49px 50px);
}

.blog-message-sky::before {
  content: "今日留言";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(60, 60, 60, .025);
  font: 700 clamp(46px, 8vw, 96px)/1 "Songti SC", SimSun, serif;
  pointer-events: none;
}

.blog-top-message-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
}

.blog-top-message-heading > span {
  color: #9a9a9a;
  font: 600 9px/1 Georgia, "Times New Roman", serif;
}

.blog-top-message-heading h3 {
  grid-column: 1;
  margin: 0;
  color: #4d4d4d;
  font: 700 23px/1.35 Georgia, "Songti SC", SimSun, serif;
}

.blog-top-message-heading > small {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: #9a9a9a;
  font: 600 12px/1 "Cascadia Code", Consolas, monospace;
}

.blog-top-message-list {
  position: relative;
  z-index: 1;
  display: grid;
}

.blog-top-message {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid #ededed;
}

.blog-top-message:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.blog-top-message > span {
  padding-top: 4px;
  color: #aaa;
  font: 600 10px/1 "Cascadia Code", Consolas, monospace;
}

.blog-top-message p {
  margin: 0;
  color: #4b4b4b;
  font: 400 17px/1.75 "LXGW WenKai Screen R", "Kaiti SC", KaiTi, STKaiti, "Microsoft YaHei", sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.blog-top-message footer {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-top: 10px;
}

.blog-top-message footer strong {
  color: #777;
  font-size: 12px;
}

.blog-top-message footer time {
  margin-left: auto;
  color: #aaa;
  font: 600 8px/1 "Cascadia Code", Consolas, monospace;
}

.blog-visitor-id {
  color: #777;
  font: 600 9px/1.2 "Cascadia Code", Consolas, monospace;
  letter-spacing: 0;
  white-space: nowrap;
}

.blog-message-sky-empty {
  min-height: 108px;
  display: grid;
  place-items: center;
  color: #9a9a9a;
  font: 17px/1.8 "LXGW WenKai Screen R", KaiTi, STKaiti, serif;
}

.personal-home.is-message-view .blog-community-form {
  grid-template-columns: 180px minmax(0, 1fr) auto;
  padding: 28px 36px;
  border-top: 0;
}

.personal-home.is-message-view .blog-community-form input,
.personal-home.is-message-view .blog-community-form textarea {
  font-family: "LXGW WenKai Screen R", "Kaiti SC", KaiTi, STKaiti, "Microsoft YaHei", sans-serif;
  font-size: 16px;
}

.blog-message-archive {
  padding: 38px 36px 48px;
}

.blog-message-archive > header {
  margin-bottom: 22px;
}

.blog-message-archive > header span {
  color: #999;
  font: 600 10px/1 Georgia, "Times New Roman", serif;
}

.blog-message-archive > header h3 {
  margin: 8px 0 0;
  color: #555;
  font: 700 24px/1.35 Georgia, "Songti SC", SimSun, serif;
}

.blog-message-item {
  grid-template-columns: 44px minmax(0, 1fr);
  border-width: 1px 0 0;
  background: transparent;
}

.blog-message-item > span {
  border-right: 0;
  color: #aaa;
}

.blog-message-item > div {
  padding: 20px 0;
}

.blog-message-author {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 10px;
}

.blog-message-item p,
.blog-comment-item p {
  font-family: "LXGW WenKai Screen R", "Kaiti SC", KaiTi, STKaiti, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

@keyframes blog-message-drift {
  from { transform: translate3d(0, -50%, 0) scale(var(--float-scale)); }
  to { transform: translate3d(calc(-100vw - 100%), -50%, 0) scale(var(--float-scale)); }
}

@keyframes blog-empty-message-drift {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(calc(-100vw - 100%), -50%, 0); }
}

@media (max-width: 680px) {
  .personal-home.is-literary-view .blog-backdrop { padding: 0; }
  .personal-home.is-literary-view .blog-page-shell { width: 100%; }
  .personal-home.is-literary-view .blog-panel-heading { padding: 26px 20px 16px; }
  .personal-home.is-literary-view .blog-panel-heading h2 { font-size: 26px; }
  .personal-home.is-literary-view .blog-community-lead { padding: 0 20px 22px; font-size: 15px; }
  .blog-treehole-entry { padding: 38px 20px 32px; }
  .blog-treehole-head h3 { font-size: 25px; }
  .blog-treehole-prose { margin-top: 24px; font-size: 16px; line-height: 1.9; }
  .blog-message-sky { padding: 24px 20px 26px; }
  .blog-top-message { grid-template-columns: 32px minmax(0, 1fr); gap: 6px; }
  .blog-top-message p { font-size: 15px; }
  .blog-top-message footer time { width: 100%; margin-left: 0; }
  .personal-home.is-message-view .blog-community-form { grid-template-columns: 1fr; padding: 22px 20px; }
  .blog-message-archive { padding: 32px 20px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-message-sky-empty { animation: none; }
}
