:root {
  --paper: #f5f0e6;
  --paper-deep: #ede6d8;
  --ink: #1f1b18;
  --ink-soft: #4d463f;
  --muted: #857b70;
  --summary: #665d54;
  --rule: #d8cdbb;
  --accent: #c0261c;
  --content-width: 1000px;
  --measure: none;
  --logo-width: 58px;
  --logo-height: 58px;
  --thumb-size: 96px;
  --thumb-ratio: 4/3;
  --toc-counter: lower-roman;
  --paper-texture: radial-gradient(rgba(0,0,0,0.018) 1px, transparent 1px);
  --paper-texture-size: 3px 3px;
  --font-serif: "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", Georgia, "Songti SC", STSong, SimSun, serif;
  --font-display: "Cormorant Garamond", "EB Garamond", Garamond, "Hoefler Text", "Baskerville", "Times New Roman", "Noto Serif SC", "Songti SC", SimSun, serif;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "PingFang SC", "Microsoft YaHei", monospace;
}

@supports (color: color-mix(in oklab, red, blue)) {
  :root {
    --paper-deep: color-mix(in oklab, var(--paper) 96%, var(--ink));
    --rule: color-mix(in oklab, var(--paper) 86%, var(--ink));
    --ink-soft: color-mix(in oklab, var(--ink) 76%, var(--paper));
    --summary: color-mix(in oklab, var(--ink) 65%, var(--paper));
    --muted: color-mix(in oklab, var(--ink) 50%, var(--paper));
    --paper-texture: radial-gradient(color-mix(in srgb, var(--ink) 2%, transparent) 1px, transparent 1px);
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--paper-texture);
  background-size: var(--paper-texture-size);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover {
  color: var(--accent);
}
img {
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: rgba(192,38,28,0.16);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.sep {
  margin: 0 0.7em;
}
.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 1079px) {
  .wrap {
    padding: 0 32px;
  }
}
@media (max-width: 719px) {
  .wrap {
    padding: 0 18px;
  }
}
.main {
  min-height: 50vh;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 24px;
  padding: 64px 0 28px;
  border-bottom: 1px solid var(--ink);
}
@media (max-width: 719px) {
  .site-header {
    padding: 28px 0 16px;
    gap: 14px;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
@media (max-width: 719px) {
  .brand {
    gap: 14px;
  }
}
.brand-logo {
  flex: none;
}
.brand-logo img {
  display: block;
  width: var(--logo-width);
  height: var(--logo-height);
  object-fit: contain;
}
@media (max-width: 719px) {
  .brand-logo img {
    width: calc(var(--logo-width) * 0.69);
    height: calc(var(--logo-height) * 0.69);
  }
}
.brand-text {
  min-width: 0;
}
.brand-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 719px) {
  .brand-title {
    font-size: 24px;
    letter-spacing: 0.1em;
  }
}
.brand-title a:hover {
  color: inherit;
}
.brand-subtitle {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.3;
  color: var(--muted);
}
@media (max-width: 719px) {
  .brand-subtitle {
    margin-top: 6px;
    font-size: 14px;
  }
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
}
.site-nav:where(:lang(en)) {
  letter-spacing: 0.03em;
}
@media (max-width: 719px) {
  .site-nav {
    gap: 6px 20px;
    letter-spacing: 0.14em;
  }
}
.site-nav a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.site-nav a.active {
  border-bottom-color: var(--accent);
}
.nav-lang {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.nav-lang .sep {
  margin: 0 0.35em;
  color: var(--muted);
}
@media (max-width: 719px) {
  .nav-lang {
    letter-spacing: 0.08em;
  }
  .nav-lang .sep {
    margin: 0 0.45em;
  }
}
.nav-lang a:hover {
  color: var(--accent);
}
.nav-lang .is-current {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
}
.nav-search {
  display: inline-flex;
  align-items: center;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  cursor: pointer;
}
.nav-search:hover {
  color: var(--accent);
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 64px;
  padding: 22px 0 48px;
  border-top: 1px solid var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  border-bottom: 1px solid var(--rule);
}
.footer-main,
.footer-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-side {
  align-items: flex-end;
  text-align: right;
}
@media (max-width: 719px) {
  .footer-side {
    align-items: flex-start;
    text-align: left;
  }
}
.list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 40px 0 14px;
  border-bottom: 1px solid var(--ink);
}
.list-head + .post-index .year-group:first-child .year-label {
  padding-top: 22px;
}
.list-kicker {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.list-title {
  margin: 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: break-word;
}
@media (max-width: 719px) {
  .list-title {
    font-size: 30px;
  }
}
.list-count {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.year-label {
  margin: 0;
  padding: 20px 0 5px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--muted);
}
@media (max-width: 719px) {
  .year-label {
    padding-top: 16px;
    font-size: 22px;
  }
}
.year-group:first-child .year-label {
  padding-top: 24px;
}
.entries {
  margin: 0;
  padding: 0;
  list-style: none;
}
.entry {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: baseline;
  padding: 13px 0 15px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 719px) {
  .entry {
    grid-template-columns: 2.6em minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 4px;
    padding: 12px 0 14px;
  }
}
.entry-no {
  grid-column: 1/2;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}
@media (max-width: 719px) {
  .entry-no {
    grid-row: 1/span 2;
    font-size: 19px;
  }
}
.entry-main {
  grid-column: 2/9;
  min-width: 0;
}
@media (max-width: 719px) {
  .entry-main {
    grid-column: 2/4;
  }
}
.entry-title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
  overflow-wrap: break-word;
}
@media (max-width: 719px) {
  .entry-title {
    font-size: 16px;
  }
}
.entry-summary {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--summary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 719px) {
  .entry-summary {
    font-size: 12.5px;
    -webkit-line-clamp: 2;
  }
}
.entry-category {
  grid-column: 9/11;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
@media (max-width: 719px) {
  .entry-category {
    grid-column: 2/3;
    grid-row: 2;
  }
}
.entry-date {
  grid-column: 11/13;
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 719px) {
  .entry-date {
    grid-column: 3/4;
    grid-row: 2;
    font-size: 14px;
  }
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px 20px;
  padding: 40px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--muted);
}
.pagination .page-number {
  min-width: 1.2em;
  text-align: center;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.pagination .current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.pagination .extend {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.pagination .space {
  color: var(--rule);
}
.no-number .entry-main {
  grid-column-start: 1;
}
.no-category .entry-main {
  grid-column-end: 11;
}
.no-category.no-date .entry-main {
  grid-column-end: 13;
}
.no-date .entry-category {
  grid-column: 11/13;
  text-align: right;
}
@media (max-width: 719px) {
  .no-number .entry {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .no-number .entry-main {
    grid-column: 1/3;
  }
  .no-number .entry-category {
    grid-column: 1/2;
  }
  .no-number .entry-date {
    grid-column: 2/3;
  }
  .no-date .entry-category {
    grid-column: 2/4;
    text-align: left;
  }
  .no-number.no-date .entry-category {
    grid-column: 1/3;
  }
}
.entry-lang {
  margin-left: 0.8em;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.entry-category .sep {
  margin: 0 0.45em;
  color: var(--muted);
}
.entry-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: var(--thumb-ratio);
  background: var(--paper-deep);
}
.entry-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.entry-thumb:hover img {
  transform: scale(1.04);
}
.thumb-right .entry-main,
.thumb-left .entry-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--thumb-size);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
}
.thumb-right .entry-title,
.thumb-left .entry-title,
.thumb-right .entry-summary,
.thumb-left .entry-summary {
  grid-column: 1;
}
.thumb-right .entry-title,
.thumb-left .entry-title {
  align-self: baseline;
}
.thumb-right .entry-summary,
.thumb-left .entry-summary {
  -webkit-line-clamp: 2;
}
.thumb-right .entry-thumb,
.thumb-left .entry-thumb {
  grid-column: 2;
  grid-row: 1/3;
  align-self: start;
}
@media (max-width: 719px) {
  .thumb-right .entry-main,
  .thumb-left .entry-main {
    grid-template-columns: minmax(0, 1fr) calc(var(--thumb-size) * 0.7);
    column-gap: 12px;
  }
}
.thumb-left .entry-main {
  grid-template-columns: var(--thumb-size) minmax(0, 1fr);
}
.thumb-left .entry-title,
.thumb-left .entry-summary {
  grid-column: 2;
}
.thumb-left .entry-thumb {
  grid-column: 1;
}
@media (max-width: 719px) {
  .thumb-left .entry-main {
    grid-template-columns: calc(var(--thumb-size) * 0.7) minmax(0, 1fr);
  }
}
.thumb-card > .entry-no,
.thumb-card > .entry-main,
.thumb-card > .entry-category,
.thumb-card > .entry-date {
  grid-row: 2;
}
.thumb-card .entry-thumb {
  grid-column: 2/9;
  grid-row: 1;
  margin: 4px 0 14px;
}
.thumb-card .entry-summary {
  -webkit-line-clamp: 2;
}
@media (max-width: 719px) {
  .thumb-card .entry-thumb {
    margin: 2px 0 10px;
  }
  .thumb-card > .entry-no {
    grid-row: 2/span 2;
  }
  .thumb-card > .entry-category,
  .thumb-card > .entry-date {
    grid-row: 3;
  }
}
.no-number .thumb-card .entry-thumb {
  grid-column-start: 1;
}
.no-category .thumb-card .entry-thumb {
  grid-column-end: 11;
}
.no-category.no-date .thumb-card .entry-thumb {
  grid-column-end: 13;
}
@media (max-width: 719px) {
  .post-index .thumb-card .entry-thumb {
    grid-column: 2/4;
  }
  .post-index.no-number .thumb-card .entry-thumb {
    grid-column: 1/3;
  }
}
.post,
.page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding: 40px 0 0;
}
@media (max-width: 1079px) {
  .post,
  .page {
    display: block;
  }
}
.post-kicker {
  grid-column: 1/-1;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.lang-only {
  color: var(--muted);
}
.post-title,
.page-title {
  grid-column: 1/11;
  margin: 10px 0 30px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}
@media (max-width: 1079px) {
  .post-title,
  .page-title {
    margin: 10px 0 24px;
    font-size: 36px;
  }
}
@media (max-width: 719px) {
  .post-title,
  .page-title {
    margin: 8px 0 20px;
    font-size: 26px;
    line-height: 1.3;
  }
}
.page-title {
  margin-top: 0;
}
.post-meta {
  grid-column: 1/3;
  grid-row: 3;
  align-self: start;
  padding-top: 12px;
  border-top: 4px solid var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 2;
  color: var(--ink-soft);
}
.post-meta dl {
  margin: 0;
}
.post-meta dt {
  margin-top: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-meta .meta-item:first-child dt {
  margin-top: 0;
}
.post-meta dd {
  margin: 0;
}
@media (max-width: 1079px) {
  .post-meta {
    margin-bottom: 22px;
    padding-top: 10px;
  }
  .post-meta dl {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 36px;
  }
  .post-meta dt {
    margin-top: 0;
  }
}
.meta-tags {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1079px) {
  .meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
  }
}
.meta-count {
  display: block;
  color: var(--muted);
}
.meta-count .sep {
  margin: 0 0.45em;
}
@media (max-width: 1079px) {
  .meta-count {
    display: inline;
    margin-left: 0.8em;
  }
}
.post-title:has(+ .post-info) {
  margin-bottom: 12px;
}
@media (max-width: 719px) {
  .post-title:has(+ .post-info) {
    margin-bottom: 10px;
  }
}
.post-info {
  grid-column: 1/10;
  grid-row: 3;
  margin-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--muted);
}
@media (max-width: 719px) {
  .post-info {
    margin-bottom: 18px;
    font-size: 12px;
  }
}
.post-info-line {
  margin: 0;
}
.post-info-line > * + *::before {
  content: "·";
  content: "·" / "";
  margin: 0 0.6em;
}
.post-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.post-info-tags a {
  display: block;
  padding: 0 8px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-soft);
  transition: color 0.15s, border-color 0.15s;
}
.post-info-tags a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.post-body {
  grid-column: 3/10;
  grid-row: 3;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}
.page-body {
  grid-column: 3/10;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}
.post-body.drop-cap > p:first-child {
  display: flow-root;
}
.post-body.drop-cap > p:first-child::first-letter {
  float: left;
  margin: 6px 10px 0 0;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}
@media (max-width: 719px) {
  .post-body.drop-cap > p:first-child::first-letter {
    margin: 4px 8px 0 0;
    font-size: 46px;
  }
}
.post-side {
  grid-column: 10/13;
  grid-row: 3;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}
@media (max-width: 1079px) {
  .post-side {
    display: none;
  }
}
.toc-side {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.toc-nav {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.toc-nav .toc,
.toc-nav .toc-child {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc-nav > .toc {
  counter-reset: toc;
}
.toc-nav > .toc > .toc-item {
  counter-increment: toc;
}
.toc-nav .toc-link {
  display: flex;
  gap: 8px;
  padding: 3px 0;
}
.toc-nav[data-numbering="none"] > .toc > .toc-item > .toc-link::before {
  display: none;
}
.toc-nav > .toc > .toc-item > .toc-link::before {
  content: counter(toc, var(--toc-counter));
  flex: none;
  width: 24px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  color: var(--accent);
}
.toc-nav .toc-child {
  padding-left: 32px;
  font-size: 12.5px;
}
.toc-nav .toc-child .toc-link {
  color: var(--muted);
}
.toc-nav .toc-link.active,
.toc-nav .toc-child .toc-link.active {
  color: var(--accent);
}
.toc-fold {
  display: none;
  margin: 0 0 24px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  font-family: var(--font-sans);
}
.toc-fold summary {
  padding: 10px 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.toc-fold[open] summary {
  border-bottom: 1px solid var(--rule);
}
.toc-fold .toc-nav {
  padding: 8px 0 12px;
}
@media (max-width: 1079px) {
  .toc-fold {
    display: block;
  }
}
.post-nav {
  grid-column: 3/10;
  grid-row: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}
@media (max-width: 719px) {
  .post-nav {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.post-nav a {
  display: block;
}
.post-nav a:hover .post-nav-title {
  color: var(--accent);
}
.post-nav-older {
  grid-column: 1;
}
.post-nav-newer {
  grid-column: 2;
  text-align: right;
}
@media (max-width: 719px) {
  .post-nav-newer {
    grid-column: 1;
    text-align: left;
  }
}
.post-nav-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-nav-label .sep {
  margin: 0 0.5em;
}
.post-nav-title {
  display: block;
  margin-top: 6px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  transition: color 0.15s;
}
.post-copyright {
  grid-column: 3/10;
  grid-row: 4;
  margin-top: 40px;
  padding: 14px 18px;
  border: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.post-copyright dl {
  margin: 0;
}
.post-copyright .copyright-item {
  display: flex;
  gap: 14px;
  min-width: 0;
}
.post-copyright dt {
  flex: none;
  width: 5.2em;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 2.1;
  text-transform: uppercase;
  color: var(--muted);
}
.post-copyright dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.post-copyright a {
  border-bottom: 1px solid var(--rule);
}
.post-copyright a:hover {
  border-bottom-color: var(--accent);
}
.comments {
  grid-column: 3/10;
  grid-row: 6;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  min-width: 0;
}
.page .comments {
  grid-row: auto;
}
.page.untitled .page-body {
  border-top: 0;
  padding-top: 0;
}
.post.meta-inline .post-body,
.post.meta-inline .post-copyright,
.post.meta-inline .post-nav,
.post.meta-inline .comments {
  grid-column: 1/10;
  max-width: var(--measure);
}
.post.meta-inline .post-body,
.post.meta-inline .post-side {
  grid-row: 4;
}
.post.meta-inline .post-copyright {
  grid-row: 5;
}
.post.meta-inline .post-nav {
  grid-row: 6;
}
.post.meta-inline .comments {
  grid-row: 7;
}
.page.meta-inline .page-body,
.page.meta-inline .comments {
  grid-column: 1/-1;
  max-width: var(--measure);
}
.post.meta-inline:not(.has-toc) .post-body,
.post.meta-inline.toc-float .post-body,
.post.meta-inline:not(.has-toc) .post-copyright,
.post.meta-inline.toc-float .post-copyright,
.post.meta-inline:not(.has-toc) .post-nav,
.post.meta-inline.toc-float .post-nav,
.post.meta-inline:not(.has-toc) .comments,
.post.meta-inline.toc-float .comments {
  grid-column: 1/-1;
}
.post.meta-column:not(.has-toc) .post-body,
.post.meta-column.toc-float .post-body,
.post.meta-column:not(.has-toc) .post-copyright,
.post.meta-column.toc-float .post-copyright,
.post.meta-column:not(.has-toc) .post-nav,
.post.meta-column.toc-float .post-nav,
.post.meta-column:not(.has-toc) .comments,
.post.meta-column.toc-float .comments {
  grid-column: 3/-1;
}
.post.toc-float .toc-fold {
  display: block;
}
.post.meta-inline.toc-float .toc-fold {
  grid-column: 1/-1;
  grid-row: 4;
  max-width: var(--measure);
}
.post.meta-inline.toc-float .post-body {
  grid-row: 5;
}
.post.meta-inline.toc-float .post-copyright {
  grid-row: 6;
}
.post.meta-inline.toc-float .post-nav {
  grid-row: 7;
}
.post.meta-inline.toc-float .comments {
  grid-row: 8;
}
.post.meta-column.toc-float .post-meta {
  grid-row: 3/5;
}
.post.meta-column.toc-float .toc-fold {
  grid-column: 3/-1;
  grid-row: 3;
}
.post.meta-column.toc-float .post-body {
  grid-row: 4;
}
.post.meta-column.toc-float .post-copyright {
  grid-row: 5;
}
.post.meta-column.toc-float .post-nav {
  grid-row: 6;
}
.post.meta-column.toc-float .comments {
  grid-row: 7;
}
.post.meta-inline.toc-left .post-kicker,
.post.meta-inline.toc-left .post-title,
.post.meta-inline.toc-left .post-info,
.post.meta-inline.toc-left .post-body,
.post.meta-inline.toc-left .post-copyright,
.post.meta-inline.toc-left .post-nav,
.post.meta-inline.toc-left .comments {
  grid-column: 4/13;
}
.post.meta-inline.toc-left .post-side {
  grid-column: 1/4;
}
.post.meta-column.toc-left {
  grid-template-rows: auto auto auto 1fr;
}
.post.meta-column.toc-left .post-meta {
  grid-column: 1/4;
}
.post.meta-column.toc-left .post-side {
  grid-column: 1/4;
  grid-row: 4;
  margin-top: 28px;
}
.post.meta-column.toc-left .post-body {
  grid-column: 4/11;
  grid-row: 3/5;
}
.post.meta-column.toc-left .post-copyright,
.post.meta-column.toc-left .post-nav,
.post.meta-column.toc-left .comments {
  grid-column: 4/11;
}
.post.meta-column.toc-left .post-copyright {
  grid-row: 5;
}
.post.meta-column.toc-left .post-nav {
  grid-row: 6;
}
.post.meta-column.toc-left .comments {
  grid-row: 7;
}
.prose {
  font-size: 16.5px;
  line-height: 1.95;
  overflow-wrap: break-word;
}
@media (max-width: 719px) {
  .prose {
    font-size: 16px;
    line-height: 1.9;
  }
}
.prose p {
  margin: 0 0 1.3em;
  text-align: justify;
}
.prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
}
.prose a:hover {
  color: var(--accent);
}
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  position: relative;
  margin: 2em 0 0.7em;
  line-height: 1.45;
  scroll-margin-top: 24px;
}
.prose h1 {
  font-size: 24px;
  font-weight: 900;
}
.prose h2 {
  font-size: 21px;
  font-weight: 900;
}
@media (max-width: 719px) {
  .prose h2 {
    font-size: 19px;
  }
}
.prose h3 {
  font-size: 18px;
  font-weight: 600;
}
.prose h4 {
  font-size: 16.5px;
  font-weight: 600;
}
.prose h5,
.prose h6 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}
.prose > :first-child {
  margin-top: 0;
}
.prose .header-anchor,
.prose .headerlink {
  position: absolute;
  left: -1.1em;
  width: 1em;
  border: 0;
  color: var(--rule);
  opacity: 0;
  transition: opacity 0.15s;
}
.prose .header-anchor::before,
.prose .headerlink::before {
  content: "§";
  font-weight: 400;
}
.prose h1:hover .header-anchor,
.prose h2:hover .header-anchor,
.prose h3:hover .header-anchor,
.prose h4:hover .header-anchor,
.prose h5:hover .header-anchor,
.prose h6:hover .header-anchor,
.prose h1:hover .headerlink,
.prose h2:hover .headerlink,
.prose h3:hover .headerlink,
.prose h4:hover .headerlink,
.prose h5:hover .headerlink,
.prose h6:hover .headerlink {
  opacity: 1;
}
.prose .header-anchor:focus-visible,
.prose .headerlink:focus-visible {
  opacity: 1;
}
.prose ul,
.prose ol {
  margin: 0 0 1.3em;
  padding-left: 1.6em;
}
.prose li {
  margin: 0.2em 0;
}
.prose li > ul,
.prose li > ol {
  margin: 0.2em 0;
}
.prose li > p {
  margin: 0.4em 0;
}
.prose li::marker {
  color: var(--accent);
}
.prose blockquote {
  margin: 0 0 1.3em;
  padding: 0.1em 0 0.1em 1.2em;
  border-left: 2px solid var(--accent);
  color: var(--ink-soft);
  font-size: 0.94em;
}
.prose blockquote p:last-child,
.prose blockquote ul:last-child,
.prose blockquote ol:last-child {
  margin-bottom: 0;
}
.prose hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--rule);
}
.prose hr:has(+ .source-note) {
  margin: 3.6em 0 1em;
  border-top-color: #e4dccd;
  border-top-color: color-mix(in oklab, var(--rule) 55%, var(--paper));
}
.prose .source-note {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.prose .source-note + .source-note {
  margin-top: 2px;
}
.prose .source-note a {
  color: inherit;
  border-bottom-color: var(--rule);
}
.prose .source-note a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.prose img {
  display: block;
  max-width: 100%;
  margin: 12px 0;
  padding: 8px;
  border: 1px solid var(--rule);
  background: #fff;
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 1.5em;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}
.prose th,
.prose td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.prose thead th {
  border-bottom-color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.prose code,
.prose kbd,
.prose samp {
  font-family: var(--font-mono);
  font-size: 0.86em;
}
.prose :not(pre) > code {
  padding: 0.12em 0.38em;
  border-radius: 3px;
  background: var(--paper-deep);
  overflow-wrap: anywhere;
}
.prose mark {
  background: rgba(192,38,28,0.12);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: inherit;
}
.prose sup,
.prose sub {
  line-height: 0;
}
.prose .footnotes {
  margin-top: 3em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.prose .footnotes-sep {
  margin: 3em 0 1em;
}
.prose pre {
  margin: 0 0 1.5em;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre;
  text-align: left;
  overflow-x: auto;
}
.prose pre:has(figure.highlight) {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  white-space: normal;
  overflow: visible;
}
.prose figure.highlight {
  margin: 0 0 1.5em;
  border: 1px solid var(--rule);
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
  overflow-x: auto;
}
.prose figure.highlight figcaption {
  padding: 6px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted);
}
.prose figure.highlight figcaption a {
  float: right;
  border: 0;
}
.prose figure.highlight table {
  display: table;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
  border: 0;
  border-collapse: collapse;
  font-size: inherit;
  line-height: inherit;
}
.prose figure.highlight td {
  padding: 0;
  border: 0;
  vertical-align: top;
}
.prose figure.highlight pre {
  margin: 0;
  padding: 14px 16px;
  border: 0;
  background: none;
  font: inherit;
  white-space: pre;
  overflow: visible;
}
.prose figure.highlight .gutter {
  width: 1px;
}
.prose figure.highlight .gutter pre {
  padding-right: 12px;
  border-right: 1px solid var(--rule);
  text-align: right;
  color: var(--muted);
  user-select: none;
}
.prose figure.highlight .code {
  width: 100%;
}
.prose figure.highlight .comment,
.prose figure.highlight .hljs-comment {
  color: #8a8073;
}
.prose figure.highlight .quote,
.prose figure.highlight .hljs-quote {
  color: #8a8073;
}
.prose figure.highlight .doctag,
.prose figure.highlight .hljs-doctag {
  color: #a3271c;
}
.prose figure.highlight .keyword,
.prose figure.highlight .hljs-keyword {
  color: #a3271c;
}
.prose figure.highlight .selector-tag,
.prose figure.highlight .hljs-selector-tag {
  color: #a3271c;
}
.prose figure.highlight .literal,
.prose figure.highlight .hljs-literal {
  color: #a3271c;
}
.prose figure.highlight .section,
.prose figure.highlight .hljs-section {
  color: #1f4f7a;
}
.prose figure.highlight .name,
.prose figure.highlight .hljs-name {
  color: #1f4f7a;
}
.prose figure.highlight .selector-id,
.prose figure.highlight .hljs-selector-id {
  color: #1f4f7a;
}
.prose figure.highlight .selector-class,
.prose figure.highlight .hljs-selector-class {
  color: #1f4f7a;
}
.prose figure.highlight .title,
.prose figure.highlight .hljs-title {
  color: #1f4f7a;
}
.prose figure.highlight .function,
.prose figure.highlight .hljs-function {
  color: #1f4f7a;
}
.prose figure.highlight .type,
.prose figure.highlight .hljs-type {
  color: #6a3d8a;
}
.prose figure.highlight .built_in,
.prose figure.highlight .hljs-built_in {
  color: #6a3d8a;
}
.prose figure.highlight .class,
.prose figure.highlight .hljs-class {
  color: #6a3d8a;
}
.prose figure.highlight .string,
.prose figure.highlight .hljs-string {
  color: #4e6b2a;
}
.prose figure.highlight .regexp,
.prose figure.highlight .hljs-regexp {
  color: #4e6b2a;
}
.prose figure.highlight .symbol,
.prose figure.highlight .hljs-symbol {
  color: #4e6b2a;
}
.prose figure.highlight .char,
.prose figure.highlight .hljs-char {
  color: #4e6b2a;
}
.prose figure.highlight .addition,
.prose figure.highlight .hljs-addition {
  color: #4e6b2a;
}
.prose figure.highlight .number,
.prose figure.highlight .hljs-number {
  color: #9a5a00;
}
.prose figure.highlight .bullet,
.prose figure.highlight .hljs-bullet {
  color: #9a5a00;
}
.prose figure.highlight .link,
.prose figure.highlight .hljs-link {
  color: #9a5a00;
}
.prose figure.highlight .attr,
.prose figure.highlight .hljs-attr {
  color: #7a4a1f;
}
.prose figure.highlight .attribute,
.prose figure.highlight .hljs-attribute {
  color: #7a4a1f;
}
.prose figure.highlight .variable,
.prose figure.highlight .hljs-variable {
  color: #7a4a1f;
}
.prose figure.highlight .template-variable,
.prose figure.highlight .hljs-template-variable {
  color: #7a4a1f;
}
.prose figure.highlight .params,
.prose figure.highlight .hljs-params {
  color: #4d463f;
}
.prose figure.highlight .meta,
.prose figure.highlight .hljs-meta {
  color: #6b6157;
}
.prose figure.highlight .tag,
.prose figure.highlight .hljs-tag {
  color: #6b6157;
}
.prose figure.highlight .deletion,
.prose figure.highlight .hljs-deletion {
  color: #a3271c;
}
.prose figure.highlight .subst,
.prose figure.highlight .hljs-subst {
  color: #1f1b18;
}
.prose figure.highlight .comment,
.prose figure.highlight .quote,
.prose figure.highlight .hljs-comment,
.prose figure.highlight .hljs-quote {
  font-style: italic;
}
.prose figure.highlight .deletion,
.prose figure.highlight .hljs-deletion {
  background: rgba(163,39,28,0.08);
}
.prose figure.highlight .addition,
.prose figure.highlight .hljs-addition {
  background: rgba(78,107,42,0.08);
}
.prose figure.highlight .emphasis,
.prose figure.highlight .hljs-emphasis {
  font-style: italic;
}
.prose figure.highlight .strong,
.prose figure.highlight .hljs-strong {
  font-weight: 600;
}
.code-block {
  position: relative;
  margin: 0 0 1.5em;
}
.code-block > figure.highlight,
.code-block > pre {
  margin: 0;
}
.code-copy {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}
.code-copy:hover {
  color: var(--accent);
}
.code-copy.is-done {
  color: var(--accent);
  border-color: var(--accent);
}
.code-block:hover .code-copy,
.code-copy:focus-visible,
.code-copy.is-done {
  opacity: 1;
}
@media (hover: none) {
  .code-copy {
    opacity: 1;
  }
}
.code-wrap .prose pre,
.code-wrap .prose figure.highlight pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code-wrap .prose figure.highlight .gutter {
  display: none;
}
.code-wrap .prose figure.highlight:has(td.gutter) td.code pre {
  counter-reset: code-line var(--line-start, 0);
}
.code-wrap .prose figure.highlight:has(td.gutter) td.code pre br {
  display: none;
}
.code-wrap .prose figure.highlight:has(td.gutter) td.code pre .line {
  display: block;
  padding-left: 3.4em;
  text-indent: -3.4em;
  counter-increment: code-line;
}
.code-wrap .prose figure.highlight:has(td.gutter) td.code pre .line::before {
  content: counter(code-line);
  display: inline-block;
  width: 2.6em;
  margin-right: 0.8em;
  text-indent: 0;
  text-align: right;
  color: var(--muted);
  user-select: none;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 0;
  padding: 30px 0 0;
  list-style: none;
  font-size: 19px;
  line-height: 1.5;
}
@media (max-width: 719px) {
  .tag-cloud {
    gap: 10px 22px;
    font-size: 17px;
  }
}
.tag-count {
  margin-left: 0.3em;
  font-family: var(--font-display);
  font-size: 0.82em;
  font-weight: 600;
  color: var(--accent);
  vertical-align: 0.35em;
}
.category-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.category-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule);
}
.category-row.depth-1 {
  padding-left: 1.6em;
}
.category-row.depth-2 {
  padding-left: 3.2em;
}
.category-row.depth-3 {
  padding-left: 4.800000000000001em;
}
.category-row.depth-4 {
  padding-left: 6.4em;
}
.category-name {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.45;
}
.depth-1 .category-name,
.depth-2 .category-name,
.depth-3 .category-name,
.depth-4 .category-name {
  font-size: 18px;
}
.category-count {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.not-found {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding: 56px 0 0;
}
@media (max-width: 719px) {
  .not-found {
    display: block;
    padding-top: 36px;
  }
}
.not-found-code {
  grid-column: 1/5;
  margin: 0;
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: 600;
  line-height: 0.85;
  color: var(--accent);
}
@media (max-width: 719px) {
  .not-found-code {
    font-size: 96px;
  }
}
.not-found-text {
  grid-column: 5/12;
}
.not-found-title {
  margin: 0 0 14px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.2;
}
@media (max-width: 719px) {
  .not-found-title {
    margin-top: 18px;
    font-size: 30px;
  }
}
.not-found-message {
  margin: 0 0 18px;
  color: var(--ink-soft);
}
.not-found-home {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  border-bottom: 1px solid var(--accent);
}
.not-found-body {
  margin-top: 28px;
}
.tags-view {
  position: relative;
}
.tags-view.is-loading {
  min-height: min(var(--tags-height), 110vw);
}
.tags-view.is-loading > .tag-cloud {
  visibility: hidden;
  animation: tags-reveal 0s linear 4s forwards;
}
.tags-view.is-drawn > .tag-cloud:not(:focus-within) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.tags-drawing {
  position: relative;
  margin-top: 24px;
  font-family: var(--font-serif);
}
.tags-card {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  max-width: min(340px, calc(100vw - 16px));
  padding: 10px 14px 12px;
  border: 1px solid var(--ink);
  background: #fcfaf6;
  background: color-mix(in oklab, var(--paper) 35%, #fff);
  box-shadow: 4px 4px 0 rgba(31,27,24,0.12);
  box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 12%, transparent);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, visibility 0.15s;
}
.tags-card.is-visible {
  opacity: 1;
  visibility: visible;
}
.tags-card p {
  margin: 0;
}
.tags-card-count {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.tags-card-name {
  margin-top: 2px !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.tags-card-posts {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.tags-card-posts li {
  position: relative;
  padding-left: 0.9em;
}
.tags-card-posts li::before {
  content: "·";
  position: absolute;
  left: 0;
}
.tags-card-posts .tags-card-more::before {
  content: none;
}
.tags-graph {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}
.tags-graph-links line {
  stroke: #b9ad9a;
  stroke: color-mix(in oklab, var(--ink) 30%, var(--paper));
  transition: opacity 0.2s, stroke 0.2s;
}
.tags-graph-links line.is-dim {
  opacity: 0.15;
}
.tags-graph-links line.is-focus {
  stroke: var(--accent);
}
.tags-graph-node {
  cursor: pointer;
  transition: opacity 0.2s;
}
.tags-graph-node circle {
  fill: #fcfaf6;
  fill: color-mix(in oklab, var(--paper) 35%, #fff);
  stroke: var(--ink);
  stroke-width: 1.2;
  transition: fill 0.2s, stroke 0.2s;
}
.tags-graph-node text {
  font-family: var(--font-serif);
  font-size: var(--graph-font, 13px);
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 3px;
  stroke-linejoin: round;
  paint-order: stroke;
  pointer-events: none;
}
.tags-graph-node.is-major circle,
.tags-graph-node.is-focus circle,
.tags-graph-node:hover circle {
  fill: var(--accent);
  stroke: var(--accent);
}
.tags-graph-node.is-major text,
.tags-graph-node.is-focus text {
  font-weight: 600;
}
.tags-graph-node.is-dim {
  opacity: 0.15;
}
.tags-graph-node:focus {
  outline: none;
}
.tags-sphere-stage {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.tags-sphere-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink);
  will-change: transform, opacity;
}
.tags-sphere-tag.is-major {
  color: var(--accent);
}
.tags-sphere-tag:hover {
  color: var(--accent);
}
.tags-wordcloud-box {
  position: relative;
  overflow: hidden;
}
.tags-wordcloud-box span {
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
}
.tags-wordcloud-box span.is-muted {
  color: var(--muted);
}
.tags-wordcloud-box span.is-major {
  color: var(--accent);
}
.tags-wordcloud-box span:hover {
  color: var(--accent);
}
.tag-index {
  columns: 3;
  column-gap: 56px;
  padding-top: 18px;
  interpolate-size: allow-keywords;
}
@media (max-width: 1079px) {
  .tag-index {
    columns: 2;
    column-gap: 40px;
  }
}
@media (max-width: 719px) {
  .tag-index {
    columns: 1;
  }
}
.tag-index-group {
  break-inside: avoid;
  padding-top: 14px;
}
.tag-index-key {
  margin: 0 0 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent);
}
.tag-index-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag-index-entry summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  font-size: 15.5px;
  line-height: 1.55;
  cursor: pointer;
  list-style: none;
}
.tag-index-entry summary::-webkit-details-marker {
  display: none;
}
.tag-index-entry summary:hover .tag-index-name {
  color: var(--accent);
}
.tag-index-entry[open] .tag-index-name {
  color: var(--accent);
}
.tag-index-entry::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}
.tag-index-entry[open]::details-content {
  block-size: auto;
}
.tag-index-name {
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color 0.15s;
}
.tag-index-leader {
  flex: 1;
  min-width: 12px;
  border-bottom: 1px dotted var(--rule);
  transform: translateY(-4px);
}
.tag-index-count {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  color: var(--muted);
}
.tag-index-posts {
  margin: 2px 0 8px;
  padding: 2px 0 2px 14px;
  list-style: none;
  border-left: 2px solid var(--accent);
  font-size: 13px;
  line-height: 1.75;
  color: var(--summary);
}
.tag-index-posts a:hover {
  color: var(--accent);
}
@media print {
  .tags-drawing,
  .tags-card {
    display: none !important;
  }
  .tags-view.is-drawn > .tag-cloud {
    position: static !important;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
}
@-moz-keyframes tags-reveal {
  to {
    visibility: visible;
  }
}
@-webkit-keyframes tags-reveal {
  to {
    visibility: visible;
  }
}
@-o-keyframes tags-reveal {
  to {
    visibility: visible;
  }
}
@keyframes tags-reveal {
  to {
    visibility: visible;
  }
}
html.search-open {
  overflow: hidden;
}
.search {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10vh 20px 20px;
}
@media (max-width: 719px) {
  .search {
    padding: 12px;
  }
}
.search[hidden] {
  display: none;
}
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31,27,24,0.38);
  background: color-mix(in srgb, var(--ink) 38%, transparent);
}
.search-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  max-height: 80vh;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(31,27,24,0.25);
  box-shadow: 0 18px 50px color-mix(in srgb, var(--ink) 25%, transparent);
}
@media (max-width: 719px) {
  .search-panel {
    max-height: calc(100vh - 24px);
  }
}
.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 14px;
  border-bottom: 1px solid var(--ink);
}
.search-input {
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  -webkit-appearance: none;
  appearance: none;
}
@media (max-width: 719px) {
  .search-input {
    padding: 14px 16px;
    font-size: 18px;
  }
}
.search-input::placeholder {
  color: var(--muted);
}
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.search-close {
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: none;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  cursor: pointer;
}
.search-close:hover {
  color: var(--accent);
}
.search-status {
  margin: 0;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.search-status:empty {
  display: none;
}
.search-results {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.search-results a {
  display: block;
  padding: 12px 20px 14px;
  border-top: 1px solid var(--rule);
}
.search-results a:hover,
.search-results a:focus {
  outline: 0;
  background: rgba(192,38,28,0.05);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  color: inherit;
}
.search-results mark {
  background: none;
  color: var(--accent);
}
.search-result-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
.search-result-snippet {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--summary);
}
.back-to-top,
.toc-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s, color 0.15s, border-color 0.15s;
}
.back-to-top.is-visible,
.toc-toggle.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover,
.toc-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 719px) {
  .back-to-top,
  .toc-toggle {
    right: 14px;
    bottom: 14px;
    width: 36px;
    height: 36px;
  }
}
.toc-toggle {
  bottom: 74px;
  z-index: 85;
}
.toc-toggle[aria-expanded="true"] {
  color: var(--accent);
  border-color: var(--accent);
}
.toc-toggle.is-alone {
  bottom: 24px;
}
@media (max-width: 719px) {
  .toc-toggle {
    bottom: 60px;
  }
  .toc-toggle.is-alone {
    bottom: 14px;
  }
}
.toc-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  transition: visibility 0s linear 0.25s;
}
.toc-drawer.is-open {
  visibility: visible;
  transition-delay: 0s;
}
.toc-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31,27,24,0.16);
  background: color-mix(in srgb, var(--ink) 16%, transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.toc-drawer.is-open > .toc-drawer-backdrop {
  opacity: 1;
}
.toc-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 22rem;
  max-width: calc(100% - 48px);
  border-left: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: -12px 0 40px rgba(31,27,24,0.14);
  box-shadow: -12px 0 40px color-mix(in srgb, var(--ink) 14%, transparent);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.toc-drawer.is-open > .toc-drawer-panel {
  transform: none;
}
@media (max-width: 719px) {
  .toc-drawer-panel {
    left: 40px;
    width: auto;
    max-width: none;
  }
}
.toc-drawer-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-sans);
}
.toc-drawer-title {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.toc-drawer-close {
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: none;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  cursor: pointer;
}
.toc-drawer-close:hover {
  color: var(--accent);
}
.toc-drawer-nav {
  flex: 1;
  min-height: 0;
  padding: 14px 20px 132px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 719px) {
  .toc-drawer-nav {
    padding-bottom: 112px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .toc-drawer,
  .toc-drawer-backdrop,
  .toc-drawer-panel {
    transition: none;
  }
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
.prose img.zoomable {
  cursor: zoom-in;
}
html.zoom-open {
  overflow: hidden;
}
.zoom {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(245,240,230,0.96);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.18s;
}
.zoom.is-open {
  opacity: 1;
}
.zoom img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: 0 18px 50px rgba(31,27,24,0.22);
  box-shadow: 0 18px 50px color-mix(in srgb, var(--ink) 22%, transparent);
}
@media print {
  .back-to-top,
  .toc-toggle,
  .toc-drawer,
  .reading-progress,
  .zoom,
  .code-copy {
    display: none !important;
  }
}
