@font-face {
  font-family: "Mizuki Round";
  src: url("https://cdn.jsdelivr.net/gh/LyraVoid/Mizuki@master/src/assets/fonts/ZenMaruGothic-Medium.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --mu-hue: 240;
  --mu-primary: oklch(68% .14 var(--mu-hue));
  --mu-primary-strong: oklch(57% .15 var(--mu-hue));
  --mu-primary-soft: oklch(94% .035 var(--mu-hue));
  --mu-page: oklch(96% .012 var(--mu-hue));
  --mu-page-rgb: 246 248 251;
  --mu-card: rgb(255 255 255 / 94%);
  --mu-card-solid: #fff;
  --mu-float: rgb(255 255 255 / 86%);
  --mu-text: oklch(31% .025 var(--mu-hue));
  --mu-text-soft: oklch(47% .022 var(--mu-hue));
  --mu-muted: oklch(60% .018 var(--mu-hue));
  --mu-line: rgb(23 29 38 / 8%);
  --mu-line-strong: rgb(23 29 38 / 13%);
  --mu-code: #171b25;
  --mu-code-text: #dce4ef;
  --mu-selection: oklch(88% .075 var(--mu-hue));
  --mu-shadow-xs: 0 1px 2px rgb(30 45 60 / 5%);
  --mu-shadow-sm: 0 8px 24px rgb(54 70 90 / 8%);
  --mu-shadow-lg: 0 22px 64px rgb(45 60 82 / 13%);
  --mu-radius-card: 16px;
  --mu-radius-inner: 12px;
  --mu-radius-control: 9px;
  --mu-content-width: 1180px;
  --mu-scroll-progress: 0;
  --mu-bg-image: none;
  --mu-bg-position: center;
  --mu-bg-dim: .82;
  --mu-bg-blur: 1px;
  --mu-banner-desktop: none;
  --mu-banner-mobile: var(--mu-banner-desktop);
  --mu-banner-position: center;
  --mu-banner-dim: .34;
  --mu-avatar-image: none;
  --mu-ease: cubic-bezier(.2, .8, .2, 1);
  --mu-z-nav: 30;
  --mu-z-tools: 40;
  --mu-z-skip: 60;
}

:root[data-mu-theme="dark"] {
  color-scheme: dark;
  --mu-primary: oklch(76% .12 var(--mu-hue));
  --mu-primary-strong: oklch(70% .14 var(--mu-hue));
  --mu-primary-soft: oklch(29% .045 var(--mu-hue));
  --mu-page: oklch(17% .016 var(--mu-hue));
  --mu-page-rgb: 20 24 32;
  --mu-card: rgb(31 36 47 / 92%);
  --mu-card-solid: #202530;
  --mu-float: rgb(28 33 43 / 88%);
  --mu-text: oklch(91% .012 var(--mu-hue));
  --mu-text-soft: oklch(76% .014 var(--mu-hue));
  --mu-muted: oklch(66% .014 var(--mu-hue));
  --mu-line: rgb(255 255 255 / 9%);
  --mu-line-strong: rgb(255 255 255 / 15%);
  --mu-selection: oklch(39% .09 var(--mu-hue));
  --mu-shadow-xs: 0 1px 2px rgb(0 0 0 / 18%);
  --mu-shadow-sm: 0 10px 30px rgb(0 0 0 / 22%);
  --mu-shadow-lg: 0 26px 70px rgb(0 0 0 / 34%);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--mu-text);
  background: var(--mu-page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  transition: color .2s ease, background-color .2s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: -12px;
  z-index: -2;
  display: none;
  background-image: var(--mu-bg-image);
  background-position: var(--mu-bg-position);
  background-size: cover;
  filter: blur(var(--mu-bg-blur));
  transform: scale(1.03);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  background: rgb(var(--mu-page-rgb) / var(--mu-bg-dim));
  pointer-events: none;
}

html[data-mu-wallpaper="fullscreen"] body::before,
html[data-mu-wallpaper="fullscreen"] body::after {
  display: block;
}

html[data-mu-wallpaper="fullscreen"] body {
  background: transparent;
}

html[data-mu-wallpaper="fullscreen"] #blogTitle {
  background-image:
    linear-gradient(rgb(10 14 22 / var(--mu-banner-dim)), rgb(10 14 22 / var(--mu-banner-dim))),
    var(--mu-bg-image);
  background-position: var(--mu-bg-position);
}

