:root {
  color-scheme: light dark;
  --bg: #fbf6ec;
  --page-bg: var(--bg);
  --text: #24211d;
  --muted: #766d61;
  --soft: #f1e8d9;
  --border: #dfd2bf;
  --accent: #9d503b;
  --accent-strong: #733523;
  --code-bg: #f3eadc;
  --code-text: #312b24;
  --code-border: #dfd2bf;
  --syntax-comment: #8d8171;
  --syntax-keyword: #8f4c33;
  --syntax-name: #315f72;
  --syntax-function: #6c5a97;
  --syntax-string: #7a6420;
  --syntax-number: #9a4f6a;
  --syntax-operator: #7b5d4a;
  --syntax-comment: #8d8171;
  --syntax-keyword: #8f4c33;
  --syntax-name: #315f72;
  --syntax-function: #6c5a97;
  --syntax-string: #7a6420;
  --syntax-number: #9a4f6a;
  --syntax-operator: #7b5d4a;
  --mark: #f5dca8;
  --rule: #cab9a2;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17130f;
    --page-bg: var(--bg);
    --text: #eee5d8;
    --muted: #b6a897;
    --soft: #211a15;
    --border: #3a3028;
    --accent: #dfa07c;
    --accent-strong: #f0b997;
    --code-bg: #201a15;
    --code-text: #eadfce;
    --code-border: #3a3028;
    --syntax-comment: #9f907f;
    --syntax-keyword: #e59878;
    --syntax-name: #9ec7d7;
    --syntax-function: #c8b6ff;
    --syntax-string: #e5c276;
    --syntax-number: #eca4c8;
    --syntax-operator: #d2b49c;
    --mark: #6a4731;
    --rule: #5a493d;
    --strong: #fff7e8;
  }
}

:root[data-theme="dark"] {
  --bg: #17130f;
  --page-bg: var(--bg);
  --text: #eee5d8;
  --muted: #b6a897;
  --soft: #211a15;
  --border: #3a3028;
  --accent: #dfa07c;
  --accent-strong: #f0b997;
  --code-bg: #201a15;
  --code-text: #eadfce;
  --code-border: #3a3028;
  --syntax-comment: #9f907f;
  --syntax-keyword: #e59878;
  --syntax-name: #9ec7d7;
  --syntax-function: #c8b6ff;
  --syntax-string: #e5c276;
  --syntax-number: #eca4c8;
  --syntax-operator: #d2b49c;
  --mark: #6a4731;
  --rule: #5a493d;
  --strong: #fff7e8;
}

