@charset "UTF-8";
@media (width < 64rem) {
  #page-catalog {
    display: none;
  }
}
#page-catalog {
  position: fixed;
  width: calc(50vw - 24.5rem);
  top: 20vh;
  right: 1rem;
  color: #808080;
}
#page-catalog > .link-to-h1 {
  color: #84d5a7;
}
#page-catalog > p > span {
  font-size: 1.5rem;
  line-height: 1rem;
}

#menu {
  padding: 1rem;
  max-width: 44rem;
  margin: auto;
}

#menu > nav {
  max-width: 28rem;
  margin: 1rem auto 0 auto;
}

.menu-item {
  display: block;
}

a.menu-item {
  margin: 1rem;
}

.result-error, .result-success {
  margin-top: 5px;
  padding-left: 5px;
}

.result-error {
  background-color: rgba(172, 65, 66, 0.4);
}

.command-tag, .command-category, .path {
  color: #F5DB71;
}

.command {
  font-size: 0.8rem;
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
}
.command > * {
  display: inline-block;
}
.command > .seperator {
  color: #3af180;
}
.command > .comment {
  color: rgba(170, 170, 170, 0.6);
}

.total-text {
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: none;
  box-sizing: border-box;
  font-family: "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
}

body {
  color: #FFFFFF;
  background-color: #1c1a2a;
}

header {
  text-align: center;
  margin-top: 1rem;
}

.site-title > a {
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
  font-weight: 400;
  color: var(--title-color);
  font-size: 1.5rem;
}

.menu-button {
  color: var(--terminal-accent);
  text-align: end;
  margin: 0 1rem;
}

.menu-button.active {
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
}

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

main {
  padding: 1rem;
  max-width: 44rem;
  margin: auto;
}

.layout {
  scrollbar-gutter: stable;
  overflow-y: scroll;
  max-height: 100vh;
  scrollbar-width: 5px;
}
.layout::-webkit-scrollbar {
  max-width: 5px;
  max-height: 5px;
}
.layout::-webkit-scrollbar-thumb {
  background-color: rgb(68, 68, 68);
  border-radius: 5px;
}
.layout::-webkit-scrollbar-corner {
  background: rgba(0, 0, 0, 0);
}

.layout-content {
  min-height: calc(100vh - 5.5rem);
  max-width: 44rem;
  margin: auto;
}

footer {
  height: 3rem;
  font-size: 0.9rem;
  max-width: 44rem;
  width: 100%;
  text-align: center;
  margin: 1rem auto 0.5rem;
}

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

