/* Self-hosted fonts (see static/fonts/). JetBrains Mono for code, served
   locally — no external requests. Body text uses the system serif stack. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-400-normal.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-400-italic.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-700-normal.woff2?v=2') format('woff2');
}

:root {
  --max-width: 850px;
  --fg: #1f2328;
  --fg-muted: #656d76;
  --link: #0969da;
  --border: #d8dee4;
  --bg: linear-gradient(135deg, #fdfdfe 0%, #f4f6f8 100%);
  --bg-solid: #f7f8fa;
  --notes-bg: #f1f3f5;
  --code-bg: #e8ebef;
  --chat-ask-bg: #95ec69;
  --chat-ask-fg: #1f2328;
  --chat-answer-bg: #ffffff;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;
}

/* Duplicated on purpose: the media query applies the OS preference without JS,
   while [data-theme] honors the user's manual choice and wins by specificity. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --fg: #e8eaed;
    --fg-muted: #a8b0bb;
    --link: #6cb6ff;
    --border: #3d434d;
    --bg: linear-gradient(135deg, #272c35 0%, #20252d 100%);
    --bg-solid: #232831;
    --notes-bg: #2a2f38;
    --code-bg: #13161c;
    --chat-ask-bg: #3d6b3d;
    --chat-ask-fg: #e8eaed;
    --chat-answer-bg: #2a2f38;
  }
}

:root[data-theme='dark'] {
  --fg: #e8eaed;
  --fg-muted: #a8b0bb;
  --link: #6cb6ff;
  --border: #3d434d;
  --bg: linear-gradient(135deg, #272c35 0%, #20252d 100%);
  --bg-solid: #232831;
  --notes-bg: #2a2f38;
  --code-bg: #13161c;
  --chat-ask-bg: #3d6b3d;
  --chat-ask-fg: #e8eaed;
  --chat-answer-bg: #2a2f38;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC",
    Georgia, serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-solid);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
/* Sticky header covers heading tops on in-page anchor jumps
   (TOC minimap, fragment links) — offset the scroll target. */
.post :is(h1, h2, h3, h4, h5, h6) {
  scroll-margin-top: 4.5rem;
}

/* ── End-of-post marker ── */
.post-end {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 3rem 0 1rem;
  color: var(--fg-muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .35em;
  text-indent: .35em;
}
.post-end::before,
.post-end::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Reader notes (data/notes/<slug>.md) ────── */
.reader-notes {
  margin: 0;
  padding: 1.3rem 1.5rem;
  background: var(--notes-bg);
  border-left: 3px solid var(--fg-muted);
  border-radius: 3px;
}
.reader-notes__head {
  margin-bottom: 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--fg-muted);
}
.reader-notes__body { color: var(--fg); }
.reader-notes__body > :first-child { margin-top: 0; }
.reader-notes__body > :last-child { margin-bottom: 0; }
.reader-notes__body p { margin: 1rem 0; line-height: 1.8; }
.reader-notes__body code {
  font-family: var(--font-mono);
  background: var(--code-bg);
  padding: .1em .35em;
  border-radius: 3px;
  font-size: .9em;
}

/* ── Translator notes (inline callout) ──────── */
.translator-note {
  margin: 1.8rem 0;
  padding: .9rem 1.2rem;
  background: var(--notes-bg);
  border-left: 3px solid var(--link);
  border-radius: 4px;
  color: var(--fg);
  font-size: .95em;
  line-height: 1.8;
}
.translator-note > :first-child { margin-top: 0; }
.translator-note > :last-child { margin-bottom: 0; }
.translator-note p { margin: .6rem 0; }
.translator-note ul { margin: .6rem 0; padding-left: 1.4em; }
.translator-note a { color: var(--link); }
.translator-note > p:first-child > strong:first-child {
  color: var(--link);
}
.translator-note code {
  font-family: var(--font-mono);
  background: var(--code-bg);
  padding: .1em .35em;
  border-radius: 3px;
  font-size: .9em;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: 2rem 0 0;
}
.page-num,
.page-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 .65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .9rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.page-num:hover,
.page-nav:hover:not(.disabled) {
  color: var(--fg);
  border-color: var(--fg-muted);
  text-decoration: none;
}
.page-num.current {
  background: var(--fg);
  color: var(--bg-solid);
  border-color: var(--fg);
  font-weight: 600;
  cursor: default;
}
.page-nav.disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ── Prev / next post ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 1.5rem 0 0;
}
.post-nav__col { display: flex; flex-direction: column; gap: .3rem; max-width: 48%; }
.post-nav__col--right { text-align: right; align-items: flex-end; }
.post-nav__label { font-size: .8rem; color: var(--fg-muted); letter-spacing: .05em; }
.post-nav__link {
  font-size: .95rem;
  line-height: 1.4;
  color: var(--fg);
  text-decoration: none;
}
.post-nav__link:hover { color: var(--link); text-decoration: underline; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-title { font-weight: 700; font-size: 1.2rem; color: var(--fg); }
.site-nav {
  display: flex;
  align-items: center;
}
.site-nav a { margin-left: 1rem; color: var(--fg-muted); }
/* External-link arrow icon appended to outbound menu items. */
.site-nav .external-icon {
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.15em;
  vertical-align: -0.05em;
}

.theme-toggle {
  margin-left: 1rem;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.theme-toggle:hover { border-color: var(--fg-muted); }
.theme-toggle:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
.theme-toggle svg { width: 18px; height: 18px; }

/* Icon reflects the active theme: sun in light mode, moon in dark mode. */
.icon-moon { display: none; }
:root[data-theme='dark'] .icon-sun { display: none; }
:root[data-theme='dark'] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .icon-sun { display: none; }
  :root:not([data-theme='light']) .icon-moon { display: block; }
}

main { padding: 2rem 1.25rem; }

.post-list h1 { margin-bottom: 1.5rem; }
.post-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.post-item h2 { margin: 0 0 0.25rem; font-size: 1.25rem; }
.post-item time { color: var(--fg-muted); font-size: 0.85rem; }
.post-item p { margin: 0.5rem 0 0; color: var(--fg-muted); }

/* Post meta row: date and tags share a flex line so tags sit inline with the
   date instead of stacking as a vertical list. */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.post-header { margin-bottom: 1rem; }
.post-divider {
  margin: 0 0 1.5rem;
  border: 0;
  border-top: 3px solid var(--border);
}
.post-header h1 { margin-bottom: 0.25rem; }
.post-header time { color: var(--fg-muted); font-size: 0.9rem; }

/* Tag pills: small rounded chips, muted until hovered. */
.post-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.post-tags li a {
  display: inline-block;
  padding: 0.05em 0.6em;
  font-size: 0.78rem;
  line-height: 1.6;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-muted);
  transition: border-color 0.15s, color 0.15s;
}
.post-tags li a:hover {
  border-color: var(--link);
  color: var(--link);
  text-decoration: none;
}

