@charset "UTF-8";
:root {
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Cascadia Mono', 'Fira Code', 'JetBrains Mono', 'SF Mono',
               'Consolas', 'Liberation Mono', 'Menlo', 'Monaco',
               'Courier New', monospace;
  --content-width: 80ch;
}

[data-theme=darker] {
  --bg-outer: #000000;
  --bg-color: #0c0c0c;
  --bg-secondary: #1a1a1a;
  --text-color: #00ff00;
  --text-dim: #00aa00;
  --accent-color: #00ffff;
  --highlight: #ffff00;
  --error-color: #ff0000;
  --border-color: #00ff00;
}

[data-theme=light] {
  --bg-outer: #808080;
  --bg-color: #c0c0c0;
  --bg-secondary: #a0a0a0;
  --text-color: #000080;
  --text-dim: #000050;
  --accent-color: #800000;
  --highlight: #008000;
  --error-color: #ff0000;
  --border-color: #000080;
}

[data-theme=dark] {
  --bg-outer: #181818;
  --bg-color: #212121;
  --bg-secondary: #2c2c2c;
  --text-color: #8ca4d8;
  --text-dim: #6680b0;
  --accent-color: #c47070;
  --highlight: #6aa86a;
  --error-color: #e05555;
  --border-color: #5a78c0;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--bg-color);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-outer);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

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

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
  border: 1px solid var(--text-dim);
}

::-webkit-scrollbar-thumb {
  background: var(--text-dim);
  border: 1px solid var(--text-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-color);
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.content-container {
  width: 100%;
  max-width: var(--content-width);
  background-color: var(--bg-color);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1rem;
  border: 1px dashed var(--text-dim);
  min-height: 60vh;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--accent-color);
  margin: 1.5rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1::before {
  content: "══ ";
}

h1::after {
  content: " ══";
}

h2::before {
  content: "── ";
}

h2::after {
  content: " ──";
}

h3::before {
  content: "─ ";
}

h3::after {
  content: " ─";
}

p {
  margin-bottom: 1rem;
}

pre, code, kbd, samp {
  font-family: var(--font-mono);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  color: var(--highlight);
  text-shadow: 0 0 8px var(--highlight);
}

strong, b {
  color: var(--highlight);
  font-weight: bold;
}

em, i {
  color: var(--accent-color);
  font-style: normal;
  text-decoration: underline;
}

blockquote {
  border-left: 3px solid var(--accent-color);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--text-dim);
}
blockquote::before {
  content: "│ ";
  color: var(--text-dim);
}

ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

ol {
  list-style: none;
  counter-reset: dos-counter;
}
ol li {
  counter-increment: dos-counter;
}
ol li::before {
  content: "[" counter(dos-counter) "] ";
  color: var(--accent-color);
  margin-left: -2rem;
}

header {
  border: 1px solid var(--border-color);
  padding: 1rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  box-shadow: inset 1px 1px 0 var(--text-dim), inset -1px -1px 0 var(--text-dim);
}
header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
header a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}
header ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
header nav ul {
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap;
  list-style: none;
}
header li a {
  font-size: 1rem;
  color: var(--text-color);
  padding: 0.25rem 0.5rem;
  border: 1px solid transparent;
  transition: all 0.1s;
}
header li a::before {
  content: "[ ";
  color: var(--text-dim);
}
header li a::after {
  content: " ]";
  color: var(--text-dim);
}
header li a:hover {
  color: var(--highlight);
  border-color: var(--highlight);
  text-shadow: 0 0 10px var(--highlight);
}

.header-layout {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}

.header-avatar {
  width: 56px;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  filter: grayscale(100%) brightness(0.8) sepia(100%) hue-rotate(70deg) saturate(300%);
}

[data-theme=light] .header-avatar {
  filter: grayscale(100%) brightness(0.9) sepia(100%) hue-rotate(180deg) saturate(200%);
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.header-title {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--highlight);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 0.1s;
}
#theme-toggle:hover {
  background: var(--text-dim);
  color: var(--bg-color);
  text-shadow: none;
}
#theme-toggle:active {
  transform: translateY(1px);
}

