.cat-meta {
  color: #8b97a8;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.cat-output {
  border-top: 1px solid #242c37;
  padding-top: 0.6rem;
}

.cat-post {
  margin: 0;
  color: #d1d5db;
  font-family: 'Courier New', 'Liberation Mono', monospace;
  font-size: 0.92rem;
  line-height: 1.64;
  word-break: break-word;
}

.cat-post > * {
  margin-top: 0;
  margin-bottom: 0.78rem;
}

.cat-post h1,
.cat-post h2,
.cat-post h3,
.cat-post h4,
.cat-post h5,
.cat-post h6 {
  color: #f3f4f6;
  font-family: inherit;
  line-height: 1.35;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.cat-post h1 { font-size: 1.22rem; }
.cat-post h2 { font-size: 1.06rem; color: #7dd3fc; }
.cat-post h3 { font-size: 0.98rem; color: #93c5fd; }

.cat-post ul,
.cat-post ol {
  padding-left: 1.15rem;
}

.cat-post li {
  margin: 0.22rem 0;
}

.cat-post hr {
  border: 0;
  border-top: 1px dashed #334155;
  margin: 0.9rem 0;
}

.cat-post blockquote {
  margin: 0.75rem 0;
  border-left: 2px solid #0ea5e9;
  padding-left: 0.7rem;
  color: #9ca3af;
}

.cat-post pre {
  margin: 0.75rem 0;
  padding: 0.75rem 0.85rem;
  background: #0b0f14;
  border: 1px solid #313b49;
  border-radius: 4px;
  max-width: 100%;
  overflow-x: auto;
  line-height: 1.55;
}

.cat-post pre code {
  color: #e5e7eb;
  background: transparent;
  font-family: inherit;
  font-size: 0.89rem;
}

.cat-post :not(pre) > code {
  color: #93c5fd;
  background: #111827;
  border: 1px solid #334155;
  border-radius: 3px;
  padding: 0.05rem 0.25rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cat-post table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.7rem 0;
}

.cat-post th,
.cat-post td {
  border: 1px solid #313b49;
  padding: 0.32rem 0.45rem;
  text-align: left;
}

.cat-post th {
  color: #67e8f9;
}

@media (max-width: 640px) {
  .cat-meta {
    font-size: 0.68rem;
  }

  .cat-post {
    font-size: 0.85rem;
    line-height: 1.56;
  }

  .cat-post pre code {
    font-size: 0.82rem;
  }

  .cat-post pre,
  .cat-post pre code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