/* /tags/ index: tag cloud of pills with a post count badge. */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.tag-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  font-size: 0.9rem;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.tag-pill:hover { border-color: var(--link); color: var(--link); text-decoration: none; }
.tag-pill.active {
  border-color: var(--link);
  color: #fff;
  background: var(--link);
}
.tag-pill.active .tag-count { color: rgba(255,255,255,0.8); }
.tag-count {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.term-back,
.tag-back { margin: 0.5rem 0 1.5rem; }
.tag-back a,
.term-back a { color: var(--fg-muted); }
.tag-back a:hover,
.term-back a:hover { color: var(--link); }
.tag-heading { margin-bottom: 1.5rem; }
.tag-posts-area { margin-top: 2rem; }

/* Inline tag links inside filtered results: same pill style as post-tags. */
.tag-inline {
  display: inline-block;
  padding: 0.05em 0.6em;
  font-size: 0.78rem;
  line-height: 1.6;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-muted);
  transition: border-color 0.15s, color 0.15s;
}
.tag-inline:hover {
  border-color: var(--link);
  color: var(--link);
  text-decoration: none;
}

/* Chinese convention: indent the first line of each body paragraph by 2 em.
   Direct-child only, so blockquotes, list items, and code blocks are spared. */
.post > p { text-indent: 2em; }
.post img { max-width: 100%; }
.post-figure {
  margin: 1.5rem 0;
  text-align: center;
}
.post-figure img {
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.post-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: italic;
}
/* Responsive 16:9 container for embedded videos (bilibili, etc.). */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.post pre,
.post code {
  font-family: var(--font-mono);
}
/* Inline code (not inside a <pre>): subtle pill so it reads as code even
   though Chinese chars fall back to the serif face. */
.post :not(pre) > code {
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}
.post pre {
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.85rem;
}
/* Bare <pre> (e.g. indented code) lacks the .chroma wrapper, so it needs its own
   background; highlighted blocks are colored by syntax.css. */
.post pre:not(.chroma) {
  background: var(--code-bg);
}
.highlight { margin: 1.25rem 0; }
/* Highlighted code block: match the inline-code pill background instead of
   chroma's generated color, for one consistent code surface. The body prefix
   raises specificity so it wins over syntax.css's nested dark override. */
body .highlight pre.chroma { background-color: var(--code-bg); }

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: var(--fg-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Markdown tables: visible grid lines with the theme's border color. */
.post table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.25rem 0;
}
.post th,
.post td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  vertical-align: middle;
}
.post th {
  background: var(--code-bg);
  font-weight: 700;
  text-align: left;
}
.post td img {
  display: block;
  margin: 0 auto;
}

.post img { cursor: zoom-in; }

/* runtime <a> wrapper around post images (added by PhotoSwipe init) */
.pswp-img-link { display: inline-block; line-height: 0; text-decoration: none; }
.pswp-img-link img { display: block; }
/* restore td image centering after the <a> wrap */
.post td .pswp-img-link { display: block; }

/* Code tabs: CSS-only tab switching for multi-language code blocks. */
.code-tabs {
  margin: 1.25rem 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.code-tabs input[type="radio"] { display: none; }

.code-tabs-nav {
  display: flex;
  background: var(--code-bg);
  border-bottom: 1px solid var(--border);
}
.code-tabs-nav label {
  display: block;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-muted);
  border-right: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
  user-select: none;
}
.code-tabs-nav label:hover {
  color: var(--fg);
  background: rgba(128,128,128,0.06);
}

