/* Fonts */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/SourceSerif4-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/SourceSerif4-var-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/JetBrainsMono-var-latin.woff2") format("woff2");
}

/* Palette — light by default, dark via system preference or the stored toggle */
:root {
  --bg: #f7f4ee;
  --panel: #ffffff;
  --panel-2: #efeae1;
  --border: #e4ded3;
  --border-strong: #d8d1c4;
  --text: #1a1814;
  --text-2: #3d3830;
  --muted: #5c564c;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-contrast: #ffffff;
  --accent-soft: #fce9dc;
  --accent-ink: #9a3412;
  --field: #ffffff;
  --code-bg: #1a1814;
  --code-border: #2e2a25;
  --code-text: #f2eee6;
  --inline-code: #efeae1;
  --ink: #1a1814;
  --ink-text: #f2eee6;
  --ink-muted: #cfc7b8;
  --ok: #15803d;
  --shadow: 0 14px 32px rgba(26, 24, 20, .10);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--sans);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: 24px;
  --max: 1200px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #12110f;
  --panel: #1c1a17;
  --panel-2: #171513;
  --border: #2e2a25;
  --border-strong: #3a342c;
  --text: #f2eee6;
  --text-2: #d9d2c5;
  --muted: #a8a092;
  --accent: #ffb454;
  --accent-hover: #ffc678;
  --accent-contrast: #241503;
  --accent-soft: #3b2a14;
  --accent-ink: #ffb454;
  --field: #1c1a17;
  --code-bg: #0b0a09;
  --code-border: #2e2a25;
  --code-text: #f2eee6;
  --inline-code: #26231f;
  --ink: #0b0a09;
  --ok: #3dd68c;
  --shadow: 0 14px 32px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12110f;
    --panel: #1c1a17;
    --panel-2: #171513;
    --border: #2e2a25;
    --border-strong: #3a342c;
    --text: #f2eee6;
    --text-2: #d9d2c5;
    --muted: #a8a092;
    --accent: #ffb454;
    --accent-hover: #ffc678;
    --accent-contrast: #241503;
    --accent-soft: #3b2a14;
    --accent-ink: #ffb454;
    --field: #1c1a17;
    --code-bg: #0b0a09;
    --code-border: #2e2a25;
    --code-text: #f2eee6;
    --inline-code: #26231f;
    --ink: #0b0a09;
    --ok: #3dd68c;
    --shadow: 0 14px 32px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  font: 16px/1.5 var(--display);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
svg { flex-shrink: 0; }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 8px 14px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

/* Reading progress */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .bar {
  max-width: var(--max);
  margin: 0 auto;
  height: 68px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo { color: var(--text); font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.logo span { color: var(--accent); }
.logo:hover { color: var(--text); }

.menu { flex-grow: 1; display: flex; align-items: center; gap: 24px; min-width: 0; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-grow: 1; }
.site-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--text); background: var(--panel-2); }
.site-nav a[aria-current="page"] { color: var(--accent); }

.tools { display: flex; align-items: center; gap: 8px; }

/* Icon buttons */
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.iconbtn:hover { border-color: var(--accent); color: var(--accent); }
.iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.only-mobile { display: none; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}

/* Search */
.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 240px;
  height: 44px;
  padding: 0 10px 0 12px;
  background: var(--field);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
}
.search:focus-within { border-color: var(--accent); }
.search > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search input {
  flex-grow: 1;
  min-width: 0;
  background: transparent;
  color: var(--text);
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 15px;
}
.search input:focus { outline: none; }
.search input::placeholder { color: var(--muted); }
.search kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 1px 7px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
}

.results {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(460px, calc(100vw - 32px));
  max-height: 60vh;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
}
.results a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); }
.results a:hover, .results a.on { background: var(--panel-2); }
.results strong { display: block; font-size: 15px; font-weight: 600; }
.results span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; font-family: var(--serif); }
.results .empty { margin: 0; padding: 12px; color: var(--muted); font-size: 14px; }

