/* Typography and spacing adapted from ysymyth/ysymyth.github.io (Jekyll Now).
   Source: style.scss and _sass/_variables.scss. See THIRD_PARTY_NOTICES.md. */
:root {
  --paper:#fff;
  --ink:#333;
  --muted:#666;
  --link:#4183c4;
  --line:#eee;
  --code:#f6f7f8;
  --body:Helvetica,Arial,sans-serif;
  --heading:"Helvetica Neue",Helvetica,Arial,sans-serif
}
* {
  box-sizing:border-box
}
html {
  background:var(--paper);
  color:var(--ink);
  font:18px/1.4 var(--body);
  -webkit-text-size-adjust:100%
}
body {
  margin:0
}
a {
  color:var(--link);
  text-decoration:none;
  text-underline-offset:5px
}
a:hover {
  text-decoration:underline
}
a:focus-visible {
  outline:2px solid var(--link);
  outline-offset:5px
}
::selection {
  background:#dce9f5
}
.wrapper {
  max-width:920px;
  margin:0 auto;
  padding:0 20px
}
.site-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:20px 0;
  min-height:110.2px;
  border-bottom:1px solid var(--line)
}
.site-title {
  display:flex;
  align-items:center;
  gap:12px;
  font:300 28px/1.7 var(--heading);
  letter-spacing:1px;
  color:var(--ink)
}
.site-logo {
  display:block;
  width:42px;
  height:42px;
  flex-shrink:0;
}
.site-title:hover { text-decoration:none; }
.site-subtitle {
  margin:-5px 0 0;
  font-size:16px;
  color:var(--muted)
}
.site-nav {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  font-family:var(--heading);
  font-weight:300;
  font-size:18px
}
.site-nav a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  width:48px;
  height:48px;
  color:#000;
}
.site-nav svg { width:40px; height:40px; }
.site-nav a:hover { color:#555; text-decoration:none; }
.site-nav a[aria-current] { color:#000; }
.site-nav a[aria-current]::after {
  content:"";
  position:absolute;
  bottom:0;
  left:8px;
  right:8px;
  height:2px;
  background:currentColor;
}
.pagination {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  border-top:1px solid var(--line);
  margin-top:24px;
  padding-top:24px;
  font-size:15px;
}
.pagination-pages { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.pagination-number { display:inline-flex; align-items:center; justify-content:center; min-width:36px; min-height:40px; }
.pagination-number.is-current { color:var(--ink); border-bottom:2px solid var(--link); }
.pagination-direction { padding:8px 0; }
.pagination .is-disabled,.pagination-gap { color:#999; }
@media(max-width:480px) {
  .pagination { justify-content:center; gap:10px 18px; }
  .pagination-pages { order:3; justify-content:center; flex-basis:100%; }
}
main {
  min-height:48vh
}
.post-preview {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  justify-items:start;
  padding:36px 0;
  margin:0;
  text-align:left;
  border-bottom:1px solid var(--line)
}
.post-preview > * {
  min-width:0;
  margin-inline:0;
  padding-inline:0;
  text-indent:0
}
.post-preview-title,.post-excerpt {
  width:100%
}
.post-preview:last-child {
  border-bottom:0;
  padding-bottom:18px
}
.post-list {
  padding-top:12px
}
h1,h2,h3,h4 {
  font-family:var(--heading);
  line-height:1.7;
  color:#222;
  overflow-wrap:anywhere
}
h1 {
  font-size:30px
}
h2 {
  font-size:24px
}
h3 {
  font-size:20px
}
.post-preview h2 {
  margin:0;
  font-family:var(--body);
  font-size:28px;
  font-weight:600;
  line-height:1.4;
  text-wrap:pretty;
  word-break:normal;
  overflow-wrap:anywhere
}
.post-preview h2 a {
  color:#222
}
.post-preview h2 a:hover {
  color:var(--link)
}
.post-meta {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  font-size:13px;
  color:var(--muted);
  letter-spacing:.3px
}
.post-excerpt p {
  margin:12px 0
}
.post-excerpt {
  margin:16px 0 18px;
  color:#555;
  font-size:17px;
  overflow-wrap:anywhere;
  line-height:1.7
}
.post-excerpt > :first-child {
  margin-top:0
}
.post-excerpt > :last-child {
  margin-bottom:0
}
.read-more {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:28px;
  font-size:15px;
  font-weight:400;
  letter-spacing:normal
}
.read-more span {
  font-size:16px;
  line-height:1
}
@media(max-width:640px) {
  .post-list { padding-top:8px; }
  .post-preview { padding:28px 0; }
  .post-preview h2 { font-size:24px; }
  .post-excerpt { margin:14px 0 16px; font-size:16px; }
}
.site-footer {
  border-top:1px solid var(--line);
  margin-top:52px;
  padding:23px 0 32px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--muted);
  font-size:12px
}
.site-footer div {
  display:flex;
  gap:18px
}
.site-footer a {
  color:var(--muted)
}
.page-heading {
  margin:40px 0 25px
}
.page-heading h1 {
  margin:0 0 10px
}
.page-heading p {
  color:var(--muted);
  margin:0
}
.page-heading+.post-list .post-preview:first-child {
  padding-top:16px
}
.empty-state {
  padding:22px 0 70px;
  color:var(--muted)
}
.empty-state a {
  font-size:14px
}
/* Article header and section hierarchy share the site's reading width. */
.post {
  padding-top:40px;
}
.post-heading {
  padding:0 0 24px;
  margin-bottom:24px;
  border-bottom:1px solid var(--line);
}
.post-heading h1 {
  margin:0 0 14px;
  font-size:28px;
  font-weight:700;
  line-height:1.3;
  text-wrap:pretty;
  letter-spacing:normal;
}
.prose {
  font-family:var(--body);
  font-size:18px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.prose p {
  margin:15px 0;
}
.post .prose p,.post .prose li {
  text-align:justify;
  text-align-last:left;
  text-justify:auto;
}
.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6 {
  font-family:var(--heading);
  font-weight:700;
  line-height:1.7;
  margin:1em 0 15px;
  padding:0;
}
.prose h1 { font-size:30px; }
.prose h2 { font-size:24px; }
.prose h3 { font-size:20px; }
.prose h4 { font-size:18px; color:var(--muted); }
.prose h5,.prose h6 { font-size:18px; }
.prose ul,.prose ol {
  margin:15px 0;
  padding-left:30px;
}
.prose ul { list-style-type:disc; }
.prose ol { list-style-type:decimal; }
.prose li { margin:0; padding:0; }
.prose ul ul,.prose ol ul,.prose ul ol,.prose ol ol { margin:0; }
.prose ul ul,.prose ol ul { list-style-type:circle; }
.prose blockquote {
  margin:1.8em .8em;
  border-left:2px solid var(--muted);
  padding:.1em 1em;
  color:var(--muted);
  font-size:22px;
  font-style:italic;
}
.post-date {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:8px 16px;
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.post .prose {
  font-size:15px;
  line-height:1.8;
}
.post .prose p { margin:14px 0; }
.post .post-lead {
  color:var(--muted);
  font-size:16px;
}
.post .post-lead > :first-child { margin-top:0; }
.post .prose :is(h1,h2,h3,h4,h5,h6) {
  line-height:1.45;
  scroll-margin-top:24px;
}
.post .prose :is(h1,h2) {
  margin:28px 0 14px;
  padding-bottom:8px;
  border-bottom:1px solid var(--line);
}
.post .prose h1 { font-size:26px; }
.post .prose h2 { font-size:22px; }
.post .prose h3 { margin:24px 0 12px; font-size:19px; }
.post .prose h4 { margin:20px 0 10px; font-size:17px; color:#333; }
.post .prose :is(h5,h6) { margin:18px 0 10px; font-size:16px; }
.post .prose li { margin:4px 0; }
.post .prose :is(ul,ol) { margin:14px 0; }
.post .prose :is(ul,ol) :is(ul,ol) { margin:4px 0; }
.post .prose blockquote {
  margin:16px 0;
  padding:4px 0 4px 16px;
  border-left:3px solid #dce3ec;
  color:#555;
  font-size:inherit;
  font-style:normal;
  line-height:1.8;
}
.post .prose blockquote p { margin:10px 0; }
.post .prose blockquote > :first-child { margin-top:0; }
.post .prose blockquote > :last-child { margin-bottom:0; }
.prose img,.post-excerpt img {
  max-width:100%;
  height:auto
}
.prose hr {
  border:0;
  border-top:1px solid var(--line);
  margin:2em 0
}
/* Inline code and fenced blocks use a compact reading size. */
.prose code,.post-excerpt code {
  font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;
  font-size:.88em;
}
.prose :not(pre)>code,.post-excerpt :not(pre)>code {
  padding:2px 5px;
  border-radius:4px;
  background:#f1f4f8;
  color:#34516d;
}
.prose pre,.post-excerpt pre {
  margin:0;
  padding:20px;
  border:0;
  border-radius:0;
  background:#f6f8fb;
  color:#253348;
  font:14px/1.7 ui-monospace,"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;
  white-space:pre;
  overflow:auto;
  tab-size:4;
}
.prose pre code,.post-excerpt pre code { font:inherit; background:none; padding:0; }
.prose table {
  display:block;
  max-width:100%;
  overflow:auto;
  border-collapse:collapse;
  margin:1.5em 0;
  font-size:15px
}
.prose th,.prose td {
  padding:10px 16px;
  border:1px solid var(--line);
  text-align:left
}
.prose th {
  background:var(--code)
}
/* Categories and archives share the same grouped index. */
.index-page {
  --index-font:Georgia,"Times New Roman","Songti SC","STSong",serif;
}
.index-page .page-heading {
  margin:40px 0 36px;
}
.index-group {
  margin:0 0 58px;
  scroll-margin-top:24px;
}
.index-group-heading {
  display:flex;
  align-items:center;
  gap:13px;
  padding:0 0 17px;
  border-bottom:1px solid var(--line);
}
.index-group-heading h2 {
  margin:0;
  color:#202033;
  font:700 26px/1.4 var(--index-font);
}
.index-group-icon {
  width:22px;
  height:22px;
  flex-shrink:0;
  color:#9aa1ad;
}
.index-group-count {
  margin-left:auto;
  color:#7c8491;
  font:400 18px/1.4 var(--index-font);
  font-variant-numeric:tabular-nums;
}
.index-posts {
  list-style:none;
  margin:0;
  padding:13px 0 0 40px;
}
.index-posts li {
  display:grid;
  grid-template-columns:110px minmax(0,1fr);
  gap:24px;
  align-items:baseline;
  margin:0;
  padding:13px 0;
  font:400 22px/1.5 var(--index-font);
}
.index-posts time {
  color:#7c8491;
  font-size:18px;
  font-variant-numeric:tabular-nums;
}
.index-posts a {
  color:#30343b;
  overflow-wrap:anywhere;
}
.index-posts a:hover {
  color:var(--link);
}
@media(max-width:640px) {
  .index-group { margin-bottom:42px; }
  .index-group-heading h2 { font-size:24px; }
  .index-posts { padding-left:0; }
  .index-posts li { grid-template-columns:94px minmax(0,1fr); gap:14px; font-size:19px; }
  .index-posts time { font-size:15px; }
}
.visually-hidden,.skip-link:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link:focus {
  position:absolute;
  top:8px;
  left:8px;
  background:white;
  padding:8px 15px;
  z-index:10
}
mjx-container[display="true"] {
  overflow-x:auto;
  overflow-y:hidden;
  padding:4px 0
}
@media(max-width:640px) {
  .wrapper {
  padding:0 20px
}
.site-header {
  align-items:center;
  text-align:center;
  flex-direction:column;
  gap:9px;
  padding:20px 0
}
.site-nav {
  justify-content:center;
  gap:12px 20px;
  font-size:16px
}
.site-title {
  font-size:28px
}
.site-subtitle {
  margin:3px 0
}
h1,h2,h3,h4 {
  line-height:1.4
}
.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6 {
  line-height:1.4;
}
.post { padding-top:32px; }
.post-heading { padding-bottom:24px; margin-bottom:24px; }
.post-heading h1 { font-size:24px; }
.post .prose :is(h1,h2) { margin-top:24px; }
.post .prose h1 { font-size:24px; }
.post .prose h2 { font-size:20px; }
.post .prose h3 { font-size:18px; }
.site-footer {
  margin-top:38px
}
.prose {
  font-size:18px
}

}
@media print {
  .site-nav,.site-footer,.skip-link {
  display:none
}
.wrapper {
  max-width:none;
  padding:0
}
a {
  color:inherit
}
.site-header {
  padding-top:0
}
pre {
  white-space:pre-wrap
}

}


/* Code panels preserve Rouge highlighting and work without JavaScript. */
.prose div.highlight,.post-excerpt div.highlight {
  margin:0;
  padding:0;
  border:0;
  box-shadow:none;
  background:none;
}
.prose .highlighter-rouge,.post-excerpt .highlighter-rouge { margin:22px 0; }
.code-block {
  margin:22px 0;
  border:1px solid #dce3ec;
  border-radius:10px;
  overflow:hidden;
  background:#f6f8fb;
}
.code-block .highlighter-rouge { margin:0; }
.code-block-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:11px 20px;
  border-bottom:1px solid #e2e8f0;
  background:#edf2f8;
  font:12px/1.5 var(--body);
}
.code-block-language { color:#395574; font-weight:600; letter-spacing:.03em; }
.code-block-count { color:#67788c; }
.code-block-actions { display:flex; align-items:center; gap:14px; }
.code-block-copy {
  padding:4px 10px;
  border:1px solid #ccd7e5;
  border-radius:5px;
  background:#f6f8fb;
  color:#395574;
  font:12px/1.5 var(--body);
  cursor:pointer;
}
.code-block-copy:hover { background:#fff; border-color:#9aafc8; }
.code-block-copy:focus-visible { outline:2px solid #4183c4; outline-offset:2px; }
.code-block-copy:disabled { cursor:wait; }
.code-block.is-collapsed pre {
  max-height:calc(var(--code-preview-lines,12) * 1.7em + 40px);
  overflow-y:hidden;
}
.code-block-toggle {
  display:block;
  width:100%;
  padding:12px 20px;
  border:0;
  border-top:1px solid #e2e8f0;
  background:#edf2f8;
  color:#395574;
  font:13px/1.5 var(--body);
  text-align:center;
  cursor:pointer;
}
.code-block-toggle:hover { background:#e2eaf4; }
.code-block-toggle:focus-visible { outline:2px solid #4183c4; outline-offset:-4px; }
/* Cool, readable syntax colors on a light background. */
.highlight .c,.highlight .cm,.highlight .c1,.highlight .cs,.highlight .sd { color:#708096; font-style:italic; }
.highlight .k,.highlight .kc,.highlight .kd,.highlight .kn,.highlight .kp,.highlight .kr,.highlight .kt,.highlight .ow { color:#7653a6; }
.highlight .nf,.highlight .nc,.highlight .nd,.highlight .ne,.highlight .nt { color:#2766a8; }
.highlight .s,.highlight .s1,.highlight .s2,.highlight .sb,.highlight .sc,.highlight .sh,.highlight .sx,.highlight .ss { color:#2c7560; }
.highlight .m,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo,.highlight .il,.highlight .no { color:#b26336; }
.highlight .nb,.highlight .bp,.highlight .na,.highlight .nv,.highlight .vc,.highlight .vg,.highlight .vi { color:#426982; }
.highlight .o,.highlight .p { color:#56657b; }
.highlight .err,.highlight .gr,.highlight .gd { color:#b44050; }
.highlight .gi { color:#2c7560; }
.highlight .ge { font-style:italic; }
.highlight .gs { font-weight:600; }
@media(max-width:640px) {
  .prose pre,.post-excerpt pre { padding:16px; font-size:13px; }
  .code-block-header { padding:10px 16px; }
  .code-block.is-collapsed pre { max-height:calc(var(--code-preview-lines,12) * 1.7em + 32px); }
}
@media print {
  .code-block-header,.code-block-toggle { display:none; }
  .code-block.is-collapsed pre { max-height:none; overflow:visible; }
  .prose pre,.post-excerpt pre { white-space:pre-wrap; overflow-wrap:anywhere; }
}

.post-comments {
  margin-top:48px;
  padding-top:28px;
  border-top:1px solid var(--line);
}
.post-comments h2 {
  margin:0 0 24px;
  font-size:24px;
  line-height:1.4;
}
.giscus,.giscus-frame { width:100%; }
@media print { .post-comments { display:none; } }