/* Terminal-style (green-on-black) overrides */
:root {
  --terminal-bg: #070b06; /* very dark background */
  --terminal-text: #9be69b; /* readable green body text */
  --terminal-muted: #556b55; /* muted green */
  --terminal-accent: var(--title-color, #28a745); /* use existing title color */
  /* CRT / scanline controls (easy to tweak) */
  --crt-border-color: rgba(40,167,69,0.12);
  --crt-glow: rgba(40,167,69,0.035);
  --crt-radius: 28px; /* curvature to mimic kineskop */
  --scanline-opacity: 0.2; /* darkness of each scanline */
  --scanline-height: 1px; /* height of the dark line */
  --scanline-gap: 3px; /* gap between lines */
  --scanline-blend: multiply; /* blend for subtle effect */
  /* accent shades for diagram fills/strokes */
  --terminal-accent-weak: rgba(40,167,69,0.04);
  --terminal-accent-strong: rgba(40,167,69,0.12);
  --terminal-muted-weak: rgba(85,107,85,0.04);
  --terminal-amber-weak: rgba(255,184,77,0.05);
  --terminal-amber-strong: rgba(255,184,77,0.10);
}

html {
  font-family: Menlo, "MesloLGS NF", "Courier New", monospace;
}

body {
  background-color: var(--terminal-bg) !important;
  color: var(--terminal-text) !important;
  -webkit-font-smoothing: none;
}

/* Headlines, site title and emphasis use accent green */
.site-title > a,
h1, h2, h3, h4 {
  color: var(--terminal-accent) !important;
  font-weight: 600;
}

/* Links / navigation */
a, .menu-button, footer a {
  color: var(--terminal-accent) !important;
}

a:hover, .menu-button.active {
  color: var(--terminal-accent) !important;
}

/* Make main layout feel like a terminal */
.layout, .layout-content, main {
  background: transparent;
}

/* Code / pre blocks — green on dark */
/* Block-level code (pre / highlighted blocks) */
pre, pre.highlight, .highlight > pre, .highlight > code {
  display: block;
  background: var(--terminal-bg) !important; /* follow CRT background (changes with accent/light) */
  color: var(--terminal-text) !important;
  font-family: Menlo, "MesloLGS NF", "Courier New", monospace !important;
  border-radius: 4px;
  border: 1px solid var(--crt-border-color);
  padding: 0.75rem !important;
  margin: 1.25rem 0 !important; /* increase vertical gap to avoid visual overlap */
  position: relative;
  z-index: 1; /* render above inline elements */
}

/* Inline code (small pill) — reduces vertical padding so it won't overlap neighboring blocks */
.post p code,
.post li code,
.post td code,
.post th code,
.post .post-preview .description code,
.post code.highlighter-rouge {
  background: var(--terminal-accent-weak);
  border: 1px solid var(--terminal-accent-strong);
  padding: 0 0.35rem !important;
  border-radius: 3px;
  line-height: 1;
  vertical-align: baseline;
  display: inline-block;
  margin: 0 0.15rem;
  position: relative;
  z-index: 0;
}

/* Ensure outer .highlight wrapper doesn't add duplicate border/padding */
.highlight {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
}

.highlight > pre, .highlight > code, pre.highlight {
  border: 1px solid var(--crt-border-color) !important;
}

/* Extra spacing when a <pre> follows a paragraph/description to prevent touching */
.post p + pre,
.post p + .highlight > pre,
.post .description + pre,
p + pre {
  margin-top: 1.6rem !important;
}

/* Safety stacking: pre above inline code */
pre, .highlight > pre {
  z-index: 1;
}

.post code {
  z-index: 0;
}

/* Syntax token accents (simplified green palette) */
.highlight .m, .highlight .s, .highlight .sb, .highlight .s1, .highlight .ss {
  color: var(--terminal-muted) !important;
}

.highlight .k, .highlight .kd, .highlight .kt, .highlight .nf {
  color: var(--terminal-accent) !important;
}

.highlight .nc, .highlight .nn, .highlight .na {
  color: var(--terminal-accent) !important;
}

/* Small visual touches */
header, footer {
  border-top: 0;
}

.site-title > a::after {
  content: " ▊";
  color: var(--terminal-accent);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
/* Remove thin HR right after a post title (prevents extra line above content) */
.post .post-title + hr {
  display: none;
}

/* CRT display: container border + scanline overlay */
.layout-content {
  position: relative;
  overflow: hidden; /* clip scanline overlay */
  margin-top: 0.5rem; /* minimal spacing from top of the browser */
  border: 1px solid var(--crt-border-color);
  border-top: 0;
  border-bottom: 0;
  border-radius: var(--crt-radius);
  box-shadow: inset 0 20px 60px var(--crt-glow), inset 0 -8px 24px rgba(0, 0, 0, 0.25), 0 24px 60px rgba(0, 0, 0, 0.6);
  background-clip: padding-box;
}

/* scanline pseudo-element (behind content) */
.layout-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent var(--scanline-height), rgba(0, 0, 0, var(--scanline-opacity)) var(--scanline-height), rgba(0, 0, 0, var(--scanline-opacity)) calc(var(--scanline-height) + var(--scanline-gap)));
  pointer-events: none;
  mix-blend-mode: var(--scanline-blend);
  opacity: 0.85;
  z-index: 0; /* behind content */
  background-repeat: repeat;
}

/* subtle glass highlight to mimic curved kineskop surface */
.layout-content::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(800px 220px at 15% 12%, rgba(255, 255, 255, 0.06), transparent 12%), linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 35%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
  z-index: 1; /* above scanlines but below content */
}

/* ensure children render above overlays */
.layout-content > * {
  position: relative;
  z-index: 2;
}

/* Prevent adjacent doubled borders (heading ↔ code / series / post-nav) */
.post h2 + .highlight,
.post h3 + .highlight,
.post h2 + pre,
.post h3 + pre,
.post p + .highlight,
.post p + pre {
  border-top: 0 !important;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

/* Avoid double border where series / category containers meet other bordered elements */
.series-sublist {
  border-top: 1px rgba(255, 255, 255, 0.05) solid;
}

.series-sublist + .highlight,
.series-sublist + pre,
.post-bidirectional-nav + pre {
  border-top: 0 !important;
}

/* Ensure category container doesn't introduce an extra border */
.category {
  border: 0 !important;
}

/* Safety: keep only one visible border on code blocks */
.highlight {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.highlight > pre, .highlight > code, pre.highlight {
  border: 1px solid rgba(40, 167, 69, 0.1) !important;
}

/* Theme toggle button styles */
#theme-toggle, .menu-theme-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--terminal-accent);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  display: inline-block;
}

#theme-toggle[aria-pressed=true] {
  background: rgba(255, 255, 255, 0.03);
}