:root[data-theme="sky-dawn"] {
  color-scheme: light;
  --bg: #fff1e7;
  --page-bg: linear-gradient(180deg, #ffd7d2 0%, #fff1e7 34%, #fbf6ec 100%);
  --text: #2a201d;
  --muted: #7d6a63;
  --soft: #f6dfd0;
  --border: #e5c5b4;
  --accent: #a75159;
  --accent-strong: #783540;
  --code-bg: #f3eadc;
  --code-text: #312b24;
  --code-border: #dfd2bf;
  --syntax-comment: #8d8171;
  --syntax-keyword: #8f4c33;
  --syntax-name: #315f72;
  --syntax-function: #6c5a97;
  --syntax-string: #7a6420;
  --syntax-number: #9a4f6a;
  --syntax-operator: #7b5d4a;
  --mark: #ffd0a3;
  --rule: #d9b8a8;
}

:root[data-theme="sky-morning"] {
  color-scheme: light;
  --bg: #f7f5e9;
  --page-bg: linear-gradient(180deg, #d8ecf2 0%, #f7f5e9 38%, #fbf6ec 100%);
  --text: #23251d;
  --muted: #6c6f5e;
  --soft: #edf0d9;
  --border: #d6d9bc;
  --accent: #5f7f5c;
  --accent-strong: #405d3f;
  --code-bg: #f3eadc;
  --code-text: #312b24;
  --code-border: #dfd2bf;
  --syntax-comment: #8d8171;
  --syntax-keyword: #8f4c33;
  --syntax-name: #315f72;
  --syntax-function: #6c5a97;
  --syntax-string: #7a6420;
  --syntax-number: #9a4f6a;
  --syntax-operator: #7b5d4a;
  --mark: #dae6a8;
  --rule: #c5ca9f;
}

:root[data-theme="sky-day"] {
  color-scheme: light;
  --bg: #f4f8f4;
  --page-bg: linear-gradient(180deg, #d7edf6 0%, #f4f8f4 42%, #fbf6ec 100%);
  --text: #1f2728;
  --muted: #637176;
  --soft: #e5eeee;
  --border: #cbdcdd;
  --accent: #4c7f89;
  --accent-strong: #315b63;
  --code-bg: #f3eadc;
  --code-text: #312b24;
  --code-border: #dfd2bf;
  --syntax-comment: #8d8171;
  --syntax-keyword: #8f4c33;
  --syntax-name: #315f72;
  --syntax-function: #6c5a97;
  --syntax-string: #7a6420;
  --syntax-number: #9a4f6a;
  --syntax-operator: #7b5d4a;
  --mark: #cae7df;
  --rule: #b9ced0;
}

:root[data-theme="sky-evening"] {
  color-scheme: light;
  --bg: #fff2df;
  --page-bg: linear-gradient(180deg, #ffd4a3 0%, #ffe9cf 32%, #fbf6ec 100%);
  --text: #2d2218;
  --muted: #806851;
  --soft: #f5dfc3;
  --border: #e4bd92;
  --accent: #b15f2c;
  --accent-strong: #7e411c;
  --code-bg: #f3eadc;
  --code-text: #312b24;
  --code-border: #dfd2bf;
  --mark: #ffc878;
  --rule: #d5ad80;
}

:root[data-theme="sky-dusk"] {
  color-scheme: dark;
  --bg: #26263f;
  --page-bg: linear-gradient(180deg, #46558e 0%, #3b335f 38%, #26263f 100%);
  --text: #f6eadf;
  --muted: #cdbcb1;
  --soft: #302d49;
  --border: #5f5570;
  --accent: #ffb27b;
  --accent-strong: #ffd0a8;
  --code-bg: #201a15;
  --code-text: #eadfce;
  --code-border: #3a3028;
  --syntax-comment: #9f907f;
  --syntax-keyword: #e59878;
  --syntax-name: #9ec7d7;
  --syntax-function: #c8b6ff;
  --syntax-string: #e5c276;
  --syntax-number: #eca4c8;
  --syntax-operator: #d2b49c;
  --mark: #7a5338;
  --rule: #75606a;
  --strong: #fff7ec;
}

:root[data-theme="sky-night"] {
  color-scheme: dark;
  --bg: #0d1524;
  --page-bg: linear-gradient(180deg, #111f38 0%, #0d1728 42%, #0b111b 100%);
  --text: #e8eef4;
  --muted: #aab7c4;
  --soft: #121d2d;
  --border: #26364a;
  --accent: #94c8ff;
  --accent-strong: #c1dcff;
  --code-bg: #201a15;
  --code-text: #eadfce;
  --code-border: #3a3028;
  --syntax-comment: #9f907f;
  --syntax-keyword: #e59878;
  --syntax-name: #9ec7d7;
  --syntax-function: #c8b6ff;
  --syntax-string: #e5c276;
  --syntax-number: #eca4c8;
  --syntax-operator: #d2b49c;
  --mark: #274869;
  --rule: #32475d;
  --strong: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 300px;
}

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

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent-strong);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
}

.container {
  margin: 0 auto;
  max-width: 800px;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 36px 0;
}

.site-header {
  padding: 46px 0 24px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.site-brand {
  color: var(--text);
  text-decoration: none;
}

.site-title {
  color: var(--text);
  font-size: 23px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}

.site-subtitle {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.4;
  margin: 5px 0 0;
}

.site-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  text-decoration: none;
}

.social-link:hover {
  color: var(--text);
}

.theme-controls {
  align-items: center;
  display: flex;
  gap: 7px;
}

.theme-toggle {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  height: 34px;
  padding: 3px;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bg) 80%, white);
}

.theme-choice {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}

.theme-choice:hover,
.theme-choice[aria-pressed="true"] {
  color: var(--accent);
}

.theme-choice[aria-pressed="true"] {
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--border);
}

.theme-choice svg {
  height: 18px;
  width: 18px;
}

.planet-choice[aria-pressed="true"] svg {
  animation: planet-drift 4200ms ease-in-out infinite;
}

.planet-choice[aria-pressed="true"] .planet-ring {
  animation: planet-ring 4200ms ease-in-out infinite;
  transform-origin: 12px 12px;
}

.theme-choice:focus-visible,
.sky-periods button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sky-periods {
  display: none;
  flex-wrap: nowrap;
  gap: 5px;
  justify-content: flex-end;
  max-width: none;
  overflow-x: visible;
  white-space: nowrap;
  width: max-content;
}

.local-time {
  color: var(--muted);
  display: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1;
}

:root[data-theme-choice="sky"] .sky-periods {
  display: flex;
}

:root[data-theme-choice="sky"] .local-time {
  display: inline-block;
}

.sky-periods button {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1;
  padding: 5px 7px;
}

.sky-periods button:hover,
.sky-periods button[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--accent) 65%, var(--border));
  color: var(--accent);
}

