/* ============================================================
   prism.css — кастомная тема Prism.js под палитру claude-ru.
   Стилит только токены подсветки. Фон/padding/радиус блока
   задаётся в shared.css (правила для <pre> и .code-wrap).
   ============================================================ */

/* Светлая тема (по умолчанию) */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata        { color: #8a7f70; font-style: italic; }
.token.punctuation  { color: #6b6259; }
.token.namespace    { opacity: 0.7; }

.token.property,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted      { color: #6b5316; }

.token.string,
.token.char,
.token.attr-value,
.token.inserted     { color: #7a3a1a; }

.token.selector,
.token.builtin,
.token.atrule,
.token.keyword,
.token.important,
.token.url          { color: #5a3470; }

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

.token.tag          { color: #7a3a1a; }
.token.attr-name    { color: #1f4d4d; }

.token.operator,
.token.entity,
.token.variable     { color: #6b6259; }

.token.regex        { color: #5a3470; }

.token.bold         { font-weight: 700; }
.token.italic       { font-style: italic; }

/* Тёмная тема */
[data-theme="dark"] .token.comment,
[data-theme="dark"] .token.prolog,
[data-theme="dark"] .token.doctype,
[data-theme="dark"] .token.cdata       { color: #7a6e5a; }
[data-theme="dark"] .token.punctuation { color: #a89d8d; }

[data-theme="dark"] .token.property,
[data-theme="dark"] .token.boolean,
[data-theme="dark"] .token.number,
[data-theme="dark"] .token.constant,
[data-theme="dark"] .token.symbol,
[data-theme="dark"] .token.deleted     { color: #e8c87c; }

[data-theme="dark"] .token.string,
[data-theme="dark"] .token.char,
[data-theme="dark"] .token.attr-value,
[data-theme="dark"] .token.inserted    { color: #e8a570; }

[data-theme="dark"] .token.selector,
[data-theme="dark"] .token.builtin,
[data-theme="dark"] .token.atrule,
[data-theme="dark"] .token.keyword,
[data-theme="dark"] .token.important,
[data-theme="dark"] .token.url         { color: #c8a0e8; }

[data-theme="dark"] .token.function,
[data-theme="dark"] .token.class-name  { color: #7adfd0; }

[data-theme="dark"] .token.tag         { color: #e8a570; }
[data-theme="dark"] .token.attr-name   { color: #7adfd0; }

[data-theme="dark"] .token.operator,
[data-theme="dark"] .token.entity,
[data-theme="dark"] .token.variable    { color: #a89d8d; }

[data-theme="dark"] .token.regex       { color: #c8a0e8; }
