:root {
  color-scheme: light dark;
  --brand: #078b8d;
  --brand-bright: #066f71;
  --brand-wash: #e8f4f0;
  --accent: #f16b84;
  --ink: #192321;
  --muted: #65716e;
  --canvas: #f3f6f5;
  --surface: #fff;
  --surface-raised: #fff;
  --line: #e2e9e6;
  --soft: #edf2f0;
  --code-keyword: #0550ae;
  --code-muted: #545d66;
  --shadow: 0 12px 34px rgb(25 50 45 / 6%);
  --body-font: "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --heading-font: "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.72 var(--body-font); font-feature-settings: "kern" 1, "liga" 1; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; text-underline-offset: .2em; }
a:hover { color: var(--brand-bright); text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; border-radius: 4px; }
::selection { color: #fff; background: var(--brand); }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-brand { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1280px; margin: 0 auto; padding: 24px 32px 20px; }
.site-title { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 20px; font-weight: 750; letter-spacing: -.045em; }
.site-title:hover { color: var(--ink); text-decoration: none; }
.header-search { display: flex; width: min(100%, 390px); min-width: 230px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas); transition: border-color .18s ease, box-shadow .18s ease; }
.header-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.header-search input { flex: 1; min-width: 0; padding: 10px 15px; border: 0; outline: 0; color: var(--ink); background: transparent; font: 14px/1.4 var(--body-font); }
.header-search input::placeholder { color: var(--muted); }
.header-search button { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 0; color: var(--brand); background: transparent; cursor: pointer; }
.header-search button:hover { color: var(--brand-bright); }
.header-search button:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: -4px; border-radius: 50%; }
.header-search svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.brand-mark { display: block; width: 64px; height: 64px; flex: 0 0 64px; border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); border-radius: 17px; background: var(--brand-wash); object-fit: contain; box-shadow: 0 6px 18px rgb(8 127 125 / 18%); }
.brand-name { font-size: 21px; }
.main-nav { position: relative; z-index: 10; border-top: 1px solid var(--line); background: var(--surface); }
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; max-width: 1280px; margin: 0 auto; padding: 7px 32px; }
.nav-item { position: relative; }
.nav-inner a { display: block; padding: 9px 13px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 650; transition: color .18s ease, background .18s ease; }
.nav-inner > .nav-item > a:hover, .nav-inner > .nav-item > a:focus-visible { color: var(--brand); background: var(--brand-wash); text-decoration: none; }
.submenu { position: absolute; top: calc(100% + 3px); left: 0; display: none; min-width: 230px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-raised); box-shadow: var(--shadow); }
.submenu a { padding: 9px 11px; white-space: nowrap; }
.submenu a:hover { color: var(--brand); background: var(--brand-wash); text-decoration: none; }
.nav-item:hover .submenu, .nav-item:focus-within .submenu { display: block; }

