@charset "UTF-8";
:root {
  --bg: #0d0d0d;
  --bg-light: #1a1a1a;
  --bg-lighter: #252525;
  --green: #00ff00;
  --green-dim: #00cc00;
  --green-dark: #009900;
  --amber: #ffb000;
  --red: #ff4444;
  --blue: #4fc3f7;
  --cyan: #00e5ff;
  --white: #e0e0e0;
  --gray: #888;
  --gray-dark: #555;
  --font-mono: 'Fira Code', monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mono);
  background-color: var(--bg);
  color: var(--white);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 0, 0.015) 2px, rgba(0, 255, 0, 0.015) 4px);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--green);
  font-weight: 600;
  margin: 1.5em 0 0.5em;
  line-height: 1.3;
}

h1 {
  font-size: 1.6rem;
}

h2 {
  font-size: 1.3rem;
  color: var(--amber);
}

h3 {
  font-size: 1.1rem;
}

h4 {
  font-size: 1rem;
  color: var(--gray);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--amber);
  text-decoration: underline;
}

strong {
  color: var(--green);
  font-weight: 600;
}

em {
  color: var(--amber);
  font-style: italic;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-light);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: var(--cyan);
}

pre {
  background: var(--bg-light);
  border-left: 3px solid var(--green-dark);
  border-radius: 4px;
  padding: 1em;
  margin: 1em 0;
  overflow-x: auto;
  position: relative;
}
pre code {
  background: none;
  padding: 0;
  font-size: 0.85em;
  color: var(--white);
}

blockquote {
  border-left: 3px solid var(--amber);
  padding: 0.5em 1em;
  margin: 1em 0;
  color: var(--gray);
  background: var(--bg-light);
  border-radius: 0 4px 4px 0;
}
blockquote p:last-child {
  margin-bottom: 0;
}

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

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

th {
  background: var(--bg-lighter);
  color: var(--green);
  font-weight: 600;
}

tr:nth-child(even) {
  background: var(--bg-light);
}

ul, ol {
  margin: 0.5em 0 1em 1.5em;
}

li {
  margin: 0.3em 0;
}

hr {
  border: none;
  border-top: 1px solid var(--gray-dark);
  margin: 2em 0;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

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

.terminal-window {
  background: var(--bg-light);
  border: 1px solid var(--gray-dark);
  border-radius: 6px;
  margin: 1.5em 0;
  overflow: hidden;
}
.terminal-window .terminal-titlebar {
  background: var(--bg-lighter);
  padding: 0.5em 0.75em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  border-bottom: 1px solid var(--gray-dark);
}
.terminal-window .terminal-titlebar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.terminal-window .terminal-titlebar .dot.red {
  background: #ff5f56;
}
.terminal-window .terminal-titlebar .dot.yellow {
  background: #ffbd2e;
}
.terminal-window .terminal-titlebar .dot.green {
  background: #27c93f;
}
.terminal-window .terminal-titlebar .title {
  color: var(--gray);
  font-size: 0.8em;
  margin-left: 0.5em;
}
.terminal-window .terminal-body {
  padding: 1em;
}

.prompt {
  color: var(--green);
}
.prompt::before {
  content: "$ ";
  color: var(--green-dim);
}

.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  background: var(--green);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.tree-view {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tree-view .tree-branch {
  margin: 0.5em 0;
}
.tree-view .tree-branch .tree-label {
  color: var(--amber);
  font-weight: 600;
}
.tree-view .tree-leaves {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tree-view .tree-leaves li {
  margin: 0.2em 0;
  padding-left: 1.5em;
}
.tree-view .tree-leaves li::before {
  content: "├── ";
  color: var(--gray-dark);
}
.tree-view .tree-leaves li:last-child::before {
  content: "└── ";
}

.glow {
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5), 0 0 20px rgba(0, 255, 0, 0.3);
}

.site-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1.5em;
}

.site-header {
  background: var(--bg-light);
  border-bottom: 2px solid var(--green-dark);
  padding: 0.75em 0;
}
.site-header .header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
}
.site-header .site-title {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .site-title:hover {
  color: var(--amber);
  text-decoration: none;
}
.site-header .site-nav {
  display: flex;
  gap: 1.25em;
  flex-wrap: wrap;
}
.site-header .site-nav a {
  color: var(--gray);
  font-size: 0.85em;
  text-decoration: none;
}
.site-header .site-nav a:hover {
  color: var(--green);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-list .post-entry {
  padding: 1em 0;
  border-bottom: 1px solid var(--bg-lighter);
}
.post-list .post-entry:last-child {
  border-bottom: none;
}
.post-list .post-entry .post-entry-date {
  color: var(--gray);
  font-size: 0.8em;
  display: inline-block;
  min-width: 6.5em;
}
.post-list .post-entry .post-entry-title {
  color: var(--green);
  font-weight: 500;
}
.post-list .post-entry .post-entry-title:hover {
  color: var(--amber);
}
.post-list .post-entry .post-entry-categories {
  display: inline;
  margin-left: 0.5em;
}
.post-list .post-entry .post-entry-excerpt {
  color: var(--gray);
  font-size: 0.85em;
  margin-top: 0.3em;
  padding-left: 6.5em;
}

.category-tag {
  display: inline-block;
  background: var(--bg-lighter);
  color: var(--amber);
  padding: 0.1em 0.5em;
  border-radius: 3px;
  font-size: 0.75em;
  margin: 0 0.15em;
}

.post-tag {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.75em;
  margin: 0 0.15em;
}
.post-tag::before {
  content: "#";
  color: var(--gray-dark);
}

.post .post-header {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid var(--gray-dark);
}
.post .post-title {
  font-size: 1.6rem;
  margin: 0 0 0.5em;
}
.post .post-meta {
  color: var(--gray);
  font-size: 0.85em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  align-items: center;
}
.post .post-content {
  margin-bottom: 2em;
}
.post .post-nav {
  padding-top: 1.5em;
  border-top: 1px solid var(--gray-dark);
}
.post .post-nav a {
  color: var(--gray);
  font-size: 0.9em;
}
.post .post-nav a:hover {
  color: var(--green);
}

.page .page-header {
  margin-bottom: 1.5em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid var(--gray-dark);
}
.page .page-title {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--gray-dark);
  padding: 1.5em 0;
  margin-top: 3em;
}
.site-footer .footer-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5em;
  text-align: center;
  color: var(--gray);
  font-size: 0.8em;
}
.site-footer .footer-inner .separator {
  margin: 0 0.5em;
}
.site-footer .footer-inner a {
  color: var(--gray);
}
.site-footer .footer-inner a:hover {
  color: var(--green);
}

