:root {
    color-scheme: light;
    --bg: #fcfafb;
    --surface: #ffffff;
    --surface-soft: #f8f3f5;
    --ink: #29272b;
    --ink-soft: #756f77;
    --line: #e8e1e5;
    --accent: #c66f84;
    --accent-strong: #a95169;
    --accent-soft: #faedf0;
    --sage: #5d8276;
    --page: 1120px;
    --reading: 740px;
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #1c191d;
    --surface: #252126;
    --surface-soft: #2c282f;
    --ink: #f3eef0;
    --ink-soft: #afa6ad;
    --line: #3b353d;
    --accent: #ed9aac;
    --accent-strong: #f3b3c0;
    --accent-soft: #452d35;
    --sage: #8bb5a8;
}

.accent-coral { --accent: #cf7169; --accent-strong: #aa514b; --accent-soft: #faece9; }
.accent-green { --accent: #4d8d79; --accent-strong: #376b5b; --accent-soft: #e7f2ee; }
[data-theme="dark"] .accent-coral { --accent: #f09a91; --accent-strong: #ffc0b9; --accent-soft: #4b302f; }
[data-theme="dark"] .accent-green { --accent: #86c1ad; --accent-strong: #a5d6c6; --accent-soft: #2c473e; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    min-width: 320px;
    max-width: 100%;
    overflow-x: clip;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0;
}
body.suite-no-motion *,
body.suite-no-motion *::before,
body.suite-no-motion *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
.skip-link {
    position: fixed;
    z-index: 30;
    top: 10px;
    left: 12px;
    padding: 8px 12px;
    border: 1px solid var(--accent-strong);
    border-radius: 7px;
    background: var(--surface);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 800;
    transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); color: var(--accent-strong); }

.page-shell,
.article-shell,
.error-page,
.site-footer {
    transition: opacity .26s ease, transform .26s cubic-bezier(.22, 1, .36, 1), filter .26s ease;
}
html.page-leaving { pointer-events: none; }
html.page-leaving .site-header { opacity: .45; transform: translateY(-5px); filter: blur(1px); }
html.page-leaving .page-shell,
html.page-leaving .article-shell,
html.page-leaving .error-page,
html.page-leaving .site-footer { opacity: 0; transform: translateY(9px) scale(.997); filter: blur(2px); }

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
}
.header-inner,
.search-bar,
.page-shell,
.article-shell,
.site-footer,
.error-page {
    width: min(var(--page), calc(100% - 48px));
    margin: 0 auto;
}
.header-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}
.site-brand { display: inline-flex; align-items: center; justify-self: start; gap: 12px; }
.site-brand .suite-avatar {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    object-fit: cover;
}
.suite-avatar:not(img) {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}
.site-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.site-brand strong { font-size: 14px; }
.site-brand small { color: var(--ink-soft); font-size: 10px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
    position: relative;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}
.site-nav a:hover,
.site-nav a.current { color: var(--ink); }
.site-nav a.current::after {
    position: absolute;
    right: 0;
    bottom: -29px;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
}
.header-tools { display: flex; justify-self: end; align-items: center; gap: 8px; }
.icon-button,
.search-toggle {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: transparent;
    font-size: 13px;
}
.icon-button { padding: 0; font-size: 18px; }
.search-toggle { min-width: 108px; }
.search-glyph {
    position: relative;
    width: 14px;
    height: 14px;
    display: inline-block;
    flex: 0 0 auto;
    border: 1.7px solid currentColor;
    border-radius: 50%;
}
.search-glyph::after {
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 6px;
    height: 1.7px;
    border-radius: 99px;
    background: currentColor;
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
}
.search-toggle b { font-size: 11px; font-weight: 700; }
.search-toggle kbd {
    min-width: 25px;
    padding: 2px 4px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
}
.icon-button:hover,
.search-toggle:hover { border-color: var(--accent); background: var(--surface-soft); color: var(--accent-strong); }
.nav-toggle { display: none; }
.menu-glyph,
.menu-glyph::before,
.menu-glyph::after { width: 15px; height: 1.5px; display: block; border-radius: 2px; background: currentColor; }
.menu-glyph { position: relative; }
.menu-glyph::before,
.menu-glyph::after { position: absolute; left: 0; content: ""; }
.menu-glyph::before { top: -5px; }
.menu-glyph::after { top: 5px; }
.icon-button:focus-visible,
.search-toggle:focus-visible,
.search-bar button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.search-bar {
    max-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    padding: 0;
    border-top: 1px solid transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: max-height .42s cubic-bezier(.16, 1, .3, 1), padding .42s cubic-bezier(.16, 1, .3, 1), opacity .28s ease, transform .42s cubic-bezier(.16, 1, .3, 1), border-color .32s ease, visibility 0s .42s;
}
.search-bar.open {
    max-height: 80px;
    padding: 14px 0;
    border-top-color: var(--line);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}
