@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #0b0e13;
  --surface: #11161d;
  --surface-2: #161c24;
  --border: #1f2731;
  --border-strong: #2c3642;
  --grid-line: rgba(94, 234, 212, 0.05);
  --text: #c9d3df;
  --text-heading: #f1f5f9;
  --text-muted: #8592a3;
  --text-meta: #627082;
  --accent: #5eead4;
  --accent-strong: #99f6e4;
  --accent-soft: rgba(94, 234, 212, 0.12);
  --on-accent: #04201c;
  --pink: #f472b6;
  --code-inline-bg: #1a212b;
  --code-inline-text: #f9a8d4;
  --logo-bg: #0b0e13;
  --logo-ink: #5eead4;
  --code-bg: #0b0e13;
  --code-bar: #11161d;
  --code-border: #1f2731;
  --code-text: #d7dee8;
  --syn-comment: #627082;
  --syn-keyword: #f472b6;
  --syn-string: #86efac;
  --syn-number: #fbbf24;
  --syn-tag: #5eead4;
  --syn-attribute: #a78bfa;
  --syn-function: #7dd3fc;
  --syn-constant: #fdba74;
  --syn-operator: #94a3b8;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme=dark]) {
    color-scheme: light;
    --bg: #f6f7f5;
    --surface: #ffffff;
    --surface-2: #eef0ed;
    --border: #e2e5e1;
    --border-strong: #c9cfc8;
    --grid-line: rgba(15, 118, 110, 0.06);
    --text: #2b323b;
    --text-heading: #0b0e13;
    --text-muted: #56606d;
    --text-meta: #76808d;
    --accent: #0f766e;
    --accent-strong: #115e59;
    --accent-soft: rgba(15, 118, 110, 0.1);
    --on-accent: #ffffff;
    --pink: #be185d;
    --code-inline-bg: #e9ecea;
    --code-inline-text: #9d174d;
    --logo-bg: #0b0e13;
    --logo-ink: #5eead4;
  }
}
:root[data-theme=light] {
  color-scheme: light;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #eef0ed;
  --border: #e2e5e1;
  --border-strong: #c9cfc8;
  --grid-line: rgba(15, 118, 110, 0.06);
  --text: #2b323b;
  --text-heading: #0b0e13;
  --text-muted: #56606d;
  --text-meta: #76808d;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: rgba(15, 118, 110, 0.1);
  --on-accent: #ffffff;
  --pink: #be185d;
  --code-inline-bg: #e9ecea;
  --code-inline-text: #9d174d;
  --logo-bg: #0b0e13;
  --logo-ink: #5eead4;
}

:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #0b0e13;
  --surface: #11161d;
  --surface-2: #161c24;
  --border: #1f2731;
  --border-strong: #2c3642;
  --grid-line: rgba(94, 234, 212, 0.05);
  --text: #c9d3df;
  --text-heading: #f1f5f9;
  --text-muted: #8592a3;
  --text-meta: #627082;
  --accent: #5eead4;
  --accent-strong: #99f6e4;
  --accent-soft: rgba(94, 234, 212, 0.12);
  --on-accent: #04201c;
  --pink: #f472b6;
  --code-inline-bg: #1a212b;
  --code-inline-text: #f9a8d4;
  --logo-bg: #0b0e13;
  --logo-ink: #5eead4;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.15rem;
}

h5, h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1.25rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent-strong);
  text-decoration-thickness: 2px;
}

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

img {
  max-width: 100%;
}

.mono {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 760px;
}

.main-content {
  min-height: calc(100vh - 260px);
}

.logo-cursor {
  animation: cursor-blink 1.1s steps(1, end) infinite;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 0.15em;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: cursor-blink 1.1s steps(1, end) infinite;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .logo-cursor,
  .cursor {
    animation: none;
  }
}
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-heading);
  text-decoration: none;
}
.site-brand:hover {
  color: var(--text-heading);
  text-decoration: none;
}
.site-brand:hover .site-title-path {
  color: var(--accent);
}

.site-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.site-title-path {
  color: var(--text-meta);
  transition: color 0.15s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875rem;
}
.site-nav a {
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--text-heading);
  background: var(--surface-2);
}
.site-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
}
.site-nav .github-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem;
}

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0;
}
.hero.hero-compact {
  padding: 3rem 0 2.5rem;
  margin-bottom: 2rem;
}
.hero.hero-compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.prompt {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  color: var(--text-meta);
  margin: 0 0 1.25rem;
  overflow-wrap: anywhere;
}
.prompt .prompt-user {
  color: var(--accent);
}
.prompt .prompt-path {
  color: var(--pink);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  font-size: 1.35rem;
  margin: 0;
}
.section-head a {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}

