﻿/*
 * Minimal dark-theme syntax highlighting for Kiba Bot docs.
 * Color palette derived from Tomorrow Night, tuned to the site accents.
 * Token class names match Prism's default emitter so swapping to the
 * full Prism core later is drop-in.
 */

code[class*="language-"],
pre[class*="language-"] {
    color: var(--text-primary, #e0e0e0);
    background: none;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;
    tab-size: 4;
    hyphens: none;
}

pre[class*="language-"] {
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    overflow: auto;
    background: var(--code-bg, #1e1e2e);
    border: 1px solid var(--border, #333);
    border-radius: 8px;
}

:not(pre) > code[class*="language-"] {
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    white-space: normal;
    background: var(--code-bg, #1e1e2e);
}

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

.token.punctuation { color: #c0c5ce; }

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

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

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

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

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

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

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

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

.token.entity { cursor: help; }

