:root {
  color-scheme: light;
  --bg: #f4e7d5;
  --surface: #f9f2ec;
  --surface-raised: #fffdf8;
  --border: #d6ac83;
  --border-strong: #8a7867;
  --heading: #15120f;
  --text: #32302f;
  --muted: #6b6258;
  --accent: #ff7f00;
  --link: #a33d00;
  --link-hover: #7a2d00;
  --accent-soft: #fad5b1;
  --shadow-soft: 0 10px 28px rgba(21, 18, 15, .1);
  --shadow-raised: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
  --code-bg: #f3e7da;
  font-size: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { overflow-x: hidden; background: var(--bg); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
::selection { color: var(--heading); background: #fcb876; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; background: var(--heading); color: var(--surface-raised); padding: 10px 16px; border-radius: 2px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 10; top: 0; left: 0; width: 100%; background: linear-gradient(rgba(255, 250, 242, .94), rgba(255, 250, 242, 0)); border-bottom: 1px solid transparent; transition: background 180ms, border-color 180ms; }
body.scrolled .site-header { background: rgba(255, 253, 248, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: rgba(163, 61, 0, .18); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1220px; margin: auto; padding: 25px 40px; }
.site-brand { flex-shrink: 0; color: var(--heading); font-size: 16px; font-weight: 650; letter-spacing: .045em; white-space: nowrap; }
.brand-dot { display: inline-block; width: 5px; height: 5px; margin: 0 0 2px 8px; border-radius: 50%; background: var(--accent); }
.navigation, .site-links { display: flex; align-items: center; gap: 26px; }
.site-links a { color: #4b3a2c; font-size: 15px; white-space: nowrap; transition: color 160ms, background-color 160ms; }
.site-links a:hover, .site-links a:focus-visible { color: var(--link-hover); background: rgba(255, 127, 0, .12); }
.site-links a.active, .site-links a.active:hover, .site-links a.active:focus-visible { color: var(--accent); background: transparent; }
.site-links a span { color: var(--muted); font-size: 13px; }
.search { display: flex; align-items: center; width: 184px; height: 42px; background: rgba(255, 253, 248, .92); border: 1px solid var(--border-strong); border-radius: 2px; transition: border-color 160ms, box-shadow 160ms; }
.search:focus-within { border-color: var(--link); box-shadow: 0 0 0 2px rgba(163, 61, 0, .14); }
.search button { display: grid; flex-shrink: 0; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: var(--link); cursor: pointer; }
.search svg { stroke: currentColor; stroke-width: 1.5; }
.search input { width: 100%; min-width: 0; padding: 6px 10px 6px 0; outline: 0; background: none; border: 0; color: var(--heading); font-size: 15px; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh; padding: 112px 24px 90px; background: #fffaf2; }
#scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #fffaf2 url("../img/fallback.svg") center / cover no-repeat; }
#field { display: block; width: 100%; height: 100%; opacity: 0; }
#field.ready { opacity: 1; }
.hero::before { position: absolute; z-index: -1; inset: 15% 18%; content: ""; background: radial-gradient(ellipse, rgba(255, 250, 242, .76) 0, rgba(255, 250, 242, .52) 34%, rgba(255, 250, 242, 0) 72%); pointer-events: none; }
.hero::after { position: absolute; z-index: -1; inset: auto 0 0; height: 128px; content: ""; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(100%, 680px); text-align: center; }
.avatar-link { display: inline-flex; width: 100px; height: 100px; padding: 3px; border: 1px solid rgba(163, 61, 0, .45); border-radius: 50%; background: rgba(255, 253, 248, .76); box-shadow: 0 0 0 5px rgba(255, 250, 242, .42), 0 10px 24px rgba(21, 18, 15, .18); }
.avatar { display: block; width: 100%; height: 100%; border-radius: 50%; }
.hero-content h1 { margin: 24px 0 0; color: #1f1913; font-size: clamp(32px, 3.8vw, 45px); font-weight: 400; line-height: 1.35; letter-spacing: -.025em; text-shadow: 0 1px 0 rgba(255, 253, 248, .8); }
.hero-rule { display: flex; align-items: center; width: min(420px, 80%); gap: 15px; margin: 31px auto; }
.hero-rule::before, .hero-rule::after { flex: 1; height: 1px; content: ""; background: rgba(163, 61, 0, .28); }
.hero-rule span { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.hero-content .motto { margin: 0 auto; color: #4b3a2c; font-size: 18px; font-weight: 400; line-height: 1.85; text-wrap: balance; text-shadow: 0 1px 0 rgba(255, 253, 248, .72); }

.posts-section { position: relative; background: var(--bg); padding: 32px 32px 70px; }
.has-hero .posts-section { z-index: 2; margin-top: -76px; padding-top: 0; background: transparent; }
.has-hero .post-card:first-child { box-shadow: var(--shadow-raised); }
.content-container { width: min(100%, 990px); margin: auto; }
.eyebrow { margin: 0 0 11px; color: var(--link); font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .18em; }
.posts { display: grid; gap: 18px; }
.post-card { min-width: 0; padding: 32px 36px; border: 1px solid var(--border); border-radius: 0; background: var(--surface); box-shadow: var(--shadow-soft); transition: border-color 180ms, background 180ms, box-shadow 180ms; }
.post-card:hover { border-color: var(--link); background: var(--surface-raised); box-shadow: 0 12px 32px rgba(21, 18, 15, .14); }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 13px; color: var(--muted); }
.post-meta a:hover, .post-meta a:focus-visible { color: var(--link-hover); }
.post-meta time { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .025em; }
.meta-separator { color: #8a6e55; padding: 0 3px; }
.category, .category a { color: var(--link); }
.category:hover, .category a:hover, .category a:focus-visible { color: var(--link-hover); }
.post-card h2 { margin: 15px 0 12px; color: var(--heading); font-size: clamp(23px, 2.4vw, 29px); font-weight: 500; line-height: 1.45; letter-spacing: -.02em; }
.post-card h2 a { transition: color 160ms, background-color 160ms; }
.post-card h2 a:hover, .post-card h2 a:focus-visible { color: var(--link-hover); background: rgba(255, 127, 0, .12); }
.post-summary { min-width: 0; max-width: 840px; margin: 0; overflow-wrap: anywhere; font-size: 17px; color: var(--text); line-height: 1.8; }
.post-bottom { margin-top: 23px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 5px 10px; color: var(--link); background: rgba(255, 127, 0, .08); border: 1px solid var(--border-strong); border-radius: 2px; font-size: 13px; line-height: 1.5; }
.tag:hover, .tag:focus-visible { color: var(--link-hover); border-color: var(--link); background: var(--accent-soft); }
.read-link { flex-shrink: 0; color: var(--link); font-size: 13px; }
.read-link span { margin-left: 7px; }
.read-link:hover, .read-link:focus-visible { color: var(--link-hover); background: var(--accent-soft); }
.archive-row { display: flex; justify-content: center; margin-top: 40px; }
.archive-link, .empty-state button { padding: 12px 24px; border: 1px solid var(--border-strong); border-radius: 2px; color: var(--surface-raised); background: var(--heading); font-size: 14px; cursor: pointer; }
.archive-link:hover, .archive-link:focus-visible, .empty-state button:hover, .empty-state button:focus-visible { color: var(--heading); background: var(--accent-soft); border-color: var(--link); }
.archive-link span { margin-left: 18px; }
.empty-state { padding: 55px 20px; text-align: center; border: 1px solid var(--border); border-radius: 0; color: var(--muted); background: var(--surface); box-shadow: var(--shadow-soft); }
.empty-state p { margin: 0 0 20px; }

.site-footer { padding: 0 32px 40px; background: var(--bg); }
.footer-inner { width: min(100%, 990px); margin: auto; border-top: 1px solid var(--border); padding-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { color: var(--link); font-size: 14px; font-weight: 600; letter-spacing: .05em; }
.server-time { margin-top: 8px; color: var(--muted); font-size: 13px; }
.server-time sup { margin-left: 3px; color: #594d42; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; font-size: 13px; color: var(--muted); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--link-hover); background: var(--accent-soft); }

body[data-view="background"] #scene { position: fixed; z-index: 0; }
body[data-view="background"] { height: 100vh; overflow: hidden; }
.view-switch { position: fixed; right: 30px; bottom: 27px; z-index: 2; color: var(--link); font-size: 14px; }
body.embed { overflow: hidden; }
body.embed .no-script, body.embed .view-switch { display: none !important; }

@media (max-width: 1100px) {
  .site-nav { padding: 22px 28px; gap: 24px; }
  .navigation, .site-links { gap: 20px; }
  .search { width: 160px; }
  .site-brand { font-size: 15px; }
  .site-links a { font-size: 14px; }
}
@media (max-width: 850px) {
  .site-nav { flex-wrap: wrap; }
  .menu-toggle { display: block; padding: 6px 0 6px 10px; color: var(--link); font-size: 14px; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { margin-left: 5px; }
  .navigation { display: none; width: 100%; padding: 5px 0 10px; }
  .site-header.menu-open { background: rgba(255, 253, 248, .98); border-color: var(--border); }
  .menu-open .navigation { display: flex; flex-direction: column; align-items: stretch; }
  .site-links { flex-wrap: wrap; gap: 20px; }
  .site-links a { font-size: 15px; }
  .search { width: 100%; }
  .search input { font-size: 16px; }
}
@media (max-width: 600px) {
  :root { scroll-padding-top: 90px; }
  .site-nav { padding: 20px 22px; }
  .hero { min-height: 100vh; min-height: 100svh; height: 100vh; height: 100svh; padding: 100px 24px 90px; }
  .hero::before { inset: 13% 4%; }
  .hero-content h1 { font-size: 34px; margin-top: 22px; }
  .hero-content .motto { max-width: 335px; font-size: 16px; line-height: 1.95; }
  .hero-rule { margin: 25px auto; }
  .posts-section { padding: 24px 18px 45px; }
  .has-hero .posts-section { margin-top: -54px; }
  .post-card { padding: 25px 23px; }
  .post-card h2 { font-size: 24px; }
  .post-summary { font-size: 16px; }
  .post-meta { gap: 7px; font-size: 13px; }
  .post-bottom { gap: 15px; }
  .site-footer { padding: 0 23px 32px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .footer-links { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Reading layouts and progressive enhancement styles. */
:root { scroll-padding-top: max(110px, calc(var(--nav-height, 80px) + 24px)); }
textarea, select { font: inherit; }
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
body.interior .site-header { background: rgba(255, 253, 248, .96); border-color: rgba(163, 61, 0, .18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.interior .archive-main { min-height: 65vh; }
.interior .archive-main > .posts-section { padding-top: max(132px, calc(var(--nav-height, 80px) + 44px)); }
.navigation, .site-links { min-width: 0; }
.site-links { flex-wrap: wrap; row-gap: 12px; }
.search { flex-shrink: 0; }
.tags > a { padding: 5px 10px; color: var(--link); background: rgba(255, 127, 0, .08); border: 1px solid var(--border-strong); border-radius: 2px; font-size: 13px; line-height: 1.5; }
.tags > a:hover, .tags > a:focus-visible { color: var(--link-hover); background: var(--accent-soft); border-color: var(--link); }
.page-navigator { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; list-style: none; margin: 38px 0 0; padding: 0; }
.page-navigator a, .page-navigator span { display: block; min-width: 40px; padding: 10px 13px; border: 1px solid var(--border-strong); border-radius: 2px; color: var(--muted); background: var(--surface); font-size: 14px; text-align: center; }
.page-navigator .current a, .page-navigator a:hover, .page-navigator a:focus-visible { color: var(--heading); border-color: var(--link); background: var(--accent-soft); }
.page-navigator .current a { font-weight: 650; box-shadow: inset 0 -3px 0 var(--accent); }
.reading-main { width: min(100% - 64px, 990px); min-height: 68vh; margin: 0 auto; padding: max(132px, calc(var(--nav-height, 80px) + 44px)) 0 70px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 23px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.breadcrumbs a { color: var(--link); }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--link-hover); background: var(--accent-soft); }
.breadcrumbs > span:last-child { overflow-wrap: anywhere; }
.reading-card { min-width: 0; padding: 48px 54px; background: var(--surface); border: 1px solid var(--border); border-radius: 0; box-shadow: var(--shadow-raised); }
.reading-header { padding-bottom: 30px; margin-bottom: 35px; border-bottom: 1px solid var(--border); }
.reading-title { margin: 18px 0 0; color: var(--heading); font-size: clamp(31px, 4.4vw, 45px); font-weight: 500; line-height: 1.5; letter-spacing: -.025em; overflow-wrap: anywhere; }
.reading-header > .eyebrow + .reading-title { margin-top: 12px; }
.article-admin { margin: 20px 0 0; font-size: 14px; }
.article-admin a { color: var(--link); }
.article-admin a:hover, .article-admin a:focus-visible { color: var(--link-hover); background: var(--accent-soft); }
.reading-footer { padding-top: 30px; margin-top: 35px; border-top: 1px solid var(--border); }
.post-content { color: var(--text); font-size: 18px; line-height: 1.9; overflow-wrap: anywhere; }
.post-content > :first-child { margin-top: 0; }
.post-content > :last-child { margin-bottom: 0; }
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 { color: var(--heading); margin: 1.8em 0 .75em; font-weight: 550; line-height: 1.5; letter-spacing: -.015em; }
.post-content h1, .post-content h2 { padding-bottom: .28em; border-bottom: 1px solid var(--border); }
.post-content h1 { font-size: 1.8em; }
.post-content h2 { font-size: 1.55em; }
.post-content h3 { font-size: 1.3em; }
.post-content h4 { font-size: 1.12em; }
.post-content h5, .post-content h6 { font-size: 1em; }
.post-content p, .post-content ul, .post-content ol, .post-content dl, .post-content figure { margin: 1.2em 0; }
.post-content ul, .post-content ol { padding-left: 1.65em; }
.post-content li + li { margin-top: .35em; }
.post-content li > ul, .post-content li > ol { margin-top: .4em; margin-bottom: .4em; }
.post-content dt { color: var(--heading); font-weight: 600; }
.post-content dd { margin-left: 1.5em; }
.post-content a, .comment-content a { color: var(--link); text-decoration: underline dashed; text-decoration-color: rgba(163, 61, 0, .58); text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.post-content a:hover, .post-content a:focus-visible, .comment-content a:hover, .comment-content a:focus-visible { color: var(--link-hover); background: rgba(255, 127, 0, .16); text-decoration-style: solid; text-decoration-color: currentColor; }
.post-content strong { color: var(--heading); font-weight: 650; }
.post-content img, .post-content video { display: block; max-width: 100%; height: auto; margin: 24px auto; border-radius: 2px; }
.post-content audio { width: 100%; max-width: 100%; }
.post-content iframe { max-width: 100%; border: 0; }
.post-content figure { margin-left: 0; margin-right: 0; }
.post-content figcaption { color: var(--muted); text-align: center; font-size: 15px; }
.post-content blockquote { margin: 25px 0; padding: 1px 0 1px 22px; border-left: 2px solid var(--link); background: transparent; color: #6f431f; }
.post-content hr { margin: 38px 0; border: 0; border-top: 1px solid var(--border); }
.post-content mark { color: var(--heading); background: #fcb876; padding: .05em .2em; border-radius: 1px; }
.post-content details { padding: 15px 18px; border: 1px solid var(--border-strong); border-radius: 2px; margin: 24px 0; background: rgba(255, 253, 248, .55); }
.post-content summary { cursor: pointer; color: var(--heading); }
.post-content code, .post-content pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .88em; }
.post-content :not(pre) > code { color: #79340b; padding: .15em .4em; background: var(--code-bg); border: 1px solid var(--border); border-radius: 2px; }
.post-content pre { margin: 26px 0; padding: 22px 24px; overflow: auto; max-width: 100%; background: var(--code-bg); border: 1px solid var(--border); border-radius: 2px; color: #231c17; line-height: 1.75; tab-size: 4; overflow-wrap: normal; }
.post-content pre code { padding: 0; border: 0; color: inherit; background: none; font-size: 1em; white-space: pre; }
.code-block { position: relative; min-width: 0; margin: 26px 0; }
.code-block pre { margin: 0; padding-top: 53px; }
.code-copy { position: absolute; top: 10px; right: 12px; max-width: calc(100% - 24px); padding: 5px 9px; color: var(--link); background: var(--surface-raised); border: 1px solid var(--border-strong); border-radius: 2px; font-size: 13px; cursor: pointer; }
.code-copy:hover, .code-copy:focus-visible { color: var(--link-hover); border-color: var(--link); background: var(--accent-soft); }
.code-copy:disabled { cursor: default; }
.code-copy.copy-failed { color: #8a2e2e; }
.clipboard-buffer { position: fixed; top: 0; left: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; }
.post-content .token.comment, .post-content .token.prolog, .post-content .token.doctype, .post-content .token.cdata { color: #6b6258; }
.post-content .token.punctuation { color: #4b4037; }
.post-content .token.property, .post-content .token.tag, .post-content .token.constant, .post-content .token.symbol, .post-content .token.deleted { color: #8a2e2e; }
.post-content .token.boolean, .post-content .token.number { color: #6a3f8c; }
.post-content .token.selector, .post-content .token.attr-name, .post-content .token.string, .post-content .token.char, .post-content .token.builtin, .post-content .token.inserted { color: #3e6a2f; }
.post-content .token.operator, .post-content .token.entity, .post-content .token.url { color: #6f431f; }
.post-content .token.atrule, .post-content .token.attr-value, .post-content .token.keyword { color: var(--link); }
.post-content .token.function, .post-content .token.class-name { color: #7a4b00; }
.post-content .token.regex, .post-content .token.important, .post-content .token.variable { color: #79340b; }
.post-content .token.bold, .post-content .token.important { font-weight: 650; }
.post-content .token.italic { font-style: italic; }
.post-summary .katex, .post-content .katex { font-size: 1.08em; }
.post-summary .katex-display { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: 6px 0; margin: .85em 0; }
.post-summary > :first-child { margin-top: 0; }
.post-summary > :last-child { margin-bottom: 0; }
.post-content .katex-display { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: 8px 0; margin: 1.4em 0; }
.comment-content .katex { font-size: 1.08em; }
.comment-content .katex-display { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: 8px 0; margin: 1.2em 0; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 26px 0; }
.post-content table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9em; }
.post-content th, .post-content td { padding: 11px 14px; border: 1px solid var(--border); min-width: 90px; }
.post-content th { color: var(--heading); background: #ead6c0; font-weight: 600; }
.post-content tbody tr:nth-child(even) { background: rgba(255, 127, 0, .06); }
.post-content caption { color: var(--muted); padding-bottom: 10px; }
.comments { margin-top: 30px; }
.comments > h2 { margin: 0 0 28px; color: var(--heading); font-size: 25px; font-weight: 500; }
.comments-manage { display: inline-block; margin-left: 16px; color: var(--link); font-size: 14px; font-weight: 400; vertical-align: baseline; }
.comments-manage:hover, .comments-manage:focus-visible { color: var(--link-hover); background: var(--accent-soft); }
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment-body { padding: 25px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 110px; }
.comment-list > .comment-body:first-child { padding-top: 0; }
.comment-author { display: flex; align-items: center; gap: 11px; color: var(--heading); font-size: 16px; }
.comment-author .avatar { display: block; width: 32px; height: 32px; border-radius: 50%; }
.comment-author cite { font-style: normal; font-weight: 550; }
.comment-by-author > .comment-author cite::after { content: "Author"; margin-left: 8px; padding: 2px 5px; color: var(--link); border: 1px solid var(--border-strong); border-radius: 2px; font-size: 12px; font-weight: 500; }
.comment-meta { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.comment-awaiting-moderation { display: block; color: #7a4b00; font-style: normal; }
.comment-content { margin-top: 13px; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.comment-content p { margin: 10px 0; }
.comment-content img { max-width: 100%; height: auto; }
.comment-content pre { overflow: auto; padding: 15px; background: var(--code-bg); border: 1px solid var(--border); border-radius: 2px; }
.comment-reply, .cancel-comment-reply { color: var(--link); font-size: 14px; }
.comment-actions { margin: 0; }
.comment-reply a:hover, .comment-reply a:focus-visible, .cancel-comment-reply a:hover, .cancel-comment-reply a:focus-visible { color: var(--link-hover); background: var(--accent-soft); }
.comment-children { margin: 22px 0 0 14px; padding-left: 22px; border-left: 1px solid var(--border); }
.comment-children .comment-body:last-child { padding-bottom: 0; border-bottom: 0; }
.respond { margin-top: 28px; scroll-margin-top: 110px; }
.respond h3 { color: var(--heading); font-size: 22px; font-weight: 500; margin: 15px 0 24px; }
.comment-login { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.comment-login a { color: var(--link); }
.comment-login a:last-child { margin-left: auto; }
.comment-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.comment-field { margin: 0 0 20px; }
.comment-field label { display: block; margin-bottom: 9px; color: #4b4037; font-size: 14px; }
.comment-field label span { color: var(--link); }
.comment-field input, .comment-field textarea, .protected .text, .error-search input { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 2px; color: var(--heading); background: var(--surface-raised); font-size: 16px; line-height: 1.6; }
.comment-field textarea { display: block; min-height: 150px; resize: vertical; }
.comment-field input::placeholder, .comment-field textarea::placeholder, .error-search input::placeholder { color: var(--muted); opacity: 1; }
.comment-submit, .protected .submit { padding: 11px 19px; border: 1px solid var(--heading); border-radius: 2px; color: var(--surface-raised); background: var(--heading); font: inherit; font-size: 15px; cursor: pointer; }
.comment-submit:hover, .comment-submit:focus-visible, .protected .submit:hover, .protected .submit:focus-visible { color: var(--heading); border-color: var(--link); background: var(--accent-soft); }
.comment-submit span { margin-left: 14px; }
.comments-closed { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.protected { max-width: 480px; }
.protected .text { width: min(100%, 290px); margin: 0 8px 10px 0; }
.error-page { padding-top: 65px; padding-bottom: 65px; }
.error-page > p:not(.eyebrow) { color: var(--muted); line-height: 1.9; font-size: 17px; max-width: 620px; }
.error-search { max-width: 520px; margin: 30px 0; }
.error-search > label { display: block; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.error-search-fields { display: flex; align-items: stretch; gap: 12px; }
.error-search-fields button { flex-shrink: 0; }
.post-content .legacy-callout { display: block; margin: 25px 0; padding: 17px 22px; border: 1px solid var(--border); border-left: 3px solid var(--link); border-radius: 2px; background: rgba(255, 127, 0, .08); }
.post-content .legacy-callout > :first-child { margin-top: 0; }
.post-content .legacy-callout > :last-child { margin-bottom: 0; }
.post-content .legacy-callout-success { border-color: #93a982; border-left-color: #3f612c; background: #edf3e8; }
.post-content .legacy-callout-danger { border-color: #cda09b; border-left-color: #8a2e2e; background: #f8eae8; }
.post-content .legacy-callout-secondary { border-color: #b7aa9d; border-left-color: #64594f; background: #f1ece7; }
.post-content .friend-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 25px 0; }
.post-content .friend-card { display: block; min-width: 0; border: 1px solid var(--border); border-radius: 2px; background: rgba(255, 253, 248, .55); }
.post-content .friend-card:hover, .post-content .friend-card:focus-within { border-color: var(--link); background: var(--accent-soft); }
.post-content .friend-link { display: flex; align-items: center; gap: 15px; min-height: 98px; padding: 19px; color: var(--heading); text-decoration: none; }
.post-content .friend-avatar { flex-shrink: 0; width: 48px; height: 48px; object-fit: cover; margin: 0; border-radius: 50%; }
.friend-text { display: block; min-width: 0; }
.friend-text > strong { display: block; font-size: 17px; font-weight: 550; }
.friend-text > span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.65; }

@media (max-width: 850px) {
  .menu-open .navigation { max-height: calc(100vh - 90px); max-height: calc(100svh - 90px); overflow-y: auto; overscroll-behavior: contain; }
  body:not(.js-enabled) .navigation { display: flex; flex-direction: column; align-items: stretch; }
  body:not(.js-enabled) .menu-toggle { display: none; }
  body:not(.js-enabled) .site-header { position: relative; background: var(--surface-raised); }
  body:not(.js-enabled) .reading-main, body:not(.js-enabled) .archive-main > .posts-section { padding-top: 45px; }
  .reading-card { padding: 36px; }
}
@media (max-width: 600px) {
  .interior .archive-main > .posts-section { padding-top: max(107px, calc(var(--nav-height, 76px) + 30px)); }
  .reading-main { width: calc(100% - 32px); padding: max(107px, calc(var(--nav-height, 76px) + 30px)) 0 45px; }
  .breadcrumbs { margin-bottom: 18px; font-size: 13px; }
  .reading-card { padding: 28px 23px; }
  .reading-header { margin-bottom: 27px; padding-bottom: 24px; }
  .reading-title { font-size: 31px; line-height: 1.5; }
  .post-content { font-size: 17px; }
  .post-content pre { padding-left: 16px; padding-right: 16px; font-size: 14px; }
  .post-content blockquote { padding-left: 16px; padding-right: 0; }
  .comment-fields { grid-template-columns: 1fr; gap: 0; }
  .comments { margin-top: 22px; }
  .comments > h2 { align-items: flex-start; flex-direction: column; gap: 7px; font-size: 23px; }
  .comment-children { margin-left: 0; padding-left: 12px; }
  .comment-children .comment-children { padding-left: 8px; }
  .comment-children .comment-children .comment-children { padding-left: 0; border-left: 0; }
  .error-page { padding-top: 42px; padding-bottom: 42px; }
  .error-search-fields { gap: 8px; }
  .post-content .friend-list { grid-template-columns: 1fr; }
}