.menu-accent-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--terminal-accent);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.menu-accent-toggle[aria-pressed=true] {
  background: rgba(255, 255, 255, 0.03);
}

/* Accent variant: green (default) */
.accent-green {
  --terminal-bg: #070b06; /* deep green CRT */
  --terminal-text: #9be69b; /* pale green text */
  --terminal-accent: #28a745; /* primary green accent */
  --title-color: #28a745;
  --terminal-muted: #556b55;
  --terminal-accent-weak: rgba(40,167,69,0.03);
  --terminal-accent-strong: rgba(40,167,69,0.22); /* stronger so actor boxes cover lifelines */
  --terminal-muted-weak: rgba(85,107,85,0.03);
  --crt-border-color: rgba(40,167,69,0.12);
  --crt-glow: rgba(40,167,69,0.035);
}

/* Accent variant: amber */
.accent-amber {
  --terminal-bg: #1a1207; /* deep amber CRT */
  --terminal-text: #ffe9c6; /* warm amber text */
  --terminal-accent: #ffb84d; /* primary amber accent */
  --title-color: #ffb84d;
  --terminal-muted: #b57936; /* muted amber for token accents */
  --terminal-accent-weak: rgba(255,184,77,0.05);
  --terminal-accent-strong: rgba(255,184,77,0.20); /* stronger amber fill to hide lifelines */
  --terminal-muted-weak: rgba(181,121,54,0.04);
  --crt-border-color: rgba(255,184,77,0.10);
  --crt-glow: rgba(255,184,77,0.03);
}