#tab-c:checked    ~ .code-tabs-nav label[for="tab-c"],
#tab-cpp:checked  ~ .code-tabs-nav label[for="tab-cpp"],
#tab-py:checked   ~ .code-tabs-nav label[for="tab-py"],
#tab-rust:checked ~ .code-tabs-nav label[for="tab-rust"] {
  color: var(--fg);
  background: var(--bg);
  font-weight: 700;
}

.code-tab-panel { display: none; }
#tab-c:checked    ~ .code-tab-panel[data-tab="c"],
#tab-cpp:checked  ~ .code-tab-panel[data-tab="cpp"],
#tab-py:checked   ~ .code-tab-panel[data-tab="py"],
#tab-rust:checked ~ .code-tab-panel[data-tab="rust"] {
  display: block;
}
.code-tab-panel .highlight {
  margin: 0;
}
.code-tab-panel .highlight pre.chroma {
  border-radius: 0;
}

/* ── Heading minimap (sidebar TOC) ──────────────────────
   Shown only on wide screens, pinned in the right margin next to the
   850px body column; hidden on narrow screens. Enabled per-post via
   frontmatter. */
.toc-minimap {
  position: fixed;
  top: 6rem;
  /* 440px = half body width + gap from the body column */
  left: calc(50% + 440px);
  width: 240px;
  max-height: calc(100vh - 16rem);
  overflow-y: auto;
  font-size: 1.02rem;
  line-height: 1.45;
}
.toc-minimap-title {
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}
.toc-minimap nav#TableOfContents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-minimap nav#TableOfContents li { margin: 0; }
.toc-minimap nav#TableOfContents a {
  display: block;
  padding: 0.2rem 0 0.2rem 0.6rem;
  color: var(--fg-muted);
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.toc-minimap nav#TableOfContents a:hover {
  color: var(--fg);
  text-decoration: none;
}
.toc-minimap nav#TableOfContents a.active {
  color: var(--fg);
  font-weight: 600;
  border-left-color: var(--link);
}
.toc-minimap nav#TableOfContents ul ul a {
  padding-left: 1.5rem;
  font-size: 0.92rem;
}
@media (max-width: 1180px) {
  .toc-minimap { display: none; }
}

/* ── Back-to-top button ──────────────────────────── */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--fg-muted);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity .2s, transform .2s, color .15s;
  z-index: 50;
}
.back-to-top svg { width: 1.1rem; height: 1.1rem; }
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  color: var(--fg);
  text-decoration: none;
}
@media (max-width: 1180px) {
  .back-to-top { right: 1rem; bottom: 1rem; }
}
/* 宽屏：对齐到正文列右侧的外边距列（与 minimap 同列），紧贴正文 */
@media (min-width: 1181px) {
  .back-to-top {
    right: auto;
    left: calc(50% + 440px);
    bottom: 6rem;
  }
}

/* ── 音频播放器 ──────────────────────────────────── */
.post-audio-figure {
  margin: 1.5rem 0;
  text-align: center;
}
.post-audio-figure figcaption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-style: italic;
}

.audio-player {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 480px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--code-bg);
  user-select: none;
}

.audio-play-btn {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--link);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.audio-play-btn:hover { background: var(--fg); transform: scale(1.05); }
.audio-play-btn:active { transform: scale(0.95); }
.audio-play-btn svg { width: 1rem; height: 1rem; }

.audio-progress-wrap {
  flex: 1 1 auto;
  cursor: pointer;
  padding: 0.4rem 0;
  outline: none;
}
.audio-progress-wrap:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 3px;
}

.audio-progress-bg {
  position: relative;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: visible;
}

.audio-progress-filled {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--link);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.audio-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--link);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.12s ease;
  pointer-events: none;
}
.audio-progress-wrap:hover .audio-progress-thumb,
.audio-progress-wrap:active .audio-progress-thumb {
  transform: translate(-50%, -50%) scale(1);
}

.audio-time {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-muted);
  white-space: nowrap;
  min-width: 7.5em;
  text-align: right;
}

/* ── 唱片架 (data/music.yaml via {{< music >}}) ──────── */
.music-section { margin: 2rem 0; }
.music-section__title {
  margin: 0 0 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
}
.music-empty {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.music-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.music-card__cover-wrap { line-height: 0; }
.music-card__cover {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.18s, box-shadow 0.18s;
}
.music-card--single:hover .music-card__cover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.16);
}
/* Placeholder when no cover image: gradient tile + artist initial. */
.music-card__cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--border) 0%, var(--code-bg) 100%);
  color: var(--fg-muted);
  font-size: 2.2rem;
  font-weight: 700;
  opacity: 0.7;
}
.music-card__cover--placeholder span { line-height: 1; }

.music-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.music-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.35;
}
a.music-card__title:hover { color: var(--link); text-decoration: underline; }
.music-card__artist {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.music-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}
.music-card__album { font-family: "Source Han Serif SC", "Songti SC", serif; }

