@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/static/fonts/InterVariable.woff2') format('woff2'); }
:root { color-scheme: dark; --paper: #121213; --ink: #deddd8; --link: #ffffff; --muted: #9d9b96; --rule: #303030; --quote-rule: #45433e; --quote-ink: #b6b3aa; --code-paper: #1d1d1c; --image-frame: #242424; --draft-paper: #28251b; --draft-ink: #dbc88b; }
html[data-theme="light"] { color-scheme: light; --paper: #fdfdfc; --ink: #292824; --link: #080808; --muted: #77746d; --rule: #e5e2db; --quote-rule: #d5d2ca; --quote-ink: #59564d; --code-paper: #f2f0e9; --image-frame: #f1f1f1; --draft-paper: #f1ecdb; --draft-ink: #6b571e; }
@media (prefers-color-scheme: light) { html:not([data-theme]) { color-scheme: light; --paper: #fdfdfc; --ink: #292824; --link: #080808; --muted: #77746d; --rule: #e5e2db; --quote-rule: #d5d2ca; --quote-ink: #59564d; --code-paper: #f2f0e9; --image-frame: #f1f1f1; --draft-paper: #f1ecdb; --draft-ink: #6b571e; } }
* { box-sizing: border-box; }
html { background: var(--paper); }
body { max-width: 480px; margin: 0 auto; padding: 72px 24px 60px; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: var(--link); font-weight: 450; text-decoration: none; }
a:hover { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 46px; }
.site-header .name { color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: -.2px; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 20px; font-size: 12px; }
.site-header .social-link { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; min-height: 24px; padding: 3px 7px; border-radius: 3px; background: var(--image-frame); line-height: 1.4; white-space: nowrap; }
.site-header h1 { margin: 0; font-size: inherit; }
main { min-width: 0; }
h1 { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.2px; margin: 0 0 28px; }
h2 { font-size: 14px; font-weight: 600; margin: 34px 0 10px; line-height: 1.5; }
h3 { font-size: 14px; font-weight: 600; margin: 28px 0 8px; line-height: 1.5; }
h4 { font-size: 12px; font-weight: 600; margin: 24px 0 8px; }
p { margin: 0 0 20px; }
ul, ol { padding-left: 24px; margin: 12px 0 24px; }
li { margin: 7px 0; }
.home [data-content-body] > ul { list-style: none; padding-left: 20px; }
.home [data-content-body] > ul > li { position: relative; }
.home [data-content-body] > ul > li::before { content: '⡢'; position: absolute; left: -20px; top: -.25em; }
.home h1 { margin-bottom: 30px; }
.home h2 { margin-top: 32px; }
.date, .archive-note { color: var(--muted); font-size: 11px; }
.date { margin: -12px 0 28px; }
.archive-note { margin: -12px 0 32px; font-size: 14px; }
.archive-year { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; margin: 0 0 25px; }
.archive-year h2, .archive-year h3 { color: var(--muted); font-size: 12px; font-weight: 400; margin: 3px 0 0; }
.archive-year ul { list-style: none; margin: 0; padding: 0; }
.archive-year li { margin: 0 0 13px; line-height: 1.45; }
.archive-year time { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.home-writing { margin-top: 48px; }
.home-writing > h2 { margin: 0 0 24px; }
.article img, .article video, .article iframe { max-width: 100%; height: auto; }
.article iframe { aspect-ratio: 16 / 9; width: 100%; }
.article img { display: block; margin: 24px auto; }
.article figure { margin: 28px 0; }
[data-lightbox] { cursor: zoom-in; }
html.lightbox-open { overflow: hidden; }
.lightbox { width: 90vw; height: 90vh; height: 90dvh; max-width: none; max-height: none; margin: auto; padding: 0; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.lightbox::backdrop { background: rgb(0 0 0 / 80%); }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox-toolbar { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; flex: none; }
.lightbox button { font: inherit; color: var(--link); background: none; border: 0; padding: 4px; cursor: pointer; }
.lightbox-view { flex: 1; min-height: 0; display: flex; overflow: auto; padding: 0 16px 16px; }
.lightbox-view img { display: block; flex: none; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox.actual-size .lightbox-view img { max-width: none; max-height: none; }
.lightbox-status { padding: 0 20px; }
.lightbox [hidden] { display: none; }
.linear-article .hide-dark, .linear-article .show-mobile { display: none; }
html[data-theme="light"] .linear-article .hide-light { display: none; }
html[data-theme="light"] .linear-article .hide-dark { display: block; }
@media (prefers-color-scheme: light) { html:not([data-theme]) .linear-article .hide-light { display: none; } html:not([data-theme]) .linear-article .hide-dark { display: block; } }
@media (max-width: 560px) { .linear-article .hide-mobile { display: none; } .linear-article .show-mobile { display: block; } }
.article figcaption, .article .caption, .article .small, .article small { font-size: 11px; color: var(--muted); }
.article blockquote { margin: 28px 0; padding: 0 0 0 22px; border-left: 2px solid var(--quote-rule); color: var(--quote-ink); }
.article img[src="/static/images/posts/lottie.gif"] { box-shadow: 0 0 0 8px var(--image-frame) !important; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }
pre { overflow-x: auto; padding: 16px; background: var(--code-paper); font-size: 14px; line-height: 1.6; }
code { font-size: .85em; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; border-bottom: 1px solid var(--rule); padding: 8px; }
.theme-toggle { appearance: none; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; line-height: 1; cursor: pointer; }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle[hidden] { display: none; }
.draft-notice { font-family: system-ui, sans-serif; font-size: 12px; margin: 0 0 24px; padding: 8px 12px; background: var(--draft-paper); color: var(--draft-ink); }
.article [style*="width"], .article .column, .article .photocol { max-width: 100%; }
.article .iphone { float: none !important; margin: 28px auto !important; width: 324px; max-width: 100%; }
.article .wrap { max-width: 100%; }
.article-navigation { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 22px; font-size: 12px; }
.post-navigation { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); }
.post-navigation a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 40px; font-size: 14px; line-height: 1; }
.post-navigation .post-prev { margin-left: -8px; }
.post-navigation .post-next { margin-left: auto; margin-right: -8px; }
@media (max-width: 560px) { body { padding: 36px 22px 40px; } .site-header { margin-bottom: 34px; } .archive-year { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; } }