.section-kicker {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--text-meta);
  margin: 0 0 0.35rem;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.post-row {
  border-bottom: 1px solid var(--border);
}

.post-row-link {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  padding: 1.1rem 0.75rem;
  margin: 0 -0.75rem;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.post-row-link:hover {
  background: var(--surface);
}
.post-row-link:hover .post-row-title {
  color: var(--accent);
}
.post-row-link:focus-visible {
  outline-offset: -2px;
}

.post-row-date {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--text-meta);
  white-space: nowrap;
}

.post-row-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.post-row-title {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-heading);
  transition: color 0.15s ease;
}

.post-row-description {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.post-row-tag {
  grid-column: 3;
  grid-row: 1;
  white-space: nowrap;
}

.post-row.has-cover .post-row-link {
  grid-template-columns: 7.5rem minmax(0, 1fr) auto 9rem;
}

.post-row-thumb {
  grid-column: 4;
  grid-row: 1;
  align-self: center;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.post-year {
  margin-bottom: 2.5rem;
}

.post-year-title {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-meta);
  margin: 0 0 0.75rem;
}
.post-year-title::before {
  content: "./";
  color: var(--accent);
}

@media (max-width: 640px) {
  .post-row-link {
    grid-template-columns: auto 1fr;
    gap: 0.4rem 0.75rem;
  }
  .post-row-body {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .post-row-tag {
    grid-column: 2;
    grid-row: 1;
  }
  .post-row.has-cover .post-row-link {
    grid-template-columns: auto 1fr;
  }
  .post-row-thumb {
    grid-column: 1/-1;
    grid-row: 3;
    margin-top: 0.5rem;
  }
}
.category-badge {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pink);
}
.category-badge::before {
  content: "#";
  opacity: 0.6;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.category-chip {
  appearance: none;
  padding: 0.4rem 0.8rem;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.category-chip .count {
  color: var(--text-meta);
  margin-left: 0.35rem;
}
.category-chip:hover {
  color: var(--text-heading);
  border-color: var(--border-strong);
}
.category-chip.active {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}
.category-chip.active .count {
  color: inherit;
  opacity: 0.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.button:hover {
  text-decoration: none;
}
.button.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.button.button-primary:hover {
  background: var(--accent-strong);
  color: var(--on-accent);
}
.button.button-secondary {
  background: var(--surface);
  color: var(--text-heading);
  border-color: var(--border-strong);
}
.button.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.more-posts {
  margin-top: 2.5rem;
  text-align: center;
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}
.article .article-header {
  margin-bottom: 2rem;
}
.article .article-path {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--text-meta);
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}
.article .article-path a {
  color: var(--text-meta);
  text-decoration: none;
}
.article .article-path a:hover {
  color: var(--accent);
}
.article .article-title {
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.article .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--text-meta);
}
.article .article-meta .sep {
  opacity: 0.5;
}
.article .article-cover {
  margin: 0 0 2.5rem;
}
.article .article-cover-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.article .article-content {
  font-size: 1.1rem;
  line-height: 1.8;
}
.article .article-content > :first-child {
  margin-top: 0;
}
.article .article-content h2 {
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
}
.article .article-content h2::before {
  content: "## ";
  content: "## "/"";
  color: var(--accent);
  opacity: 0.55;
}
.article .article-content h3 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.85rem;
}
.article .article-content h3::before {
  content: "### ";
  content: "### "/"";
  color: var(--accent);
  opacity: 0.45;
}
.article .article-content h4 {
  margin: 2rem 0 0.75rem;
}
.article .article-content p {
  margin-bottom: 1.4rem;
}
.article .article-content strong {
  color: var(--text-heading);
  font-weight: 600;
}
.article .article-content img {
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.article .article-content hr {
  border: 0;
  height: auto;
  margin: 3rem 0;
  text-align: center;
  color: var(--text-meta);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}
.article .article-content hr::after {
  content: "· · ·";
  letter-spacing: 0.5em;
}
.article .article-content blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0;
  color: var(--text);
}
.article .article-content blockquote p:last-child {
  margin-bottom: 0;
}
.article .article-content ul, .article .article-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.article .article-content li {
  margin-bottom: 0.4rem;
}
.article .article-content ul > li::marker {
  color: var(--accent);
}
.article .article-content ol > li::marker {
  color: var(--text-meta);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.article .article-content code {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: var(--code-inline-bg);
  color: var(--code-inline-text);
}
.article .article-content pre {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.65;
  background: var(--code-bg);
  color: var(--code-text);
  border: 1px solid var(--code-border);
  border-radius: 8px;
}
.article .article-content pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
.article .article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.article .article-content th, .article .article-content td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.article .article-content th {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-heading);
  background: var(--surface-2);
  border-bottom-color: var(--border-strong);
}
.article .article-content tbody tr:hover {
  background: var(--surface);
}
.article .article-nav {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article .article-nav .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.article .article-nav .nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.article .article-nav .nav-link:hover {
  border-color: var(--accent);
}
.article .article-nav .nav-link:hover .nav-title {
  color: var(--accent);
}
.article .article-nav .nav-link.nav-prev .nav-label::before {
  content: "← ";
}
.article .article-nav .nav-link.nav-next {
  grid-column: 2;
  text-align: right;
}
.article .article-nav .nav-link.nav-next .nav-label::after {
  content: " →";
}
.article .article-nav .nav-label {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--text-meta);
}
.article .article-nav .nav-title {
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-heading);
  transition: color 0.15s ease;
}