/* ── 专辑曲目列表（可展开 <details>） ── */
.music-tracks {
  margin-top: 0.6rem;
  border-top: 1px solid var(--border);
  padding-top: 0.55rem;
}
.music-tracks__summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  user-select: none;
  transition: color 0.15s;
}
.music-tracks__summary::-webkit-details-marker { display: none; }
.music-tracks__summary::before {
  content: '▸';
  display: inline-block;
  margin-right: 0.35em;
  transition: transform 0.15s;
  color: var(--fg-muted);
}
.music-tracks[open] .music-tracks__summary::before {
  transform: rotate(90deg);
}
.music-tracks__summary:hover { color: var(--link); }
.music-tracks__list {
  margin: 0.6rem 0 0;
  padding: 0 0 0 1.4em;
  font-size: 0.85rem;
  line-height: 1.7;
}
.music-tracks__item { color: var(--fg); }
.music-tracks__item a {
  color: var(--fg);
  border-bottom: 1px dotted var(--border);
}
.music-tracks__item a:hover {
  color: var(--link);
  border-bottom-color: var(--link);
  text-decoration: none;
}
.music-tracks__item span { color: var(--fg-muted); }
.music-tracks__item--fav,
.music-tracks__item--fav a { font-weight: 600; color: var(--fg); }
.music-tracks__item--fav a { border-bottom-color: var(--border); }