/* Accent variant: green is default (no class needed) */
/* Search UI inside menu */
.menu-item.search {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.menu-search-input {
  width: 100%;
  padding: 0.45rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
  color: var(--terminal-text);
  font: inherit;
}

.menu-search-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.search-results {
  margin-top: 0.35rem;
  max-height: 40vh;
  overflow: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
}

.search-result {
  display: block;
  padding: 0.5rem;
  border-radius: 3px;
  background: transparent;
  color: var(--terminal-text);
  text-decoration: none;
}

.search-result:hover {
  background: rgba(255, 255, 255, 0.02);
}

.search-title {
  color: var(--terminal-accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.search-excerpt {
  color: var(--terminal-muted);
  font-size: 0.85rem;
  line-height: 1.25;
  white-space: normal;
  max-height: 3.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Light theme overrides */
.light-theme {
  --terminal-bg: #f6fff7; /* subtle green tint */
  --terminal-text: #1f2a1f; /* slightly warmer dark text for contrast */
  --terminal-accent: #2e8b57; /* deeper green accent */
  --crt-border-color: rgba(34,139,87,0.12);
  --crt-glow: rgba(46,139,87,0.02);
  --scanline-opacity: 0; /* disable scanlines in light mode */
  --terminal-accent-weak: rgba(46,139,87,0.04);
  --terminal-accent-strong: rgba(46,139,87,0.10);
  --terminal-muted-weak: rgba(34,139,87,0.03);
}

/* Light theme + amber accent */
.light-theme.accent-amber {
  --terminal-accent: #d6891f;
  --terminal-bg: #fff8ef;
  --terminal-text: #3a2b18;
  --terminal-accent-weak: rgba(214,137,31,0.06);
  --terminal-accent-strong: rgba(214,137,31,0.12);
  --terminal-muted-weak: rgba(181,121,54,0.04);
  --crt-border-color: rgba(214,137,31,0.06);
  --crt-glow: rgba(214,137,31,0.02);
}

/* Ensure pre/code blocks (including Mermaid containers) respect amber background in light+amber */
.light-theme.accent-amber pre,
.light-theme.accent-amber pre.highlight,
.light-theme.accent-amber .highlight > pre,
.light-theme.accent-amber pre > code,
.post .mermaid {
  background: var(--terminal-bg) !important;
  color: var(--terminal-text) !important;
  border-color: rgba(214, 137, 31, 0.08) !important;
}

/* High-specificity override to beat generic light-theme pre rules */
html.light-theme.accent-amber pre,
html.light-theme.accent-amber pre.highlight,
html.light-theme.accent-amber .highlight > pre,
html.light-theme.accent-amber pre > code {
  background: var(--terminal-bg) !important;
  color: var(--terminal-text) !important;
  border-color: rgba(214, 137, 31, 0.1) !important;
}

/* Make code blocks readable in light theme */
.light-theme pre, .light-theme pre.highlight, .light-theme .highlight > pre {
  background: #f6fff6 !important; /* very light green background */
  color: var(--terminal-text) !important;
  border-color: rgba(34, 139, 87, 0.1) !important;
}

/* Ensure the .highlight wrapper is transparent in light mode so inner <pre> shows correctly */
.light-theme .highlight {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Prevent token-level dark backgrounds (rouge classes) from remaining visible in light mode */
.light-theme .highlight .gh,
.light-theme .highlight .err,
.light-theme .highlight .c,
.light-theme .highlight .ch,
.light-theme .highlight .gd {
  background: transparent !important;
  color: inherit !important;
}

/* Inline code in light theme — use pale green, not dark */
.light-theme .post p code,
.light-theme .post li code,
.light-theme .post .post-preview .description code,
.light-theme .post code.highlighter-rouge {
  background: rgba(34, 139, 87, 0.06);
  border-color: rgba(34, 139, 87, 0.12);
  color: var(--terminal-text);
}

/* Ensure description (excerpt) text is green in light theme too */
.light-theme .post .post-preview .description {
  color: rgba(34, 139, 87, 0.65);
}

/* Theme toggle button in light mode — adjust border/text for visibility */
.light-theme #theme-toggle, .light-theme .menu-theme-toggle {
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--terminal-accent);
  background: rgba(0, 0, 0, 0.02);
}

/* Light theme: search styles */
.light-theme .menu-search-input {
  background: rgba(255, 255, 255, 0.92);
  color: var(--terminal-text);
  border-color: rgba(0, 0, 0, 0.08);
}

.light-theme .search-results {
  background: #f6fff6;
  border-color: rgba(34, 139, 87, 0.08);
}

/* Hide scanline overlay in light mode */
.light-theme .layout-content::before {
  opacity: 0 !important;
}

/* High-specificity overrides to ensure vendor/rouge backgrounds don't remain dark in light mode */
html.light-theme pre,
html.light-theme pre.highlight,
html.light-theme .highlight > pre,
html.light-theme pre > code {
  background: #f6fff6 !important;
  color: var(--terminal-text) !important;
  border-color: rgba(34, 139, 87, 0.1) !important;
  box-shadow: none !important;
}

html.light-theme .highlight,
html.light-theme .highlight *,
html.light-theme .language-bash .highlight {
  background: transparent !important;
  box-shadow: none !important;
}

/* Clear any token-level dark backgrounds added by rouge */
html.light-theme .highlight .gh,
html.light-theme .highlight .err,
html.light-theme .highlight .gd,
html.light-theme .highlight .gi {
  background: transparent !important;
}

/* Force code text and inline code inside pre to inherit light theme colors */
html.light-theme pre code {
  color: var(--terminal-text) !important;
  background: transparent !important;
}

.language-bash > .highlight .nv {
  color: #a54a4a;
}

.highlight {
  color: #d0d0d0;
  white-space: pre-wrap;
}
.highlight table td {
  padding: 5px;
}
.highlight table pre {
  margin: 0;
}
.highlight .w {
  color: #d0d0d0;
}
.highlight .err {
  color: #151515;
  background-color: rgba(172, 65, 66, 0.4);
}
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
  color: #505050;
}
.highlight .cp {
  color: #f4bf75;
}
.highlight .nt {
  color: #f4bf75;
}
.highlight .o, .highlight .ow {
  color: #d0d0d0;
}
.highlight .p, .highlight .pi {
  color: #d0d0d0;
}
.highlight .gi {
  color: #90a959;
}
.highlight .gd {
  color: #ac4142;
}
.highlight .gh {
  color: var(--terminal-accent);
  background-color: #151515;
  font-weight: bold;
}
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
  color: #aa759f;
}
.highlight .kc {
  color: #d28445;
}
.highlight .kt {
  color: #d28445;
}
.highlight .kd {
  color: #d28445;
}
.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
  color: var(--terminal-muted);
}
.highlight .sa {
  color: #aa759f;
}
.highlight .sr {
  color: var(--terminal-accent);
}
.highlight .si {
  color: #8f5536;
}
.highlight .se {
  color: #8f5536;
}
.highlight .nn {
  color: #f4bf75;
}
.highlight .nc {
  color: #f4bf75;
}
.highlight .no {
  color: #f4bf75;
}
.highlight .na {
  color: #bff7bf;
}
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
  color: #90a959;
}
.highlight .ss {
  color: #90a959;
}