.page-article {
  padding-top: 3rem;
}

.not-found {
  padding: 5rem 0;
}
.not-found .prompt {
  margin-bottom: 0.5rem;
}
.not-found .error {
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  color: var(--pink);
  margin-bottom: 2rem;
}

.highlighter-rouge {
  position: relative;
  margin: 0 0 1.75rem;
}
.highlighter-rouge > .highlight {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 8px;
  overflow: hidden;
}
.highlighter-rouge > .highlight::before {
  content: "";
  display: block;
  height: 32px;
  background: radial-gradient(circle at 16px 16px, #3a4553 4px, transparent 4.5px), radial-gradient(circle at 30px 16px, #3a4553 4px, transparent 4.5px), radial-gradient(circle at 44px 16px, #3a4553 4px, transparent 4.5px), var(--code-bar);
  border-bottom: 1px solid var(--code-border);
}
.highlighter-rouge::after {
  position: absolute;
  top: 0;
  right: 0.9rem;
  line-height: 34px;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: #627082;
  pointer-events: none;
}
.article .article-content .highlighter-rouge pre {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.language-ruby.highlighter-rouge::after {
  content: "ruby";
}

.language-bash.highlighter-rouge::after {
  content: "bash";
}

.language-shell.highlighter-rouge::after {
  content: "shell";
}

.language-sh.highlighter-rouge::after {
  content: "sh";
}

.language-zsh.highlighter-rouge::after {
  content: "zsh";
}

.language-console.highlighter-rouge::after {
  content: "console";
}

.language-javascript.highlighter-rouge::after {
  content: "javascript";
}

.language-js.highlighter-rouge::after {
  content: "js";
}

.language-typescript.highlighter-rouge::after {
  content: "typescript";
}

.language-ts.highlighter-rouge::after {
  content: "ts";
}

.language-css.highlighter-rouge::after {
  content: "css";
}

.language-scss.highlighter-rouge::after {
  content: "scss";
}

.language-html.highlighter-rouge::after {
  content: "html";
}

.language-erb.highlighter-rouge::after {
  content: "erb";
}

.language-xml.highlighter-rouge::after {
  content: "xml";
}

.language-yaml.highlighter-rouge::after {
  content: "yaml";
}

.language-yml.highlighter-rouge::after {
  content: "yml";
}

.language-json.highlighter-rouge::after {
  content: "json";
}

.language-python.highlighter-rouge::after {
  content: "python";
}

.language-go.highlighter-rouge::after {
  content: "go";
}

.language-rust.highlighter-rouge::after {
  content: "rust";
}

.language-swift.highlighter-rouge::after {
  content: "swift";
}

.language-sql.highlighter-rouge::after {
  content: "sql";
}

.language-lilypond.highlighter-rouge::after {
  content: "lilypond";
}

.language-dockerfile.highlighter-rouge::after {
  content: "dockerfile";
}

.language-markdown.highlighter-rouge::after {
  content: "markdown";
}

.language-text.highlighter-rouge::after {
  content: "text";
}

.language-plaintext.highlighter-rouge::after {
  content: "plaintext";
}

.language-diff.highlighter-rouge::after {
  content: "diff";
}

.highlight {
  color: var(--code-text);
}
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs, .highlight .cp {
  color: var(--syn-comment);
  font-style: italic;
}
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt, .highlight .kc {
  color: var(--syn-keyword);
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .se, .highlight .sr, .highlight .sb, .highlight .sh, .highlight .dl, .highlight .sx {
  color: var(--syn-string);
}
.highlight .si {
  color: var(--syn-constant);
}
.highlight .ss {
  color: var(--syn-constant);
}
.highlight .m, .highlight .mi, .highlight .mf, .highlight .mh, .highlight .mo {
  color: var(--syn-number);
}
.highlight .nt {
  color: var(--syn-tag);
}
.highlight .na, .highlight .nc, .highlight .nl, .highlight .nn {
  color: var(--syn-attribute);
}
.highlight .nb, .highlight .nf, .highlight .fm, .highlight .bp {
  color: var(--syn-function);
}
.highlight .no, .highlight .nv, .highlight .vi, .highlight .vc, .highlight .vg {
  color: var(--syn-constant);
}
.highlight .n, .highlight .nx, .highlight .pi {
  color: var(--code-text);
}
.highlight .o, .highlight .ow, .highlight .p {
  color: var(--syn-operator);
}
.highlight .gi {
  color: var(--syn-string);
}
.highlight .gd {
  color: var(--syn-keyword);
}
.highlight .err {
  color: var(--syn-keyword);
}

.code-playground {
  --playground-height: 260px;
  margin: 2rem 0;
  overflow: hidden;
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 8px;
}

.code-playground [hidden] {
  display: none !important;
}

.code-playground__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.75rem 0.6rem 1rem;
  background: var(--code-bar);
  border-bottom: 1px solid var(--code-border);
}

.article .article-content .code-playground__title,
.code-playground__title {
  margin: 0;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  color: #d7dee8;
}
.article .article-content .code-playground__title::before,
.code-playground__title::before {
  content: none;
}

.code-playground__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.code-playground__tab {
  appearance: none;
  padding: 0.35rem 0.65rem;
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  line-height: 1;
  color: #8592a3;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.code-playground__tab:hover {
  color: #f1f5f9;
  background: #1a212b;
}
.code-playground__tab.is-active {
  color: #04201c;
  background: #5eead4;
}

.code-playground__body {
  background: var(--code-bg);
}

.code-playground__panel {
  min-height: var(--playground-height);
}

.code-playground__preview {
  display: block;
  width: 100%;
  height: var(--playground-height);
  background: #ffffff;
  border: 0;
}

.article .article-content .code-playground__source,
.code-playground__source {
  height: var(--playground-height);
  margin: 0;
  overflow: auto;
}

.code-playground__source .highlighter-rouge,
.code-playground__source .highlight {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.code-playground__source .highlighter-rouge::before, .code-playground__source .highlighter-rouge::after,
.code-playground__source .highlight::before,
.code-playground__source .highlight::after {
  content: none;
}

.article .article-content .code-playground__source pre,
.code-playground__source pre {
  min-height: var(--playground-height);
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: var(--code-bg);
}

.article .article-content .code-playground__source pre code,
.code-playground__source pre code {
  display: block;
  min-width: max-content;
  padding: 0;
  background: transparent;
  white-space: pre;
}

.site-footer {
  margin-top: 5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  font-family: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent);
}
.site-footer .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-heading);
}
.site-footer .footer-logo {
  width: 24px;
  height: 24px;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.site-footer .footer-bottom {
  margin-top: 1.75rem;
  color: var(--text-meta);
  font-size: 0.8rem;
}
.site-footer .footer-bottom p {
  margin: 0;
}
.site-footer .footer-bottom .eof {
  color: var(--accent);
  margin-right: 0.5rem;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  .site-header .container {
    min-height: 56px;
  }
  .site-title-path {
    display: none;
  }
  .site-nav {
    font-size: 0.8rem;
  }
  .site-nav a {
    padding: 0.35rem 0.5rem;
  }
  .hero {
    padding: 3rem 0 2.75rem;
    margin-bottom: 2rem;
  }
  .article {
    padding: 2rem 1rem 1.5rem;
  }
  .article .article-content {
    font-size: 1.05rem;
  }
  .article .article-content pre {
    font-size: 0.8rem;
  }
  .article .article-nav .nav-links {
    grid-template-columns: 1fr;
  }
  .article .article-nav .nav-links .nav-link.nav-next {
    grid-column: 1;
  }
  .code-playground__header {
    flex-direction: column;
    align-items: stretch;
  }
  .code-playground__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .code-playground__tab {
    flex: 0 0 auto;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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