/* Side-by-side before/after comparison ({{< compare >}} shortcode). Mirrors a
   git diff view: two equal panes that collapse to stacked on narrow screens. */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.6em 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-solid);
}
.compare-side { min-width: 0; overflow-x: auto; }
.compare-side + .compare-side { border-left: 1px solid var(--border); }
.compare-side__title {
  padding: 0.4em 0.9em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  background: var(--code-bg);
  border-bottom: 1px solid var(--border);
}
.compare-side__body {
  padding: 0.8em 1em;
  font-size: 0.9rem;
  line-height: 1.6;
}
.compare-side__body > :first-child { margin-top: 0; }
.compare-side__body > :last-child { margin-bottom: 0; }
.compare-side__body pre {
  margin: 0.6em 0;
  font-size: 0.82rem;
}
@media (max-width: 600px) {
  .compare { grid-template-columns: 1fr; }
  .compare-side + .compare-side {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

/* Side-by-side diff view — manually annotated changed lines. Static (no JS):
   we can't compute a real diff at build time, so the author marks which lines
   are <span class="diff-line--del">removed</span> / <span class="diff-line--add">
   added</span>. Visually matches a GitHub PR diff. */
:root {
  --diff-del-bg: #ffebe9;
  --diff-del-fg: #82071e;
  --diff-add-bg: #dafbe1;
  --diff-add-fg: #116329;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --diff-del-bg: #490202;
    --diff-del-fg: #ffa198;
    --diff-add-bg: #0f5323;
    --diff-add-fg: #56d364;
  }
}
:root[data-theme='dark'] {
  --diff-del-bg: #490202;
  --diff-del-fg: #ffa198;
  --diff-add-bg: #0f5323;
  --diff-add-fg: #56d364;
}
.diffview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.6em 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-solid);
}
.diffview__col { min-width: 0; overflow-x: auto; }
.diffview__col + .diffview__col { border-left: 1px solid var(--border); }
.diffview__head {
  padding: 0.4em 0.9em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-muted);
  background: var(--code-bg);
  border-bottom: 1px solid var(--border);
}
.diffview pre {
  margin: 0;
  padding: 0.6em 0;
  font-size: 0.82rem;
  line-height: 1.6;
  background: transparent;
}
.diffview pre code { display: block; }
.diff-line {
  display: block;
  padding: 0 1em;
  white-space: pre;
}
.diff-line--del {
  background: var(--diff-del-bg);
  border-left: 3px solid var(--diff-del-fg);
  padding-left: calc(1em - 3px);
}
.diff-line--add {
  background: var(--diff-add-bg);
  border-left: 3px solid var(--diff-add-fg);
  padding-left: calc(1em - 3px);
}
@media (max-width: 600px) {
  .diffview { grid-template-columns: 1fr; }
  .diffview__col + .diffview__col {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

/* diff2html (auto side-by-side diff). The library ships its own styles; we
   add the breakout frame, the view-toggle toolbar, and tighten rows. */
.d2h-block {
  /* Break out of the 850px text column symmetrically. Negative margins on
     both sides (not a 50%−vw formula) — the latter drifts left by the
     scrollbar width and misaligns with the main column. */
  --breakout: 120px;
  width: calc(100% + var(--breakout) * 2);
  max-width: 100vw;
  margin: 1.6em calc(-1 * var(--breakout));
}
@media (max-width: 900px) {
  .d2h-block { width: auto; margin-left: 0; margin-right: 0; }
}
.d2h-toolbar {
  display: flex;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  background: var(--code-bg);
}
.d2h-tab {
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  padding: 0.35em 0.9em;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-muted);
  cursor: pointer;
}
.d2h-tab:last-child { border-right: 0; }
.d2h-tab:hover { color: var(--fg); }
.d2h-tab.active { color: var(--link); background: var(--bg-solid); }
.d2h-block .d2h-wrap {
  margin: 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 6px 6px;
}
/* Strip every internal border/grid line. The ui build draws borders on many
   more nodes than the core (diff-table, tbody, ins, del, info, ...), so null
   them in one shot. .d2h-wrap itself is not its own descendant, so the outer
   frame set just above survives. */
.d2h-wrap * { border: 0 !important; }
/* diff2html ships td padding (~9.6px 12.8px), which doubles every row's
   height — zero it so rows collapse to their text line-height. */
.d2h-wrap td, .d2h-wrap th { padding: 0 !important; }
.d2h-wrap .d2h-file-wrapper { margin: 0; border-radius: 0; }
/* hljs theme (pre code.hljs{padding:1em}, code.hljs{padding:3px 5px}) is
   applied per-row by highlightCode(), inflating every row far beyond its
   content — that was the "table way taller than its content" bug. Zero it. */
.d2h-wrap .hljs,
.d2h-wrap code.hljs,
.d2h-wrap pre code.hljs { padding: 0 !important; background: transparent; }
/* Transparent backgrounds so the diff blends into the page instead of showing
   as a white slab (linenumber + hljs both default to #fff). */
.d2h-wrap,
.d2h-wrap .d2h-wrapper,
.d2h-wrap .d2h-file-wrapper,
.d2h-wrap .d2h-diff-box,
.d2h-wrap .d2h-code-side-linenumber,
.d2h-wrap .d2h-code-linenumber,
.d2h-wrap .d2h-code-line,
.d2h-wrap .d2h-code-side-line { background: transparent; }
/* Tighten rows: otherwise they inherit the body's 1.6 line-height. */
.d2h-wrap .d2h-code-line,
.d2h-wrap .d2h-code-side-line,
.d2h-wrap .d2h-code-linenumber,
.d2h-wrap .d2h-code-side-linenumber { line-height: 1.5; font-size: 0.82rem; }
.d2h-wrap .d2h-file-header { margin: 0; padding: 0.1em 0.6em; height: auto; line-height: 1.3; font-size: 0.78rem; }
.d2h-wrap .d2h-diff-box,
.d2h-wrap .d2h-diff-table { margin: 0; }

/* ── Chat bubbles ({{< chat >}} shortcode) ──────────────────────────
   Single-side thread: every message sits on the left, like a transcript.
   The two speakers are told apart by avatar/name and the accent stripe
   on the expert's (side="right") bubble. Tail sits in the top-left corner. */
.chat-msg {
  display: flex;
  gap: 0.6rem;
  margin: 0.85rem 0;
  align-items: flex-start;
}
.chat-avatar {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  background: var(--code-bg);
  user-select: none;
}
.chat-content {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}
.chat-name {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin: 0 0.3rem 0.2rem;
}
.chat-bubble {
  padding: 0.5rem 0.85rem;
  border-radius: 0 1rem 1rem 1rem;
  background: var(--chat-ask-bg);
  color: var(--chat-ask-fg);
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg--right .chat-bubble {
  background: var(--chat-answer-bg);
  color: var(--fg);
}
/* Merge consecutive bubbles from the same speaker (WeChat-style grouping):
   hide the avatar/name on the 2nd+ message of a run and tighten spacing. */
.chat-msg--right + .chat-msg--right,
.chat-msg--left + .chat-msg--left {
  margin-top: 0.2rem;
}
.chat-msg--right + .chat-msg--right .chat-name,
.chat-msg--left + .chat-msg--left .chat-name,
.chat-msg--right + .chat-msg--right .chat-avatar,
.chat-msg--left + .chat-msg--left .chat-avatar {
  visibility: hidden;
}
.chat-bubble p { margin: 0; }
.chat-bubble p + p { margin-top: 0.5rem; }
/* Media embedded inside a bubble: left-aligned, tight spacing, capped width. */
.chat-bubble .post-figure { margin: 0.5rem 0 0; text-align: left; }
.chat-bubble .post-figure img { max-width: 100%; }
.chat-bubble .video-embed { max-width: min(100%, 420px); }
/* Generated by `hugo gen chromastyles`. Dark palettes are nested under the theme
   selectors so code highlighting follows the site's light/dark toggle. */

/* Background */ .bg { background-color:#f7f7f7; }
/* PreWrapper */ .chroma { background-color:#f7f7f7;-webkit-text-size-adjust:none; }
/* Error */ .chroma .err { color:#f6f8fa;background-color:#82071e }
/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
/* LineHighlight */ .chroma .hl { background-color:#dedede }
/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f }
/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f }
/* Line */ .chroma .line { display:flex; }
/* Keyword */ .chroma .k { color:#cf222e }
/* KeywordConstant */ .chroma .kc { color:#cf222e }
/* KeywordDeclaration */ .chroma .kd { color:#cf222e }
/* KeywordNamespace */ .chroma .kn { color:#cf222e }
/* KeywordPseudo */ .chroma .kp { color:#cf222e }
/* KeywordReserved */ .chroma .kr { color:#cf222e }
/* KeywordType */ .chroma .kt { color:#cf222e }
/* NameAttribute */ .chroma .na { color:#1f2328 }
/* NameClass */ .chroma .nc { color:#1f2328 }
/* NameConstant */ .chroma .no { color:#0550ae }
/* NameDecorator */ .chroma .nd { color:#0550ae }
/* NameEntity */ .chroma .ni { color:#6639ba }
/* NameLabel */ .chroma .nl { color:#900;font-weight:bold }
/* NameNamespace */ .chroma .nn { color:#24292e }
/* NameOther */ .chroma .nx { color:#1f2328 }
/* NameTag */ .chroma .nt { color:#0550ae }
/* NameBuiltin */ .chroma .nb { color:#6639ba }
/* NameBuiltinPseudo */ .chroma .bp { color:#6a737d }
/* NameVariable */ .chroma .nv { color:#953800 }
/* NameVariableClass */ .chroma .vc { color:#953800 }
/* NameVariableGlobal */ .chroma .vg { color:#953800 }
/* NameVariableInstance */ .chroma .vi { color:#953800 }
/* NameVariableMagic */ .chroma .vm { color:#953800 }
/* NameFunction */ .chroma .nf { color:#6639ba }
/* NameFunctionMagic */ .chroma .fm { color:#6639ba }
/* LiteralString */ .chroma .s { color:#0a3069 }
/* LiteralStringAffix */ .chroma .sa { color:#0a3069 }
/* LiteralStringBacktick */ .chroma .sb { color:#0a3069 }
/* LiteralStringChar */ .chroma .sc { color:#0a3069 }
/* LiteralStringDelimiter */ .chroma .dl { color:#0a3069 }
/* LiteralStringDoc */ .chroma .sd { color:#0a3069 }
/* LiteralStringDouble */ .chroma .s2 { color:#0a3069 }
/* LiteralStringEscape */ .chroma .se { color:#0a3069 }
/* LiteralStringHeredoc */ .chroma .sh { color:#0a3069 }
/* LiteralStringInterpol */ .chroma .si { color:#0a3069 }
/* LiteralStringOther */ .chroma .sx { color:#0a3069 }
/* LiteralStringRegex */ .chroma .sr { color:#0a3069 }
/* LiteralStringSingle */ .chroma .s1 { color:#0a3069 }
/* LiteralStringSymbol */ .chroma .ss { color:#032f62 }
/* LiteralNumber */ .chroma .m { color:#0550ae }
/* LiteralNumberBin */ .chroma .mb { color:#0550ae }
/* LiteralNumberFloat */ .chroma .mf { color:#0550ae }
/* LiteralNumberHex */ .chroma .mh { color:#0550ae }
/* LiteralNumberInteger */ .chroma .mi { color:#0550ae }
/* LiteralNumberIntegerLong */ .chroma .il { color:#0550ae }
/* LiteralNumberOct */ .chroma .mo { color:#0550ae }
/* Operator */ .chroma .o { color:#0550ae }
/* OperatorWord */ .chroma .ow { color:#0550ae }
/* OperatorReserved */ .chroma .or { color:#0550ae }
/* Punctuation */ .chroma .p { color:#1f2328 }
/* Comment */ .chroma .c { color:#57606a }
/* CommentHashbang */ .chroma .ch { color:#57606a }
/* CommentMultiline */ .chroma .cm { color:#57606a }
/* CommentSingle */ .chroma .c1 { color:#57606a }
/* CommentSpecial */ .chroma .cs { color:#57606a }
/* CommentPreproc */ .chroma .cp { color:#57606a }
/* CommentPreprocFile */ .chroma .cpf { color:#57606a }
/* GenericDeleted */ .chroma .gd { color:#82071e;background-color:#ffebe9 }
/* GenericEmph */ .chroma .ge { color:#1f2328 }
/* GenericInserted */ .chroma .gi { color:#116329;background-color:#dafbe1 }
/* GenericOutput */ .chroma .go { color:#1f2328 }
/* GenericUnderline */ .chroma .gl { text-decoration:underline }
/* TextWhitespace */ .chroma .w { color:#fff }

:root[data-theme='dark'] {

/* Background */ .bg { color:#e6edf3;background-color:#161922; }
/* PreWrapper */ .chroma { color:#e6edf3;background-color:#161922;-webkit-text-size-adjust:none; }
/* Error */ .chroma .err { color:#f85149 }
/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
/* LineHighlight */ .chroma .hl { background-color:#6e7681 }
/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#737679 }
/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#6e7681 }
/* Line */ .chroma .line { display:flex; }
/* Keyword */ .chroma .k { color:#ff7b72 }
/* KeywordConstant */ .chroma .kc { color:#79c0ff }
/* KeywordDeclaration */ .chroma .kd { color:#ff7b72 }
/* KeywordNamespace */ .chroma .kn { color:#ff7b72 }
/* KeywordPseudo */ .chroma .kp { color:#79c0ff }
/* KeywordReserved */ .chroma .kr { color:#ff7b72 }
/* KeywordType */ .chroma .kt { color:#ff7b72 }
/* NameClass */ .chroma .nc { color:#f0883e;font-weight:bold }
/* NameConstant */ .chroma .no { color:#79c0ff;font-weight:bold }
/* NameDecorator */ .chroma .nd { color:#d2a8ff;font-weight:bold }
/* NameEntity */ .chroma .ni { color:#ffa657 }
/* NameException */ .chroma .ne { color:#f0883e;font-weight:bold }
/* NameLabel */ .chroma .nl { color:#79c0ff;font-weight:bold }
/* NameNamespace */ .chroma .nn { color:#ff7b72 }
/* NameOther */ .chroma .nx { color:#e6edf3 }
/* NameProperty */ .chroma .py { color:#79c0ff }
/* NameTag */ .chroma .nt { color:#7ee787 }
/* NameVariable */ .chroma .nv { color:#79c0ff }
/* NameVariableClass */ .chroma .vc { color:#79c0ff }
/* NameVariableGlobal */ .chroma .vg { color:#79c0ff }
/* NameVariableInstance */ .chroma .vi { color:#79c0ff }
/* NameVariableMagic */ .chroma .vm { color:#79c0ff }
/* NameFunction */ .chroma .nf { color:#d2a8ff;font-weight:bold }
/* NameFunctionMagic */ .chroma .fm { color:#d2a8ff;font-weight:bold }
/* Literal */ .chroma .l { color:#a5d6ff }
/* LiteralDate */ .chroma .ld { color:#79c0ff }
/* LiteralString */ .chroma .s { color:#a5d6ff }
/* LiteralStringAffix */ .chroma .sa { color:#79c0ff }
/* LiteralStringBacktick */ .chroma .sb { color:#a5d6ff }
/* LiteralStringChar */ .chroma .sc { color:#a5d6ff }
/* LiteralStringDelimiter */ .chroma .dl { color:#79c0ff }
/* LiteralStringDoc */ .chroma .sd { color:#a5d6ff }
/* LiteralStringDouble */ .chroma .s2 { color:#a5d6ff }
/* LiteralStringEscape */ .chroma .se { color:#79c0ff }
/* LiteralStringHeredoc */ .chroma .sh { color:#79c0ff }
/* LiteralStringInterpol */ .chroma .si { color:#a5d6ff }
/* LiteralStringOther */ .chroma .sx { color:#a5d6ff }
/* LiteralStringRegex */ .chroma .sr { color:#79c0ff }
/* LiteralStringSingle */ .chroma .s1 { color:#a5d6ff }
/* LiteralStringSymbol */ .chroma .ss { color:#a5d6ff }
/* LiteralNumber */ .chroma .m { color:#a5d6ff }
/* LiteralNumberBin */ .chroma .mb { color:#a5d6ff }
/* LiteralNumberFloat */ .chroma .mf { color:#a5d6ff }
/* LiteralNumberHex */ .chroma .mh { color:#a5d6ff }
/* LiteralNumberInteger */ .chroma .mi { color:#a5d6ff }
/* LiteralNumberIntegerLong */ .chroma .il { color:#a5d6ff }
/* LiteralNumberOct */ .chroma .mo { color:#a5d6ff }
/* Operator */ .chroma .o { color:#ff7b72;font-weight:bold }
/* OperatorWord */ .chroma .ow { color:#ff7b72;font-weight:bold }
/* OperatorReserved */ .chroma .or { color:#ff7b72;font-weight:bold }
/* Comment */ .chroma .c { color:#8b949e;font-style:italic }
/* CommentHashbang */ .chroma .ch { color:#8b949e;font-style:italic }
/* CommentMultiline */ .chroma .cm { color:#8b949e;font-style:italic }
/* CommentSingle */ .chroma .c1 { color:#8b949e;font-style:italic }
/* CommentSpecial */ .chroma .cs { color:#8b949e;font-weight:bold;font-style:italic }
/* CommentPreproc */ .chroma .cp { color:#8b949e;font-weight:bold;font-style:italic }
/* CommentPreprocFile */ .chroma .cpf { color:#8b949e;font-weight:bold;font-style:italic }
/* GenericDeleted */ .chroma .gd { color:#ffa198;background-color:#490202 }
/* GenericEmph */ .chroma .ge { font-style:italic }
/* GenericError */ .chroma .gr { color:#ffa198 }
/* GenericHeading */ .chroma .gh { color:#79c0ff;font-weight:bold }
/* GenericInserted */ .chroma .gi { color:#56d364;background-color:#0f5323 }
/* GenericOutput */ .chroma .go { color:#8b949e }
/* GenericPrompt */ .chroma .gp { color:#8b949e }
/* GenericStrong */ .chroma .gs { font-weight:bold }
/* GenericSubheading */ .chroma .gu { color:#79c0ff }
/* GenericTraceback */ .chroma .gt { color:#ff7b72 }
/* GenericUnderline */ .chroma .gl { text-decoration:underline }
/* TextWhitespace */ .chroma .w { color:#6e7681 }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {

/* Background */ .bg { color:#e6edf3;background-color:#161922; }
/* PreWrapper */ .chroma { color:#e6edf3;background-color:#161922;-webkit-text-size-adjust:none; }
/* Error */ .chroma .err { color:#f85149 }
/* LineLink */ .chroma .lnlinks { outline:none;text-decoration:none;color:inherit }
/* LineTableTD */ .chroma .lntd { vertical-align:top;padding:0;margin:0;border:0; }
/* LineTable */ .chroma .lntable { border-spacing:0;padding:0;margin:0;border:0; }
/* LineHighlight */ .chroma .hl { background-color:#6e7681 }
/* LineNumbersTable */ .chroma .lnt { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#737679 }
/* LineNumbers */ .chroma .ln { white-space:pre;-webkit-user-select:none;user-select:none;margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#6e7681 }
/* Line */ .chroma .line { display:flex; }
/* Keyword */ .chroma .k { color:#ff7b72 }
/* KeywordConstant */ .chroma .kc { color:#79c0ff }
/* KeywordDeclaration */ .chroma .kd { color:#ff7b72 }
/* KeywordNamespace */ .chroma .kn { color:#ff7b72 }
/* KeywordPseudo */ .chroma .kp { color:#79c0ff }
/* KeywordReserved */ .chroma .kr { color:#ff7b72 }
/* KeywordType */ .chroma .kt { color:#ff7b72 }
/* NameClass */ .chroma .nc { color:#f0883e;font-weight:bold }
/* NameConstant */ .chroma .no { color:#79c0ff;font-weight:bold }
/* NameDecorator */ .chroma .nd { color:#d2a8ff;font-weight:bold }
/* NameEntity */ .chroma .ni { color:#ffa657 }
/* NameException */ .chroma .ne { color:#f0883e;font-weight:bold }
/* NameLabel */ .chroma .nl { color:#79c0ff;font-weight:bold }
/* NameNamespace */ .chroma .nn { color:#ff7b72 }
/* NameOther */ .chroma .nx { color:#e6edf3 }
/* NameProperty */ .chroma .py { color:#79c0ff }
/* NameTag */ .chroma .nt { color:#7ee787 }
/* NameVariable */ .chroma .nv { color:#79c0ff }
/* NameVariableClass */ .chroma .vc { color:#79c0ff }
/* NameVariableGlobal */ .chroma .vg { color:#79c0ff }
/* NameVariableInstance */ .chroma .vi { color:#79c0ff }
/* NameVariableMagic */ .chroma .vm { color:#79c0ff }
/* NameFunction */ .chroma .nf { color:#d2a8ff;font-weight:bold }
/* NameFunctionMagic */ .chroma .fm { color:#d2a8ff;font-weight:bold }
/* Literal */ .chroma .l { color:#a5d6ff }
/* LiteralDate */ .chroma .ld { color:#79c0ff }
/* LiteralString */ .chroma .s { color:#a5d6ff }
/* LiteralStringAffix */ .chroma .sa { color:#79c0ff }
/* LiteralStringBacktick */ .chroma .sb { color:#a5d6ff }
/* LiteralStringChar */ .chroma .sc { color:#a5d6ff }
/* LiteralStringDelimiter */ .chroma .dl { color:#79c0ff }
/* LiteralStringDoc */ .chroma .sd { color:#a5d6ff }
/* LiteralStringDouble */ .chroma .s2 { color:#a5d6ff }
/* LiteralStringEscape */ .chroma .se { color:#79c0ff }
/* LiteralStringHeredoc */ .chroma .sh { color:#79c0ff }
/* LiteralStringInterpol */ .chroma .si { color:#a5d6ff }
/* LiteralStringOther */ .chroma .sx { color:#a5d6ff }
/* LiteralStringRegex */ .chroma .sr { color:#79c0ff }
/* LiteralStringSingle */ .chroma .s1 { color:#a5d6ff }
/* LiteralStringSymbol */ .chroma .ss { color:#a5d6ff }
/* LiteralNumber */ .chroma .m { color:#a5d6ff }
/* LiteralNumberBin */ .chroma .mb { color:#a5d6ff }
/* LiteralNumberFloat */ .chroma .mf { color:#a5d6ff }
/* LiteralNumberHex */ .chroma .mh { color:#a5d6ff }
/* LiteralNumberInteger */ .chroma .mi { color:#a5d6ff }
/* LiteralNumberIntegerLong */ .chroma .il { color:#a5d6ff }
/* LiteralNumberOct */ .chroma .mo { color:#a5d6ff }
/* Operator */ .chroma .o { color:#ff7b72;font-weight:bold }
/* OperatorWord */ .chroma .ow { color:#ff7b72;font-weight:bold }
/* OperatorReserved */ .chroma .or { color:#ff7b72;font-weight:bold }
/* Comment */ .chroma .c { color:#8b949e;font-style:italic }
/* CommentHashbang */ .chroma .ch { color:#8b949e;font-style:italic }
/* CommentMultiline */ .chroma .cm { color:#8b949e;font-style:italic }
/* CommentSingle */ .chroma .c1 { color:#8b949e;font-style:italic }
/* CommentSpecial */ .chroma .cs { color:#8b949e;font-weight:bold;font-style:italic }
/* CommentPreproc */ .chroma .cp { color:#8b949e;font-weight:bold;font-style:italic }
/* CommentPreprocFile */ .chroma .cpf { color:#8b949e;font-weight:bold;font-style:italic }
/* GenericDeleted */ .chroma .gd { color:#ffa198;background-color:#490202 }
/* GenericEmph */ .chroma .ge { font-style:italic }
/* GenericError */ .chroma .gr { color:#ffa198 }
/* GenericHeading */ .chroma .gh { color:#79c0ff;font-weight:bold }
/* GenericInserted */ .chroma .gi { color:#56d364;background-color:#0f5323 }
/* GenericOutput */ .chroma .go { color:#8b949e }
/* GenericPrompt */ .chroma .gp { color:#8b949e }
/* GenericStrong */ .chroma .gs { font-weight:bold }
/* GenericSubheading */ .chroma .gu { color:#79c0ff }
/* GenericTraceback */ .chroma .gt { color:#ff7b72 }
/* GenericUnderline */ .chroma .gl { text-decoration:underline }
/* TextWhitespace */ .chroma .w { color:#6e7681 }
  }
}

/* Container styling (padding, radius, scroll) lives in main.css — this file is
   regenerated, so keep only chroma color rules here. */