.Mathjax {
  top: 1px;
}

.post .mermaid {
  display: block;
  text-align: center;
  margin: 1rem 0;
}

/* Keep Mermaid SVGs responsive but do not override Mermaid's internal styling */
.post .mermaid svg {
  max-width: 100%;
  height: auto;
  background: transparent;
}

#categories.single-category .category > h2, #categories.single-category .category > .size {
  display: none;
}
#categories.single-category .category > .total-text {
  display: block;
}
#categories.single-category .category > .post-list > .post-preview {
  margin-top: 0.5rem;
}
#categories.single-category .category > .post-list > .post-preview .date {
  float: right;
}
#categories.single-category .category > .post-list > .post-preview .description {
  display: -webkit-box;
}

.category {
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
}
.category > .total-text {
  display: none;
}
.category > h2, .category > .size {
  font-weight: 300;
  font-size: 1rem;
  display: inline-block;
}
.category > .size {
  color: var(--size-color);
  padding-left: 2px;
}
.category > .post-list > .post-preview {
  margin-top: 0;
}
.category > .post-list > .post-preview .date {
  display: inline;
  float: none;
}
.category > .post-list > .post-preview .description {
  display: none;
}

#series.single-series .series > h2, #series.single-series .series > .size {
  display: none;
}
#series.single-series .series > .total-text {
  display: block;
}
#series.single-series .series > .post-list > .post-preview {
  margin-top: 0.5rem;
}
#series.single-series .series > .post-list > .post-preview .date {
  float: right;
}
#series.single-series .series > .post-list > .post-preview .description {
  display: -webkit-box;
}

.series {
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
}
.series > .total-text {
  display: none;
}
.series > h2, .series > .size {
  font-weight: 300;
  font-size: 1rem;
  display: inline-block;
}
.series > .size {
  color: var(--size-color);
  padding-left: 2px;
}
.series > .post-list > .post-preview {
  margin-top: 0;
}
.series > .post-list > .post-preview .date {
  display: inline;
  float: none;
}
.series > .post-list > .post-preview .description {
  display: none;
}

.series-sublist {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px rgba(255, 255, 255, 0.1) solid;
  text-align: center;
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
}
.series-sublist > .name {
  color: #ff8080;
  line-height: normal;
  font-weight: 300;
  font-size: 1.2rem;
}
.series-sublist > .name > .size {
  color: var(--size-color);
  display: inline-block;
}
.series-sublist .post-preview > .title {
  margin-top: 0.2rem;
  font-size: 1rem;
}
.series-sublist .post-preview > .title > a {
  color: #FFFFFF;
}
.series-sublist .post-preview > .title > a:hover {
  color: var(--terminal-accent);
}
.series-sublist .post-preview > .title.current > a {
  color: rgba(255, 255, 255, 0.6);
}

.post-title + hr + .series-sublist {
  padding-top: 0;
  padding-bottom: 1rem;
  border-top: none;
  border-bottom: 1px rgba(255, 255, 255, 0.1) solid;
}

#tags.single-tag .tag > h2, #tags.single-tag .tag > .size {
  display: none;
}
#tags.single-tag .tag > .total-text {
  display: block;
}
#tags.single-tag .tag > .post-list > .post-preview {
  margin-top: 1rem;
}
#tags.single-tag .tag > .post-list > .post-preview .date {
  float: right;
}
#tags.single-tag .tag > .post-list > .post-preview .description {
  display: -webkit-box;
}

.tag {
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
}
.tag > .total-text {
  display: none;
}
.tag > h2, .tag > .size {
  font-weight: 300;
  font-size: 1rem;
  display: inline-block;
}
.tag > .size {
  color: var(--size-color);
  padding-left: 2px;
}
.tag > .post-list > .post-preview {
  margin-top: 0;
}
.tag > .post-list > .post-preview .date {
  display: inline;
  float: none;
}
.tag > .post-list > .post-preview .description {
  display: none;
}