::selection {
  color: var(--mu-text);
  background: var(--mu-selection);
}

a {
  color: var(--mu-primary-strong);
  text-decoration: none;
}

a:hover {
  color: var(--mu-primary);
}

img,
video,
iframe {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

pre,
code,
kbd,
samp {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

#top_nav,
#blogLogo,
#lnkBlogLogo,
.clear,
#blog-calendar,
#HistoryToday,
#sidebar_search_box,
#under_post_news,
#under_post_kb,
.ad_text_commentbox,
.c_ad_block,
.under-post-card,
#cnblogs_ch,
#author_profile,
#blog_post_info_block,
.blogStats {
  display: none !important;
}

.mu-skip {
  position: fixed;
  left: 14px;
  top: 12px;
  z-index: var(--mu-z-skip);
  padding: 8px 12px;
  border-radius: var(--mu-radius-control);
  color: #fff;
  background: var(--mu-primary-strong);
  transform: translateY(-150%);
  transition: transform .16s ease;
}

.mu-skip:focus {
  transform: translateY(0);
}

#mu-scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 70;
  width: 100%;
  height: 3px;
  background: var(--mu-primary);
  transform: scaleX(var(--mu-scroll-progress));
  transform-origin: left center;
  pointer-events: none;
}

#home {
  width: 100%;
  min-height: 100vh;
  margin: 0;
}

#header {
  position: relative;
  height: 58vh;
  min-height: 440px;
  max-height: 640px;
  color: #fff;
}

#blogTitle {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 88px 24px 78px;
  background-image:
    linear-gradient(rgb(10 14 22 / var(--mu-banner-dim)), rgb(10 14 22 / var(--mu-banner-dim))),
    var(--mu-banner-desktop);
  background-position: var(--mu-banner-position);
  background-size: cover;
  isolation: isolate;
}

#blogTitle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgb(7 10 18 / 20%), transparent 34%, rgb(7 10 18 / 28%));
}

#blogTitle::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -1px;
  width: 120%;
  height: 54px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--mu-page);
}

html[data-mu-wallpaper="fullscreen"] #blogTitle::after {
  background: rgb(var(--mu-page-rgb) / var(--mu-bg-dim));
}

#blogTitle h1 {
  position: relative;
  z-index: 1;
  max-width: min(900px, 92vw);
  margin: 0;
  font-family: "Mizuki Round", "PingFang SC", sans-serif;
  font-size: 64px;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgb(0 0 0 / 46%);
  animation: mu-rise .72s var(--mu-ease) both;
}

#blogTitle h1 a {
  color: #fff;
}

#blogTitle h1::after {
  content: attr(data-subtitle);
  display: block;
  max-width: 650px;
  margin: 14px auto 0;
  color: rgb(255 255 255 / 88%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 2px 10px rgb(0 0 0 / 60%);
}

#blogTitle h2 {
  display: none;
}

@keyframes mu-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

#navigator {
  position: fixed;
  left: 50%;
  top: 14px;
  z-index: var(--mu-z-nav);
  display: flex;
  align-items: center;
  width: min(var(--mu-content-width), calc(100% - 32px));
  min-height: 58px;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 16px;
  background: rgb(18 22 31 / 34%);
  box-shadow: 0 12px 38px rgb(0 0 0 / 12%);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  transform: translateX(-50%);
}

#navList {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

#navList::-webkit-scrollbar {
  display: none;
}

#navList li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  margin: 0;
}

#navList a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--mu-radius-control);
  color: rgb(255 255 255 / 88%);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease, transform .15s ease;
}

#navList a:hover,
#navList a:focus-visible {
  color: #fff;
  background: rgb(255 255 255 / 17%);
}

#navList a:active {
  transform: scale(.97);
}

#main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 22px;
  align-items: start;
  width: min(var(--mu-content-width), calc(100% - 32px));
  min-height: 45vh;
  margin: 0 auto;
  padding: 32px 0 72px;
}

