/* Prism.js — Catppuccin Mocha theme
   Complements Chesswick's cream/teal aesthetic with a rich dark code environment */

code[class*="language-"],
pre[class*="language-"] {
    color: #cdd6f4;
    background: none;
    font-family: 'JetBrains Mono', 'Fira Code', Consolas, 'Courier New', monospace;
    font-size: 0.875em;
    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 1.25rem;
    margin: 0.75em 0;
    overflow: auto;
    border-radius: 8px;
    background: #1e1e2e;
    border: 1px solid #313244;
}

:not(pre) > code[class*="language-"] {
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: #1e1e2e;
    color: #cdd6f4;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata { color: #585b70; font-style: italic; }

.token.punctuation { color: #cdd6f4; }

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

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

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

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

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

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

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

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

.token.entity { cursor: help; }

/* Line highlight */
.line-highlight {
    background: rgba(137, 180, 250, 0.1);
    border-left: 3px solid #89b4fa;
}