@media (max-width: 600px) {
  .site-header .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-list .post-entry .post-entry-date {
    display: block;
    min-width: auto;
  }
  .post-list .post-entry .post-entry-excerpt {
    padding-left: 0;
  }
  .site-content {
    padding: 1em;
  }
}
.highlight {
  background: var(--bg-light);
  border-radius: 4px;
  margin: 1em 0;
}
.highlight pre {
  margin: 0;
  border-left: 3px solid var(--green-dark);
}
.highlight .gl {
  color: var(--gray-dark);
  margin-right: 1em;
  user-select: none;
}
.highlight .lineno {
  color: var(--gray-dark);
  padding-right: 1em;
  user-select: none;
}
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs, .highlight .ch, .highlight .cp, .highlight .cpf {
  color: #6a9955;
  font-style: italic;
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sh, .highlight .sx, .highlight .dl {
  color: #ce9178;
}
.highlight .si {
  color: #d7ba7d;
}
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
  color: #569cd6;
  font-weight: 500;
}
.highlight .nb, .highlight .bp {
  color: #4ec9b0;
}
.highlight .nf, .highlight .fm {
  color: #dcdcaa;
}
.highlight .nc, .highlight .nn {
  color: #4ec9b0;
}
.highlight .mi, .highlight .mf, .highlight .mh, .highlight .mo, .highlight .mb, .highlight .mx, .highlight .il {
  color: #b5cea8;
}
.highlight .o, .highlight .ow {
  color: #d4d4d4;
}
.highlight .n, .highlight .na, .highlight .nv, .highlight .vi, .highlight .vm, .highlight .vc, .highlight .vg {
  color: #d4d4d4;
}
.highlight .nd {
  color: #dcdcaa;
}
.highlight .no {
  color: #4fc1ff;
}
.highlight .sr {
  color: #d16969;
}
.highlight .err {
  color: #f44747;
  background: none;
}
.highlight .gd {
  color: #f44747;
}
.highlight .gi {
  color: #6a9955;
}
.highlight .gh, .highlight .gu {
  color: #569cd6;
  font-weight: 600;
}
.highlight .p {
  color: #d4d4d4;
}
.highlight .w {
  color: #d4d4d4;
}

.code-block-wrapper {
  position: relative;
}
.code-block-wrapper .copy-btn {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  background: var(--bg-lighter);
  color: var(--gray);
  border: 1px solid var(--gray-dark);
  border-radius: 3px;
  padding: 0.25em 0.5em;
  font-family: var(--font-mono);
  font-size: 0.7em;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
}
.code-block-wrapper .copy-btn:hover {
  color: var(--green);
  border-color: var(--green-dark);
}
.code-block-wrapper:hover .copy-btn {
  opacity: 1;
}

.notebook-container {
  background: var(--bg-light);
  border: 1px solid var(--gray-dark);
  border-radius: 6px;
  padding: 1em;
  margin: 1em 0;
}
.notebook-container .notebook-description {
  color: var(--gray);
  font-size: 0.9em;
  margin-bottom: 0.75em;
}
.notebook-container .notebook-buttons {
  display: flex;
  gap: 0.75em;
  flex-wrap: wrap;
}
.notebook-container .notebook-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5em 1em;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.notebook-container .notebook-btn svg {
  flex-shrink: 0;
}
.notebook-container .notebook-btn.colab-btn {
  background: var(--bg-lighter);
  color: var(--amber);
  border: 1px solid var(--amber);
}
.notebook-container .notebook-btn.colab-btn:hover {
  background: var(--amber);
  color: var(--bg);
  text-decoration: none;
}
.notebook-container .notebook-btn.github-btn {
  background: var(--bg-lighter);
  color: var(--white);
  border: 1px solid var(--gray-dark);
}
.notebook-container .notebook-btn.github-btn:hover {
  background: var(--gray-dark);
  color: var(--white);
  text-decoration: none;
}
.notebook-container .notebook-embed {
  margin-top: 1em;
  border: 1px solid var(--gray-dark);
  border-radius: 4px;
  overflow: hidden;
}
.notebook-container .notebook-embed iframe {
  display: block;
}

.katex {
  font-size: 1.1em;
  color: var(--white);
}

.katex-display {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5em 0;
}

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