#mainContent,
.forFlow,
#sideBar,
#sideBarMain {
  min-width: 0;
}

.forFlow,
#sideBarMain,
#blog-sidecolumn {
  display: grid;
  gap: 16px;
}

.day,
.post,
.entrylistItem,
#topics,
.topicListFooter,
#comment_form,
#blog-comments-placeholder,
.mu-toc,
.mu-profile-card,
.mu-announcement,
.mu-site-stats,
.newsItem,
.catListEssay,
.catListLink,
.catListNoteBook,
.catListTag,
.catListPostCategory,
.catListPostArchive,
.catListView,
.catListFeedback,
.catListArticleArchive,
.catListImageCategory,
.catList,
#blog-sidecolumn > div {
  border: 1px solid var(--mu-line);
  border-radius: var(--mu-radius-card);
  background: var(--mu-card);
  box-shadow: var(--mu-shadow-xs), var(--mu-shadow-sm);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.day,
.entrylistItem {
  position: relative;
  overflow: hidden;
  padding: 28px 78px 24px 32px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.day:hover,
.entrylistItem:hover {
  border-color: var(--mu-line-strong);
  box-shadow: var(--mu-shadow-lg);
  transform: translateY(-2px);
}

.mu-post-entry {
  position: absolute;
  right: 12px;
  top: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 48px;
  border-radius: var(--mu-radius-inner);
  color: var(--mu-primary);
  background: var(--mu-primary-soft);
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.mu-post-entry .mu-icon {
  width: 24px;
  height: 24px;
}

.day:hover .mu-post-entry,
.entrylistItem:hover .mu-post-entry,
.mu-post-entry:hover,
.mu-post-entry:focus-visible {
  color: #fff;
  background: var(--mu-primary);
  transform: translateX(2px);
}

.mu-post-entry:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--mu-primary) 32%, transparent);
  outline-offset: 2px;
}

.dayTitle {
  margin-bottom: 8px;
  color: var(--mu-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.postTitle,
.entrylistPosttitle {
  position: relative;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 800;
  text-wrap: balance;
}

.day > .postTitle::before,
.entrylistPosttitle::before {
  content: "";
  position: absolute;
  left: -18px;
  top: .31em;
  width: 4px;
  height: 21px;
  border-radius: 4px;
  background: var(--mu-primary);
}

.postTitle a,
.entrylistPosttitle a,
.postTitle2 {
  color: var(--mu-text);
  transition: color .15s ease;
}

.postTitle a:hover,
.entrylistPosttitle a:hover,
.postTitle2:hover {
  color: var(--mu-primary-strong);
}

.postCon,
.entrylistPostSummary {
  color: var(--mu-text-soft);
}

.c_b_p_desc,
.entrylistPostSummary {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.postDesc,
.entrylistItemPostDesc,
.postMeta,
.postSticky,
.postSeparator {
  margin-top: 16px;
  color: var(--mu-muted);
  font-size: 12px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}

.c_b_p_desc_readmore {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: var(--mu-radius-control);
  color: var(--mu-primary-strong);
  background: var(--mu-primary-soft);
  font-size: 13px;
  font-weight: 700;
}

#sideBar {
  position: sticky;
  top: 90px;
}

.mu-profile-card,
.mu-announcement,
.mu-site-stats,
.mu-toc,
.newsItem,
.catListEssay,
.catListLink,
.catListNoteBook,
.catListTag,
.catListPostCategory,
.catListPostArchive,
.catListView,
.catListFeedback,
.catListArticleArchive,
.catListImageCategory,
.catList,
#blog-sidecolumn > div {
  overflow: hidden;
  padding: 16px;
}

#sideBarMain > div:empty,
#blog-sidecolumn > div:empty {
  display: none !important;
}

#leftcontentcontainer {
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mu-profile-card {
  padding: 12px;
  text-align: center;
}

.mu-profile-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--mu-radius-inner);
  background: var(--mu-avatar-image) center / cover no-repeat, var(--mu-primary-soft);
  box-shadow: 0 1px 0 rgb(255 255 255 / 18%) inset;
}