/* Layout */
main { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 80px; }
.page-title { margin: 0 0 6px; font-family: var(--display); font-size: clamp(34px, 5vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.listing .topics { margin-bottom: 32px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-contrast);
  border: 1.5px solid var(--accent);
  font-size: 17px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-contrast); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-line { background: transparent; color: var(--text); border-color: var(--text); }
.btn-line:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font: 500 15px/1 var(--display);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost.done { color: var(--ok); border-color: var(--ok); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
  padding: 32px 0 64px;
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero .eyebrow { margin: 0; }
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin: 0; max-width: 620px; font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.follow { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 15px; }
.follow .social { display: flex; gap: 10px; }
.follow .social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
}
.follow .social a:hover { color: var(--accent); border-color: var(--accent); }
.follow .social svg { width: 18px; height: 18px; fill: currentColor; }

/* Topic chips */
.band-topics { display: flex; align-items: center; gap: 16px; padding-bottom: 56px; }
.band-topics .label { font-weight: 600; white-space: nowrap; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.topics a span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.topics a:hover { border-color: var(--accent); color: var(--accent); }
.topics a[aria-current="page"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.topics a[aria-current="page"] span { color: var(--bg); opacity: .7; }

/* Sections */
.block { padding-bottom: 96px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.section-head h2, .section-intro h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.025em; line-height: 1.1; }
.section-head a, .section-intro a { font-weight: 600; white-space: nowrap; }
.section-intro { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.section-intro .eyebrow { margin: 0; color: var(--accent-ink); }
.section-intro p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--muted); }

/* Covers */
.cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 180, 84, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 180, 84, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cover svg { width: 58%; max-height: 72%; fill: none; stroke: #cfc7b8; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cover svg .hot { stroke: #ffb454; }
.cover svg circle.hot { fill: #ffb454; }
.cover-label {
  position: absolute;
  left: 16px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a8a092;
}
.cover.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.card:hover .cover.has-img img { transform: scale(1.03); }

/* Post cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card:focus-within { border-color: var(--accent); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex-grow: 1; }
.card h2, .card h3 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; text-wrap: balance; }
.card h2 a, .card h3 a { color: var(--text); }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h2 a, .card:hover h3 a { color: var(--accent); }
.card p {
  margin: 0;
  font-family: var(--serif);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker .hl { color: var(--accent-ink); }
.kicker .badge { padding: 2px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; margin-right: 4px; }

/* Featured newest post */
.card.featured { border-radius: 20px; }
.card.featured .cover { aspect-ratio: 16 / 9; }
.card.featured .card-body { padding: 26px 28px 30px; gap: 12px; }
.card.featured h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.card.featured p { font-size: 17px; }

/* Series */
.series-band {
  position: relative;
  padding-top: 88px;
  padding-bottom: 88px;
  margin-bottom: 96px;
}
.series-band::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background: var(--panel-2);
  z-index: -1;
}
.series-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.series-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
}
.series-box header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.series-box h3 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.series-box header span { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.series-box ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.series-box li { display: flex; gap: 12px; font-size: 16px; line-height: 1.35; }
.series-box li span { font-family: var(--mono); font-size: 14px; color: var(--accent-ink); padding-top: 1px; }
.series-box li a { color: var(--text); }
.series-box li a:hover { color: var(--accent); }
.series-box .more { margin-top: auto; font-weight: 600; }

/* From the archive */
.from-archive { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--border); }
.rows li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.rows time, .rows span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.rows a { color: var(--text); font-size: 19px; font-weight: 500; line-height: 1.35; }
.rows a:hover { color: var(--accent); }

/* Follow band */
.follow-band {
  display: flex;
  border: 1px solid var(--border);
  align-items: center;
  gap: 40px;
  padding: 56px 64px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--ink-text);
}
.follow-band > div:first-child { flex-grow: 1; }
.follow-band h2 { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.02em; line-height: 1.1; }
.follow-band h2 em { font-style: normal; color: #ffb454; }
.follow-band p { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--ink-muted); max-width: 560px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.follow-band .btn { background: #ffb454; border-color: #ffb454; color: #1a1814; }
.follow-band .btn:hover { background: #ffc678; border-color: #ffc678; }
.follow-band .btn svg { fill: currentColor; stroke: none; }
.follow-band .btn-line { background: transparent; border-color: #6b6457; color: var(--ink-text); }
.follow-band .btn-line:hover { border-color: #ffb454; color: #ffb454; background: transparent; }

/* Post */
.post-head { max-width: 860px; margin: 24px auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips a {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.chips a:hover { background: var(--accent); color: var(--accent-contrast); }
.post-head h1 {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.dek { margin: 0; max-width: 720px; font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 16px; margin-top: 4px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; display: block; }
.byline .who { display: flex; flex-direction: column; text-align: left; gap: 2px; }
.byline .who a { color: var(--text); font-weight: 600; }
.byline .who a:hover { color: var(--accent); }
.byline .who span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.byline .actions { display: flex; gap: 8px; padding-left: 16px; border-left: 1px solid var(--border); }

.post-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 700px) 220px;
  justify-content: center;
  gap: 56px;
  align-items: start;
}
.post.no-toc .post-grid { grid-template-columns: minmax(0, 700px); }
.post-main { min-width: 0; grid-column: 2; }
.post.no-toc .post-main { grid-column: 1; }
.toc-mobile { display: none; }

/* Prose */
.prose { min-width: 0; max-width: 760px; font-family: var(--serif); font-size: 19px; line-height: 1.72; color: var(--text-2); }
.prose h1 { margin: 0 0 16px; font-family: var(--display); font-size: clamp(34px, 5vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
.prose h2 { margin: 2.1em 0 .6em; font-family: var(--display); font-size: clamp(26px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--text); }
.prose h3 { margin: 1.7em 0 .5em; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--text); }
.prose h4 { margin: 1.4em 0 .5em; font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); text-decoration-thickness: 2px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prose img {
  display: block;
  margin: 1.8em auto;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.prose img[src*="author"] { max-width: 150px; border-radius: 50%; border: 0; margin: 0 0 1rem; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--muted);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-family: var(--display); font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { font-weight: 600; color: var(--text); border-bottom-width: 2px; }
.prose .headerlink { color: var(--muted); opacity: 0; margin-left: .35em; font-weight: 400; text-decoration: none; }
.prose h2:hover .headerlink, .prose h3:hover .headerlink, .prose h4:hover .headerlink { opacity: 1; }
.prose .footnote { font-size: 15px; color: var(--muted); border-top: 1px solid var(--border); margin-top: 2.4em; }
.prose[data-post] > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.1em;
  line-height: .82;
  font-weight: 700;
  margin: .08em .1em 0 0;
  color: var(--accent);
}

/* Legacy article layout (pages) */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 56px; align-items: start; }
.article.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }

/* Video */
.prose .video { margin: 1.8em 0; }
.video-play {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--field);
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; border-radius: 0; }
.video-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 48px;
  border-radius: 10px;
  background: rgba(15, 20, 25, .75);
  transition: background .15s ease;
}
.video-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff;
}
.video-play:hover .video-icon, .video-play:focus-visible .video-icon { background: #cc0000; }
.prose .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: 12px; }
.prose .video figcaption { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Math */
.prose math { font-size: 1.05em; }
.prose math[display="block"] {
  display: block;
  margin: 1.5em 0;
  overflow-x: auto;
  overflow-y: hidden;
  font-size: 1.15em;
}

/* Code */
code, pre, kbd { font-family: var(--mono); }
.prose :not(pre) > code {
  background: var(--inline-code);
  border-radius: 5px;
  padding: .1em .36em;
  font-size: .84em;
  color: var(--text);
}
.codeblock { position: relative; margin: 1.6em 0; }
.prose pre, .highlight pre {
  margin: 0;
  background: var(--code-bg);
  color: var(--code-text);
  border: 1px solid var(--code-border);
  border-radius: 12px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 14.5px;
  line-height: 1.6;
}
.copy {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #26231f;
  color: #cfc7b8;
  border: 1px solid #3a342c;
  border-radius: 6px;
  padding: 4px 10px;
  font: 500 12px/1.4 var(--mono);
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s ease;
}
.codeblock:hover .copy, .copy:focus { opacity: 1; }
.copy:hover { color: #ffb454; border-color: #ffb454; }
.copy.done { color: #3dd68c; border-color: #3dd68c; }
@media (hover: none) { .copy { opacity: 1; } }

/* Admonitions */
.admonition {
  margin: 1.6em 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 17px;
}
.admonition > :last-child { margin-bottom: 0; }
.admonition-title {
  margin: 0 0 .5em;
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* TOC */
.toc-panel { position: sticky; top: 96px; font-size: 15px; }
.toc-panel .label, .toc-mobile summary {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.toc-panel ul, .toc-mobile ul { list-style: none; margin: 0; padding: 0; }
.toc-panel > .toc > ul { border-left: 2px solid var(--border); }
.toc-panel ul ul, .toc-mobile ul ul { padding-left: 14px; }
.toc-panel a { display: block; color: var(--muted); padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.35; }
.toc-panel a:hover { color: var(--text); }
.toc-panel a.on { color: var(--accent); border-left-color: var(--accent); font-weight: 600; }

/* Prev / next */
.adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.adjacent a {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}
.adjacent a:hover { border-color: var(--accent); color: var(--accent); }
.adjacent .dir { display: block; color: var(--muted); font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.adjacent .next { text-align: right; }

/* Series box in posts */
.series {
  margin: 0 0 36px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 16px;
}
.series .label {
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.series ol { margin: 10px 0 0; padding-left: 1.4em; }
.series li { margin: 5px 0; }
.series li::marker { color: var(--muted); font-family: var(--mono); font-size: 14px; }
.series li a { color: var(--text); }
.series li a:hover { color: var(--accent); }
.series li.cur { font-weight: 700; color: var(--accent-ink); }

/* Author card */
.author-card {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 40px;
  padding: 28px;
  border-radius: 18px;
  background: var(--panel-2);
}
.author-card .avatar { width: 80px; height: 80px; flex-shrink: 0; }
.author-card .name { font-weight: 700; font-size: 19px; margin-bottom: 4px; }
.author-card p { margin: 0 0 8px; font-family: var(--serif); font-size: 16.5px; line-height: 1.5; color: var(--text-2); }
.author-card .links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; font-size: 15px; }

/* Archive */
.archive { max-width: 760px; margin: 0 auto; }
.archive-year { margin: 0 0 40px; }
.archive-year h2 { margin: 0 0 8px; font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--accent-ink); }
.archive-year ul { list-style: none; margin: 0; padding: 0; }
.archive-year li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
}
.archive-year li a { color: var(--text); font-weight: 500; }
.archive-year li a:hover { color: var(--accent); }
.archive-year time { color: var(--muted); font-family: var(--mono); font-size: 13px; white-space: nowrap; }

/* Publications */
.pubs ol { list-style: none; margin: 1.2em 0 0; padding: 0; counter-reset: pub; }
.pubs ol > li {
  position: relative;
  counter-increment: pub;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px 18px 58px;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.6;
}
.pubs ol > li::before {
  content: counter(pub, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 19px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
}
.pubs ol > li a {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 12px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
}
.pubs ol > li a:hover { color: var(--accent); border-color: var(--accent); }
.pubs ol > li a.done { color: var(--ok); border-color: var(--ok); }

/* Comments */
.comments { margin-top: 40px; }
.comments-load {
  display: block;
  width: 100%;
  min-height: 52px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px;
  font: 600 16px/1.4 var(--display);
  cursor: pointer;
}
.comments-load:hover { color: var(--accent); border-color: var(--accent); }

/* Share */
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.share .label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-right: 6px;
}
.share a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.share a:hover { color: var(--accent); border-color: var(--accent); }

/* Related posts */
.related { margin-top: 96px; }

/* Mobile reading bar */
.readbar { display: none; }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 15px;
}
footer.site .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--gutter) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.foot-brand p { margin: 6px 0 0; font-size: 14px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--accent); }
footer.site .logo { color: var(--text); }
footer.site .social { display: flex; gap: 8px; }
footer.site .social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}
footer.site .social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
footer.site .legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  font-size: 14px;
}

/* Consent */
.consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: min(400px, calc(100vw - 32px));
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.consent h2 { margin: 0 0 6px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.consent p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--text); }
.consent label { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 32px; cursor: pointer; }
.consent .actions { display: flex; gap: 8px; margin-top: 12px; }
.consent button {
  min-height: 44px;
  background: var(--accent);
  color: var(--accent-contrast);
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  font: 600 15px/1 var(--display);
  cursor: pointer;
}
.consent button:hover { background: var(--accent-hover); }
.consent button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.consent button.secondary:hover { border-color: var(--accent); }

.hidden { display: none !important; }

/* Tablet */
@media (max-width: 1180px) {
  .post-grid { grid-template-columns: 200px minmax(0, 700px); gap: 48px; }
  .post.no-toc .post-grid { grid-template-columns: minmax(0, 700px); }
  .search { width: 200px; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .from-archive { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .follow-band { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .band-actions { justify-content: flex-start; }
  .post-grid, .post.no-toc .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-main, .post.no-toc .post-main { grid-column: 1; }
  .toc-panel { display: none; }
  .article { grid-template-columns: minmax(0, 1fr); }
  .toc-mobile {
    display: block;
    margin: 0 0 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--panel);
  }
  .toc-mobile summary {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    margin: 0;
    cursor: pointer;
    list-style: none;
  }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: "+"; margin-left: auto; font-size: 18px; }
  .toc-mobile[open] summary::after { content: "−"; }
  .toc-mobile .toc { padding: 0 16px 12px; }
  .toc-mobile a { display: block; padding: 9px 0; color: var(--text); border-top: 1px solid var(--border); font-size: 16px; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  header.site .bar { height: 60px; gap: 12px; }
  .logo { font-size: 19px; flex-grow: 1; }
  .only-mobile { display: inline-flex; }
  .iconbtn { border-color: transparent; background: transparent; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  header.site.open .menu { display: flex; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { font-size: 18px; padding: 12px 4px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .search { width: 100%; }
  .search kbd { display: none; }
  .results { left: 0; right: 0; width: auto; }

  main { padding-top: 28px; padding-bottom: 56px; }
  .hero { padding: 8px 0 40px; }
  .hero-actions .btn { flex-grow: 1; }
  .follow { flex-wrap: wrap; }
  .band-topics { flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 40px; margin: 0 calc(-1 * var(--gutter)); }
  .band-topics .label { padding: 0 var(--gutter); }
  .band-topics .topics, .listing .topics {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 var(--gutter);
  }
  .listing .topics { margin: 0 calc(-1 * var(--gutter)) 28px; }
  .topics::-webkit-scrollbar { display: none; }
  .block { padding-bottom: 64px; }
  .section-head { margin-bottom: 20px; }

  .cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cards .card:not(.featured) {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    overflow: visible;
  }
  .cards .card:not(.featured):hover { transform: none; box-shadow: none; }
  .cards .card:not(.featured) .cover { flex-shrink: 0; width: 84px; aspect-ratio: 1; border-radius: 12px; background-size: 14px 14px; order: 2; }
  .cards .card:not(.featured) .cover svg { width: 80%; }
  .cards .card:not(.featured) .cover-label { display: none; }
  .cards .card:not(.featured) .card-body { padding: 0; gap: 6px; }
  .cards .card:not(.featured) h2, .cards .card:not(.featured) h3 { font-size: 18px; line-height: 1.3; }
  .cards .card:not(.featured) p { display: none; }
  .kicker { font-size: 11.5px; }

  .series-band { padding-top: 56px; padding-bottom: 56px; margin-bottom: 64px; }
  .series-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
    gap: 12px;
  }
  .listing .series-grid { display: grid; overflow: visible; margin: 0; padding: 0; }
  .series-grid::-webkit-scrollbar { display: none; }
  .series-box { flex: 0 0 84%; scroll-snap-align: start; padding: 22px; }

  .rows li { grid-template-columns: 48px minmax(0, 1fr); }
  .rows li span { display: none; }
  .rows a { font-size: 17px; }

  .follow-band { padding: 32px 24px; border-radius: 18px; gap: 20px; }
  .band-actions { width: 100%; }
  .band-actions .btn { flex: 1 1 auto; min-height: 48px; padding: 0 16px; font-size: 16px; }

  .post-head { text-align: left; align-items: flex-start; margin: 0 0 32px; gap: 16px; }
  .chips { justify-content: flex-start; }
  .byline { justify-content: flex-start; }
  .byline .actions { width: 100%; padding-left: 0; border-left: 0; }
  .byline .actions .btn-ghost { flex-grow: 1; justify-content: center; }
  .prose { font-size: 18px; line-height: 1.7; }
  .prose > .highlight, .prose > .codeblock { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .prose > .highlight pre, .prose > .codeblock pre { border-radius: 0; border-left: 0; border-right: 0; font-size: 13.5px; padding: 16px var(--gutter); }
  .adjacent { grid-template-columns: 1fr; }
  .adjacent .next { text-align: left; }
  .author-card { flex-direction: column; align-items: flex-start; padding: 22px; gap: 14px; }
  .author-card .avatar { width: 64px; height: 64px; }
  .related { margin-top: 64px; }

  .readbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 60px;
    padding: 0 6px;
    border-radius: 18px;
    background: #1a1814;
    color: #f2eee6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transform: translateY(150%);
    transition: transform .25s ease;
  }
  .readbar.show { transform: none; }
  .readbar button {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }
  .readbar button.rb-top { background: #ffb454; color: #1a1814; }
  .readbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .rb-mid { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 0 8px; }
  .rb-label { font-size: 13px; font-weight: 500; color: #cfc7b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rb-track { height: 3px; border-radius: 2px; background: #3a342c; overflow: hidden; }
  .rb-track span { display: block; height: 100%; width: 0; background: #ffb454; }
  .post { padding-bottom: 40px; }

  footer.site .inner { flex-direction: column; gap: 20px; padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

pre { line-height: 125%; }
td.linenos .normal { color: #6e7681; background-color: #0d1117; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #6e7681; background-color: #0d1117; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #e6edf3; background-color: #6e7681; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #e6edf3; background-color: #6e7681; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #6e7681 }

.highlight .c { color: #8B949E; font-style: italic } /* Comment */
.highlight .err { color: #F85149 } /* Error */
.highlight .esc { color: #E6EDF3 } /* Escape */
.highlight .g { color: #E6EDF3 } /* Generic */
.highlight .k { color: #FF7B72 } /* Keyword */
.highlight .l { color: #A5D6FF } /* Literal */
.highlight .n { color: #E6EDF3 } /* Name */
.highlight .o { color: #FF7B72; font-weight: bold } /* Operator */
.highlight .x { color: #E6EDF3 } /* Other */
.highlight .p { color: #E6EDF3 } /* Punctuation */
.highlight .ch { color: #8B949E; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #8B949E; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #8B949E; font-weight: bold; font-style: italic } /* Comment.Preproc */
.highlight .cpf { color: #8B949E; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #8B949E; font-style: italic } /* Comment.Single */
.highlight .cs { color: #8B949E; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #FFA198; background-color: #490202 } /* Generic.Deleted */
.highlight .ge { color: #E6EDF3; font-style: italic } /* Generic.Emph */
.highlight .ges { color: #E6EDF3; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #FFA198 } /* Generic.Error */
.highlight .gh { color: #79C0FF; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #56D364; background-color: #0F5323 } /* Generic.Inserted */
.highlight .go { color: #8B949E } /* Generic.Output */
.highlight .gp { color: #8B949E } /* Generic.Prompt */
.highlight .gs { color: #E6EDF3; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #79C0FF } /* Generic.Subheading */
.highlight .gt { color: #FF7B72 } /* Generic.Traceback */
.highlight .g-Underline { color: #E6EDF3; text-decoration: underline } /* Generic.Underline */
.highlight .kc { color: #79C0FF } /* Keyword.Constant */
.highlight .kd { color: #FF7B72 } /* Keyword.Declaration */
.highlight .kn { color: #FF7B72 } /* Keyword.Namespace */
.highlight .kp { color: #79C0FF } /* Keyword.Pseudo */
.highlight .kr { color: #FF7B72 } /* Keyword.Reserved */
.highlight .kt { color: #FF7B72 } /* Keyword.Type */
.highlight .ld { color: #79C0FF } /* Literal.Date */
.highlight .m { color: #A5D6FF } /* Literal.Number */
.highlight .s { color: #A5D6FF } /* Literal.String */
.highlight .na { color: #E6EDF3 } /* Name.Attribute */
.highlight .nb { color: #E6EDF3 } /* Name.Builtin */
.highlight .nc { color: #F0883E; font-weight: bold } /* Name.Class */
.highlight .no { color: #79C0FF; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #D2A8FF; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #FFA657 } /* Name.Entity */
.highlight .ne { color: #F0883E; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #D2A8FF; font-weight: bold } /* Name.Function */
.highlight .nl { color: #79C0FF; font-weight: bold } /* Name.Label */
.highlight .nn { color: #FF7B72 } /* Name.Namespace */
.highlight .nx { color: #E6EDF3 } /* Name.Other */
.highlight .py { color: #79C0FF } /* Name.Property */
.highlight .nt { color: #7EE787 } /* Name.Tag */
.highlight .nv { color: #79C0FF } /* Name.Variable */
.highlight .ow { color: #FF7B72; font-weight: bold } /* Operator.Word */
.highlight .pm { color: #E6EDF3 } /* Punctuation.Marker */
.highlight .w { color: #6E7681 } /* Text.Whitespace */
.highlight .mb { color: #A5D6FF } /* Literal.Number.Bin */
.highlight .mf { color: #A5D6FF } /* Literal.Number.Float */
.highlight .mh { color: #A5D6FF } /* Literal.Number.Hex */
.highlight .mi { color: #A5D6FF } /* Literal.Number.Integer */
.highlight .mo { color: #A5D6FF } /* Literal.Number.Oct */
.highlight .sa { color: #79C0FF } /* Literal.String.Affix */
.highlight .sb { color: #A5D6FF } /* Literal.String.Backtick */
.highlight .sc { color: #A5D6FF } /* Literal.String.Char */
.highlight .dl { color: #79C0FF } /* Literal.String.Delimiter */
.highlight .sd { color: #A5D6FF } /* Literal.String.Doc */
.highlight .s2 { color: #A5D6FF } /* Literal.String.Double */
.highlight .se { color: #79C0FF } /* Literal.String.Escape */
.highlight .sh { color: #79C0FF } /* Literal.String.Heredoc */
.highlight .si { color: #A5D6FF } /* Literal.String.Interpol */
.highlight .sx { color: #A5D6FF } /* Literal.String.Other */
.highlight .sr { color: #79C0FF } /* Literal.String.Regex */
.highlight .s1 { color: #A5D6FF } /* Literal.String.Single */
.highlight .ss { color: #A5D6FF } /* Literal.String.Symbol */
.highlight .bp { color: #E6EDF3 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #D2A8FF; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #79C0FF } /* Name.Variable.Class */
.highlight .vg { color: #79C0FF } /* Name.Variable.Global */
.highlight .vi { color: #79C0FF } /* Name.Variable.Instance */
.highlight .vm { color: #79C0FF } /* Name.Variable.Magic */
.highlight .il { color: #A5D6FF } /* Literal.Number.Integer.Long */