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

html, body {
  overflow: hidden;
  background: #0f0f1a;
  color: #e0e0e0;
}

pre {
  margin: 0;
  padding: 0;
  background: #0f0f1a;
  tab-size: 4;
}

.code-container {
  display: block;
  padding: 0.75rem 0.75rem 0.75rem 0;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  counter-reset: line var(--start-line, 0);
}

.code-line {
  display: block;
  counter-increment: line;
  padding: 0 0.75rem;
  white-space: pre;
}

.code-line::before {
  content: counter(line);
  display: inline-block;
  width: 3ch;
  margin-right: 1.5ch;
  text-align: right;
  color: #444;
  user-select: none;
}

.code-classification-kw { color: #c792ea; }
.code-classification-st { color: #c3e88d; }
.code-classification-cm { color: #546e7a; font-style: italic; }
.code-classification-nu { color: #f78c6c; }