.mu-profile-name {
  margin: 14px 8px 3px;
  color: var(--mu-text);
  font-family: "Mizuki Round", "PingFang SC", sans-serif;
  font-size: 21px;
  line-height: 1.4;
}

.mu-profile-mark {
  display: block;
  width: 22px;
  height: 4px;
  margin: 7px auto 9px;
  border-radius: 4px;
  background: var(--mu-primary);
}

.mu-profile-bio {
  margin: 0 8px 5px;
  color: var(--mu-muted);
  font-size: 13px;
  line-height: 1.7;
}

#sideBar h3,
.catListTitle,
.catList h3,
.mu-toc-title,
.mu-sidebar-title {
  position: relative;
  margin: 0 0 11px;
  padding-left: 12px;
  color: var(--mu-text);
  font-family: "Mizuki Round", "PingFang SC", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}

#sideBar h3::before,
.catListTitle::before,
.mu-toc-title::before,
.mu-sidebar-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 3px;
  height: 1em;
  border-radius: 3px;
  background: var(--mu-primary);
}

.mu-announcement p {
  margin: 0;
  color: var(--mu-text-soft);
  font-size: 13px;
  line-height: 1.75;
}

.mu-stat-grid {
  display: grid;
  gap: 0;
}

.mu-stat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border-top: 1px dashed var(--mu-line-strong);
  color: var(--mu-text-soft);
  font-size: 13px;
}

.mu-stat-item:first-child {
  border-top: 0;
}

.mu-stat-item strong {
  color: var(--mu-text);
  font-variant-numeric: tabular-nums;
}

#sideBar ul,
.mu-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#sideBar li,
.mu-toc-list li {
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--mu-line);
  color: var(--mu-text-soft);
  font-size: 13px;
}

#sideBar li:first-child,
.mu-toc-list li:first-child {
  border-top: 0;
}

#sideBar li a,
.mu-toc-list a {
  display: block;
  padding: 8px 6px;
  border-radius: 7px;
  color: var(--mu-text-soft);
  overflow-wrap: anywhere;
  transition: color .15s ease, background-color .15s ease, transform .15s ease;
}

#sideBar li a:hover,
.mu-toc-list a:hover {
  color: var(--mu-primary-strong);
  background: var(--mu-primary-soft);
  transform: translateX(2px);
}

.mu-toc-h3 a {
  padding-left: 18px;
  font-size: 12px;
}

#profile_block {
  color: var(--mu-text-soft);
  font-size: 13px;
  line-height: 1.8;
}

#topics {
  overflow: hidden;
  padding: 30px 34px;
}

#topics .post,
#topics .postTitle,
#topics .postDesc {
  margin-left: 0;
}

#topics .post {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#topics > .post > .postTitle,
#topics .postTitle {
  margin: 0 0 22px;
  padding: 0 0 18px 18px;
  border-bottom: 1px solid var(--mu-line);
  font-size: 32px;
}

#topics .postTitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 4px;
  height: 25px;
  border-radius: 4px;
  background: var(--mu-primary);
}

#cnblogs_post_body {
  min-width: 0;
  color: var(--mu-text);
  font-size: 16px;
  line-height: 1.95;
  overflow-wrap: break-word;
}

#cnblogs_post_body > *:first-child {
  margin-top: 0;
}

#cnblogs_post_body p {
  margin: 1em 0;
}

#cnblogs_post_body h1,
#cnblogs_post_body h2,
#cnblogs_post_body h3,
#cnblogs_post_body h4 {
  color: var(--mu-text);
  font-family: "Mizuki Round", "PingFang SC", sans-serif;
  line-height: 1.4;
  font-weight: 800;
  scroll-margin-top: 92px;
  text-wrap: balance;
}

#cnblogs_post_body h1 {
  margin: 36px 0 18px;
  font-size: 29px;
}

#cnblogs_post_body h2 {
  position: relative;
  margin: 34px 0 16px;
  padding-left: 15px;
  font-size: 24px;
}

#cnblogs_post_body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 4px;
  height: 1.05em;
  border-radius: 4px;
  background: var(--mu-primary);
}