footer {
  margin-top: 2rem;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-description {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
  white-space: pre-line;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.1s;
  white-space: nowrap;
}
.footer-links a:hover {
  color: var(--highlight);
}

.footer-legal {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
}
.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--text-color);
}
.footer-legal .separator {
  color: var(--text-dim);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
  margin: 0;
}

code {
  background-color: var(--bg-secondary);
  color: var(--highlight);
  padding: 0.2rem 0.4rem;
  border: 1px solid var(--text-dim);
}

pre {
  background-color: var(--bg-secondary);
  border: 1px solid var(--text-dim);
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}
pre code {
  border: none;
  padding: 0;
  color: var(--text-color);
  background: transparent;
}

.highlight {
  background-color: var(--bg-secondary);
  border: 1px solid var(--text-dim);
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}
.highlight pre {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs, .highlight .cp {
  color: var(--text-dim);
  font-style: italic;
}

.highlight .k, .highlight .kc, .highlight .kd, .highlight .kn,
.highlight .kp, .highlight .kr, .highlight .kt {
  color: var(--accent-color);
  font-weight: bold;
}

.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: var(--highlight);
}

.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh,
.highlight .mi, .highlight .mo, .highlight .mx, .highlight .il {
  color: #ff00ff;
}

.highlight .o, .highlight .ow {
  color: var(--text-color);
}

.highlight .n, .highlight .nb, .highlight .ni, .highlight .nl,
.highlight .py {
  color: var(--text-color);
}

.highlight .nf, .highlight .fm {
  color: #00ff00;
}

.highlight .nc, .highlight .nn {
  color: var(--accent-color);
}

.highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi {
  color: #ff8800;
}

.highlight .no {
  color: #ff00ff;
}

.highlight .na {
  color: var(--accent-color);
}

.highlight .nt {
  color: var(--accent-color);
}

.highlight .p {
  color: var(--text-color);
}

.highlight .err {
  color: var(--error-color);
  background-color: transparent;
}

.highlight .gd {
  color: var(--error-color);
}

.highlight .gi {
  color: #00ff00;
}

.highlight .gh {
  color: var(--accent-color);
}

.highlight .gu {
  color: var(--text-dim);
}

[data-theme=light] .highlight .m,
[data-theme=light] .highlight .mb,
[data-theme=light] .highlight .mf,
[data-theme=light] .highlight .mh,
[data-theme=light] .highlight .mi,
[data-theme=light] .highlight .mo,
[data-theme=light] .highlight .mx,
[data-theme=light] .highlight .il,
[data-theme=light] .highlight .no {
  color: #800080;
}
[data-theme=light] .highlight .nf,
[data-theme=light] .highlight .fm {
  color: #006400;
}
[data-theme=light] .highlight .nv,
[data-theme=light] .highlight .vc,
[data-theme=light] .highlight .vg,
[data-theme=light] .highlight .vi {
  color: #b35900;
}
[data-theme=light] .highlight .gi {
  color: #006400;
}

.post-filters {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-label {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.filter-dropdown {
  position: relative;
  width: 16ch;
}
.filter-dropdown.open .filter-arrow {
  transform: rotate(180deg);
}
.filter-dropdown.open .filter-options {
  display: block;
}

.filter-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: space-between;
}
.filter-toggle:hover {
  background: var(--bg-color);
  border-color: var(--text-color);
}

.filter-arrow {
  font-size: 0.7rem;
  transition: transform 0.15s;
}

.filter-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-top: none;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 10;
}

.filter-option {
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 0.1s;
  white-space: nowrap;
}
.filter-option:hover {
  background: var(--text-dim);
  color: var(--bg-color);
}
.filter-option.selected {
  color: var(--highlight);
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.post-item {
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--text-dim);
}
.post-item:last-child {
  border-bottom: none;
}

.post-title {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 1.1rem;
}
.post-title:hover {
  color: var(--highlight);
}

.post-category {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.post-meta {
  margin-top: 0.25rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.post-date {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.no-posts {
  color: var(--text-dim);
  font-style: italic;
}

@media (max-width: 600px) {
  html {
    font-size: 16px;
  }
  header > div {
    flex-direction: column;
    align-items: flex-start;
  }
  header nav {
    width: 100%;
    justify-content: space-between;
  }
  header nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  h1::before, h1::after,
  h2::before, h2::after,
  h3::before, h3::after {
    content: "";
  }
}

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