@charset "UTF-8";
/* =====================================================================
   Tokens — single source of truth for colours, fonts, spacing, etc.
   ===================================================================== */
:root,
[data-theme=dark] {
  --bg: #0d1117;
  --bg-elev: #161b22;
  --bg-elev-2: #1c2128;
  --border: #30363d;
  --border-strong: #3d444d;
  --text: #c9d1d9;
  --text-dim: #8b949e;
  --text-faint: #6e7681;
  --accent: #00ff41;
  --accent-dim: #008f11;
  --accent-bright: #39ff7a;
  --accent-glow: rgba(0, 255, 65, 0.35);
  --accent-bg-soft: rgba(0, 255, 65, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius: 10px;
  --radius-sm: 6px;
  --rain-opacity: 0.18;
  color-scheme: dark;
}

[data-theme=light] {
  --bg: #f6f8fa;
  --bg-elev: #ffffff;
  --bg-elev-2: #f0f3f6;
  --border: #d0d7de;
  --border-strong: #afb8c1;
  --text: #1f2328;
  --text-dim: #59636e;
  --text-faint: #818b98;
  --accent: #00802a;
  --accent-dim: #036120;
  --accent-bright: #00a836;
  --accent-glow: rgba(0, 128, 42, 0.25);
  --accent-bg-soft: rgba(0, 128, 42, 0.08);
  --shadow: 0 4px 18px rgba(140, 149, 159, 0.2);
  --rain-opacity: 0.06;
  color-scheme: light;
}

/* High-contrast a11y mode */
[data-a11y=true] {
  --bg: #000000;
  --bg-elev: #000000;
  --bg-elev-2: #0a0a0a;
  --border: #ffffff;
  --border-strong: #ffffff;
  --text: #ffffff;
  --text-dim: #ffffff;
  --text-faint: #cccccc;
  --accent: #ffff00;
  --accent-dim: #cccc00;
  --accent-bright: #ffff66;
  --accent-glow: transparent;
  --accent-bg-soft: #333300;
  --shadow: none;
}

[data-a11y=true][data-theme=light] {
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --bg-elev-2: #f5f5f5;
  --border: #000000;
  --border-strong: #000000;
  --text: #000000;
  --text-dim: #000000;
  --text-faint: #333333;
  --accent: #b35c00;
  --accent-dim: #804200;
  --accent-bright: #cc6f00;
  --accent-glow: transparent;
  --accent-bg-soft: #fff2e0;
}

/* =====================================================================
   Reset, base typography
   ===================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

[data-a11y=true] body {
  font-size: 18px;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: 150ms ease;
}

a:hover {
  text-decoration: underline;
  text-shadow: 0 0 8px var(--accent-glow);
}

[data-a11y=true] a {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

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

img {
  max-width: 100%;
  height: auto;
}

code, kbd, samp, pre {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

p, ul, ol {
  margin: 0 0 1rem;
}

ul, ol {
  padding-left: 1.4rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

blockquote {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-bg-soft);
  color: var(--text-dim);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

blockquote p:last-child {
  margin-bottom: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th, td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
}

th {
  background: var(--bg-elev-2);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
}

tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme=light] tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.02);
}

/* Matrix rain canvas — styled here so it sits behind everything else */
#matrix-rain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: var(--rain-opacity);
  transition: opacity 300ms ease;
}

[data-rain=off] #matrix-rain,
[data-a11y=true] #matrix-rain {
  opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  #matrix-rain {
    opacity: 0;
  }
}
/* =====================================================================
   Layout — app shell, header, nav, footer
   ===================================================================== */
.app {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 4rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
  margin-top: 2rem;
}