#cnblogs_post_body h3 {
  margin: 28px 0 14px;
  font-size: 20px;
}

#cnblogs_post_body h4 {
  margin: 24px 0 12px;
  font-size: 17px;
}

#cnblogs_post_body a {
  color: var(--mu-primary-strong);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--mu-primary) 38%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#cnblogs_post_body blockquote {
  margin: 22px 0;
  padding: 16px 18px;
  border: 0;
  border-radius: var(--mu-radius-inner);
  color: var(--mu-text-soft);
  background: var(--mu-primary-soft);
}

#cnblogs_post_body blockquote > *:first-child { margin-top: 0; }
#cnblogs_post_body blockquote > *:last-child { margin-bottom: 0; }

#cnblogs_post_body :not(pre) > code {
  padding: .18em .4em;
  border-radius: 6px;
  color: var(--mu-primary-strong);
  background: var(--mu-primary-soft);
  font-size: .9em;
}

#cnblogs_post_body pre,
.cnblogs-markdown pre {
  position: relative;
  margin: 22px 0;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: var(--mu-radius-inner);
  color: var(--mu-code-text);
  background: var(--mu-code);
  box-shadow: 0 14px 36px rgb(0 0 0 / 16%);
  overflow: auto;
}

#cnblogs_post_body pre > code:not(.hljs),
.cnblogs-markdown pre > code:not(.hljs) {
  display: block;
  min-width: max-content;
  padding: 18px 20px;
  color: var(--mu-code-text);
  background: transparent;
  line-height: 1.65;
  white-space: pre;
}

#cnblogs_post_body pre > code.hljs,
.cnblogs-markdown pre > code.hljs {
  margin: 0;
  border-radius: inherit;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  line-height: 1.65;
}

#cnblogs_post_body pre[data-mac-style] > code.hljs,
.cnblogs-markdown pre[data-mac-style] > code.hljs {
  padding-top: calc(var(--mac-style-spacing, 10px) * 2 + 12px);
}

#cnblogs_post_body pre table,
#cnblogs_post_body pre th,
#cnblogs_post_body pre td {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.mu-table-scroll {
  width: 100%;
  margin: 22px 0;
  border: 1px solid var(--mu-line);
  border-radius: var(--mu-radius-inner);
  overflow-x: auto;
}

#cnblogs_post_body table {
  width: 100%;
  min-width: 520px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

#cnblogs_post_body th,
#cnblogs_post_body td {
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--mu-line);
  text-align: left;
}

#cnblogs_post_body th {
  color: var(--mu-text);
  background: var(--mu-primary-soft);
}

#cnblogs_post_body tr:last-child td {
  border-bottom: 0;
}

#cnblogs_post_body hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: var(--mu-line-strong);
}

#cnblogs_post_body img {
  height: auto;
  border-radius: var(--mu-radius-inner);
  box-shadow: var(--mu-shadow-sm);
}

#blog-comments-placeholder:not(:empty),
#comment_form {
  padding: 24px;
}

#blog-comments-placeholder:empty,
#comment_form_container:empty {
  display: none !important;
}

#comment_form {
  min-width: 0;
  overflow: hidden;
}

#comment_form_container,
#comment_nav {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#comment_nav {
  min-height: 24px;
  margin-bottom: 14px;
  color: var(--mu-muted);
  font-size: 12px;
}

#comment_nav .comment-nav-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

#comment_nav a {
  padding-left: 0;
}

.feedbackItem,
.blog_comment_body,
.comment_body {
  color: var(--mu-text-soft);
}

.feedbackItem {
  padding: 18px 0;
  border-bottom: 1px solid var(--mu-line);
}

.feedbackItem:last-child {
  border-bottom: 0;
}

.feedbackListSubtitle,
.comment_date,
.comment_vote {
  color: var(--mu-muted);
  font-size: 12px;
}

#comment_form input[type="text"],
#comment_form input[type="email"],
#comment_form input[type="url"] {
  width: 100%;
  max-width: 420px;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--mu-line-strong);
  border-radius: var(--mu-radius-control);
  color: var(--mu-text);
  background: var(--mu-card-solid);
  outline: none;
}

