/* garyf.dev, hand-written stylesheet
   Ink ramp, one cursor-blue accent, Geist + Geist Mono, 4px grid */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap");

:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --raised: #eceff4;
  --text: #111827;
  --text-2: #4b5565;
  --muted: #6b7487;
  --line: rgb(17 24 39 / 0.08);
  --accent: #0a66c2;
  --accent-ink: #0a66c2;
  --mark: rgb(10 102 194 / 0.14);
  --btn-bg: #111827;
  --btn-text: #ffffff;
  --btn-hover: #263042;
  --logo-tile: #ffffff;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1120px;
  --gutter: 32px;
  color-scheme: light;
}

html.dark {
  --bg: #0b0d14;
  --surface: #11141c;
  --raised: #1a1e28;
  --text: #eef0f5;
  --text-2: #a3a9b8;
  --muted: #7a8296;
  --line: rgb(238 240 245 / 0.08);
  --accent: #5cb8ff;
  --accent-ink: #7cc6ff;
  --mark: rgb(92 184 255 / 0.18);
  --btn-bg: #eef0f5;
  --btn-text: #0b0d14;
  --btn-hover: #d7dbe4;
  --logo-tile: #eef0f5;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.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;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Header */

.site-header { border-bottom: 1px solid var(--line); }

.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.brand img {
  width: 28px; height: 28px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 180ms var(--ease);
}
.brand:hover img { transform: translateY(-2px); }

.nav { display: flex; gap: 4px; }

.nav a {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}

.nav a:hover { color: var(--text); background: var(--raised); }
.nav a[aria-current="page"] { color: var(--text); background: var(--raised); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.theme-toggle input { position: absolute; opacity: 0; pointer-events: none; }

.theme-toggle label {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}

.theme-toggle label:hover { color: var(--text); background: var(--raised); }
.theme-toggle input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle .sun { display: none; }
html.dark .theme-toggle .sun { display: block; }
html.dark .theme-toggle .moon { display: none; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}

.btn:active { transform: scale(0.98); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }

.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-hover); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-secondary:hover { background: var(--raised); }
.btn-secondary .icon { color: var(--muted); }

/* Page shell */

body { display: flex; flex-direction: column; min-height: 100svh; }
main { flex: 1; padding-bottom: 96px; }
.narrow { max-width: 44rem; }

.page-head { padding: 80px 0 48px; }

.page-title {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.page-lede {
  margin-top: 16px;
  max-width: 36rem;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-2);
}

.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.section + .section { margin-top: 64px; }

.section-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

.prose-sm {
  max-width: 40rem;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-2);
}

.prose-sm + .prose-sm { margin-top: 16px; }

.link {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent-ink) 35%, transparent);
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms var(--ease);
}
.link:hover { text-decoration-color: currentColor; }

/* Home hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 64px;
  padding: 96px 0 80px;
}

.handle {
  display: inline-flex;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

.handle a {
  color: var(--text);
  background: linear-gradient(var(--mark), var(--mark)) 0 60% / 100% 55% no-repeat;
  padding: 0 2px;
}

.hero h1 {
  margin-top: 16px;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero p {
  margin-top: 20px;
  max-width: 30rem;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-2);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.home-body { display: grid; gap: 96px; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

.collage img { width: 100%; max-width: 560px; margin-left: auto; }

/* Hero figure: a Hairline drawing on the page ground, palette from the ramp */

.figure { position: relative; opacity: 0; transition: opacity 600ms var(--ease) 200ms; }
.figure.ready { opacity: 1; }

.figure [data-hairline] {
  --hairline-plate: var(--bg);
  --hairline-hi: #111827;
  --hairline-edge: #7d8597;
  --hairline-mid: #a9b0bd;
  --hairline-lo: #d3d8e0;
  cursor: crosshair;
}

html.dark .figure [data-hairline] {
  --hairline-plate: var(--bg);
  --hairline-hi: #eef0f5;
  --hairline-edge: #5d6577;
  --hairline-mid: #3a4050;
  --hairline-lo: #262b37;
}

.figure-meta {
  display: flex;
  justify-content: space-between;
  margin-top: -16px;
  padding: 0 40px;
}

.figure-meta output { color: var(--text); }

/* Numbers: three facts from the resume, counted up on arrival */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat { padding: 28px 24px 28px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }

.stat-value {
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-label { margin-top: 12px; max-width: 18rem; font-size: 14px; line-height: 20px; color: var(--text-2); }

/* Previously: a compact log of past roles */

.log { border-top: 1px solid var(--line); }

.log li {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.log .org { color: var(--text); font-weight: 500; }
.log .what { color: var(--text-2); font-size: 14px; }

.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--text-2); transition: color 150ms var(--ease); }
.more:hover { color: var(--text); }
.more .icon { transition: transform 150ms var(--ease); }
.more:hover .icon { transform: translateX(2px); }

.skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skills li {
  display: inline-flex; align-items: center; height: 26px; padding: 0 8px;
  border-radius: 6px; background: var(--raised);
  font-family: var(--mono); font-size: 12px; color: var(--text-2);
}

.monogram { font-family: var(--mono); font-size: 13px; font-weight: 500; color: #111827; }

/* Role card, used for "Currently" */

.role {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.logo-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--logo-tile);
  box-shadow: inset 0 0 0 1px var(--line);
}

.logo-tile img { width: 22px; height: 22px; }

.role-title { margin-top: 4px; font-size: 16px; line-height: 24px; font-weight: 500; }
.role-org { font-size: 14px; line-height: 20px; }
.role-note { margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--muted); }

/* Resume */

.resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  align-items: start;
}

.timeline { position: relative; }

.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 40px;
}

.timeline > li:last-child { padding-bottom: 0; }

.timeline > li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.timeline > li:last-child::before { display: none; }

.bullets { margin-top: 12px; }

.bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}

.bullets li + li { margin-top: 8px; }

.bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 4px;
  height: 1px;
  background: var(--muted);
}

.aside { position: sticky; top: 32px; display: grid; gap: 16px; }

.panel {
  padding: 20px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.panel h2 { font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: 8px; }

.panel li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  font-size: 14px;
  color: var(--text-2);
}

.panel li + li { border-top: 1px solid var(--line); }

/* Articles */

.post-list { border-top: 1px solid var(--line); }

.post-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 16px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.post-row .thumb {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}

.post-row h2 {
  margin-top: 4px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  transition: color 150ms var(--ease);
}

.post-row p { margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--text-2); }
.post-row > .icon { color: var(--muted); transition: color 150ms var(--ease), transform 150ms var(--ease); }
.post-row:hover h2 { color: var(--accent-ink); }
.post-row:hover > .icon { color: var(--text); transform: translateX(2px); }

/* Post */

.post { max-width: 44rem; margin: 0 auto; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 150ms var(--ease);
}
.back:hover { color: var(--text); }

.post-head { padding: 48px 0 32px; }
.post-head h1 { margin-top: 12px; font-size: 40px; line-height: 1.12; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.post-head p { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--text-2); }

.post-cover { border-radius: 12px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 48px; }

.prose { font-size: 17px; line-height: 28px; color: var(--text-2); }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 48px; font-size: 24px; line-height: 32px; font-weight: 500; color: var(--text); }
.prose h3 { margin-top: 36px; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--text); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent-ink) 35%, transparent); }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote {
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--accent);
  color: var(--text);
}
.prose img { margin-left: auto; margin-right: auto; border-radius: 8px; }
.prose .gist { margin-top: 24px; margin-bottom: 24px; font-size: 13px; }
.prose .gist .gist-file { border-radius: 10px !important; border-color: var(--line) !important; overflow: hidden; }

/* Footer */

.site-footer { border-top: 1px solid var(--line); }

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.footer-links { display: flex; gap: 20px; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: color 150ms var(--ease);
}
.footer-links a:hover { color: var(--text); }
.footer-links .icon { color: var(--muted); }