@keyframes planet-drift {
  0%,
  100% {
    transform: translateX(-1px) rotate(-4deg);
  }

  50% {
    transform: translateX(1px) rotate(4deg);
  }
}

@keyframes planet-ring {
  0%,
  100% {
    transform: rotate(-6deg);
  }

  50% {
    transform: rotate(6deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .planet-choice[aria-pressed="true"] svg,
  .planet-choice[aria-pressed="true"] .planet-ring {
    animation: none;
  }
}

.post-list {
  padding-top: 10px;
}

article + article {
  margin-top: 22px;
}

.post-item {
  --entry-prefix-gap: 10px;
  --entry-prefix-width: 24px;
  padding-top: 0;
}

.post-item:first-child {
  padding-top: 0;
}

.subtitle,
.post-date {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 5px 0 0 calc(var(--entry-prefix-width) + var(--entry-prefix-gap));
  text-transform: uppercase;
  white-space: nowrap;
}

.title {
  color: var(--text);
  font-size: 32px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 30px;
}

.title a {
  color: inherit;
  text-decoration: none;
}

.title a:hover {
  color: var(--accent);
}

.post-item .title {
  align-items: baseline;
  display: flex;
  font-size: 21px;
  gap: var(--entry-prefix-gap);
  line-height: 1.28;
  margin-bottom: 0;
}

.post-item .title::before {
  color: var(--accent);
  content: "~/";
  flex: 0 0 var(--entry-prefix-width);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.7em;
  font-weight: 600;
  opacity: 0.72;
  text-align: left;
}

.post-item .title a {
  background-image: linear-gradient(var(--mark), var(--mark));
  background-position: 0 90%;
  background-repeat: no-repeat;
  background-size: 0 0.34em;
  transition: background-size 140ms ease, color 140ms ease;
}

.post-item .title a:hover {
  background-size: 100% 0.34em;
  color: var(--text);
}

.title.notfound {
  font-size: min(24vw, 180px);
  text-align: center;
}

.language-switcher {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 30px;
}

.language-label {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.language-current,
.language-link {
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  padding: 7px 10px;
}

.language-current {
  background: var(--soft);
  color: var(--text);
}

.language-link {
  color: var(--accent);
  text-decoration: none;
}

.language-link:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  color: var(--accent-strong);
}

.content {
  font-size: 18px;
  line-height: 1.75;
}

.content a {
  background-image: linear-gradient(var(--mark), var(--mark));
  background-position: 0 88%;
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  color: var(--accent-strong);
  text-decoration: none;
  transition: background-size 140ms ease, color 140ms ease;
}

.content a:hover {
  background-size: 100% 0.86em;
  color: var(--strong, var(--text));
}

.content strong {
  color: var(--strong, var(--text));
  font-weight: 800;
}

.content > *:first-child {
  margin-top: 0;
}

.content > *:last-child {
  margin-bottom: 0;
}

.content p,
.content ol,
.content ul,
.content pre,
.content table,
.content blockquote {
  margin: 0 0 1.45em;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  color: var(--text);
  font-weight: 760;
  line-height: 1.25;
  margin: 2.4em 0 0.75em;
  position: relative;
}

.content h1::before,
.content h2::before,
.content h3::before {
  color: var(--rule);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.72em;
  font-weight: 600;
  left: -2.4em;
  position: absolute;
  top: 0.14em;
}

.content h1::before {
  content: "#";
}

.content h2::before {
  content: "##";
}

.content h3::before {
  content: "###";
}

.content h1 {
  font-size: 30px;
}

.content h2 {
  border-bottom: 1px solid var(--border);
  font-size: 26px;
  padding-bottom: 9px;
}

.content h3 {
  font-size: 22px;
}

.content h4 {
  font-size: 19px;
}

.content h5,
.content h6 {
  font-size: 18px;
}

.content ol,
.content ul {
  padding-left: 1.45em;
}

.content li + li {
  margin-top: 0.35em;
}

.content blockquote {
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 1.08em;
  padding-left: 1.1em;
}

.expand {
  border-left: 2px solid var(--rule);
  margin: 1.8em 0;
  padding-left: 18px;
}

.expand summary {
  align-items: baseline;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.76em;
  font-weight: 650;
  gap: 7px;
  list-style: none;
  text-transform: uppercase;
}

.expand summary::-webkit-details-marker {
  display: none;
}

.expand summary::before {
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--border));
  border-radius: 999px;
  content: "+";
  display: inline-grid;
  font-size: 0.85em;
  height: 1.45em;
  line-height: 1;
  place-items: center;
  width: 1.45em;
}