.comment_textarea {
  width: 100%;
  max-width: none;
  padding: 10px 13px;
  border: 1px solid var(--mu-line-strong);
  border-radius: var(--mu-radius-control);
  color: var(--mu-text);
  background: var(--mu-card-solid);
}

#tbCommentBody {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 0;
  border: 0;
  color: var(--mu-text);
  background: transparent;
  box-shadow: none;
  outline: none;
  resize: vertical;
}

.comment_textarea:focus-within,
#comment_form input:focus {
  border-color: var(--mu-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mu-primary) 20%, transparent);
}

.commentbox_title,
.commentbox_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  border-color: var(--mu-line-strong);
}

.commentbox_footer {
  min-height: 54px;
  padding-top: 10px;
}

.commentbox_footer_left,
.commentbox_footer_right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.commentbox_footer_right {
  justify-content: flex-end;
  margin-left: auto;
}

.commentbox_tab {
  margin: 0 12px 0 0;
  padding: 0 5px;
  color: var(--mu-muted);
}

.commentbox_tab:hover,
.commentbox_tab.active {
  color: var(--mu-text);
  border-bottom-color: var(--mu-primary);
}

#btn_comment_submit,
.comment_btn,
input[type="button"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 92px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: var(--mu-radius-control);
  color: #fff;
  background: var(--mu-primary-strong);
  font-weight: 750;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}

#btn_comment_submit:hover,
.comment_btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
  background: var(--mu-primary);
}

#btn_comment_submit:active,
.comment_btn:active,
input[type="button"]:active,
input[type="submit"]:active {
  transform: scale(.98);
}

.pager,
.topicListFooter {
  padding: 16px;
  text-align: center;
}

.pager a,
.Pager a,
.pager span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  margin: 2px;
  border: 0;
  border-radius: var(--mu-radius-control);
  color: var(--mu-text-soft);
  background: var(--mu-card);
}

.pager a:hover,
.Pager a:hover,
.pager .current {
  color: #fff;
  background: var(--mu-primary-strong);
}

#footer {
  width: min(var(--mu-content-width), calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1px solid var(--mu-line);
  border-radius: var(--mu-radius-card);
  color: var(--mu-muted);
  background: var(--mu-card);
  font-size: 12px;
  text-align: center;
}

.mu-credit a {
  color: var(--mu-primary-strong);
  font-weight: 700;
}

#mu-tools {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: var(--mu-z-tools);
  display: grid;
  gap: 8px;
}

#mu-tools button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--mu-line-strong);
  border-radius: 50%;
  color: var(--mu-primary-strong);
  background: var(--mu-float);
  box-shadow: var(--mu-shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease, transform .15s ease;
}

#mu-tools button:hover,
#mu-tools button:focus-visible {
  color: #fff;
  background: var(--mu-primary-strong);
  transform: translateY(-1px);
}

#mu-tools button:active {
  transform: scale(.95);
}

.mu-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-mu-theme="light"]) {
    color-scheme: dark;
    --mu-primary: oklch(76% .12 var(--mu-hue));
    --mu-primary-strong: oklch(70% .14 var(--mu-hue));
    --mu-primary-soft: oklch(29% .045 var(--mu-hue));
    --mu-page: oklch(17% .016 var(--mu-hue));
    --mu-page-rgb: 20 24 32;
    --mu-card: rgb(31 36 47 / 92%);
    --mu-card-solid: #202530;
    --mu-float: rgb(28 33 43 / 88%);
    --mu-text: oklch(91% .012 var(--mu-hue));
    --mu-text-soft: oklch(76% .014 var(--mu-hue));
    --mu-muted: oklch(66% .014 var(--mu-hue));
    --mu-line: rgb(255 255 255 / 9%);
    --mu-line-strong: rgb(255 255 255 / 15%);
    --mu-selection: oklch(39% .09 var(--mu-hue));
    --mu-shadow-xs: 0 1px 2px rgb(0 0 0 / 18%);
    --mu-shadow-sm: 0 10px 30px rgb(0 0 0 / 22%);
    --mu-shadow-lg: 0 26px 70px rgb(0 0 0 / 34%);
  }
}