.post-list {
  margin-bottom: 2.5px;
  padding-left: 10px;
}
.post-list > .post-preview {
  margin-top: 1rem;
}
.post-list > .post-preview > .title {
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
  display: inline-block;
  color: var(--title-color);
}
.post-list > .post-preview > .title > .post-preview-redirect-title {
  color: rgb(255, 201, 101);
}
.post-list > .post-preview > .date {
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
  color: rgb(147, 147, 147);
  margin-top: 0.25rem;
  font-size: 0.75rem;
  float: right;
  display: block;
}
.post-list > .post-preview > .description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  color: var(--terminal-muted);
  margin-left: 5px;
  line-height: 1.53;
  font-size: 0.9rem;
  word-break: break-word;
  overflow: hidden;
  -webkit-line-clamp: 2;
}

:root {
  --yellow: #bef5cb; /* jasny zielony zamiast żółtego */
  --title-color: #28a745; /* bardziej nasycony zielony dla tytułów */
  --size-color: var(--yellow);
}

.post-bidirectional-nav {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px rgba(255, 255, 255, 0.1) solid;
}
.post-bidirectional-nav .post-previous {
  float: left;
  width: 50%;
  text-align: start;
}
.post-bidirectional-nav .post-previous::before {
  margin-left: 1rem;
  content: "← ";
}
.post-bidirectional-nav .post-next {
  float: right;
  width: 50%;
  text-align: end;
}
.post-bidirectional-nav .post-next::after {
  margin-right: 1rem;
  content: " →";
}

.post {
  font-size: 1rem;
  font-weight: 300;
}
.post code {
  font-family: Menlo, "MesloLGS NF", "Malgun Gothic", "Pretendard Variable", ui-sans-serif, -apple-system, "Apple SD Gothic Neo", sans-serif;
  line-height: initial;
}
.post .post-tag {
  color: #F5DB71;
}
.post a {
  color: var(--terminal-accent);
}
.post a.post-title {
  color: var(--title-color);
}
.post a.post-title > h1 {
  font-weight: 700;
  margin: 0.5rem 0 0 0; /* minimal top spacing */
  font-size: 1.6rem;
  text-decoration: none;
  line-height: 1.15;
}
.post {
  /* badge for hidden/draft posts */
}
.post .post-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  border: 1px solid var(--terminal-accent);
  background: var(--terminal-accent-weak);
  color: var(--terminal-accent);
  vertical-align: middle;
  line-height: 1;
}
.post {
  /* slightly smaller badge for previews */
}
.post .post-preview .post-badge {
  font-size: 0.68rem;
  padding: 0.08rem 0.35rem;
  margin-left: 0.35rem;
}
.post h2 {
  font-size: 1.25rem;
}
.post h3 {
  font-size: 1.1rem;
}
.post h4 {
  font-size: 1rem;
}
.post h5 {
  font-size: 1rem;
}
.post h6 {
  font-size: 0.9rem;
}
.post h2, .post h3, .post h4, .post h5, .post h6 {
  font-weight: 600;
  line-height: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px rgba(255, 255, 255, 0.06) solid;
  padding-bottom: 0.2rem;
  text-decoration: none;
}
.post p {
  margin-top: 0.2rem;
  line-height: 1.5rem;
}
.post {
  /* make Markdown bold more visible inside posts/pages */
}
.post strong, .post b {
  font-weight: 700;
  /* use terminal text color so bold stands out but isn't an accent color */
  color: var(--terminal-text);
}
.post ul, .post ol {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
}
.post li {
  line-height: 1.5rem;
}
.post table {
  margin: 5px auto;
  border-collapse: collapse;
}
.post th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.post tr:not(tr:last-child) > td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.post th, .post td {
  padding: 5px 10px;
}
.post pre.highlight {
  margin: 1rem 0;
}
.post sub, .post sup {
  line-height: 0;
}
.post ul ul, .post ul ol, .post ol ul, .post ol ol {
  margin-bottom: 0;
}
.post img, .post video {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  max-height: 100%;
}
.post blockquote::before, .post blockquote::after {
  content: none !important;
}
.post blockquote {
  background-color: rgba(63, 55, 78, 0.3);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-left: 0.25rem solid rgb(86, 84, 88);
  margin: 1rem 0;
}
.post blockquote *:last-child {
  margin-bottom: 0;
}
.post code.highlighter-rouge {
  color: #f4bf75;
}
.post hr {
  opacity: 0.1;
  margin: 3rem 0;
}
.post .post-title + hr {
  opacity: initial;
  margin: auto;
}
.post .published {
  margin-top: 0.25rem;
  float: right;
  font-size: 0.8rem;
  color: rgb(147, 147, 147);
}

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