/* ---------- Header ---------- */
.header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(6px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  letter-spacing: 0.5px;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo-bracket {
  color: var(--accent);
}

.logo-cursor {
  color: var(--accent);
  animation: blink 1.05s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-cursor {
    animation: none;
  }
}
.header-right {
  display: flex;
  gap: 0.4rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  background: var(--bg-elev);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 150ms ease;
}

.icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.theme-icon {
  display: none;
}

[data-theme=dark] .theme-icon.sun {
  display: block;
}

[data-theme=light] .theme-icon.moon {
  display: block;
}

[data-a11y=true] #a11y-toggle,
[data-rain=off] #rain-toggle {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Nav tabs ---------- */
.nav-bar {
  display: flex;
  gap: 0.25rem;
  margin-top: 1rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.nav-tab {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  color: var(--text-dim);
  padding: 0.65rem 1.1rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: 150ms ease;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  text-decoration: none;
}

.nav-tab:hover {
  color: var(--text);
  background: var(--accent-bg-soft);
  text-decoration: none;
}

.nav-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

.nav-tab-external {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-tab-external-icon {
  font-size: 0.8em;
  opacity: 0.75;
  transition: transform 150ms ease;
}

.nav-tab-external:hover .nav-tab-external-icon {
  transform: translate(2px, -2px);
  opacity: 1;
}

@media (max-width: 560px) {
  .nav-tab-external {
    margin-left: 0;
  }
}
/* ---------- Footer ---------- */
.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
  font-family: "JetBrains Mono", monospace;
  text-align: center;
}

.footer a {
  color: var(--text-dim);
}

.footer a:hover {
  color: var(--accent);
}

/* ---------- Page header / hero shared ---------- */
.prompt {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.prompt-arg {
  color: var(--text);
}

.page-title {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 1rem 0 0.4rem;
  color: var(--accent);
}

.page-sub {
  color: var(--text-dim);
  margin: 0 0 2rem;
}

.home-hero {
  margin-top: 0.5rem;
  padding: 2.5rem 0 1.5rem;
}

.home-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.5rem;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

[data-a11y=true] .home-title {
  background: none;
  color: var(--accent);
}

.home-tagline {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin: 0;
}

/* =====================================================================
   Components — cards, tags, buttons, pagination, archive, TOC
   ===================================================================== */
/* ---------- Post cards (listing) ---------- */
.post-list {
  display: grid;
  gap: 1.25rem;
  margin: 1rem 0 2rem;
}

.post-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: 180ms ease;
  position: relative;
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 28px var(--accent-glow);
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-bg-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.post-card:hover::before {
  opacity: 1;
}

.post-card-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.post-card-title a {
  color: var(--text);
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.post-card-meta,
.post-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.post-meta {
  margin-top: 0.4rem;
}

.post-meta .dot,
.post-card-meta .dot {
  color: var(--text-faint);
}

.post-card-excerpt {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.post-card-tags,
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

/* ---------- Tags / category chips ---------- */
.tag, .cat-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  background: var(--bg-elev-2);
  text-decoration: none;
  transition: 150ms ease;
}

.cat-chip {
  color: var(--accent);
  border-color: var(--accent-dim);
}

.tag:hover, .cat-chip:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-bg-soft);
  text-decoration: none;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg-elev);
  text-decoration: none;
  margin-right: 0.5rem;
  transition: 150ms ease;
}

.btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-bg-soft);
  text-decoration: none;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
}

.pagination .page-link {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  transition: 150ms ease;
}

.pagination .page-link:hover:not(.disabled) {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-bg-soft);
  text-decoration: none;
}

.pagination .page-link.disabled {
  color: var(--text-faint);
  border-color: var(--border);
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination .page-indicator {
  color: var(--text-dim);
}

/* ---------- Archive ---------- */
.archive-year {
  margin-bottom: 2rem;
}

.archive-year-heading {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  border-left: 3px solid var(--accent);
  padding-left: 0.65rem;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border);
  align-items: baseline;
}

.archive-item:last-child {
  border-bottom: none;
}

.archive-date {
  font-family: "JetBrains Mono", monospace;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.archive-item a {
  color: var(--text);
  text-decoration: none;
}

.archive-item a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ---------- TOC ---------- */
.toc {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
  font-size: 0.92rem;
}

.toc-heading {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-list ol {
  list-style: none;
  padding-left: 1rem;
  margin: 0.25rem 0;
}

.toc li {
  margin: 0.2rem 0;
}

.toc a {
  color: var(--text-dim);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 0.5rem;
  display: inline-block;
}

.toc a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  text-decoration: none;
}

/* ---------- Categories index page (custom Liquid in a page) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.category-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: 150ms ease;
  display: block;
}

.category-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  text-decoration: none;
  transform: translateY(-2px);
}

.category-card-name {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
  color: var(--accent);
  margin: 0 0 0.25rem;
}

.category-card-count {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Tag cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag-cloud .tag {
  font-size: 0.95rem;
  padding: 0.3rem 0.7rem;
}

.tag-cloud .tag-count {
  display: inline-block;
  margin-left: 0.25rem;
  color: var(--text-faint);
  font-size: 0.8em;
}

/* 404 */
.four-oh-four .not-found {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
}

/* =====================================================================
   Single post: header, content, code, prev/next nav
   ===================================================================== */
.post {
  max-width: 760px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.post-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: var(--text);
}

.post-description {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-top: 0.6rem;
  font-style: italic;
}

/* ---------- Post body ---------- */
.post-content {
  font-size: 1.02rem;
  line-height: 1.7;
}

.post-content > * {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.post-content > *:first-child {
  margin-top: 0;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 80px;
  color: var(--text);
}

.post-content h2 {
  font-size: 1.55rem;
  border-left: 3px solid var(--accent);
  padding-left: 0.65rem;
}

.post-content h3 {
  font-size: 1.25rem;
  color: var(--accent);
}

.post-content h4 {
  font-size: 1.05rem;
  color: var(--text);
}

.post-content a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease;
}

.post-content a:hover {
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.post-content img {
  display: block;
  margin: 1rem auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
}

.post-content li {
  margin: 0.3rem 0;
}

/* ---------- Inline code ---------- */
.post-content code:not(pre code) {
  color: var(--accent);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  font-size: 0.9em;
  word-break: break-word;
}

/* ---------- Code blocks (rouge wraps in .highlight) ---------- */
.highlight,
.post-content pre {
  background: var(--bg-elev) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  overflow-x: auto;
  font-size: 0.92rem;
  line-height: 1.55;
}

.post-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font-size: 1em;
}

/* ---------- Post footer ---------- */
.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .post-nav {
    grid-template-columns: 1fr;
  }
}
.post-nav-link {
  display: block;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--text);
  transition: 150ms ease;
}