.page-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 292px; align-items: start; gap: 54px; max-width: 1280px; min-height: 70vh; margin: 0 auto; padding: 48px 32px 72px; }
.home-page-wrap { display: block; max-width: 1880px; padding-right: 32px; padding-left: 32px; }
.main-content { min-width: 0; }
.archive-heading { margin: 2px 0 30px; }
.home-heading { max-width: 740px; margin-bottom: 35px; }
.eyebrow { margin: 0 0 9px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.5; text-transform: uppercase; }
.archive-heading h1 { margin: 0; font: 700 clamp(32px, 4vw, 48px)/1.12 var(--heading-font); letter-spacing: -.04em; }
.archive-heading > p:last-child:not(.eyebrow) { max-width: 640px; margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.home-heading h1 { max-width: 700px; }

.home-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.home-post-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-raised); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.home-post-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); box-shadow: 0 18px 42px rgb(25 50 45 / 10%); }
.home-post-card__image { display: grid; width: 100%; aspect-ratio: 1 / 1; place-items: center; overflow: hidden; padding: 8px; border-bottom: 1px solid var(--line); background: var(--soft); }
.home-post-card__image img { width: 100%; height: 100%; object-fit: contain; }
.home-post-card__copy { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; padding: 17px 18px 18px; }
.home-post-card h2 { margin: 10px 0 9px; font: 680 clamp(17px, 1.3vw, 21px)/1.28 var(--heading-font); letter-spacing: -.025em; }
.home-post-card h2 a { color: var(--ink); }
.home-post-card h2 a:hover { color: var(--brand); text-decoration: none; }
.home-post-card .category-chips { min-height: 22px; }
.home-post-card .category-chips a { padding: 3px 7px; font-size: 9px; }
.home-post-card .post-meta { font-size: 11px; }
.home-post-card .preview-summary { margin: 10px 0 14px; font-size: 13px; line-height: 1.6; }
.home-post-card .read-more { margin-top: auto; font-size: 12px; }
.post-preview { display: flex; overflow: hidden; margin: 0 0 19px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface-raised); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-preview:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 28%, var(--line)); box-shadow: 0 18px 42px rgb(25 50 45 / 10%); }
.post-card-image { display: grid; flex: 0 0 220px; min-height: 160px; place-items: center; overflow: hidden; padding: 9px; border-right: 1px solid var(--line); background: var(--soft); }
.post-card-image img { width: 100%; height: 100%; max-height: 185px; object-fit: contain; }
.preview-copy { min-width: 0; padding: 25px 29px 27px; }
.post-preview h2 { max-width: 760px; margin: 5px 0 9px; font: 680 24px/1.28 var(--heading-font); letter-spacing: -.025em; }
.post-preview h2 a { color: var(--ink); }
.post-preview h2 a:hover { color: var(--brand); text-decoration: none; }
.category-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.category-chips a { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; color: var(--brand); background: var(--brand-wash); font-size: 10px; font-weight: 800; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.category-chips a:hover { color: #fff; background: var(--brand); text-decoration: none; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 550; }
.preview-summary { margin: 14px 0 16px; color: var(--muted); font-size: 15px; line-height: 1.72; }
.preview-summary p { margin: 0; }
.read-more { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: 13px; font-weight: 750; }
.read-more span { transition: transform .18s ease; }
.read-more:hover { color: var(--brand-bright); text-decoration: none; }
.read-more:hover span { transform: translateX(3px); }
.pagination { margin-top: 32px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; list-style: none; }
.pagination li a, .pagination li span { display: grid; min-width: 38px; min-height: 38px; place-items: center; padding: 5px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }

.sidebar { display: grid; gap: 17px; padding-top: 5px; }
.widget { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }
.widget h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.widget h2::before { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-bright); content: ""; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.widget li:first-child { border-top: 0; }
.widget li a { color: var(--ink); font-weight: 600; }
.widget li a:hover { color: var(--brand); }

.single-post { padding: 0; }
.article-header { max-width: 850px; margin: 0 auto 30px; }
.article-header h1 { margin: 13px 0 14px; font: 720 clamp(36px, 5vw, 58px)/1.08 var(--heading-font); letter-spacing: -.045em; }
.article-deck { max-width: 720px; margin: 0 0 19px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.qa-article-header { padding: 22px 26px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: var(--shadow); }
.qa-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.qa-mark { display: inline-grid; min-width: 45px; min-height: 30px; place-items: center; border-radius: 9px; color: var(--brand); background: var(--brand-wash); font-size: 11px; letter-spacing: .02em; }
.qa-note { margin: 17px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.question-answer-post .entry-content h2 { padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.question-answer-post .entry-content h2:first-of-type { color: var(--brand); }
.question-answer-post .entry-content h2:nth-of-type(2) { color: var(--ink); }
.author-avatar { display: inline-grid; width: 30px; height: 30px; place-items: center; border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); border-radius: 50%; color: var(--brand); background: var(--brand-wash); font-size: 9px; font-weight: 850; letter-spacing: -.04em; }
.entry-content { max-width: 78ch; margin: 0 auto; color: var(--ink); font-size: 17px; line-height: 1.82; overflow-wrap: anywhere; }
.entry-content > * { margin-top: 0; margin-bottom: 1.45em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2.1em; font-family: var(--heading-font); font-weight: 680; line-height: 1.3; letter-spacing: -.02em; }
.entry-content h2 { font-size: 31px; }
.entry-content h3 { font-size: 24px; }
.entry-content p { margin-top: 0; }
.entry-content a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 38%, transparent); text-decoration-thickness: 1px; }
.entry-content img { height: auto; border-radius: 12px; }
.entry-content figure { margin: 2em auto; text-align: center; }
.entry-content figure.alignright { float: right; clear: right; width: min(46%, 360px); margin: .25em 0 1.1em 1.6em; text-align: left; }
.entry-content figure.alignleft { float: left; clear: left; width: min(46%, 360px); margin: .25em 1.6em 1.1em 0; text-align: left; }
.entry-content figure.aligncenter { margin-right: auto; margin-left: auto; }
.entry-content figure img { display: inline-block; }
.entry-content figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.entry-content pre, .entry-content code { color: var(--ink); background: var(--soft); }
.entry-content code { padding: .12em .35em; border-radius: 5px; font-size: .88em; }
.entry-content pre { overflow-x: auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; line-height: 1.6; }
.entry-content pre code { padding: 0; background: transparent; }
/* Keep highlighted code surfaces tied to the active site theme. */
.entry-content .highlight pre, .entry-content pre.chroma { color: var(--ink); background-color: var(--soft) !important; }
.entry-content .chroma .bp, .entry-content .chroma .ln, .entry-content .chroma .lnt { color: var(--code-muted) !important; }
.entry-content .chroma .k, .entry-content .chroma .kc, .entry-content .chroma .kd,
.entry-content .chroma .kn, .entry-content .chroma .kp, .entry-content .chroma .kr,
.entry-content .chroma .kt { color: var(--code-keyword) !important; }
.entry-content blockquote { margin-left: 0; padding: 5px 0 5px 20px; border-left: 3px solid var(--brand); color: var(--muted); font-family: var(--body-font); font-size: 18px; line-height: 1.65; }
.entry-content .tweet-card { display: block; width: 100%; max-width: 620px; margin: 1.8em 0; padding: 18px 20px 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--surface-raised); box-shadow: var(--shadow); text-align: left; }
.entry-content .tweet-card--right { float: right; clear: right; width: min(100%, 380px); margin: .25em 0 22px 28px; }
.tweet-card__header { display: flex; align-items: center; gap: 11px; }
.tweet-card__avatar { display: block; width: 42px; height: 42px; flex: 0 0 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); background: var(--brand-wash); font-size: 13px; font-weight: 800; letter-spacing: -.04em; object-fit: cover; object-position: center 38%; }
.tweet-card__avatar:not(img) { display: grid; place-items: center; }
.tweet-card__identity { display: flex; min-width: 0; flex-direction: column; line-height: 1.35; }
.tweet-card__identity strong { overflow: hidden; color: var(--ink); font-size: 16px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.tweet-card__identity span { color: var(--muted); font-size: 13px; }
.tweet-card__brand { display: flex; align-items: center; gap: 5px; margin-left: auto; color: #1d9bf0; font-size: 11px; font-weight: 750; letter-spacing: -.035em; }
.tweet-card__bird { display: block; width: 18px; height: 18px; flex: 0 0 18px; fill: #1da1f2; }
.entry-content .tweet-card__text { margin: 14px 0 16px; color: var(--ink); font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.tweet-card__text p { margin: 0 0 .65em; }
.tweet-card__text p:last-child { margin-bottom: 0; }
.tweet-card__image { max-height: 420px; width: auto; margin: 12px auto; border: 1px solid var(--line); border-radius: 12px; object-fit: contain; }
.tweet-card__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.search-status { color: var(--muted); font-size: 14px; }
.search-results { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.search-results li { padding: 18px 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.search-results h2 { margin: 0 0 3px; font-size: 19px; line-height: 1.35; }
.search-results time { color: var(--muted); font-size: 12px; }
.search-results p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--soft); }
.post-taxonomy { padding-top: 9px; color: var(--muted); font-size: 12px; }
.post-footer { max-width: 78ch; margin: 44px auto 0; }
.post-history { margin-top: 32px; padding-top: 25px; border-top: 1px solid var(--line); }
.post-history h2, .giscus-comments h2 { margin: 0 0 18px; color: var(--ink); font: 650 25px/1.25 var(--heading-font); letter-spacing: -.025em; }
.reference-list, .comment-list { margin: 0; padding: 0; list-style: none; }
.reference-list > li, .comment-card { margin: 0 0 13px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.reference-list > li { border-left: 3px solid var(--brand); }
.reference-list time, .comment-meta time { margin-left: 9px; color: var(--muted); font-size: 11px; }
.reference-list blockquote { margin: 10px 0 0; padding-left: 13px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.65; white-space: pre-wrap; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; }
.comment-meta strong { font-size: 13px; }
.comment-body { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.giscus-comments { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }

.site-footer { color: #d7e4e0; background: #15211f; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; max-width: 1280px; margin: 0 auto; padding: 26px 32px; font-size: 12px; }
.footer-inner p { margin: 0; }
.site-footer a { color: #8ad6ce; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #70d8cd;
    --brand-bright: #91ebe0;
    --brand-wash: #1b3532;
    --ink: #e7efec;
    --muted: #a0b1ac;
    --canvas: #101715;
    --surface: #151e1b;
    --surface-raised: #192320;
    --line: #2b3935;
    --soft: #202c28;
    --code-keyword: #79c0ff;
    --code-muted: #8b949e;
    --shadow: 0 12px 34px rgb(0 0 0 / 18%);
  }
  .site-footer { background: #0b100f; }
}

:root[data-theme="light"] {
  color-scheme: light;
  --brand: #078b8d; --brand-bright: #066f71; --brand-wash: #e8f4f0; --accent: #f16b84;
  --ink: #192321; --muted: #65716e; --canvas: #f3f6f5;
  --surface: #fff; --surface-raised: #fff; --line: #e2e9e6; --soft: #edf2f0;
  --code-keyword: #0550ae;
  --code-muted: #545d66;
  --shadow: 0 12px 34px rgb(25 50 45 / 6%);
}
:root[data-theme="light"] .site-footer { background: #15211f; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #70d8cd; --brand-bright: #91ebe0; --brand-wash: #1b3532; --accent: #ff91a4;
  --ink: #e7efec; --muted: #a0b1ac; --canvas: #101715;
  --surface: #151e1b; --surface-raised: #192320; --line: #2b3935; --soft: #202c28;
  --code-keyword: #79c0ff;
  --code-muted: #8b949e;
  --shadow: 0 12px 34px rgb(0 0 0 / 18%);
}
:root[data-theme="dark"] .site-footer { background: #0b100f; }

.theme-toggle { position: fixed; z-index: 20; right: 22px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface-raised); box-shadow: 0 5px 18px rgb(0 0 0 / 14%); font: 650 12px/1 var(--body-font); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.theme-toggle:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(0 0 0 / 18%); }
.theme-toggle-icon { color: var(--brand); font-size: 18px; }
.theme-toggle:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 3px; }

@media (max-width: 900px) {
  .page-wrap { grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; padding: 36px 24px 56px; }
  .site-brand, .nav-inner { padding-right: 24px; padding-left: 24px; }
  .post-card-image { flex-basis: 185px; }
  .preview-copy { padding: 22px; }
}
@media (min-width: 600px) {
  .home-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .home-post-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 2400px) {
  .home-post-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 3200px) {
  .home-post-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .site-brand { align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px 18px 15px; }
  .header-search { width: 100%; min-width: 0; }
  .brand-mark { width: 56px; height: 56px; flex-basis: 56px; border-radius: 15px; }
  .brand-name { font-size: 19px; }
  .nav-inner { flex-wrap: nowrap; overflow-x: auto; padding: 7px 12px; scrollbar-width: thin; }
  .nav-item { flex: 0 0 auto; }
  .nav-inner a { padding: 9px 10px; font-size: 12px; }
  .submenu { position: fixed; top: auto; left: 12px; max-width: calc(100vw - 24px); }
  .page-wrap { grid-template-columns: 1fr; gap: 28px; margin: 0 auto; padding: 32px 16px 48px; }
  .home-heading { margin-bottom: 25px; }
  .home-heading h1 { font-size: 37px; }
  .post-preview { flex-direction: column; margin-bottom: 14px; border-radius: 14px; }
  .home-page-wrap { padding: 32px 16px 48px; }
  .home-post-grid { gap: 12px; }
  .home-post-card { border-radius: 12px; }
  .home-post-card__copy { padding: 11px 12px 13px; }
  .home-post-card h2 { margin: 8px 0; font-size: 16px; }
  .home-post-card .category-chips { gap: 4px; }
  .home-post-card .category-chips a { padding: 2px 5px; font-size: 8px; }
  .home-post-card .post-meta { gap: 4px; font-size: 10px; }
  .home-post-card .preview-summary { margin: 8px 0 10px; font-size: 12px; }
  .post-card-image { flex: 0 0 auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .post-card-image img { width: 100%; height: 100%; max-height: none; }
  .preview-copy { padding: 20px; }
  .post-preview h2 { font-size: 23px; }
  .sidebar { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
  .article-header h1 { font-size: 40px; }
  .qa-article-header { padding: 19px; }
  .article-deck { font-size: 17px; }
  .entry-content { font-size: 16px; line-height: 1.78; }
  .entry-content h2 { font-size: 27px; }
  .entry-content figure.alignright, .entry-content figure.alignleft { float: none; clear: both; width: auto; max-width: 100%; margin: 1.5em auto; }
  .entry-content .tweet-card--right { float: none; clear: both; width: 100%; max-width: 100%; margin: 1.5em 0; }
  .post-footer { margin-top: 34px; }
  .footer-inner { display: grid; gap: 8px; padding: 22px 18px; }
  .theme-toggle { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Minimal standalone landing pages, matching the original shrink-page layout. */
.standalone-body { color: #202020; background: #a4a6a8; }
.standalone-sheet { display: flex; flex-direction: column; width: min(95%, 2400px); min-height: 88vh; margin: 4vh auto; overflow: hidden; color: #202020; background: #fff; box-shadow: 0 3px 18px rgb(0 0 0 / 15%); }
.standalone-header { padding: 26px 24px 0; text-align: center; }
.standalone-header h1 { margin: 0; font-size: clamp(23px, 1.55vw, 38px); font-weight: 400; line-height: 1.3; letter-spacing: -.035em; }
.standalone-main { display: flex; flex: 1; min-height: 76vh; }
.standalone-message { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; padding: 2vh 28px 82px; }
.shrink-answer { display: flex; flex-direction: column; justify-content: center; flex: 1; width: 100%; color: #cf352e; text-align: center; font-size: clamp(86px, 10vw, 220px); font-weight: 300; line-height: 1.35; letter-spacing: -.055em; }
.shrink-answer p { margin: 0; }
.shrink-answer p + p { margin-top: .48em; }
.standalone-note { max-width: 92%; margin: 0 auto 20px; font-size: 15px; line-height: 1.55; text-align: center; }
.standalone-note a { color: #078b8d; }
.shrink-methods { position: absolute; bottom: 26px; left: 28px; margin: 0; padding: 0; list-style: none; font: 8px/1.4 ui-monospace, Consolas, monospace; }
.shrink-methods li { display: flex; gap: 3px; align-items: center; }
.shrink-methods code { color: inherit; background: transparent; }
.standalone-links { display: grid; gap: 14px; width: min(900px, 92%); margin: 0 auto 24px; padding: 0; list-style: none; text-align: center; font-size: clamp(16px, 1.4vw, 24px); font-weight: 600; }
.standalone-footer { padding: 14px 4%; color: #d7e4e0; background: #231f20; font-size: 13px; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) body.standalone-body { color: #e8efec; background: #101715; }
  html:not([data-theme]) .standalone-sheet { color: #e8efec; background: #192320; }
  html:not([data-theme]) .standalone-footer { color: #d7e4e0; background: #0b100f; }
  html:not([data-theme]) .standalone-note a { color: #70d8cd; }
}
html[data-theme="dark"] body.standalone-body { color: #e8efec; background: #101715; }
html[data-theme="dark"] .standalone-sheet { color: #e8efec; background: #192320; }
html[data-theme="dark"] .standalone-footer { color: #d7e4e0; background: #0b100f; }
html[data-theme="dark"] .standalone-note a { color: #70d8cd; }
@media (max-width: 700px) {
  .standalone-sheet { width: 100%; min-height: 100svh; margin: 0; box-shadow: none; }
  .standalone-header { padding: 24px 16px 0; }
  .standalone-main { min-height: calc(100svh - 100px); }
  .standalone-message { padding: 3vh 16px 104px; }
  .shrink-answer { font-size: clamp(64px, 14vw, 110px); }
  .standalone-note { max-width: 100%; margin-bottom: 22px; font-size: 14px; }
  .shrink-methods { bottom: 24px; left: 16px; }
  .standalone-links { font-size: 17px; }
}
