/* Prism theme — matches pimelshoff.com dark palette */
code[class*="language-"],
pre[class*="language-"] {
    color: #e0e0e0;
    background: none;
    text-shadow: none;
    font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 0.875rem;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.6;
    tab-size: 4;
    hyphens: none;
}

pre[class*="language-"] {
    padding: 1rem;
    overflow: auto;
    background: #252525;
    border: 1px solid #333;
    border-radius: 4px;
    margin-bottom: 1rem;
}

:not(pre) > code[class*="language-"] {
    padding: 0.125em 0.375em;
    border-radius: 3px;
    background: #252525;
    border: 1px solid #333;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #6a737d;
}

.token.punctuation {
    color: #999;
}

.token.namespace {
    opacity: 0.7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #f97583;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #9ecbff;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #79b8ff;
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #0f8c5e;
}

.token.function,
.token.class-name {
    color: #b392f0;
}

.token.regex,
.token.important,
.token.variable {
    color: #ffab70;
}

.token.important,
.token.bold {
    font-weight: bold;
}

.token.italic {
    font-style: italic;
}

/* Line highlighting (eleventy syntax highlight plugin) */
.highlight-line {
    display: inline-block;
    width: calc(100% + 2rem);
    margin: 0 -1rem;
    padding: 0 1rem;
    background-color: rgba(15, 140, 94, 0.12);
    border-left: 3px solid #0f8c5e;
    padding-left: calc(1rem - 3px);
}

/* Line numbers */
.line-number::before {
    display: inline-block;
    width: 2em;
    text-align: right;
    margin-right: 1em;
    color: #555;
    content: attr(line);
}

/* Diff highlighting */
.language-diff .token.deleted-sign {
    color: #f97583;
    background-color: rgba(249, 117, 131, 0.1);
    display: block;
}

.language-diff .token.inserted-sign {
    color: #85e89d;
    background-color: rgba(15, 140, 94, 0.1);
    display: block;
}

.language-diff .token.prefix.deleted {
    color: #f97583;
}

.language-diff .token.prefix.inserted {
    color: #85e89d;
}