/* Shared, server-rendered content styles. No client script is needed to read. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light; }
.chrome-text { margin: 0; }
.site-header, .site-footer, .article-site-header, .article-footer {
  overflow: hidden; border: 1px solid rgba(255, 255, 255, .6); border-radius: 20px; background-clip: padding-box;
  background: rgba(247, 255, 253, .88);
  box-shadow: 0 12px 32px -22px rgba(5, 62, 95, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .site-footer, .article-site-header, .article-footer {
    background: rgba(247, 255, 253, .4);
    -webkit-backdrop-filter: blur(18px) saturate(115%); backdrop-filter: blur(18px) saturate(115%);
  }
}
.content-panel { width: calc(100% - 80px); max-width: 1320px; margin: 0 auto 64px; background: #f9fffd; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .8); border-radius: 44px; box-shadow: 0 24px 64px -28px rgba(5, 62, 95, .28), 0 5px 18px -9px rgba(3, 61, 88, .14), inset 0 1px 0 rgba(255, 255, 255, .75); overflow: hidden; }
/* Transparency is enhanced only when the background can actually be blurred. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .content-panel { background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(26px) saturate(125%); backdrop-filter: blur(26px) saturate(125%); }
}
/* Continuous corners where supported; ordinary rounded corners remain the fallback. */
@supports (corner-shape: squircle) {
  .content-panel { corner-shape: squircle; border-radius: 72px; }
}
.content-panel.panel-entered { animation: panel-rise 820ms cubic-bezier(.16, 1, .3, 1) both; }
@keyframes panel-rise { from { transform: translateY(44px); } to { transform: translateY(0); } }
.about-section { min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); padding: 70px 76px; }
.panel-section-heading { display: flex; align-items: center; justify-content: space-between; }
.panel-section-heading h2, .posts-section > h2 { margin: 0; font-size: 36px; line-height: 1.4; font-weight: 650; letter-spacing: -1px; }
.about-content { max-width: 760px; margin: 62px auto 0; }
.about-content:empty { min-height: 300px; }
.posts-section { padding: 0 76px 88px; scroll-margin-top: 32px; }
.posts-section > h2 { padding-top: 38px; border-top: 1px solid #cfdedb; }
.article-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-gap: 52px; margin-top: 42px; }
.column-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid #d5e1de; padding-bottom: 17px; margin-bottom: 22px; }
.column-heading h3 { margin: 0; font-size: 19px; font-weight: 600; }
.column-heading > span { font-size: 11px; color: #52686b; }
.article-card { position: relative; border: 1px solid #d5e3df; border-radius: 20px; margin-bottom: 18px; background: rgba(255, 255, 255, .68); overflow: hidden; transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s, border-color .3s, background .3s; }
.card-content { padding: 27px 28px 25px; }
.card-cover { display: block; width: 100%; height: 180px; object-fit: cover; }
.card-meta { display: flex; align-items: center; color: #5a7073; font-size: 11px; line-height: 1.5; }
.card-meta > * + * { margin-left: 12px; }
.article-card h3 { margin: 12px 0 10px; font-size: 21px; font-weight: 600; line-height: 1.6; overflow-wrap: break-word; }
.article-card h3 a::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.article-card h3 a:focus { outline: 2px solid #075168; outline-offset: 3px; }
.article-card:hover { border-color: #84aeb1; background: #fff; }
.article-card:focus-within { border-color: #84aeb1; box-shadow: 0 12px 28px -16px rgba(5, 62, 95, .25); }
@media (hover: hover) and (pointer: fine) {
  .article-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px -17px rgba(5, 62, 95, .3); }
}
.card-content > p { margin: 0; color: #50696c; font-size: 13px; line-height: 1.9; }
.card-tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; font-size: 10px; color: #3c666a; }
.card-tags li { margin: 0 8px 5px 0; padding: 3px 8px; background: #edf6f3; border-radius: 3px; }
.list-empty { margin: 0; padding: 35px 0 45px; color: #617779; font-size: 13px; }
.draft-label { color: #8b4b08; font-size: 11px; background: #fff1cf; padding: 4px 8px; border-radius: 3px; display: inline-block; }

.article-page { margin: 0; color: #103540; background: #f2f8f5; font-family: "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif; -webkit-font-smoothing: antialiased; }
.article-page * { box-sizing: border-box; }
.article-page a { color: inherit; }
.article-site-header { max-width: 1120px; width: calc(100% - 80px); min-height: 64px; margin: 20px auto 0; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.article-site-header a { text-decoration: none; }
.article-site-header a + a { margin-left: 16px; white-space: nowrap; }
.article-site-header a:first-child { font-weight: 650; font-size: 19px; }
.article-layout { max-width: 1120px; width: calc(100% - 80px); margin: 25px auto 80px; display: grid; grid-template-columns: minmax(0, 780px) minmax(0, 220px); grid-gap: 64px; align-items: start; }
.article-layout > article { min-width: 0; padding: 52px 56px; background: #fff; border: 1px solid #dfebe5; border-radius: 22px; }
.article-heading { margin-bottom: 42px; padding-bottom: 32px; border-bottom: 1px solid #e0e9e5; }
.article-date { margin: 0 0 18px; font-size: 12px; color: #607578; }
.article-heading h1 { font-size: 34px; line-height: 1.55; margin: 0; font-weight: 650; letter-spacing: -.7px; overflow-wrap: break-word; }
.article-description { color: #536f73; font-size: 14px; line-height: 1.9; margin: 17px 0 0; }
.article-toc { position: sticky; top: 35px; padding: 20px 0; font-size: 12px; max-height: calc(100vh - 80px); overflow-y: auto; }
.article-toc h2 { font-size: 13px; font-weight: 600; margin: 0 0 18px; }
.article-toc ol { list-style: none; margin: 0; padding: 0; }
.article-toc li { margin: 0 0 13px; line-height: 1.8; }
.article-toc .toc-level-3 { padding-left: 15px; }
.article-toc a { color: #536d72; text-decoration: none; }
.article-toc a:hover { color: #087f9c; text-decoration: underline; }
.article-end { margin-top: 50px; padding-top: 26px; border-top: 1px solid #e0e9e5; display: flex; justify-content: space-between; font-size: 12px; }
.article-footer { max-width: 1120px; width: calc(100% - 80px); min-height: 64px; margin: 0 auto 24px; padding: 20px 24px; font-size: 11px; line-height: 1.7; color: #5b7478; }
.article-skip { position: fixed; top: -100px; left: 15px; background: white; padding: 12px; z-index: 10; }
.article-skip:focus { top: 12px; }

.prose { font-size: 16px; line-height: 1.95; word-wrap: break-word; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { font-weight: 650; line-height: 1.65; margin: 2em 0 .8em; scroll-margin-top: 24px; }
.prose h1 { font-size: 30px; }.prose h2 { font-size: 25px; }.prose h3 { font-size: 20px; }.prose h4 { font-size: 17px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose table, .prose figure { margin: 1.25em 0; }
.prose a { color: #08758e; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #06495a; }
.prose img { display: block; max-width: 100%; height: auto; margin: 25px auto; border-radius: 8px; }
.prose video, .prose iframe { display: block; max-width: 100%; width: 100%; margin: 25px auto; background: #e8f0ee; border: 0; border-radius: 8px; }
.prose iframe { height: 370px; }
.prose audio { display: block; max-width: 100%; width: 100%; margin: 25px 0; }
.prose video { max-height: 70vh; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 6px 20px; border-left: 3px solid #7ab8bb; color: #526f73; background: #f2f8f6; }
.prose blockquote p { margin: .7em 0; }
.prose code { font-family: Consolas, "SFMono-Regular", monospace; font-size: .88em; padding: .15em .35em; background: #edf4f1; border-radius: 3px; }
.prose pre { overflow-x: auto; border: 1px solid #e1ebe7; border-radius: 8px; background: #f6f8fa; }
.prose pre code { display: block; padding: 20px; background: transparent; font-size: 13px; line-height: 1.8; border-radius: 0; white-space: pre; word-wrap: normal; }
.prose ul, .prose ol { padding-left: 1.8em; }
.prose li > p { margin: .6em 0; }
.prose li + li { margin-top: .25em; }
.prose .contains-task-list { list-style: none; padding-left: .3em; }
.prose input[type="checkbox"] { margin-right: 8px; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { padding: 10px 15px; border: 1px solid #d9e6e1; text-align: left; }
.prose th { background: #eff6f3; font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid #d8e4df; margin: 36px 0; }
.prose details { border: 1px solid #dce8e2; border-radius: 7px; padding: 15px 20px; margin: 25px 0; }
.prose summary { font-weight: 600; cursor: pointer; }
.prose .katex-display { display: block; max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: 10px 0; margin: 1.7em 0; }
.prose .katex { font-size: 1.1em; }
.prose .footnotes { margin-top: 45px; padding-top: 20px; border-top: 1px solid #dce7e1; font-size: 13px; }

@media (max-width: 960px) {
  .content-panel { width: calc(100% - 48px); }.about-section { padding: 55px 42px; }.posts-section { padding: 0 42px 65px; }.article-columns { grid-gap: 28px; }
  .article-layout { display: block; max-width: 780px; }.article-toc { position: static; margin-top: 24px; max-height: none; }
}
@media (max-width: 600px) {
  .content-panel { width: calc(100% - 24px); border-radius: 30px; margin-bottom: 35px; }
  @supports (corner-shape: squircle) { .content-panel { border-radius: 48px; } }
  .about-section { padding: 36px 25px; min-height: calc(100vh - 70px); min-height: calc(100svh - 70px); }
  .panel-section-heading h2, .posts-section > h2 { font-size: 28px; }
  .about-content { margin-top: 40px; }.posts-section { padding: 0 25px 42px; }.posts-section > h2 { padding-top: 30px; }
  .article-columns { display: block; margin-top: 32px; }.article-column + .article-column { margin-top: 42px; }.column-heading h3 { font-size: 17px; }
  .card-content { padding: 23px; }.article-card h3 { font-size: 19px; }.card-cover { height: 155px; }
  .article-site-header, .article-layout, .article-footer { width: calc(100% - 28px); }.article-site-header { margin-top: 14px; padding: 16px 18px; font-size: 11px; }.article-site-header a:first-child { font-size: 16px; }
  .article-footer { padding: 18px; margin-bottom: 20px; }
  .article-layout { margin-top: 10px; }.article-layout > article { padding: 30px 23px; border-radius: 16px; }
  .article-heading h1 { font-size: 27px; }.article-heading { margin-bottom: 32px; padding-bottom: 27px; }.article-description { font-size: 13px; }
  .prose { font-size: 15px; line-height: 1.95; }.prose h2 { font-size: 22px; }.prose h3 { font-size: 19px; }.prose iframe { height: 220px; }
  .prose pre code { font-size: 12px; padding: 16px; }.article-end { font-size: 11px; }.article-end a + a { margin-left: 15px; }
}
/* Old IE retains content and uses stacked columns. */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .article-columns, .article-layout { display: block; }.article-column + .article-column { margin-top: 35px; }.article-toc { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .content-panel.panel-entered { animation: none; }
  .article-card { transition: none; }
  .article-card:hover { transform: none; }
}