@media (max-width: 1023px) {
  #main {
    grid-template-columns: minmax(0, 1fr);
    width: min(820px, calc(100% - 28px));
  }

  #sideBar {
    position: static;
  }

  #sideBarMain,
  #blog-sidecolumn {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mu-profile-card,
  #leftcontentcontainer,
  .mu-toc {
    grid-column: 1 / -1;
  }

  .mu-profile-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    gap: 0 18px;
    text-align: left;
  }

  .mu-profile-avatar {
    grid-row: 1 / 4;
  }

  .mu-profile-name {
    align-self: end;
    margin: 10px 0 2px;
  }

  .mu-profile-mark {
    margin: 6px 0 8px;
  }

  .mu-profile-bio {
    margin: 0;
  }
}

@media (max-width: 767px) {
  #header {
    height: 72vh;
    min-height: 450px;
    max-height: 620px;
  }

  #blogTitle {
    padding: 90px 18px 68px;
    background-image:
      linear-gradient(rgb(10 14 22 / var(--mu-banner-dim)), rgb(10 14 22 / var(--mu-banner-dim))),
      var(--mu-banner-mobile);
  }

  #blogTitle::after {
    height: 34px;
  }

  #blogTitle h1 {
    font-size: 44px;
  }

  #blogTitle h1::after {
    margin-top: 10px;
    font-size: 15px;
  }

  #navigator {
    top: 9px;
    width: calc(100% - 18px);
    min-height: 52px;
    padding: 4px 6px;
    border-radius: 13px;
  }

  #navList a {
    min-width: 64px;
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  #navList {
    justify-content: flex-start;
  }

  #main {
    width: calc(100% - 18px);
    padding: 22px 0 58px;
  }

  .forFlow,
  #sideBarMain,
  #blog-sidecolumn {
    gap: 12px;
  }

  #sideBarMain,
  #blog-sidecolumn {
    grid-template-columns: minmax(0, 1fr);
  }

  .mu-profile-card,
  #leftcontentcontainer,
  .mu-toc {
    grid-column: auto;
  }

  .mu-profile-card {
    display: block;
    text-align: center;
  }

  .mu-profile-avatar {
    width: min(220px, 100%);
    margin: 0 auto;
  }

  .mu-profile-name {
    margin: 13px 8px 3px;
  }

  .mu-profile-mark {
    margin: 7px auto 9px;
  }

  .mu-profile-bio {
    margin: 0 8px 5px;
  }

  .day,
  .entrylistItem {
    padding: 22px 20px;
  }

  .mu-post-entry {
    display: none;
  }

  .postTitle,
  .entrylistPosttitle {
    font-size: 22px;
  }

  .day > .postTitle::before,
  .entrylistPosttitle::before {
    left: -10px;
    width: 3px;
    height: 18px;
  }

  #topics {
    padding: 22px 19px;
  }

  #topics > .post > .postTitle,
  #topics .postTitle {
    padding-left: 14px;
    font-size: 25px;
  }

  #cnblogs_post_body {
    font-size: 15px;
    line-height: 1.88;
  }

  #cnblogs_post_body h1 { font-size: 25px; }
  #cnblogs_post_body h2 { font-size: 21px; }
  #cnblogs_post_body h3 { font-size: 18px; }

  #blog-comments-placeholder:not(:empty),
  #comment_form {
    padding: 19px;
  }

  #mu-tools {
    right: 11px;
    bottom: 15px;
    grid-auto-flow: column;
  }

  #mu-tools button {
    width: 43px;
    height: 43px;
  }

  #footer {
    width: calc(100% - 18px);
    margin-bottom: 74px;
  }
}

@media (max-width: 380px) {
  #blogTitle h1 {
    font-size: 38px;
  }

  .day,
  .entrylistItem,
  #topics {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  #navigator,
  .day,
  .post,
  .entrylistItem,
  #topics,
  #blog-sidecolumn > div,
  .mu-toc,
  .mu-profile-card,
  .mu-announcement,
  .mu-site-stats,
  #mu-tools button {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--mu-card-solid);
  }

  #navigator {
    background: rgb(20 24 32 / 94%);
  }
}