/* Entrance: one short fade and rise */

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.enter > * { animation: rise 400ms var(--ease) both; }
.enter > *:nth-child(2) { animation-delay: 50ms; }
.enter > *:nth-child(3) { animation-delay: 100ms; }
.enter > *:nth-child(4) { animation-delay: 150ms; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.timeline > li { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.timeline > li::before { transform-origin: top; transform: scaleY(0); transition: transform 700ms var(--ease) 200ms; }
.reveal.in .timeline > li { opacity: 1; transform: none; }
.reveal.in .timeline > li::before { transform: scaleY(1); }
.reveal.in .timeline > li:nth-child(2) { transition-delay: 60ms; }
.reveal.in .timeline > li:nth-child(3) { transition-delay: 120ms; }
.reveal.in .timeline > li:nth-child(4) { transition-delay: 180ms; }
.reveal.in .timeline > li:nth-child(5) { transition-delay: 240ms; }
.reveal.in .timeline > li:nth-child(6) { transition-delay: 300ms; }

/* Cross-page fade where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
.site-header { view-transition-name: header; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .timeline > li, .figure { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Small screens */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 64px; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .collage img { margin: 0 auto; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .log li { grid-template-columns: 1fr; gap: 2px; }
  .resume-grid { grid-template-columns: 1fr; gap: 48px; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-header .container { flex-wrap: wrap; height: auto; gap: 0; padding-top: 12px; }
  .brand { height: 40px; }
  .header-actions { height: 40px; }
  .nav { order: 3; width: 100%; height: 48px; align-items: center; margin-left: -12px; }
  .hero h1 { font-size: 36px; }
  .hero p, .page-lede { font-size: 17px; line-height: 26px; }
  .page-head { padding: 48px 0 32px; }
  .page-title { font-size: 32px; }
  .post-head h1 { font-size: 32px; }
  .aside { grid-template-columns: 1fr; }
  .role { padding: 20px; gap: 16px; }
  .post-row { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; }
  .post-row .thumb { width: 72px; aspect-ratio: 1; }
  .post-row > .icon { display: none; }
  .footer-links span { display: none; }
}

/* Contributions: a year of GitHub activity on the ramp, one accent */

.contrib-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.contrib-head .section-title { margin: 0; }
.contrib-head output { color: var(--text-2); }

.contrib-months,
.contrib-grid {
  display: grid;
  grid-template-columns: repeat(var(--weeks, 53), minmax(0, 1fr));
  gap: 3px;
}

.contrib-months { margin-bottom: 8px; }
.contrib-months span { font-family: var(--mono); font-size: 11px; line-height: 16px; color: var(--muted); white-space: nowrap; }

.contrib-week { display: grid; grid-template-rows: repeat(7, auto); align-content: start; gap: 3px; }

.contrib-day {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--raised);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 360ms var(--ease) calc(var(--c) * 9ms),
    transform 360ms var(--ease) calc(var(--c) * 9ms),
    box-shadow 120ms var(--ease);
}

.contrib-day[data-l="1"] { background: color-mix(in srgb, var(--accent) 28%, var(--raised)); }
.contrib-day[data-l="2"] { background: color-mix(in srgb, var(--accent) 50%, var(--raised)); }
.contrib-day[data-l="3"] { background: color-mix(in srgb, var(--accent) 75%, var(--raised)); }
.contrib-day[data-l="4"] { background: var(--accent); }
.contrib-day:hover { box-shadow: 0 0 0 1.5px var(--text); transition-delay: 0s; }

.reveal.in .contrib-day { opacity: 1; transform: none; }

.contrib-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.contrib-foot a { transition: color 150ms var(--ease); }
.contrib-foot a:hover { color: var(--text); }

.legend { display: flex; align-items: center; gap: 4px; }
.legend .contrib-day { width: 11px; opacity: 1; transform: none; }
.legend .mono:first-child { margin-right: 4px; }
.legend .mono:last-child { margin-left: 4px; }

@media (max-width: 640px) {
  .contrib-months, .contrib-grid { --weeks: 22; }
  .contrib-grid .older, .contrib-months .older { display: none; }
  .contrib-head { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .contrib-day { opacity: 1 !important; transform: none !important; }
}

/* Photo deck: six prints in a loose pile; they fan out on hover */

.deck-wrap { width: 100%; max-width: 520px; margin: 0 auto; }

.deck {
  position: relative;
  height: 360px;
  display: grid;
  place-items: center;
}

.print {
  position: absolute;
  width: 200px;
  aspect-ratio: 3 / 4;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: #fbfbf9;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 12px 28px rgb(0 0 0 / 0.12);
  cursor: pointer;
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0));
  transition: transform 520ms var(--ease), box-shadow 200ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.print img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; pointer-events: none; user-select: none; }

html.dark .print { background: #e9e7e2; box-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 32px rgb(0 0 0 / 0.4); }

@media (hover: hover) {
  .deck .print:hover { transform: translate(var(--x, 0), calc(var(--y, 0) - 14px)) rotate(calc(var(--r, 0) * 0.5)) scale(1.04); z-index: 50 !important; transition-duration: 260ms; }
}
.print:active { transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0)) scale(0.98); }
.print.tuck { transform: translate(150px, 12px) rotate(14deg); transition-duration: 240ms; }

.deck-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0 24px;
}

.deck-meta output { color: var(--text); }

@media (max-width: 900px) {
  .deck-wrap { margin: 0 auto; }
}

@media (max-width: 640px) {
  .deck { height: 320px; }
  .print { width: 176px; }
  .print.tuck { transform: translate(110px, 12px) rotate(14deg); }
}

.post-row .thumb.contain { object-fit: contain; background: #ffffff; padding: 8px; }

/* Long-form prose: code, lists, figures */

.origin { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.origin a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.origin a:hover { color: var(--text); }

.prose code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--raised);
  color: var(--text);
}

.prose pre {
  overflow-x: auto;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  line-height: 22px;
}

.prose pre code { padding: 0; background: none; font-size: inherit; }

.prose ul { padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 500; }

.prose figure { margin-top: 32px; margin-bottom: 32px; }
.prose figure img, .prose figure video {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}
.prose figcaption { margin-top: 12px; text-align: center; font-size: 13px; line-height: 20px; color: var(--muted); }

.prose blockquote p + p { margin-top: 8px; font-size: 14px; color: var(--text-2); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 24px; }

.post-head p.mono { font-size: 12px; line-height: 16px; color: var(--muted); }
.post-head p.origin { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.post-cover.is-logo { width: 112px; border-radius: 50%; box-shadow: none; }
