/* Prism-like code highlight theme (placeholder для Phase 4).
   Используется в _Layout.cshtml как ~/css/prism.css.
   Полная версия Prism подключается в Phase 5 через CDN-скрипт с nonce. */

pre[class*="language-"] {
    position: relative;
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}
:not(pre) > code[class*="language-"] {
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 3px;
    padding: 0.1em 0.3em;
    white-space: normal;
    font-size: 0.9em;
}
@media (prefers-color-scheme: dark) {
    pre[class*="language-"] { background: #161b22; border-color: #30363d; }
    :not(pre) > code[class*="language-"] { background: #161b22; border-color: #30363d; }
}
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: #6e7781; }
.token.punctuation { color: #24292f; }
.token.namespace { opacity: 0.7; }
.token.property, .token.tag, .token.constant, .token.symbol, .token.deleted { color: #cf222e; }
.token.boolean, .token.number { color: #0550ae; }
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #0a3069; }
.token.operator, .token.entity, .token.url, .token.variable { color: #8250df; }
.token.atrule, .token.attr-value, .token.function, .token.class-name { color: #8250df; }
.token.keyword { color: #cf222e; }
.token.regex, .token.important { color: #0550ae; }
@media (prefers-color-scheme: dark) {
    .token.comment, .token.prolog, .token.doctype, .token.cdata { color: #8b949e; }
    .token.punctuation { color: #c9d1d9; }
    .token.property, .token.tag, .token.constant, .token.symbol, .token.deleted { color: #79c0ff; }
    .token.boolean, .token.number { color: #79c0ff; }
    .token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #a5d6ff; }
    .token.operator, .token.entity, .token.url, .token.variable { color: #ff7b72; }
    .token.atrule, .token.attr-value, .token.function, .token.class-name { color: #d2a8ff; }
    .token.keyword { color: #ff7b72; }
    .token.regex, .token.important { color: #79c0ff; }
}