.post-nav-link:hover {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  text-decoration: none;
}

.post-nav-link.next {
  text-align: right;
}

.post-nav-direction {
  display: block;
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.post-nav-title {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.3;
}

/* ---------- Page wrapper for non-post pages ---------- */
.page {
  max-width: 900px;
  margin: 0 auto;
}

/* =====================================================================
   Rouge syntax highlighting — GitHub-dark inspired (Matrix-friendly)
   ===================================================================== */
.highlight {
  /* base set on .highlight in _post.scss */
  color: var(--text);
  /* generic */
}
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs, .highlight .cd {
  color: var(--text-faint);
  font-style: italic;
}
.highlight .err {
  color: #f85149;
}
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
  color: #ff7b72;
}
.highlight { /* keywords */ }
.highlight .o, .highlight .ow {
  color: #ff7b72;
}
.highlight { /* operators */ }
.highlight .p {
  color: var(--text-dim);
}
.highlight { /* punctuation */ }
.highlight .nb {
  color: #79c0ff;
}
.highlight { /* builtins */ }
.highlight .nc, .highlight .ne, .highlight .nn, .highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi {
  color: #d2a8ff;
}
.highlight { /* class/var */ }
.highlight .nf, .highlight .fm {
  color: var(--accent);
}
.highlight { /* function names — Matrix green */ }
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx, .highlight .sr, .highlight .ss {
  color: #a5d6ff;
}
.highlight { /* strings */ }
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .mx {
  color: #79c0ff;
}
.highlight { /* numbers */ }
.highlight .na {
  color: #79c0ff;
}
.highlight { /* attributes */ }
.highlight .nt {
  color: #7ee787;
}
.highlight { /* tag names */ }
.highlight .gi {
  color: #7ee787;
  background: rgba(46, 160, 67, 0.15);
  display: inline-block;
  width: 100%;
}
.highlight .gd {
  color: #ffa198;
  background: rgba(248, 81, 73, 0.15);
  display: inline-block;
  width: 100%;
}
.highlight .gh, .highlight .gu {
  color: #79c0ff;
  font-weight: 700;
}

/* Light theme tweaks for readability */
[data-theme=light] .highlight .c, [data-theme=light] .highlight .c1, [data-theme=light] .highlight .cm {
  color: #6e7781;
}
[data-theme=light] .highlight .k, [data-theme=light] .highlight .kc, [data-theme=light] .highlight .kd, [data-theme=light] .highlight .kn, [data-theme=light] .highlight .kp, [data-theme=light] .highlight .kr, [data-theme=light] .highlight .kt, [data-theme=light] .highlight .o, [data-theme=light] .highlight .ow {
  color: #cf222e;
}
[data-theme=light] .highlight .nb {
  color: #0550ae;
}
[data-theme=light] .highlight .nc, [data-theme=light] .highlight .ne, [data-theme=light] .highlight .nn {
  color: #6f42c1;
}
[data-theme=light] .highlight .nf {
  color: #008f11;
}
[data-theme=light] .highlight { /* function names */ }
[data-theme=light] .highlight .s, [data-theme=light] .highlight .s1, [data-theme=light] .highlight .s2 {
  color: #0a3069;
}
[data-theme=light] .highlight .m, [data-theme=light] .highlight .mi, [data-theme=light] .highlight .mf {
  color: #0550ae;
}
[data-theme=light] .highlight .nt {
  color: #116329;
}

/* Filename plate — used by some markdown engines (kramdown can't natively;
   we leave the hook here in case posts use Liquid {% highlight %} blocks). */
.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 0.4rem 0.75rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.code-header + .highlight {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/*# sourceMappingURL=main.css.map */