.expand[open] summary::before {
  content: "-";
}

.expand summary:hover {
  color: var(--accent-strong);
}

.expand-content {
  background: color-mix(in srgb, var(--soft) 44%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 8px;
  margin-top: 14px;
  padding: 18px;
}

.expand-content > *:first-child {
  margin-top: 0;
}

.expand-content > *:last-child {
  margin-bottom: 0;
}

.expand-content img {
  border-radius: 8px;
}

.tabs {
  margin: 1.9em 0;
}

.tab-list {
  align-items: flex-end;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px;
  scrollbar-width: none;
}

.tab-list::-webkit-scrollbar {
  display: none;
}

.tab-button {
  background: color-mix(in srgb, var(--soft) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-bottom-color: var(--border);
  border-radius: 8px 8px 0 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.74em;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: -1px;
  padding: 10px 13px 11px;
  text-transform: uppercase;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  white-space: nowrap;
}

.tab-button::before {
  color: var(--accent);
  content: "/";
  margin-right: 6px;
  opacity: 0.72;
}

.tab-button:hover {
  background: color-mix(in srgb, var(--mark) 50%, var(--soft));
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
  color: var(--accent);
}

.tab-button[aria-selected="true"] {
  background: color-mix(in srgb, var(--soft) 76%, var(--bg));
  border-color: color-mix(in srgb, var(--border) 72%, transparent);
  border-bottom-color: color-mix(in srgb, var(--soft) 76%, var(--bg));
  color: var(--text);
}

.tab-button[aria-selected="true"]::before {
  opacity: 1;
}

.tab-button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 2px;
}

.tab-panels {
  background: color-mix(in srgb, var(--soft) 76%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: 0 8px 8px 8px;
  overflow: visible;
  padding: 18px;
}

.tab-panel > *:first-child {
  margin-top: 0;
}

.tab-panel > *:last-child {
  margin-bottom: 0;
}

.tab-panel pre {
  margin-left: -6px;
  margin-right: -6px;
  overflow-y: hidden;
}

.tab-panel > pre:only-child,
.tab-panel > .highlight:only-child {
  border: 0;
  border-radius: 0 0 7px 7px;
  margin: -18px;
}

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

code {
  color: var(--code-text);
  font-size: 0.9em;
}

.content p > code,
.content li > code,
.content td > code {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 5px;
  padding: 0.08em 0.3em;
}

.content pre,
.highlight {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 8px;
  color: var(--code-text);
  overflow-x: auto;
  overflow-y: hidden;
}

.content pre {
  padding: 16px 18px;
}

.highlight pre {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  color: inherit !important;
  margin: 0;
  overflow: visible;
}

.content pre code,
.highlight code {
  background: transparent;
  border: 0;
  color: inherit;
  display: block;
  font-size: 0.88em;
  line-height: 1.6;
  padding: 0;
}

.chroma .c,
.chroma .c1,
.chroma .cm,
.chroma .cp,
.chroma .cs {
  color: var(--syntax-comment);
  font-style: italic;
}

.chroma .k,
.chroma .kc,
.chroma .kd,
.chroma .kn,
.chroma .kp,
.chroma .kr,
.chroma .kt {
  color: var(--syntax-keyword);
  font-weight: 650;
}

.chroma .na,
.chroma .nb,
.chroma .nc,
.chroma .nd,
.chroma .ni,
.chroma .nl,
.chroma .nn,
.chroma .no,
.chroma .nt,
.chroma .nv,
.chroma .nx,
.chroma .ss {
  color: var(--syntax-name);
}

.chroma .nf,
.chroma .fm {
  color: var(--syntax-function);
}

.chroma .s,
.chroma .s1,
.chroma .s2,
.chroma .sa,
.chroma .sb,
.chroma .sc,
.chroma .dl,
.chroma .sd,
.chroma .se,
.chroma .sh,
.chroma .si,
.chroma .sr,
.chroma .sx {
  color: var(--syntax-string);
}

.chroma .m,
.chroma .mb,
.chroma .mf,
.chroma .mh,
.chroma .mi,
.chroma .il,
.chroma .mo {
  color: var(--syntax-number);
}

.chroma .o,
.chroma .ow,
.chroma .p {
  color: var(--syntax-operator);
}

.chroma .gd {
  color: #b83b3b;
}

.chroma .gi {
  color: #4f7d43;
}

.content table {
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  width: 100%;
}

.content td,
.content th {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.content th {
  background: var(--soft);
  font-weight: 760;
}

.pager {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.button {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 650;
  gap: 7px;
  min-height: 36px;
  padding: 5px 13px;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button.is-disabled {
  color: var(--muted);
  opacity: 0.48;
  pointer-events: none;
}

.site-footer {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  padding: 38px 0 50px;
  text-align: center;
}

.site-footer a {
  color: inherit;
}

.not-found {
  align-items: center;
  display: flex;
  min-height: 70vh;
  text-align: center;
}

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 28px 0;
  }

  .site-header {
    padding-top: 28px;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .site-title {
    font-size: 22px;
    white-space: normal;
  }

  .site-actions {
    justify-content: flex-start;
  }

  .post-item {
    --entry-prefix-gap: 8px;
    --entry-prefix-width: 22px;
    display: block;
  }

  .post-date {
    margin: 5px 0 0 calc(var(--entry-prefix-width) + var(--entry-prefix-gap));
  }

  .title {
    font-size: 28px;
  }

  .post-item .title {
    font-size: 20px;
  }

  .content {
    font-size: 17px;
  }

  .content h1::before,
  .content h2::before,
  .content h3::before {
    display: none;
  }
}

.article-body {
  position: relative;
}

.article-toc {
  margin-bottom: 32px;
}

.article-toc-inner {
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

.article-toc-title {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.article-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc ul ul {
  padding-left: 14px;
}

.article-toc a {
  border-left: 2px solid transparent;
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.5;
  margin-left: -17px;
  overflow-wrap: anywhere;
  padding: 5px 0 5px 15px;
  text-decoration: none;
}

.article-toc a:hover, .article-toc a[aria-current="location"] {
  border-left-color: var(--accent);
  color: var(--accent);
}

.article-toc a[aria-current="location"] {
  font-weight: 650;
}

.article-toc a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.article-body--toc .content :is(h1, h2, h3, h4, h5, h6)[id] {
  scroll-margin-top: 32px;
}

@media (min-width: 1340px) {
  .article-toc {
    bottom: 0;
    left: -276px;
    margin: 0;
    position: absolute;
    top: 0;
    width: 220px;
  }

  .article-body--toc-right .article-toc {
    left: auto;
    right: -276px;
  }

  .article-toc-inner {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    position: sticky;
    scrollbar-width: thin;
    top: 32px;
  }
}

@media print {
  .article-toc {
    display: none;
  }
}

.post-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 5px 0 0 calc(var(--entry-prefix-width) + var(--entry-prefix-gap));
}

.post-meta .post-date {
  margin: 0;
}

.post-reading {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.post-languages {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.post-language {
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  padding: 3px 5px;
  text-decoration: none;
}

.post-language--current {
  background: var(--soft);
}

.post-language[href]:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.post-language:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