.search-bar label { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.search-bar input,
.respond-form input,
.respond-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 7px;
    outline: 0;
    background: var(--surface);
}
.search-bar input { height: 40px; padding: 0 12px; }
.search-bar input:focus,
.respond-form input:focus,
.respond-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-bar button,
.respond-form button {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--accent-strong);
    border-radius: 7px;
    background: var(--accent-strong);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.page-shell { min-height: calc(100vh - 190px); padding: 46px 0 100px; }
.blog-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px 48px;
    align-items: center;
    padding: 20px 0 28px;
    border-bottom: 1px solid var(--line);
}
.journal-identity { display: flex; align-items: center; gap: 24px; }
.journal-identity .suite-avatar {
    width: 104px;
    height: 104px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(117, 73, 87, .1);
}
.eyebrow { margin: 0; color: var(--sage); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.journal-identity h1 { margin: 8px 0 8px; font-size: 42px; line-height: 1.2; letter-spacing: 0; }
.intro-note { max-width: 560px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.intro-signature {
    margin: 0;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-align: right;
}
.intro-signature span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 500; letter-spacing: 0; }
.journal-banner {
    width: min(100%, 1040px);
    aspect-ratio: 3 / 1;
    margin: 28px auto 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface-soft);
}
.journal-banner + .section-heading { margin-top: 32px; }
.journal-banner img,
.article-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.journal-banner img { object-position: center; }
[data-theme="dark"] .journal-banner img,
[data-theme="dark"] .article-cover img { filter: brightness(.58) saturate(.72); }
.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 52px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ink);
}
.section-heading strong { font-size: 18px; }
.section-heading span { color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.archive-heading { margin: 22px 0 38px; }
.archive-heading h1 { margin: 8px 0 0; font-size: 42px; line-height: 1.2; }
.post-list { border-top: 0; }
.post-row {
    --marker-color: var(--accent);
    position: relative;
    min-height: 162px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    transition: background-color .2s ease;
}
.post-row:nth-child(3n + 2) { --marker-color: var(--sage); }
.post-row:nth-child(3n) { --marker-color: var(--ink-soft); }
.post-row::before {
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 0;
    width: 2px;
    background: var(--marker-color);
    content: "";
    opacity: .72;
    transform: scaleY(.24);
    transform-origin: top center;
    transition: opacity .3s ease, transform .48s cubic-bezier(.22, 1, .36, 1);
}
.post-row:hover { background: var(--surface-soft); }
.post-row > *:first-child { padding-left: 12px; }
.post-date { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 2px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.post-sequence { color: var(--marker-color); font-size: 18px; font-weight: 800; line-height: 1; }
.post-kicker { color: var(--accent); font-size: 10px; font-weight: 800; }
.post-kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-main h2 { margin: 6px 0 7px; font-size: 25px; line-height: 1.35; }
.post-main h2 a { display: block; }
.post-main h2 a:hover { color: var(--accent-strong); }
.post-summary { max-width: 740px; color: var(--ink-soft); font-size: 13px; }
.post-summary p { margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 13px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.post-meta a:hover { color: var(--accent-strong); }
.empty-state {
    min-height: 136px;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}
.empty-index { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.empty-state strong,
.empty-state div span { display: block; }
.empty-state strong { font-size: 16px; }
.empty-state div span { color: var(--ink-soft); font-size: 12px; }
.empty-state a { color: var(--accent-strong); font-size: 12px; font-weight: 800; }
.empty-state a span { display: inline; font-size: 16px; }
.pagination { margin-top: 30px; }
.page-navigator { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.page-navigator li a { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
.page-navigator li.current a,
.page-navigator li a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }

.typecho-widgets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px;
    margin-top: 72px;
}
.native-widget { min-width: 0; border-top: 2px solid var(--ink); }
.native-widget-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0 10px;
    border-bottom: 1px solid var(--line);
}
.native-widget-heading strong { font-size: 15px; }
.native-widget-heading span { color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.native-widget-list,
.recent-comment-list { display: grid; }
.native-widget-list a,
.recent-comment-list a {
    min-height: 44px;
    display: grid;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}
.native-widget-list a { grid-template-columns: minmax(0, 1fr) auto; }
.native-widget-list a.category-link { padding-left: calc(var(--category-level, 0) * 16px); }
.native-widget-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
.native-widget-list small { color: var(--ink-soft); font-size: 10px; }
.native-widget-list a:hover span,
.recent-comment-list a:hover strong { color: var(--accent-strong); }
.recent-comment-list a { min-height: 58px; align-content: center; gap: 1px; }
.recent-comment-list strong,
.recent-comment-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-comment-list strong { font-size: 11px; }
.recent-comment-list span { color: var(--ink-soft); font-size: 11px; }
.native-widget-list > p,
.recent-comment-list > p { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; }
.tag-cloud-list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; padding: 16px 0; }
.tag-cloud-list a { display: inline-flex; align-items: baseline; gap: 4px; color: var(--ink-soft); font-size: calc(10px + (var(--tag-count, 1) * .65px)); font-weight: 700; }
.tag-cloud-list a:hover { color: var(--accent-strong); }
.tag-cloud-list small { color: var(--sage); font-size: 9px; font-weight: 700; }

.article-shell { min-height: calc(100vh - 190px); padding: 50px 0 100px; }
.back-link { display: inline-block; margin-bottom: 34px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.back-link:hover { color: var(--accent-strong); }
.article-header { max-width: 900px; margin-bottom: 48px; }
.article-header h1 { margin: 10px 0 18px; font-size: 48px; line-height: 1.2; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.article-reading-time { color: var(--accent-strong); }
.article-cover {
    width: min(900px, 100%);
    aspect-ratio: 16 / 9;
    margin: 0 0 52px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface-soft);
}
.article-cover img { object-position: center; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--reading)) minmax(0, 1fr); gap: 40px; align-items: start; min-width: 0; max-width: 100%; }
.article-content { min-width: 0; overflow-wrap: anywhere; font-family: Georgia, "Noto Serif CJK SC", "Songti SC", serif; font-size: 17px; line-height: 2; }
.article-content > * { max-width: 100%; }
.article-content > :first-child { margin-top: 0; }
.article:not(.page-article) .article-content > p:first-child { margin-bottom: 2.3em; color: var(--ink); font-size: 20px; line-height: 1.9; }
.article-content > h2,
.article-content > h3 { scroll-margin-top: 110px; }
.article-content h2, .article-content h3, .article-content h4 { font-family: Inter, "PingFang SC", system-ui, sans-serif; line-height: 1.45; }
.article-content h2 { margin: 2.2em 0 .75em; font-size: 27px; }
.article-content h3 { margin: 1.9em 0 .7em; font-size: 21px; }
.article-content a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.article-content img { display: block; max-width: 100%; height: auto; margin: 2em auto; border-radius: 10px; }
.article-content blockquote { margin: 2em 0; padding: 10px 22px; border-left: 3px solid var(--accent); background: var(--surface-soft); color: var(--ink-soft); }
.article-content pre { width: 100%; max-width: 100%; overflow-x: auto; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #252329; color: #f4f0f2; font-size: 13px; line-height: 1.7; }
.article-content code { padding: .15em .35em; border-radius: 3px; background: var(--surface-soft); color: var(--accent-strong); font-family: "SFMono-Regular", Consolas, monospace; font-size: .88em; }
.article-content pre code { padding: 0; background: transparent; color: inherit; }
.article-content table { display: block; width: 100%; max-width: 100%; margin: 2em 0; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.article-aside { position: sticky; top: 110px; align-self: start; min-width: 0; max-width: 100%; padding-top: 18px; border-top: 2px solid var(--ink); }
.article-aside > p { margin: 0 0 16px; color: var(--sage); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.article-aside > .suite-avatar { display: block; width: 62px; height: 62px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; object-fit: cover; }
.article-aside > strong, .article-aside > span { display: block; }
.article-aside > span { color: var(--ink-soft); font-size: 11px; }
.article-toc {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    height: min(470px, max(180px, calc(100vh - 250px)));
    min-height: 180px;
    overflow-y: scroll;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}
.article-toc::-webkit-scrollbar { width: 5px; }
.article-toc::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--line); }
.article-toc::-webkit-scrollbar-track { background: transparent; }
.article-toc > p { margin: 0 0 10px; color: var(--sage); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.article-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.article-toc li[data-level="3"] { padding-left: 12px; }
.article-toc a { min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; align-items: start; padding: 5px 0; color: var(--ink-soft); font-size: 10px; line-height: 1.45; transition: color .28s ease, transform .38s cubic-bezier(.22, 1, .36, 1); }
.article-toc a .toc-index { color: var(--accent); font-size: 9px; font-weight: 800; }
.article-toc li[data-level="3"] .toc-index { color: var(--ink-soft); font-size: 8px; }
.article-toc a span:last-child { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-toc a.is-active { color: var(--accent-strong); transform: translateX(3px); }
.article-toc a.is-active .toc-index { color: var(--accent-strong); }
.article-toc.is-mobile { height: auto; min-height: 0; margin: 0 0 38px; padding: 18px 0 0; overflow: visible; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-toc.is-mobile ol { padding-bottom: 14px; }
.article-toc.is-mobile a { font-size: 11px; }
.article-toc[hidden] { display: none !important; }
.article-tags { max-width: var(--reading); display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--accent-strong); font-size: 11px; font-weight: 700; }
.article-share { max-width: var(--reading); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; color: var(--ink-soft); font-size: 10px; }
.article-share > span:first-child { margin-right: 4px; color: var(--sage); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.article-share button, .article-share a { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 700; }
.article-share button { cursor: pointer; }
.article-share button:hover, .article-share a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
.share-qr { position: relative; }
.share-qr summary { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; font-weight: 700; list-style: none; }
.share-qr summary::-webkit-details-marker { display: none; }
.share-qr[open] summary { border-color: var(--accent); color: var(--accent-strong); }
.share-qr img { position: absolute; z-index: 2; top: 38px; left: 0; width: 180px; height: 180px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.share-toast { min-height: 16px; color: var(--accent-strong); font-size: 10px; }
.post-near { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-near div:last-child { text-align: right; }
.post-near small, .post-near span { display: block; color: var(--ink-soft); font-size: 10px; }
.post-near a { font-weight: 700; }
.post-near a:hover { color: var(--accent-strong); }
.page-layout { max-width: var(--reading); margin: 0 auto; }
.page-article { max-width: var(--reading); margin: 0 auto; }
.page-article .article-content { max-width: 100%; }
.page-shell-content > .comments { max-width: 1040px; margin-right: auto; margin-left: auto; }
.about-shell { padding-top: 58px; padding-bottom: 100px; }
.about-masthead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 74px; align-items: end; padding: 20px 0 54px; border-bottom: 2px solid var(--ink); }
.about-title h1 { margin: 10px 0 18px; font-size: 42px; line-height: 1.2; }
.about-title > p:last-child { max-width: 650px; margin: 0; color: var(--ink-soft); font-family: Georgia, "Noto Serif CJK SC", "Songti SC", serif; font-size: 19px; line-height: 1.9; }
.about-facts { margin: 0; border-top: 1px solid var(--line); }
.about-facts > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: var(--sage); font-size: 9px; font-weight: 800; }
.about-facts dd { margin: 0; font-size: 12px; font-weight: 700; }
.about-facts dd span { width: 6px; height: 6px; display: inline-block; margin: 0 8px 1px 0; border-radius: 50%; background: var(--sage); }
.about-story { padding: 52px 0 0; }
.about-story-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 32px; align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.about-story-heading .eyebrow { grid-column: 1; margin: 0; }
.about-story-heading h2 { grid-column: 1; margin: 6px 0 0; font-size: 23px; line-height: 1.4; }
.about-story-heading > span { grid-column: 2; grid-row: 1 / 3; align-self: end; display: block; padding-bottom: 4px; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.about-copy { min-width: 0; margin-top: 30px; font-family: Georgia, "Noto Serif CJK SC", "Songti SC", serif; font-size: 17px; line-height: 2; }
.about-copy p { position: relative; margin: 0; padding: 28px 0; border-top: 1px solid var(--line); }
.about-copy p:first-child { padding-top: 0; border-top: 0; color: var(--ink); font-size: 20px; line-height: 1.9; }
.about-copy p:last-child { border-bottom: 1px solid var(--line); }
.about-copy a { color: var(--accent-strong); font-family: Inter, "PingFang SC", system-ui, sans-serif; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.about-panels { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 52px; margin-top: 72px; padding-top: 28px; border-top: 2px solid var(--ink); }
.about-panel-heading { margin-bottom: 20px; }
.about-panel-heading .eyebrow { margin: 0 0 8px; }
.about-panel-heading h2 { margin: 0; font-size: 21px; }
.about-stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.about-stack-card { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 15px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); }
.stack-icon { width: 28px; height: 28px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 6px; background: var(--accent-soft); color: var(--accent-strong); font-size: 10px; font-weight: 800; }
.about-stack-card img.stack-icon { padding: 5px; object-fit: contain; }
.about-stack-card strong, .about-stack-card span { display: block; }
.about-stack-card strong { font-size: 12px; }
.about-stack-card div span { margin-top: 3px; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.about-direction-panel > p { margin: 0; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: Georgia, "Noto Serif CJK SC", "Songti SC", serif; font-size: 16px; line-height: 1.8; }
.about-contact { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-contact-grid a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 7px; }
.about-contact-grid a:hover { border-color: var(--accent); background: var(--surface-soft); }
.about-contact-grid strong, .about-contact-grid span { display: block; }
.about-contact-grid strong { font-size: 13px; }
.about-contact-grid span { margin-top: 5px; color: var(--ink-soft); font-size: 10px; }
.comments { max-width: var(--reading); margin-top: 72px; padding-top: 28px; border-top: 2px solid var(--ink); }
.comments-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.comments-heading h2 { margin: 0; font-size: 20px; }
.comments-heading a { color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.comments-heading a:hover { color: var(--accent-strong); }
.comment-list { margin: 18px 0 0; padding: 0; list-style: none; }
.comment-body { position: relative; padding: 22px 0 22px 60px; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { display: block; position: absolute; top: 23px; left: 0; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.comment-author .fn { font-size: 13px; font-style: normal; font-weight: 800; }
.comment-meta { margin-top: 2px; color: var(--ink-soft); font-size: 10px; }
.comment-content { min-width: 0; margin-top: 10px; overflow-wrap: anywhere; word-break: break-word; font-size: 14px; line-height: 1.9; }
.comment-content a { overflow-wrap: anywhere; word-break: break-all; }
.comment-content p { margin: 0; }
.comment-reply { margin-top: 8px; font-size: 10px; font-weight: 700; }
.comment-reply a:hover { color: var(--accent-strong); }
.comment-children { margin: 18px 0 -10px; padding-left: 22px; border-left: 1px solid var(--line); }
.comment-awaiting-moderation { display: block; color: var(--accent); font-size: 10px; font-style: normal; }
.comments .page-navigator { justify-content: flex-start; margin-top: 22px; }
.respond { margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.respond h3 { margin: 0 0 18px; font-size: 17px; }
.cancel-comment-reply { float: right; font-size: 10px; font-weight: 700; }
.cancel-comment-reply a { color: var(--accent-strong); }
.respond-form { margin: 0; }
.respond-form p { margin: 0 0 14px; }
.respond-form label { display: block; margin-bottom: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.respond-form input { height: 40px; padding: 0 11px; }
.respond-form textarea { min-height: 130px; padding: 10px 11px; resize: vertical; }
.respond-form .form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.respond-form .form-actions { margin-top: 18px; }
.respond-login { color: var(--ink-soft); font-size: 12px; }
.respond-login a { color: var(--accent-strong); font-weight: 700; }

.archive-timeline { border-top: 1px solid var(--line); }
.archive-year { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 34px; padding: 34px 0 50px; border-bottom: 1px solid var(--line); }
.archive-year-heading { align-self: start; }
.archive-year-heading strong,
.archive-year-heading span { display: block; }
.archive-year-heading strong { color: var(--accent-strong); font-size: 30px; line-height: 1.1; }
.archive-year-heading span { margin-top: 7px; color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.archive-year-content { min-width: 0; }
.archive-month { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; }
.archive-month + .archive-month { margin-top: 32px; }
.archive-month-heading { padding-top: 18px; }
.archive-month-heading time,
.archive-month-heading span { display: block; }
.archive-month-heading time { font-size: 12px; font-weight: 800; }
.archive-month-heading span { margin-top: 2px; color: var(--ink-soft); font-size: 9px; font-weight: 700; }
.archive-list { min-width: 0; border-top: 1px solid var(--line); }
.archive-row { min-height: 66px; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; align-items: center; border-bottom: 1px solid var(--line); }
.archive-row time { color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.archive-row strong { font-size: 15px; }
.archive-row:hover strong { color: var(--accent-strong); }
.archives-page { max-width: 900px; }
.error-page { min-height: calc(100vh - 176px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.error-page h1 { margin: 10px 0; font-size: 46px; }
.error-page > p:not(.eyebrow) { color: var(--ink-soft); }
.error-page > a { margin-top: 22px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 7px; font-weight: 700; }
.site-footer { min-height: 116px; display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; }
.site-footer > div { display: flex; flex-direction: column; }
.site-footer strong { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a:hover { color: var(--accent-strong); }
.site-footer small { font-size: 10px; }

/* Motion layer: quiet, progressive enhancement for navigation and reading. */
.site-header {
    animation: header-enter .55s cubic-bezier(.22, 1, .36, 1) both;
    transition: opacity .26s ease, transform .26s cubic-bezier(.22, 1, .36, 1), filter .26s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    box-shadow: 0 10px 30px rgba(52, 42, 48, .07);
}
[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 12px 34px rgba(0, 0, 0, .2); }
.reading-progress {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    pointer-events: none;
    background: var(--accent);
    transform: scaleX(var(--reading-progress, 0));
    transform-origin: left center;
}
.site-brand .suite-avatar,
.site-brand strong,
.icon-button,
.search-toggle,
.respond-form button {
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-nav a::after {
    position: absolute;
    right: 0;
    bottom: -29px;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}
.site-nav a.current::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }
.search-toggle[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); }
.theme-toggle.is-rotating { animation: theme-turn .48s cubic-bezier(.22, 1, .36, 1) both; }
html.theme-switching,
html.theme-switching body,
html.theme-switching body *,
html.theme-switching body *::before,
html.theme-switching body *::after {
    transition-property: background-color, border-color, box-shadow, filter, text-decoration-color, outline-color, fill, stroke, caret-color !important;
    transition-duration: .24s !important;
    transition-timing-function: ease !important;
}

.blog-intro .journal-identity,
.article-header,
.archive-heading { animation: content-enter .72s .08s cubic-bezier(.22, 1, .36, 1) both; }
.blog-intro .intro-signature { animation: signature-enter .7s .2s cubic-bezier(.22, 1, .36, 1) both; }
.journal-identity .suite-avatar { animation: avatar-enter .78s .12s cubic-bezier(.22, 1, .36, 1) both; }
.journal-banner,
.article-cover { animation: visual-enter .9s .18s cubic-bezier(.22, 1, .36, 1) both; }
.journal-banner img,
.article-cover img {
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) scale(var(--visual-scale, 1));
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), filter .3s ease;
}
.parallax-visual { --visual-scale: 1.035; }
.parallax-visual img { transition: filter .3s ease; }

.section-heading { position: relative; }
.section-heading::after {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 72px;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .65s .12s cubic-bezier(.22, 1, .36, 1);
}
.section-heading.is-visible::after { transform: scaleX(1); }
.post-row,
.post-row::before,
.post-main,
.native-widget-list a span,
.recent-comment-list a strong,
.archive-row,
.archive-row strong,
.back-link,
.post-near a,
.site-footer a {
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.post-row:focus-within { background: var(--surface-soft); }
.post-row:focus-within::before { opacity: 1; transform: scaleY(1); }
.post-row:focus-within .post-main { transform: translateX(4px); }
.native-widget-list a:focus-visible span,
.recent-comment-list a:focus-visible strong { color: var(--accent-strong); transform: translateX(4px); }
.archive-row:focus-visible { padding-right: 8px; padding-left: 8px; background: var(--surface-soft); }
.archive-row:focus-visible strong { color: var(--accent-strong); }
.back-link:focus-visible { color: var(--accent-strong); transform: translateX(-4px); }

.archives-page .archive-timeline { animation: archive-list-enter .55s .08s ease both; }
.archives-page .archive-year-heading,
.archives-page .archive-month-heading { animation: archive-label-enter .68s .12s cubic-bezier(.16, 1, .3, 1) both; }
.archives-page .archive-row {
    animation: archive-row-enter .72s calc(.16s + var(--archive-delay, 0ms)) cubic-bezier(.16, 1, .3, 1) both;
    transition: padding .34s cubic-bezier(.16, 1, .3, 1), background-color .3s ease, border-color .3s ease;
}
.archives-page .archive-row strong { transition: color .28s ease, transform .34s cubic-bezier(.16, 1, .3, 1); }

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .68s var(--reveal-delay, 0ms) ease, transform .68s var(--reveal-delay, 0ms) cubic-bezier(.22, 1, .36, 1);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@media (hover: hover) {
    .site-brand:hover img { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 10px 24px rgba(117, 73, 87, .16); }
    .site-brand:hover strong { color: var(--accent-strong); }
.icon-button:hover,
.search-toggle:hover,
.respond-form button:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(67, 49, 58, .09); }
.theme-toggle:hover { transform: none; }
    .journal-banner:not(.parallax-visual):hover img,
    .article-cover:not(.parallax-visual):hover img { --visual-scale: 1.025; }
    .post-row:hover::before { opacity: 1; transform: scaleY(1); }
    .post-row:hover .post-main { transform: translateX(4px); }
    .native-widget-list a:hover span,
    .recent-comment-list a:hover strong { transform: translateX(4px); }
    .archive-row:hover { padding-right: 8px; padding-left: 8px; background: var(--surface-soft); }
    .back-link:hover { transform: translateX(-4px); }
    .post-near a:hover { transform: translateY(-2px); }
    .site-footer a:hover { transform: translateY(-2px); }
}

@keyframes header-enter {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes content-enter {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes signature-enter {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes avatar-enter {
    from { opacity: 0; transform: translateY(12px) rotate(-5deg) scale(.9); }
    to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes visual-enter {
    from { opacity: 0; clip-path: inset(0 7% 0 7% round 8px); transform: translateY(20px) scale(.985); }
    to { opacity: 1; clip-path: inset(0 0 0 0 round 8px); transform: translateY(0) scale(1); }
}
@keyframes theme-turn {
    0% { transform: rotate(0) scale(1); }
    48% { transform: rotate(160deg) scale(.82); }
    100% { transform: rotate(360deg) scale(1); }
}
@keyframes archive-list-enter {
    from { border-color: transparent; }
    to { border-color: var(--line); }
}
@keyframes archive-row-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes archive-label-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 820px) {
    .header-inner { grid-template-columns: 1fr auto; }
    .nav-toggle { display: inline-flex; }
    .site-nav { grid-column: 1 / -1; grid-row: 2; display: none; justify-content: flex-start; flex-wrap: wrap; gap: 0; padding: 8px 0 12px; border-top: 1px solid var(--line); }
    .site-nav.is-open { display: flex; }
    .site-nav a { flex: 0 0 auto; width: 100%; padding: 9px 0; }
    .site-nav a.current::after { right: auto; bottom: 3px; left: 0; width: 24px; }
    .journal-identity h1 { font-size: 34px; }
    .journal-banner { aspect-ratio: 2 / 1; }
    .article-layout { grid-template-columns: 1fr; gap: 52px; }
    .article-aside { position: static; display: grid; grid-template-columns: 62px 1fr; column-gap: 14px; }
    .article-aside > p { grid-column: 1 / -1; }
    .article-aside > .suite-avatar { grid-row: 2 / 4; }
    .comments { margin-top: 58px; }
    .typecho-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .native-widget:last-child { grid-column: 1 / -1; }
    .site-footer { grid-template-columns: 1fr auto; }
    .site-footer small { grid-column: 1 / -1; padding-bottom: 22px; }
    .archive-year { grid-template-columns: 92px minmax(0, 1fr); gap: 24px; }
    .archive-month { grid-template-columns: 62px minmax(0, 1fr); gap: 16px; }
    .about-masthead { grid-template-columns: 1fr; gap: 38px; }
    .about-panels { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 560px) {
    .header-inner, .search-bar, .page-shell, .article-shell, .site-footer, .error-page { width: calc(100% - 30px); }
    .header-inner { min-height: 70px; }
    .site-brand .suite-avatar { width: 40px; height: 40px; border-radius: 10px; }
    .header-tools { gap: 6px; }
    .icon-button, .search-toggle { min-width: 40px; height: 40px; }
    .search-toggle { min-width: 40px; }
    .search-toggle b { display: none; }
    .search-toggle kbd { display: none; }
    .site-nav a { font-size: 12px; }
    .search-bar { grid-template-columns: 1fr auto; }
    .search-bar label { display: none; }
    .page-shell { padding: 34px 0 78px; }
    .blog-intro { grid-template-columns: 1fr; gap: 22px; padding-top: 8px; }
    .journal-identity { flex-direction: column; align-items: flex-start; gap: 16px; }
    .journal-identity .suite-avatar { width: 78px; height: 78px; border-radius: 14px; }
    .journal-identity h1 { margin-top: 5px; font-size: 34px; }
    .intro-note { font-size: 12px; line-height: 1.7; }
    .intro-signature { display: none; }
    .journal-banner { aspect-ratio: 16 / 9; margin-top: 22px; }
    .journal-banner img { object-position: 72% center; }
    .section-heading { margin-top: 36px; }
    .section-heading strong { font-size: 16px; }
    .post-row { grid-template-columns: 1fr; gap: 12px; min-height: 144px; padding: 22px 0; }
    .post-row::before { top: 28px; bottom: auto; left: 0; width: 4px; height: 10px; border-radius: 999px; opacity: .88; transform: none; }
    .post-row > *:first-child { grid-column: 1 / -1; padding-left: 0; }
    .post-row > .post-date { flex-direction: row; align-items: baseline; gap: 10px; padding-left: 10px; }
    .post-sequence { font-size: 15px; }
    .post-main h2 { font-size: 20px; }
    .post-summary { font-size: 12px; }
    .post-meta { gap: 10px; margin-top: 10px; }
    .empty-state { grid-template-columns: 1fr; gap: 6px; min-height: 160px; }
    .empty-state a { margin-top: 8px; }
    .article-shell { padding: 36px 0 78px; }
    .back-link { margin-bottom: 28px; }
    .article-header { margin-bottom: 36px; }
    .article-header h1 { font-size: 34px; }
    .article-cover { margin-bottom: 36px; }
    .article-content { font-size: 16px; }
    .article:not(.page-article) .article-content > p:first-child { margin-bottom: 2em; font-size: 18px; }
    .article-content h2 { font-size: 23px; }
    .about-shell { padding-top: 34px; padding-bottom: 78px; }
    .about-masthead { gap: 30px; padding: 16px 0 38px; }
    .about-title h1 { font-size: 34px; }
    .about-title > p:last-child { font-size: 17px; }
    .about-story { padding-top: 38px; }
    .about-story-heading { grid-template-columns: 1fr; gap: 5px; padding-bottom: 18px; }
    .about-story-heading > span { grid-column: 1; grid-row: auto; padding: 3px 0 0; }
    .about-copy { margin-top: 24px; }
    .about-copy { font-size: 16px; }
    .about-copy p { padding: 24px 0; }
    .about-copy p:first-child { font-size: 18px; }
    .about-stack-grid, .about-contact-grid { grid-template-columns: 1fr; }
    .about-panels, .about-contact { margin-top: 52px; }
    .post-near { grid-template-columns: 1fr; gap: 24px; }
    .post-near div:last-child { text-align: left; }
    .respond-form .form-grid { grid-template-columns: 1fr; gap: 0; }
    .comment-body { padding-left: 52px; }
    .comment-author img { width: 38px; height: 38px; }
    .comment-children { margin-left: 0; padding-left: 14px; }
    .typecho-widgets { grid-template-columns: 1fr; gap: 34px; margin-top: 54px; }
    .native-widget:last-child { grid-column: auto; }
    .archive-heading h1 { font-size: 34px; }
    .archive-year { grid-template-columns: 1fr; gap: 20px; padding: 28px 0 40px; }
    .archive-year-heading { display: flex; align-items: baseline; justify-content: space-between; }
    .archive-year-heading strong { font-size: 27px; }
    .archive-year-heading span { margin: 0; }
    .archive-month { grid-template-columns: 1fr; gap: 8px; }
    .archive-month-heading { display: flex; align-items: baseline; justify-content: space-between; padding-top: 0; }
    .archive-month-heading time,
    .archive-month-heading span { display: inline; margin: 0; }
    .archive-row { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
    .site-footer { grid-template-columns: 1fr; min-height: 142px; padding: 26px 0; gap: 16px; }
    .site-footer small { grid-column: auto; padding: 0; }
    .error-page h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-delay: 0s !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
    .reveal-item { opacity: 1 !important; transform: none !important; }
    .archives-page .archive-row { opacity: 1 !important; transform: none !important; }
    .journal-banner img,
    .article-cover img { transform: none !important; }
    html.page-leaving .site-header,
    html.page-leaving .page-shell,
    html.page-leaving .article-shell,
    html.page-leaving .error-page,
    html.page-leaving .site-footer { opacity: 1 !important; transform: none !important; filter: none !important; }
}
