:root {
  color-scheme: light;
  --bg: #f8f9f5;
  --surface: #fff;
  --text: #26342e;
  --muted: #66736a;
  --accent: #246b50;
  --soft: #e9efe5;
  --border: #dce2d8;
  --code: #eef1eb;
  --display: var(--sans);
  --sans:
    "Merriweather", Arial, "Hiragino Sans GB", "冬青黑", "Microsoft YaHei",
    "微软雅黑", SimSun, "宋体", Helvetica, Tahoma, Arial, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151d19;
  --surface: #1c2721;
  --text: #e3eadd;
  --muted: #a5b2a8;
  --accent: #a2cfac;
  --soft: #253a2e;
  --border: #344338;
  --code: #202e26;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #151d19;
    --surface: #1c2721;
    --text: #e3eadd;
    --muted: #a5b2a8;
    --accent: #a2cfac;
    --soft: #253a2e;
    --border: #344338;
    --code: #202e26;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
img {
  max-width: 100%;
  height: auto;
}
::selection {
  background: var(--soft);
  color: var(--accent);
}
.container {
  width: calc(100% - 96px);
  max-width: 1160px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
  line-height: 1.6;
  color: var(--muted);
}
.brand-dot {
  color: var(--accent);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 10px 18px;
  background: var(--surface);
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-weight: 650;
  font-size: 21px;
  color: var(--text);
  letter-spacing: -0.6px;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  object-fit: contain;
  /* Blend the favicon's opaque white background into the header. */
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] .brand-mark {
  filter: invert(1);
  mix-blend-mode: screen;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand-mark {
    filter: invert(1);
    mix-blend-mode: screen;
  }
}
.site-header-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.site-header-nav a {
  font-size: 13px;
  color: var(--muted);
  padding: 12px 0;
  position: relative;
}
.site-header-nav a:hover,
.site-header-nav a[aria-current] {
  color: var(--text);
  text-decoration: none;
}
.site-header-nav a[aria-current]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--accent);
}
.header-actions {
  display: flex;
  gap: 3px;
}
.icon-button {
  width: 38px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: transparent;
}
.icon-button:hover {
  background: var(--soft);
}
.menu-toggle {
  display: none;
}
.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  align-items: center;
  padding-top: 36px;
  padding-bottom: 36px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 9px;
}
.hero-copy > .eyebrow {
  margin-bottom: 16px;
}
.profile-hero h1 {
  font: normal clamp(42px, 4vw, 54px) / 1.12 var(--display);
  letter-spacing: -2px;
  margin: 0 0 14px;
}
.profile-hero h1 span {
  color: var(--accent);
  font-style: italic;
}
.hero-statement {
  font: normal 24px/1.3 var(--display);
  letter-spacing: -0.4px;
  margin-bottom: 22px;
}
.hero-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.hero-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  padding: 12px 18px;
  border-radius: 5px;
  font-weight: 500;
}
.button-primary:hover {
  filter: brightness(1.1);
  text-decoration: none;
}
.text-link {
  font-size: 13px;
  font-weight: 550;
}
.system-art {
  position: relative;
  height: 250px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background-color: var(--soft);
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 16px 16px;
  overflow: hidden;
}
.art-topline {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 22px;
  right: 22px;
  top: 20px;
  font: 9px/1.4 var(--sans);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.orbit {
  position: absolute;
  width: 330px;
  height: 215px;
  border: 1px solid var(--border);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
}
.orbit-two {
  transform: translate(-50%, -50%) rotate(35deg);
}
.memory-plane {
  position: absolute;
  left: 50%;
  width: 145px;
  height: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 23px 14px 12px;
  transform: translateX(-50%) rotate(-29deg) skewX(26deg);
  border: 1px solid var(--accent);
  border-radius: 6px;
  box-shadow: -7px 9px 0 var(--border);
}
.memory-plane span {
  position: absolute;
  top: 4px;
  left: 14px;
  font-size: 8px;
  letter-spacing: 2px;
}
.memory-plane i {
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.35;
}
.plane-back {
  top: 120px;
  background: var(--surface);
  color: var(--accent);
}
.plane-middle {
  top: 82px;
  background: var(--soft);
  color: var(--accent);
}
.plane-front {
  top: 44px;
  background: var(--accent);
  color: var(--bg);
}
.art-caption {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-size: 10px;
  color: var(--muted);
}
.art-caption .status-dot {
  width: 5px;
  height: 5px;
}
.topic-strip {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.topic-strip span:first-child {
  color: var(--muted);
  margin-right: auto;
}
.topic-strip span:not(:first-child):before {
  content: "↗";
  color: var(--accent);
  margin-right: 9px;
}
.about-content {
  display: block;
  padding-top: 32px;
}
.profile-aside {
  align-self: start;
  position: sticky;
  top: 116px;
}
.profile-aside h2 {
  font: normal 35px/1.2 var(--display);
  letter-spacing: -0.7px;
  margin-bottom: 29px;
}
.profile-aside nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile-aside nav a {
  color: var(--muted);
  font-size: 13px;
}
.markdown-body {
  font: 16px/1.95 var(--sans);
  color: var(--text);
  overflow-wrap: anywhere;
}
.markdown-body > :first-child {
  margin-top: 0 !important;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.45;
  scroll-margin-top: 100px;
}
.markdown-body h1 {
  font-size: 29px;
  margin-top: 48px;
  border-bottom: 1px solid var(--border);
}
.markdown-body h2 {
  font-size: 24px;
  margin-top: 44px;
  border-bottom: 1px solid var(--border);
}
.markdown-body h3 {
  font-size: 20px;
  margin-top: 36px;
}
.markdown-body p,
.markdown-body ul,
.markdown-body ol {
  margin-bottom: 20px;
}
.markdown-body a {
  color: var(--accent);
}
.markdown-body ul,
.markdown-body ol {
  padding-left: 23px;
}
.markdown-body li {
  margin: 8px 0;
}
.markdown-body li > p {
  margin-bottom: 8px;
}
.markdown-body li::marker {
  color: var(--muted);
}
.markdown-body blockquote {
  color: var(--muted);
  border-left: 3px solid var(--accent);
  background: var(--soft);
  padding: 12px 22px;
  margin: 26px 0;
}
.markdown-body blockquote p:last-child {
  margin-bottom: 0;
}
.markdown-body img {
  background: transparent;
  border-radius: 4px;
}
.markdown-body img[alt="acm"],
.markdown-body img[alt="ieee"],
.markdown-body img[alt="y"] {
  height: 1.1em;
  width: auto;
  border-radius: 0;
  vertical-align: middle;
}
.markdown-body table {
  display: block;
  overflow: auto;
  max-width: 100%;
  font-size: 14px;
}
.markdown-body table tr {
  background: var(--surface);
  border-color: var(--border);
}
.markdown-body table tr:nth-child(2n) {
  background: var(--soft);
}
.markdown-body table th,
.markdown-body table td {
  border-color: var(--border);
}
.markdown-body code,
.markdown-body pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.markdown-body code {
  background: var(--code);
  color: var(--text);
  font-size: 0.86em;
}
.markdown-body pre,
.markdown-body .highlight pre,
pre[class*="language-"] {
  background: var(--code);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 7px;
  line-height: 1.7;
  padding: 24px;
  overflow: auto;
  text-shadow: none;
}
.markdown-body pre code,
code[class*="language-"] {
  color: var(--text);
  background: none;
  text-shadow: none;
  word-break: normal;
  overflow-wrap: normal;
}
.markdown-body hr {
  height: 1px;
  background: var(--border);
  margin: 36px 0;
  border: 0;
}
.about-page .markdown-body {
  line-height: 1.8;
}
.about-page .markdown-body p,
.about-page .markdown-body ul,
.about-page .markdown-body ol {
  margin-bottom: 14px;
}
.about-page .site-footer {
  margin-top: 40px;
}
.about-page .markdown-body > h3 {
  font-size: 18px;
  padding-top: 18px;
  margin-top: 24px;
  border-top: 0;
}
.about-page .markdown-body > h3:first-child {
  border-top: 0;
  padding-top: 0;
}
.about-page .markdown-body > ul {
  padding-left: 20px;
}
.about-page .markdown-body > ul > li {
  padding-left: 5px;
  margin-bottom: 10px;
}
.about-page .token-heatmap {
  margin-left: 0;
}
.token-heatmap .token-heatmap-stats {
  color: var(--text);
}
.latest-section {
  padding-top: 40px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h2 {
  font: normal 34px/1.3 var(--display);
  letter-spacing: -0.5px;
  margin: 0;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.latest-card {
  display: block;
  position: relative;
  padding: 20px 22px 28px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  transition:
    background 0.15s,
    border-color 0.15s;
}
.latest-card:hover {
  background: var(--surface);
  border-color: var(--accent);
  text-decoration: none;
}
.latest-card h3 {
  font: normal 22px/1.35 var(--display);
  margin: 10px 0 8px;
}
.latest-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.card-arrow {
  position: absolute;
  bottom: 15px;
  right: 25px;
  color: var(--accent);
}
.writing-hero {
  padding-top: 66px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--border);
}
.writing-hero h1 {
  font: normal clamp(38px, 4.5vw, 60px) / 1.15 var(--display);
  letter-spacing: -1.8px;
  margin: 25px 0;
}
.writing-hero h1 span {
  font-style: italic;
  color: var(--accent);
}
.writing-hero > p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
}
.writing-meta {
  display: flex;
  gap: 28px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 30px;
}
.content {
  padding-top: 45px;
  padding-bottom: 20px;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 68px;
}
.column {
  min-width: 0;
}
.blog-content .section-heading h2 {
  font: 600 15px/1.4 var(--sans);
  letter-spacing: 0;
}
.blog-content .section-heading .eyebrow {
  font-size: 9px;
  margin: 0;
}
.repo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.repo-list-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 25px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.repo-list-item:first-child {
  padding-top: 12px;
}
.post-date {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  padding-top: 3px;
}
.post-date time,
.post-date > span {
  display: block;
}
.post-date time {
  color: var(--text);
  font-size: 12px;
  margin-bottom: 3px;
}
.post-categories {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.7px;
}
.post-summary h2 {
  font: normal 27px/1.3 var(--display);
  letter-spacing: -0.4px;
  margin: 10px 0 12px;
}
.post-summary h2 a {
  color: var(--text);
}
.post-summary p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 15px;
}
.read-link {
  font-size: 11px;
  font-weight: 550;
}
.read-link span {
  margin-left: 7px;
}
.sidebar-search {
  margin-bottom: 34px;
}
.search-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 12px 13px;
  font-size: 12px;
  text-align: left;
}
.search-trigger:hover {
  border-color: var(--accent);
}
kbd {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0 6px;
  font: 11px/1.7 var(--sans);
  color: var(--muted);
}
.topic-links {
  margin-bottom: 19px;
}
.topic-links > a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 12px;
  color: var(--text);
}
.topic-links > a > span:last-child {
  color: var(--muted);
  font-size: 11px;
}
.sidebar-note {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 28px;
}
.sidebar-note h3 {
  font: normal 23px/1.4 var(--display);
  margin: 14px 0 20px;
}
.sidebar-note > a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin: 13px 0;
}
.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 38px 0;
}
.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted);
}
.pagination a[aria-current],
.pagination a:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  text-decoration: none;
}
.collection-head {
  padding: 62px 0 39px;
  border-bottom: 1px solid var(--border);
  background: none !important;
}
.collection-head .columns {
  display: block;
  max-width: 850px;
}
.collection-header {
  font: normal clamp(34px, 4vw, 51px) / 1.22 var(--display);
  letter-spacing: -1px;
  overflow-wrap: anywhere;
  margin: 0 0 17px;
}
.collection-info {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.article-meta {
  margin-bottom: 20px;
}
.collection-info .octicon {
  display: none;
}
.reading-page .content > .columns > .column:last-child {
  align-self: start;
  position: sticky;
  top: 116px;
  max-height: calc(100dvh - 140px);
  overflow: auto;
  scrollbar-width: thin;
}
.reading-page .sidebar-topics {
  display: none;
}
.article-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border);
}
.article-toc li {
  margin: 0;
}
.article-toc a {
  display: block;
  font-size: 12px;
  color: var(--muted);
  padding: 7px 0 7px 15px;
  line-height: 1.5;
  border-left: 2px solid transparent;
  margin-left: -1px;
}
.article-toc a[aria-current] {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--soft);
}
.article-toc .toc-nested a {
  padding-left: 26px;
  font-size: 11px;
}
.share:empty,
.comment:empty {
  display: none;
}
.comment {
  margin-top: 45px;
}
.posts-content.container {
  width: 100%;
  max-width: none;
  padding: 0;
}
.markdown-body .posts-list {
  list-style: none;
  padding: 0;
}
.markdown-body .posts-list-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 13px 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.posts-list-meta {
  flex: 0 0 83px;
  color: var(--muted);
  font-size: 12px;
}
.posts-list-name {
  font-size: 15px;
}
.list-group {
  list-style: none;
  padding: 0;
}
.list-group-item {
  padding: 8px 0;
  font-size: 13px;
}
.badge {
  font-size: 11px;
  color: var(--muted);
  float: right;
}
.site-footer {
  margin-top: 85px;
  padding-top: 34px;
  padding-bottom: 27px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
}
.footer-brand {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text);
}
.site-footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
.footer-links {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  padding-top: 6px;
}
.footer-links a {
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--muted);
}
.search-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: 80dvh;
  padding: 26px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 25px 100px #0003;
}
.search-dialog::backdrop {
  background: #10251cc0;
  backdrop-filter: blur(4px);
}
.search-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.search-dialog h2 {
  font: normal 25px/1.3 var(--display);
  margin: 0;
}
.search-dialog input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}
.search-status,
.search-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 13px 0;
}
.global-search-results {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 42dvh;
  overflow: auto;
}
.global-search-results a {
  display: block;
  padding: 14px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.global-search-results a:hover {
  background: var(--soft);
}
.global-search-results small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.search-hint {
  margin-bottom: 0;
}
.copy-code {
  position: absolute;
  top: 7px;
  right: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
}
.code-wrapper {
  position: relative;
}
.code-wrapper pre {
  padding-top: 40px;
}
.token.operator,
.token.entity,
.token.url {
  background: transparent;
}
.token.keyword,
.token.atrule {
  color: var(--accent);
}
[data-theme="dark"] .token.string,
[data-theme="dark"] .token.attr-value {
  color: #b1cb83;
}
[data-theme="dark"] .token.function,
[data-theme="dark"] .token.number {
  color: #ebb489;
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 20px;
  }
  .site-header-nav {
    gap: 16px;
  }
  .brand {
    font-size: 19px;
  }
  .container {
    width: calc(100% - 64px);
  }
  .profile-hero {
    gap: 35px;
  }
  .hero-links {
    gap: 18px;
  }
  .columns {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 215px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    height: 74px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .site-header-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: var(--bg);
    padding: 18px 32px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px 27px;
  }
  .site-header-nav.is-open {
    display: flex;
  }
  .site-header-nav a {
    font-size: 15px;
  }
  .profile-hero {
    grid-template-columns: minmax(0, 1fr) 260px;
    padding-top: 30px;
    padding-bottom: 30px;
    gap: 26px;
  }
  .profile-hero h1 {
    font-size: 46px;
  }
  .hero-statement {
    font-size: 22px;
  }
  .hero-description {
    font-size: 14px;
  }
  .system-art {
    height: 250px;
  }
  .art-topline {
    font-size: 8px;
  }
  .columns {
    grid-template-columns: minmax(0, 1fr) 195px;
    gap: 30px;
  }
  .profile-aside h2 {
    font-size: 29px;
  }
  .latest-card {
    padding: 18px 20px 28px;
  }
  .latest-card h3 {
    font-size: 21px;
  }
  .topic-strip {
    gap: 20px;
  }
  .post-summary h2 {
    font-size: 25px;
  }
}
@media (max-width: 700px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 68px;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .header-actions {
    gap: 0;
  }
  .icon-button {
    width: 35px;
  }
  .site-header-nav {
    top: 68px;
    padding: 16px 20px;
  }
  .profile-hero {
    display: block;
    padding-top: 28px;
    padding-bottom: 24px;
  }
  .profile-hero h1 {
    font-size: 44px;
    margin-bottom: 12px;
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
  }
  .hero-statement {
    font-size: 23px;
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-links {
    gap: 21px;
    font-size: 12px;
  }
  .hero-links .text-link {
    font-size: 12px;
  }
  .button-primary {
    gap: 15px;
    padding: 11px 14px;
  }
  .system-art {
    display: none;
  }
  .memory-plane {
    width: 150px;
    height: 97px;
    gap: 6px;
    padding: 23px 14px 12px;
  }
  .plane-front {
    top: 45px;
  }
  .plane-middle {
    top: 85px;
  }
  .plane-back {
    top: 125px;
  }
  .art-topline {
    top: 14px;
  }
  .art-caption {
    bottom: 12px;
  }
  .topic-strip {
    font-size: 10px;
    gap: 8px 16px;
    padding: 12px 0;
  }
  .topic-strip span:first-child {
    width: 100%;
  }
  .topic-strip span:not(:first-child):before {
    margin-right: 5px;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 24px;
  }
  .profile-aside {
    order: -1;
    position: static;
    margin-bottom: 22px;
  }
  .profile-aside h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .profile-aside h2 br {
    display: none;
  }
  .profile-aside nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px 20px;
  }
  .profile-aside nav a {
    font-size: 11px;
  }
  .markdown-body {
    font-size: 15px;
    line-height: 1.95;
  }
  .markdown-body h1 {
    font-size: 25px;
  }
  .markdown-body h2 {
    font-size: 22px;
  }
  .markdown-body h3 {
    font-size: 19px;
  }
  .latest-section {
    padding-top: 28px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .latest-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .latest-card {
    padding: 16px 20px 22px;
  }
  .latest-card h3 {
    font-size: 22px;
  }
  .latest-card p {
    margin-bottom: 16px;
  }
  .latest-card .eyebrow {
    font-size: 10px;
  }
  .site-footer {
    margin-top: 53px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-links {
    gap: 26px;
  }
  .footer-bottom {
    font-size: 9px;
  }
  .writing-hero {
    padding-top: 42px;
    padding-bottom: 29px;
  }
  .writing-hero h1 {
    font-size: 40px;
    letter-spacing: -1.2px;
  }
  .writing-hero > p:not(.eyebrow) {
    font-size: 13px;
  }
  .writing-meta {
    gap: 20px;
    font-size: 11px;
  }
  .columns {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .blog-sidebar {
    order: -1;
  }
  .blog-sidebar .sidebar-topics,
  .blog-sidebar .sidebar-note {
    display: none;
  }
  .sidebar-search {
    margin-bottom: 0;
  }
  .blog-sidebar .sidebar-search > .eyebrow {
    display: none;
  }
  .content {
    padding-top: 26px;
  }
  .repo-list-item {
    grid-template-columns: 49px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 0;
  }
  .post-summary h2 {
    font-size: 25px;
  }
  .post-summary p {
    font-size: 12px;
  }
  .post-date,
  .post-date time {
    font-size: 10px;
  }
  .post-categories {
    font-size: 9px;
  }
  .collection-head {
    padding: 38px 0 23px;
  }
  .collection-header {
    font-size: 35px;
  }
  .collection-info {
    font-size: 11px;
    gap: 13px;
  }
  .reading-page .content > .columns > .column:last-child {
    position: static;
    max-height: none;
    width: 100%;
    overflow: visible;
  }
  .reading-page .article-toc {
    display: none;
  }
  .posts-list-meta {
    flex-basis: 68px;
    font-size: 10px;
  }
  .posts-list-name {
    font-size: 13px;
  }
  .markdown-body .posts-list-item {
    gap: 12px;
  }
  .markdown-body pre {
    padding: 20px 16px;
    font-size: 12px;
  }
  .code-wrapper pre {
    padding-top: 40px;
  }
  .search-dialog {
    padding: 20px;
  }
  .search-dialog h2 {
    font-size: 23px;
  }
  .desktop-break {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .header-actions,
  .article-toc,
  .sidebar-search,
  .sidebar-topics,
  .profile-aside,
  .system-art,
  .search-dialog,
  .copy-code {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .container {
    width: 100%;
  }
  .columns,
  .about-content {
    display: block;
  }
  .markdown-body {
    color: #000;
  }
  .collection-head {
    padding-top: 0;
  }
  a {
    color: inherit;
  }
}

.article-tag {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--soft);
  color: var(--accent);
  font-size: 11px;
  line-height: 1.6;
}

.pinned-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.7px;
}
.pinned-badge svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}
