MediaWiki:Gadget-DarkModeVector2010.css: различия между версиями

Нет описания правки
Нет описания правки
 
(не показано 19 промежуточных версий этого же участника)
Строка 1: Строка 1:
/* ==== Ночная тема Vector 2010 ==== */
/* ============================================================
body.darkmode-vector2010 {
  Ночная тема для Vector 2010 — «АСТРЕЯ»
  ============================================================
  ° Лицензия: MIT (opensource.org/license/mit) ==> 2026, absurdopedia.wiki
  ° Идёт в связке с [[MediaWiki:Gadget-DarkModeVector2010.js]]
 
  ОГЛАВЛЕНИЕ
  ----------
  §1.  Переменные темы
  §2.  Сворачиваемые блоки (Hider / NavFrame)
  §3.  Изображения (инверсия, SVG, JPG, GIF/PNG)
  §4.  Логотип
  §5.  Глобальная база (html, body, ссылки, заголовки)
  §6.  Нативные контролы, выделение, фокус, placeholder
  §7.  Навигация: вкладки, портлеты, меню, подвал
  §8.  Системные сообщения и предупреждения
  §9.  Уведомления и OOUI MessageWidget
  §10. Контент статьи (таблицы, код, цитаты, TOC, thumb, figure)
  §11. Информационные шаблоны (ambox / imbox / tmbox / ombox / fmbox)
  §12. Шаблоны-оформление (absurd-note, forum, main-box, file-info)
  §13. Диффы
  §14. Подсветка кода (SyntaxHighlight / Pygments)
  §15. Редакторы кода (CodeMirror → Ace; порядок важен!)
  §16. Формы и поля ввода (native + OOUI)
  §17. OOUI: попапы, тулбары, модальные окна, скелетоны
  §18. Редактор статей
  §19. Служебные страницы (файлы, история, удаление, поиск, InputBox)
  §20. Загрузка файлов
  §21. Расширения (AjaxPoll, Video, Math, CategoryTree, RSS, Tipsy)
  §22. Точечные фиксы
  ============================================================ */
 
 
/* ============================================================
  §1. ПЕРЕМЕННЫЕ ТЕМЫ
  ============================================================ */
:root {
    --hider-title-bg: floralwhite;
    --hider-title-border: gainsboro;
    --hider-frame-border: #cedff2;
    --hider-content-bg: transparent;
    --hider-content-color: inherit;
    --slowsport-bg: #FFFAF0;
    --slowsport-text: black;
    --cal-bg: #fff;
    --cal-border: #ccc;
    --cal-text: black;
}
html.dm,
html.dm body {
    --hider-title-bg: #2a2a2a;
    --hider-title-border: #444;
    --hider-frame-border: #444;
    --hider-content-bg: #222;
    --hider-content-color: #d0d0d0;
    --slowsport-bg: #222;
    --slowsport-text: #d0d0d0;
    --cal-bg: #222;
    --cal-border: #444;
    --cal-text: #d0d0d0;
}
 
/* ============================================================
  §2. СВОРАЧИВАЕМЫЕ БЛОКИ (Hider / NavFrame)
  ============================================================ */
html.dm .NavFrame { border-color: #444 !important; }
html.dm .NavHead {
    background: #2a2a2a !important;
    border-color: #444 !important;
    color: #d0d0d0 !important;
}
html.dm .NavContent {
    background: #222 !important;
    color: #d0d0d0 !important;
}
html.dm .mw-collapsible-content { background: #1a1a1a !important; }
 
 
/* ============================================================
  §3. ИЗОБРАЖЕНИЯ
  ============================================================ */
 
/* 3.1 Инверсия изображений и иконок ------------------------- */
html.dm img.mw-invertable,
html.dm .mw-invertable img,
html.dm img.mwe-math-fallback-image-inline,
html.dm img.mwe-math-fallback-image-display,
html.dm #footer-poweredbyico img,
html.dm .magnify a,
html.dm .magnify img,
html.dm .sortable .headerSort:after,
html.dm .sortable .headerSort:before,
html.dm #wikiEditor-ui-toolbar .tool-icon,
html.dm #wikiEditor-ui-toolbar .oo-ui-iconElement-icon,
html.dm .editButtons img,
html.dm #toolbar img,
html.dm .oo-ui-messageWidget .oo-ui-iconElement-icon,
html.dm .oo-ui-window .oo-ui-iconElement-icon,
html.dm .oo-ui-processDialog .oo-ui-iconElement-icon,
html.dm .oo-ui-messageDialog .oo-ui-iconElement-icon,
html.dm .vectorTabs li.icon a,
html.dm .mw-portlet li a.new,
html.dm .vector-menu-tabs li a.new,
html.dm .vectorMenu h3 span:after {
    filter: invert(1) hue-rotate(180deg);
}
 
/* 3.2 Смягчение неинвертированных SVG ---------------------- */
html.dm img[src$=".svg"]:not(.mw-invertable),
html.dm img[src*=".svg?"]:not(.mw-invertable),
html.dm figure img[src$=".svg"]:not(.mw-invertable),
html.dm figure img[src*=".svg?"]:not(.mw-invertable) {
    filter: brightness(1.12) contrast(0.85) !important;
    opacity: 0.93 !important;
}
 
/* 3.3 Смягчение JPG/JPEG ----------------------------------- */
html.dm img[src$=".jpg"]:not(.mw-invertable),
html.dm img[src*=".jpg?"]:not(.mw-invertable),
html.dm img[src$=".jpeg"]:not(.mw-invertable),
html.dm img[src*=".jpeg?"]:not(.mw-invertable) {
    filter: brightness(1.07) contrast(0.93) !important;
    opacity: 0.96 !important;
    transition: filter 0.2s ease, opacity 0.2s ease;
}
html.dm img[src$=".jpg"]:not(.mw-invertable):hover,
html.dm img[src*=".jpg?"]:not(.mw-invertable):hover,
html.dm img[src$=".jpeg"]:not(.mw-invertable):hover,
html.dm img[src*=".jpeg?"]:not(.mw-invertable):hover {
    filter: none !important;
    opacity: 1 !important;
}
 
/* 3.4 Подложки для прозрачных файлов ----------------------- */
html.dm img[src$=".gif"], html.dm img[src*=".gif?"] {
    background-color: #D9ECFF !important;
    filter: none !important;
}
html.dm img[src$=".png"], html.dm img[src*=".png?"] {
    background-color: #8a949e !important;
}
 
 
/* ============================================================
  §4. ЛОГОТИП
  ============================================================ */
html.dm #p-logo a,
html.dm #p-logo img,
html.dm .mw-logo img,
html.dm .mw-logo-icon {
    filter: invert(1) hue-rotate(180deg) brightness(1.1) saturate(1.1);
}
 
 
/* ============================================================
  §5. ГЛОБАЛЬНАЯ БАЗА
  ============================================================ */
html.dm,
html.dm body {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 #content,
html.dm #content,
body.darkmode-vector2010 #mw-page-base,
html.dm #mw-page-base,
body.darkmode-vector2010 #mw-head-base {
html.dm #mw-head-base {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
    background-image: none !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 a { color: #6cb6ff !important; }
html.dm a { color: #8cc8ff !important; }
body.darkmode-vector2010 a:visited { color: #b48cff !important; }
html.dm a:visited { color: #c9a8ff !important; }
body.darkmode-vector2010 a.new { color: #ff7b7b !important; }
html.dm a.new { color: #ff9a9a !important; }
body.darkmode-vector2010 h1,
html.dm h1, html.dm h2, html.dm h3, html.dm h4, html.dm h5, html.dm h6 {
body.darkmode-vector2010 h2,
     color: #fff !important;
body.darkmode-vector2010 h3,
body.darkmode-vector2010 h4,
body.darkmode-vector2010 h5,
body.darkmode-vector2010 h6 {
     color: #ffffff !important;
     border-bottom-color: #444 !important;
     border-bottom-color: #444 !important;
}
}
body.darkmode-vector2010 hr { border-color: #444 !important; }
html.dm #siteNotice {
body.darkmode-vector2010 table,
     background: #2a2a2a !important;
body.darkmode-vector2010 th,
body.darkmode-vector2010 td {
     background: #222 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .wikitable > * > tr > th {
html.dm hr { border-color: #444 !important; }
     background: #2d2d2d !important;
html.dm #p-personal a,
html.dm #p-navigation a,
html.dm #p-tb a,
html.dm #p-search a { color: #8cc8ff !important; }
html.dm #left-navigation,
html.dm #right-navigation { background: #1a1a1a !important; }
html.dm #simpleSearch input {
     background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
}
body.darkmode-vector2010 code,
html.dm .catlinks {
body.darkmode-vector2010 pre,
     background: #222 !important;
body.darkmode-vector2010 .mw-code {
     background: #111 !important;
    color: #e0e0e0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 blockquote {
 
     background: #222 !important;
 
     border-left-color: #555 !important;
/* ============================================================
  §6. НАТИВНЫЕ КОНТРОЛЫ, ВЫДЕЛЕНИЕ, ФОКУС, PLACEHOLDER
  ============================================================ */
 
/* 6.1 color-scheme и скроллбары ---------------------------- */
html.dm {
     color-scheme: dark;
     scrollbar-color: #444 #1a1a1a;
    scrollbar-width: thin;
}
}
body.darkmode-vector2010 #toc,
html.dm ::-webkit-scrollbar { width: 12px; height: 12px; background: #1a1a1a; }
body.darkmode-vector2010 .toc {
html.dm ::-webkit-scrollbar-thumb {
     background: #222 !important;
     background: #444;
     border-color: #444 !important;
     border-radius: 6px;
    border: 2px solid #1a1a1a;
}
}
body.darkmode-vector2010 #toc a,
html.dm ::-webkit-scrollbar-thumb:hover { background: #555; }
body.darkmode-vector2010 .toc a { color: #6cb6ff !important; }
html.dm ::-webkit-scrollbar-track { background: #1a1a1a; }
body.darkmode-vector2010 #p-personal a,
html.dm ::-webkit-scrollbar-corner { background: #1a1a1a; }
body.darkmode-vector2010 #p-navigation a,
 
body.darkmode-vector2010 #p-tb a,
/* 6.2 Выделение текста ------------------------------------- */
body.darkmode-vector2010 #p-search a { color: #6cb6ff !important; }
html.dm ::selection { background: #2a3a4a; color: #fff; }
body.darkmode-vector2010 #left-navigation,
html.dm ::-moz-selection { background: #2a3a4a; color: #fff; }
body.darkmode-vector2010 #right-navigation {
 
/* 6.3 Фокус с клавиатуры ----------------------------------- */
html.dm :focus-visible { outline: 2px solid #8cc8ff; outline-offset: 2px; }
 
/* 6.4 Placeholder глобально -------------------------------- */
html.dm input::placeholder,
html.dm textarea::placeholder { color: #888 !important; opacity: 1 !important; }
 
 
/* ============================================================
  §7. НАВИГАЦИЯ: ВКЛАДКИ, ПОРТЛЕТЫ, МЕНЮ, ПОДВАЛ
  ============================================================ */
 
/* 7.1 Обёртки вкладок и портлетов -------------------------- */
html.dm #p-views, html.dm #p-namespaces, html.dm #p-actions, html.dm #p-cactions,
html.dm .vectorTabs, html.dm .vectorMenu, html.dm .vector-menu, html.dm .mw-vector-tabs,
html.dm .mw-portlet, html.dm .mw-portlet-body, html.dm .mw-portlet-views,
html.dm .mw-portlet-namespaces, html.dm .mw-portlet-actions, html.dm .mw-portlet-cactions,
html.dm .vector-menu-tabs, html.dm .vector-menu-content, html.dm .vector-menu-content-list {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
    border-color: #444 !important;
}
}
body.darkmode-vector2010 #simpleSearch input {
html.dm #p-namespaces ul, html.dm #p-views ul, html.dm #p-cactions ul, html.dm #p-actions ul,
html.dm .vectorTabs ul, html.dm .mw-vector-tabs ul { background: #1a1a1a !important; }
html.dm .vectorTabs li, html.dm .vectorMenu li, html.dm .mw-portlet li,
html.dm .vector-menu-tabs li, html.dm .vector-menu-content-list li {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
body.darkmode-vector2010 .thumbinner,
body.darkmode-vector2010 .thumb {
    background: #222 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .thumbcaption { color: #b0b0b0 !important; }
html.dm .vectorTabs li a, html.dm .vectorMenu h3 span, html.dm .vectorMenu h3 a,
/* Осветление SVG/PNG с прозрачностью */
html.dm .mw-vector-tabs li a, html.dm .mw-portlet li a, html.dm .vector-menu-tabs li a,
body.darkmode-vector2010 img.mw-invertable,
html.dm .vector-menu-content-list li a, html.dm .mw-portlet a {
body.darkmode-vector2010 .mw-invertable img {
     color: #8cc8ff !important;
     filter: invert(1) hue-rotate(180deg);
    background: transparent !important;
}
}
/* Инверсия формул Math */
html.dm .vectorTabs li a:hover, html.dm .vectorMenu h3:hover span,
body.darkmode-vector2010 img.mwe-math-fallback-image-inline,
html.dm .mw-portlet li a:hover, html.dm .vector-menu-tabs li a:hover {
body.darkmode-vector2010 img.mwe-math-fallback-image-display {
     color: #fff !important;
     filter: invert(1) hue-rotate(180deg);
    background: #333 !important;
}
}
body.darkmode-vector2010 .mw-warning,
html.dm .vectorTabs li.selected, html.dm .vectorTabs li.selected a,
body.darkmode-vector2010 .errorbox,
html.dm .vector-menu-tabs .selected a, html.dm .mw-portlet li.selected,
body.darkmode-vector2010 .successbox,
html.dm .mw-portlet li.selected a, html.dm .vector-menu-tabs li.selected,
body.darkmode-vector2010 .messagebox {
html.dm .vector-menu-tabs li.selected a {
     background: #2d2d2d !important;
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #fff !important;
     border-color: #555 !important;
     border-color: #1a1a1a !important;
}
}
body.darkmode-vector2010 .catlinks {
html.dm .vectorMenu .menu,
html.dm .vectorMenu .vector-menu-content-list {
     background: #222 !important;
     background: #222 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
html.dm .vectorMenu .menu a { color: #8cc8ff !important; }
html.dm .vectorMenu .menu a:hover { background: #333 !important; }


/* ==== Вкладки: Статья, Обсуждение, Читать, Правка и т.д. ==== */
/* 7.2 Заголовки меню --------------------------------------- */
body.darkmode-vector2010 #left-navigation,
html.dm .mw-portlet h3, html.dm .mw-portlet .mw-portlet-heading,
body.darkmode-vector2010 #right-navigation,
html.dm .vector-menu-heading, html.dm #p-navigation h3,
body.darkmode-vector2010 #p-views,
html.dm #p-tb h3, html.dm #p-personal h3 {
body.darkmode-vector2010 #p-namespaces,
    color: #40e0d0 !important;
body.darkmode-vector2010 #p-actions,
    background: transparent !important;
body.darkmode-vector2010 .vectorTabs,
    font-weight: normal !important;
body.darkmode-vector2010 .vectorMenu,
    border: none !important;
body.darkmode-vector2010 .vector-menu,
    text-decoration: none !important;
body.darkmode-vector2010 .mw-vector-tabs {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
 
/* 7.3 Подвал ----------------------------------------------- */
html.dm #footer {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     background-image: none !important;
     border-top-color: #444 !important;
     border-color: #444 !important;
     color: #a0a0a0 !important;
}
}
body.darkmode-vector2010 .vectorTabs ul,
html.dm #footer-info-lastmod, html.dm #footer-info-copyright, html.dm #footer-info,
body.darkmode-vector2010 .vector-menu-content,
html.dm .footer-info, html.dm #footer li, html.dm #footer p { color: #c0c0c0 !important; }
body.darkmode-vector2010 .mw-vector-tabs ul {
html.dm #footer-poweredbyico, html.dm #footer-poweredbyico img,
html.dm #footer-poweredbyico a, html.dm #footer-poweredbyico ~ * {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     background-image: none !important;
     border: none !important;
    box-shadow: none !important;
}
}
body.darkmode-vector2010 .vectorTabs li,
 
body.darkmode-vector2010 .vectorMenu li {
 
/* ============================================================
  §8. СИСТЕМНЫЕ СООБЩЕНИЯ И ПРЕДУПРЕЖДЕНИЯ
  ============================================================ */
 
/* 8.1 Общие системные сообщения --------------------------- */
html.dm .mw-message-box,
html.dm .mw-message-box-success,
html.dm .mw-message-box-notice,
html.dm .successbox,
html.dm .messagebox {
    background: #2a1f3d !important;
    color: #d0d0d0 !important;
    border-color: #4a3a6a !important;
}
html.dm .mw-message-box-error,
html.dm .errorbox {
    background: #3a1a1a !important;
    color: #ffe8e8 !important;
    border-color: #6b3d3d !important;
}
html.dm .mw-message-box a,
html.dm .mw-message-box-content a,
html.dm .successbox a,
html.dm .messagebox a { color: #8cc8ff !important; }
html.dm .mw-message-box a:visited,
html.dm .mw-message-box-content a:visited,
html.dm .successbox a:visited,
html.dm .messagebox a:visited { color: #c9a8ff !important; }
html.dm .mw-message-box-error a,
html.dm .errorbox a { color: #8cc8ff !important; }
html.dm .mw-message-box-error a:visited,
html.dm .errorbox a:visited { color: #c9a8ff !important; }
 
/* 8.2 Предупреждения (тёмно-бордовые) ---------------------- */
html.dm .mw-warning,
html.dm .mw-warning *,
html.dm .warningbox,
html.dm .warningbox *,
html.dm .mw-message-box-warning,
html.dm .mw-message-box-warning *,
html.dm .mw-warning-with-logexcerpt,
html.dm .mw-warning-with-logexcerpt *,
html.dm .mw-warning.plainlinks,
html.dm .mw-warning.plainlinks * {
    background: #3a1a1a !important;
    color: #ffe8e8 !important;
    border-color: #6b3d3d !important;
}
html.dm .mw-warning a,
html.dm .warningbox a,
html.dm .mw-message-box-warning a,
html.dm .mw-warning-with-logexcerpt a,
html.dm .mw-warning.plainlinks a { color: #8cc8ff !important; }
html.dm .mw-warning a:visited,
html.dm .warningbox a:visited,
html.dm .mw-message-box-warning a:visited,
html.dm .mw-warning-with-logexcerpt a:visited,
html.dm .mw-warning.plainlinks a:visited { color: #c9a8ff !important; }
 
/* 8.3 Форма удаления: принудительная перекраска предупреждений
      (идёт ДО правил полей удаления — сохраняем порядок) */
html.dm #deleteconfirm .mw-warning,
html.dm #deleteconfirm .mw-warning *,
html.dm #deleteconfirm .warningbox,
html.dm #deleteconfirm .warningbox *,
html.dm #deleteconfirm [style*="background: #f9f9f9"],
html.dm #deleteconfirm [style*="background:#f9f9f9"],
html.dm #deleteconfirm [style*="background-color: #f9f9f9"],
html.dm #deleteconfirm [style*="background-color:#f9f9f9"],
html.dm #deleteconfirm [style*="background: rgb(249, 249, 249)"],
html.dm #deleteconfirm [style*="background: #fef6e7"],
html.dm #deleteconfirm [style*="background:#fef6e7"],
html.dm #deleteconfirm [style*="background-color: #fef6e7"],
html.dm #deleteconfirm [style*="background-color:#fef6e7"],
html.dm #deleteconfirm [style*="background: rgb(254, 246, 231)"],
html.dm #deleteconfirm [style*="background: #fff"],
html.dm #deleteconfirm [style*="background:#fff"],
html.dm #deleteconfirm [style*="background: #ffffff"],
html.dm #deleteconfirm [style*="background:#ffffff"],
html.dm #deleteconfirm [style*="background-color: #fff"],
html.dm #deleteconfirm [style*="background-color:#fff"],
html.dm #deleteconfirm [style*="background-color: #ffffff"],
html.dm #deleteconfirm [style*="background-color:#ffffff"],
html.dm #deleteconfirm [style*="background: rgb(255, 255, 255)"],
html.dm #deleteconfirm [style*="background-color: rgb(255, 255, 255)"],
html.dm #deleteconfirm [style*="background: #ffce7b"],
html.dm #deleteconfirm [style*="background:#ffce7b"],
html.dm #deleteconfirm [style*="background-color: #ffce7b"],
html.dm #deleteconfirm [style*="background-color:#ffce7b"],
html.dm #deleteconfirm [style*="background: rgb(255, 206, 123)"],
html.dm #deleteconfirm [style*="background-color: rgb(255, 206, 123)"] {
    background: #3a1a1a !important;
    background-color: #3a1a1a !important;
    color: #ffe8e8 !important;
    border-color: #6b3d3d !important;
}
html.dm #deleteconfirm .mw-warning a,
html.dm #deleteconfirm .warningbox a { color: #8cc8ff !important; }
 
/* 8.4 .usermessage — светлый фон, тёмный текст ------------ */
html.dm .usermessage { color: #000 !important; background: #ffce7b !important; }
html.dm .usermessage a { color: #0645ad !important; }
html.dm .usermessage a:visited { color: #0b0080 !important; }
 
/* 8.5 .postedit — светлый фон, тёмный текст --------------- */
html.dm .postedit, html.dm .postedit *,
html.dm .postedit-container, html.dm .postedit-container *,
html.dm .mw-postedit-container, html.dm .mw-postedit-container * {
    color: #000 !important;
}
html.dm .postedit a, html.dm .postedit-container a,
html.dm .mw-postedit-container a { color: #0645ad !important; }
html.dm .postedit a:visited, html.dm .postedit-container a:visited,
html.dm .mw-postedit-container a:visited { color: #0b0080 !important; }
 
 
/* ============================================================
  §9. УВЕДОМЛЕНИЯ И OOUI MESSAGEWIDGET
  ============================================================ */
 
/* 9.1 mw-notification -------------------------------------- */
html.dm .mw-notification, html.dm .mw-notification-area,
html.dm .mw-notification-content, html.dm #mw-notification-area {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
     background-image: none !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #555 !important;
}
    box-shadow: 0 2px 6px rgba(0, 0, 0, .5) !important;
body.darkmode-vector2010 .vectorTabs li a,
     font-family: monospace !important;
body.darkmode-vector2010 .vectorMenu h3 span,
body.darkmode-vector2010 .vectorMenu h3 a,
body.darkmode-vector2010 .mw-vector-tabs li a {
    color: #6cb6ff !important;
    background: transparent !important;
     background-image: none !important;
}
}
body.darkmode-vector2010 .vectorTabs li a:hover,
html.dm .mw-notification a { color: #8cc8ff !important; }
body.darkmode-vector2010 .vectorMenu h3:hover span {
html.dm .mw-notification a:visited { color: #c9a8ff !important; }
    color: #ffffff !important;
html.dm .mw-notification h3 { color: #fff !important; }
html.dm .mw-notification .oo-ui-buttonElement-button,
html.dm .mw-notification button {
     background: #333 !important;
     background: #333 !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
}
/* Активная вкладка (та, что сейчас открыта) */
html.dm .mw-notification .oo-ui-buttonElement-button:hover {
body.darkmode-vector2010 .vectorTabs li.selected,
     background: #444 !important;
body.darkmode-vector2010 .vectorTabs li.selected a,
     color: #fff !important;
body.darkmode-vector2010 .vector-menu-tabs .selected a {
     background: #1a1a1a !important;
     background-image: none !important;
    color: #ffffff !important;
    border-bottom-color: #1a1a1a !important;
}
}
/* Иконки-«звёздочки» и стрелки меню */
 
body.darkmode-vector2010 .vectorTabs li.icon a,
/* 9.2 OOUI MessageWidget ----------------------------------- */
body.darkmode-vector2010 .vectorMenu h3 span:after {
html.dm .oo-ui-messageWidget,
     filter: invert(1) hue-rotate(180deg);
html.dm .oo-ui-messageWidget-label,
html.dm .oo-ui-messageWidget > .oo-ui-labelElement-label,
html.dm .oo-ui-messageWidget .oo-ui-labelElement-label,
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-notice,
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-warning,
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-error,
html.dm .oo-ui-messageWidget.oo-ui-flaggedElement-success {
    background: #2a2a2a !important;
     color: #d0d0d0 !important;
    border-color: #555 !important;
}
}
/* Выпадающие меню (Ещё, Действия) */
html.dm .oo-ui-messageWidget a { color: #8cc8ff !important; }
body.darkmode-vector2010 .vectorMenu .menu,
 
body.darkmode-vector2010 .vectorMenu .vector-menu-content-list {
 
/* ============================================================
  §10. КОНТЕНТ СТАТЬИ
  ============================================================ */
 
/* 10.1 Таблицы --------------------------------------------- */
html.dm table, html.dm th, html.dm td {
     background: #222 !important;
     background: #222 !important;
    color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .vectorMenu .menu a {
html.dm .wikitable > * > tr > th { background: #2d2d2d !important; }
     color: #6cb6ff !important;
 
/* 10.2 Код и pre ------------------------------------------ */
html.dm code, html.dm pre, html.dm .mw-code {
     background: #111 !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
}
body.darkmode-vector2010 .vectorMenu .menu a:hover {
 
     background: #333 !important;
/* 10.3 Blockquote ----------------------------------------- */
html.dm blockquote {
     background: #222 !important;
    border-left-color: #555 !important;
}
}
body.darkmode-vector2010 #footer {
 
     background: #1a1a1a !important;
/* 10.4 TOC ------------------------------------------------ */
     border-top-color: #444 !important;
html.dm #toc, html.dm .toc {
    color: #a0a0a0 !important;
     background: #222 !important;
     border-color: #444 !important;
}
}
html.dm #toc a, html.dm .toc a { color: #8cc8ff !important; }


/* ==== Вкладки: универсальный блок ==== */
/* 10.5 Thumb / Figure ------------------------------------- */
body.darkmode-vector2010 .mw-portlet,
html.dm .thumbinner,
body.darkmode-vector2010 .mw-portlet-body,
html.dm .thumb {
body.darkmode-vector2010 .mw-portlet-views,
     background: #222 !important;
body.darkmode-vector2010 .mw-portlet-namespaces,
body.darkmode-vector2010 .mw-portlet-actions,
body.darkmode-vector2010 .mw-portlet-cactions,
body.darkmode-vector2010 .vector-menu-tabs,
body.darkmode-vector2010 .vector-menu-content,
body.darkmode-vector2010 .vector-menu-content-list {
     background: #1a1a1a !important;
    background-image: none !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .mw-portlet h3,
html.dm .thumbcaption { color: #b0b0b0 !important; }
body.darkmode-vector2010 .mw-portlet .mw-portlet-heading,
html.dm figure[typeof~="mw:File/Thumb"], html.dm figure[typeof~="mw:File/Frame"],
body.darkmode-vector2010 .vector-menu-heading {
html.dm .mw-halign-none, html.dm .mw-halign-left, html.dm .mw-halign-right,
     background: #2a2a2a !important;
html.dm .mw-halign-center, html.dm figure[typeof~="mw:File"] {
    background-image: none !important;
     background: #222 !important;
    color: #6cb6ff !important;
     border-color: #444 !important;
     border-color: #444 !important;
    color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 .mw-portlet li,
html.dm .thumbcaption, html.dm figcaption, html.dm .thumbcaption .magnify,
body.darkmode-vector2010 .vector-menu-tabs li,
html.dm figure > figcaption {
body.darkmode-vector2010 .vector-menu-content-list li {
     background: #222 !important;
     background: #2a2a2a !important;
     color: #b8b8b8 !important;
     background-image: none !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .mw-portlet li a,
html.dm .thumbcaption a, html.dm figcaption a { color: #8cc8ff !important; }
body.darkmode-vector2010 .vector-menu-tabs li a,
html.dm .thumbimage, html.dm figure img {
body.darkmode-vector2010 .vector-menu-content-list li a,
     border-color: #444 !important;
body.darkmode-vector2010 .mw-portlet a {
     background: #111 !important;
     color: #6cb6ff !important;
     background: transparent !important;
    background-image: none !important;
}
}
body.darkmode-vector2010 .mw-portlet li a:hover,
 
body.darkmode-vector2010 .vector-menu-tabs li a:hover {
/* 10.6 Sortable / datatable ------------------------------- */
     background: #333 !important;
html.dm .sortable, html.dm .infobox, html.dm .navbox, html.dm .wikitable.plainrowheaders,
     color: #ffffff !important;
html.dm .mw-datatable, html.dm .wikitable {
     background: #222 !important;
     color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
/* Активная вкладка */
html.dm .sortable th, html.dm .sortable td, html.dm .mw-datatable th, html.dm .mw-datatable td {
body.darkmode-vector2010 .mw-portlet li.selected,
     background: #222 !important;
body.darkmode-vector2010 .mw-portlet li.selected a,
     color: #d0d0d0 !important;
body.darkmode-vector2010 .vector-menu-tabs li.selected,
     border-color: #444 !important;
body.darkmode-vector2010 .vector-menu-tabs li.selected a {
     background: #1a1a1a !important;
    background-image: none !important;
     color: #ffffff !important;
     border-color: #1a1a1a !important;
}
}
/* Ссылки внутри вкладок, которые ещё не созданы */
html.dm .sortable tr:nth-child(even) td,
body.darkmode-vector2010 .mw-portlet li a.new,
html.dm .mw-datatable tr:nth-child(even) td { background: #1e1e1e !important; }
body.darkmode-vector2010 .vector-menu-tabs li a.new {
html.dm .sortable tr:hover td,
     color: #ff7b7b !important;
html.dm .mw-datatable tr:hover td { background: #2a2a2a !important; }
html.dm .sortable .headerSort,
html.dm .sortable th[role="columnheader"] { color: #fff !important; }
 
 
/* ============================================================
  §11. ИНФОРМАЦИОННЫЕ ШАБЛОНЫ (ambox / imbox / tmbox / ombox / fmbox)
  ============================================================ */
html.dm .ambox,
html.dm .imbox,
html.dm .tmbox,
html.dm .ombox,
html.dm .fmbox-system {
     background: #291e29 !important;
    border-color: #797979 !important;
}
}
/* Обёртки вокруг вкладок */
 
body.darkmode-vector2010 #p-namespaces,
 
body.darkmode-vector2010 #p-views,
/* ============================================================
body.darkmode-vector2010 #p-cactions,
  §12. ШАБЛОНЫ-ОФОРМЛЕНИЕ
body.darkmode-vector2010 #p-actions {
  ============================================================ */
     background: #1a1a1a !important;
 
     background-image: none !important;
/* 12.1 .absurd-note ---------------------------------------- */
html.dm .absurd-note {
     background: #222 !important;
    border: 1px solid #555 !important;
     color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 #p-namespaces ul,
html.dm .absurd-note a { color: #8cc8ff !important; }
body.darkmode-vector2010 #p-views ul,
html.dm .absurd-note a:visited { color: #c9a8ff !important; }
body.darkmode-vector2010 #p-cactions ul,
html.dm .absurd-note b, html.dm .absurd-note strong, html.dm .absurd-note i { color: #fff !important; }
body.darkmode-vector2010 #p-actions ul {
html.dm .absurd-note hr { border-color: #444 !important; }
     background: #1a1a1a !important;
html.dm .absurd-note [style*="background-color:#6161ff"],
     background-image: none !important;
html.dm .absurd-note [style*="background:#6161ff"] { background: #1a1a1a !important; }
html.dm .absurd-note [style*="background-color:#ababff"],
html.dm .absurd-note [style*="background:#ababff"] { background: #222 !important; }
html.dm .absurd-note [style*="background-color:#ebebff"],
html.dm .absurd-note [style*="background:#ebebff"] { background: #2a2a2a !important; }
html.dm .absurd-note h2, html.dm .absurd-note p, html.dm .absurd-note div {
     color: #d0d0d0 !important;
     border-color: #444 !important;
}
}
html.dm .absurd-note h2 { color: #fff !important; }


/* ==== Таблицы: сортируемые, инфобоксы, навбоксы ==== */
/* 12.2 .doc-box / .right-box ------------------------------- */
body.darkmode-vector2010 .sortable,
html.dm .doc-box {
body.darkmode-vector2010 .infobox,
body.darkmode-vector2010 .navbox,
body.darkmode-vector2010 .wikitable.plainrowheaders,
body.darkmode-vector2010 .mw-datatable,
body.darkmode-vector2010 .wikitable {
     background: #222 !important;
     background: #222 !important;
    border: 1px dotted #555 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
body.darkmode-vector2010 .sortable th,
html.dm .doc-box a { color: #8cc8ff !important; }
body.darkmode-vector2010 .sortable td,
html.dm .doc-box hr, html.dm .doc-box .mw-hr { border-color: #444 !important; }
body.darkmode-vector2010 .mw-datatable th,
html.dm .right-box {
body.darkmode-vector2010 .mw-datatable td {
     background: #222 !important;
     background: #222 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .sortable tr:nth-child(even) td,
html.dm .right-box-element {
body.darkmode-vector2010 .mw-datatable tr:nth-child(even) td {
     background: transparent !important;
     background: #1e1e1e !important;
    color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 .sortable tr:hover td,
html.dm .right-box a, html.dm .right-box a:visited,
body.darkmode-vector2010 .mw-datatable tr:hover td {
html.dm .right-box-element a { color: #8cc8ff !important; }
     background: #2a2a2a !important;
 
/* 12.3 Forum ---------------------------------------------- */
html.dm .forumheader {
     background-color: #222 !important;
    border-color: #444 !important;
    color: #d0d0d0 !important;
}
}
/* Стрелки сортировки */
html.dm .forumheader a { color: #8cc8ff !important; }
body.darkmode-vector2010 .sortable .headerSort,
html.dm .forumheader a:visited { color: #c9a8ff !important; }
body.darkmode-vector2010 .sortable th[role="columnheader"] {
html.dm .forumheader b, html.dm .forumheader strong { color: #fff !important; }
     color: #ffffff !important;
html.dm .forumlist, html.dm .forumlist td, html.dm .forumlist th, html.dm .forumlist tr {
    background-color: #1a1a1a !important;
    border-color: #444 !important;
     color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 .sortable .headerSort:after,
html.dm .forumlist th { background-color: #2a2a2a !important; }
body.darkmode-vector2010 .sortable .headerSort:before {
html.dm .forumlist a { color: #8cc8ff !important; }
     filter: invert(1) hue-rotate(180deg);
html.dm .forumlist td.forum_edited a { color: #a0a0a0 !important; }
 
/* 12.4 main-box / section-box ----------------------------- */
html.dm .main-box, html.dm .main-box-subtitle, html.dm .main-box-header,
html.dm .main-header, html.dm .section-box, html.dm .main-footer,
html.dm .main-footer-actions, html.dm .main-footer-menu,
html.dm .main-footer-menuToggle, html.dm .main-footer-menuDropdown,
html.dm .main-plainlist {
    background: #222 !important;
     color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
html.dm .main-box a, html.dm .main-header a, html.dm .section-box a,
html.dm .main-footer a { color: #8cc8ff !important; }
html.dm .section-box, html.dm .main-box-header,
html.dm .main-header { color: #fff !important; border-bottom-color: #444 !important; }


/* ==== Панель редактирования (toolbar) ==== */
/* 12.5 file-info ------------------------------------------ */
body.darkmode-vector2010 #toolbar,
html.dm .file-info > tbody > tr > th, html.dm .file-info > tbody > tr > td {
body.darkmode-vector2010 #editButtons,
     background: #222 !important;
body.darkmode-vector2010 #wpTextbox1 + .editButtons,
body.darkmode-vector2010 .editButtons,
body.darkmode-vector2010 #wikiEditor-ui-toolbar,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .toolbar,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .section,
body.darkmode-vector2010 #wikiEditor-ui-toolbar .group,
body.darkmode-vector2010 .wikiEditor-ui-toolbar,
body.darkmode-vector2010 .wikiEditor-toolbar {
     background: #2a2a2a !important;
    background-image: none !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tabs,
html.dm .file-info > tbody > tr > th { color: #fff !important; background: #2a2a2a !important; }
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tab,
html.dm .file-info a { color: #8cc8ff !important; }
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tabspan,
html.dm .file-info a:visited { color: #c9a8ff !important; }
body.darkmode-vector2010 #wikiEditor-ui-toolbar .current,
html.dm .file-no-data {
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tab.current {
     background: #222 !important;
     background: #333 !important;
     color: #d0d0d0 !important;
    background-image: none !important;
     color: #6cb6ff !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tab.current,
 
body.darkmode-vector2010 #wikiEditor-ui-toolbar .current {
 
     background: #2a2a2a !important;
/* ============================================================
     color: #ffffff !important;
  §13. ДИФФЫ
  ============================================================ */
html.dm .diff, html.dm table.diff, html.dm .diff td {
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
body.darkmode-vector2010 #wikiEditor-ui-toolbar a,
html.dm .diff-addedline, html.dm .diff-deletedline, html.dm .diff-context {
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tool,
    background: #222 !important;
body.darkmode-vector2010 .editButtons a {
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
body.darkmode-vector2010 #wikiEditor-ui-toolbar a:hover,
html.dm .diffchange {
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tool:hover {
    background: #3a2a1a !important;
     background: #3a3a3a !important;
    color: #ffb366 !important;
     color: #ffffff !important;
    text-decoration: none !important;
}
html.dm .diff-addedline ins, html.dm .diff-deletedline del {
     background: transparent !important;
     color: #ffb366 !important;
    text-decoration: none !important;
}
}
/* Иконки тулбара (спрайты) — инвертируем, чтобы не светили */
 
body.darkmode-vector2010 #wikiEditor-ui-toolbar .tool-icon,
 
body.darkmode-vector2010 #wikiEditor-ui-toolbar .oo-ui-iconElement-icon,
/* ============================================================
body.darkmode-vector2010 .editButtons img,
  §14. ПОДСВЕТКА КОДА (SyntaxHighlight / Pygments)
body.darkmode-vector2010 #toolbar img {
  ============================================================ */
     filter: invert(1) hue-rotate(180deg);
 
/* 14.1 База ------------------------------------------------ */
html.dm .mw-highlight, html.dm .mw-highlight pre, html.dm .mw-highlight code,
html.dm div.mw-highlight, html.dm .mw-highlighter, html.dm pre.mw-highlight {
    background: #111 !important;
     color: #e0e0e0 !important;
    border-color: #444 !important;
}
}
/* Поле ввода wikitext */
 
body.darkmode-vector2010 #wpTextbox1,
/* 14.2 Номера строк --------------------------------------- */
body.darkmode-vector2010 textarea#wpTextbox1,
html.dm .mw-highlight .lineno, html.dm .mw-highlight .linenos,
body.darkmode-vector2010 .wikiEditor-ui-text textarea,
html.dm .mw-highlight .lineno a, html.dm .mw-highlight .linenos a,
body.darkmode-vector2010 .ve-ce-surface,
html.dm .mw-highlight .line-number, html.dm .mw-highlight .re2-cursor,
body.darkmode-vector2010 .ve-ce-documentNode {
html.dm .mw-highlight-lines, html.dm .mw-highlight-lines a {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
    color: #808080 !important;
    border-right-color: #333 !important;
}
html.dm .mw-highlight .lineno:hover,
html.dm .mw-highlight .linenos a:hover { color: #8cc8ff !important; }
html.dm .mw-highlight .highlighted,
html.dm .mw-highlight .hll {
    background: #3a3a1a !important;
    color: #ffe58a !important;
}
html.dm .mw-highlight td.linenos .special,
html.dm .mw-highlight span.linenos.special { background: #3c3c3c !important; }
html.dm .mw-content-ltr.mw-highlight-lines pre,
html.dm .mw-content-ltr.content .mw-highlight-lines pre {
    box-shadow: inset 2.75em 0 0 #2f2f2f !important;
}
/* 14.3 Классы Pygments (палитра VS Code Dark+) ------------ */
/* комментарии */
html.dm .mw-highlight .c, html.dm .mw-highlight .c1, html.dm .mw-highlight .cm,
html.dm .mw-highlight .ch, html.dm .mw-highlight .cs { color: #6a9955 !important; }
html.dm .mw-highlight .cp { color: #ff8f00 !important; }
html.dm .mw-highlight .cpf { color: #4a8888 !important; }
/* ключевые слова */
html.dm .mw-highlight .k,  html.dm .mw-highlight .kc, html.dm .mw-highlight .kd,
html.dm .mw-highlight .kn, html.dm .mw-highlight .kp, html.dm .mw-highlight .kr { color: #c586c0 !important; }
html.dm .mw-highlight .kt { color: #e1ff8f !important; }
/* строки */
html.dm .mw-highlight .s, html.dm .mw-highlight .s1, html.dm .mw-highlight .s2,
html.dm .mw-highlight .sx { color: #ce9178 !important; }
html.dm .mw-highlight .se { color: #ff3c00 !important; }
html.dm .mw-highlight .si, html.dm .mw-highlight .sr { color: #ff4b92 !important; }
/* числа */
html.dm .mw-highlight .mi, html.dm .mw-highlight .mf { color: #b5cea8 !important; }
html.dm .mw-highlight .no { color: #dd0000 !important; }
/* функции и классы */
html.dm .mw-highlight .nf, html.dm .mw-highlight .fm,
html.dm .mw-highlight .nb, html.dm .mw-highlight .bp { color: #dcdcaa !important; }
html.dm .mw-highlight .nc, html.dm .mw-highlight .nn,
html.dm .mw-highlight .nt { color: #4ec9b0 !important; }
html.dm .mw-highlight .na { color: #9ec200 !important; }
html.dm .mw-highlight .nd { color: #cf41f7 !important; }
/* переменные */
html.dm .mw-highlight .nv, html.dm .mw-highlight .vc, html.dm .mw-highlight .vg,
html.dm .mw-highlight .vi, html.dm .mw-highlight .vm { color: #9cdcfe !important; }
/* операторы */
html.dm .mw-highlight .ow { color: #c586c0 !important; }
/* ошибки */
html.dm .mw-highlight .ne { color: #ff0000 !important; }
html.dm .mw-highlight .nl { color: #ffff00 !important; }
/* дифф */
html.dm .mw-highlight .gd, html.dm .mw-highlight .gr { color: #ff0000 !important; }
html.dm .mw-highlight .gi { color: #00a800 !important; }
html.dm .mw-highlight .gh, html.dm .mw-highlight .gp { color: #4b91ff !important; }
html.dm .mw-highlight .gu { color: #ff00ff !important; }
html.dm .mw-highlight .gt { color: #1960ff !important; }
html.dm .mw-highlight .go, html.dm .mw-highlight .ni { color: #bbbbbb !important; }
/* ============================================================
  §15. РЕДАКТОРЫ КОДА
  ⚠ Порядок важен: CodeMirror (§15.1) должен идти ДО §15.2,
      иначе общий .cm-editor получит не тот фон.
  ============================================================ */
/* 15.1 CodeMirror ----------------------------------------- */
html.dm .CodeMirror, html.dm .cm-editor, html.dm .cm-s-default, html.dm .cm-s-dark {
    background: #2a2a2a !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
/* Кнопки «Сохранить», «Предпросмотр», «Отмена» */
html.dm .CodeMirror-gutters, html.dm .cm-gutters, html.dm .cm-gutter {
body.darkmode-vector2010 .editOptions,
    background: #252525 !important;
body.darkmode-vector2010 #editpage-copywarn,
    border-right-color: #333 !important;
body.darkmode-vector2010 .mw-editfooter-toggler,
}
body.darkmode-vector2010 .editHelp,
html.dm .CodeMirror-linenumber, html.dm .cm-gutterElement,
body.darkmode-vector2010 #editform,
html.dm .cm-lineNumbers .cm-gutterElement {
body.darkmode-vector2010 .mw-editform {
    background: #252525 !important;
    color: #808080 !important;
}
html.dm .CodeMirror-linenumber:hover,
html.dm .cm-gutterElement:hover { color: #8cc8ff !important; }
html.dm .CodeMirror-cursor, html.dm .cm-cursor { border-left-color: #e0e0e0 !important; }
html.dm .CodeMirror-selected, html.dm .cm-selectionBackground,
html.dm .CodeMirror-focused .CodeMirror-selected { background: #2a3a4a !important; }
html.dm .CodeMirror-activeline-background, html.dm .cm-activeLine,
html.dm .cm-activeLineGutter { background: #222 !important; }
html.dm .CodeMirror-matchingbracket,
html.dm .CodeMirror-nonmatchingbracket {
    color: #8cc8ff !important;
    background: #2a3a4a !important;
}
html.dm .CodeMirror-foldmarker {
    color: #8cc8ff !important;
    background: #2a2a2a !important;
    border-color: #444 !important;
    text-shadow: none !important;
}
 
/* 15.2 Ace (AbuseFilter) — намеренно после CodeMirror,
      чтобы .cm-editor в фильтре злоупотреблений получил #1a1a1a */
html.dm #wpAceFilterEditor,
html.dm .ace_editor,
html.dm #wpAceFilterEditor .ace_scroller,
html.dm .cm-editor,
html.dm .cm-scroller,
html.dm .cm-content {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #e0e0e0 !important;
     border-color: #444 !important;
}
html.dm .ace_gutter,
html.dm .cm-gutters {
    background: #252525 !important;
    color: #808080 !important;
     border-right-color: #333 !important;
}
}
html.dm .ace_keyword,
html.dm .ace_operator { color: #c586c0 !important; }
html.dm .ace_string { color: #ce9178 !important; }
html.dm .ace_comment { color: #6a9955 !important; }
html.dm .ace_variable { color: #9cdcfe !important; }
html.dm .ace_constant { color: #b5cea8 !important; }
html.dm .ace_cursor,
html.dm .cm-cursor { border-left-color: #e0e0e0 !important; }
html.dm .ace_selection,
html.dm .cm-selectionBackground { background: #2a3a4a !important; }
html.dm .ace_gutter-active-line { background: #222 !important; }
html.dm .ace_marker-layer .ace_selection { background: #2a3a4a !important; }
/* ============================================================
  §16. ФОРМЫ И ПОЛЯ ВВОДА
  ============================================================ */


/* ==== Свежие правки: поля выбора и ввода ==== */
/* 16.1 Нативные элементы ----------------------------------- */
body.darkmode-vector2010 select,
html.dm select, html.dm input[type="text"], html.dm input[type="search"],
body.darkmode-vector2010 input[type="text"],
html.dm input[type="number"], html.dm input[type="date"], html.dm textarea,
body.darkmode-vector2010 input[type="search"],
html.dm .mw-ui-input, html.dm .oo-ui-inputWidget-input {
body.darkmode-vector2010 input[type="number"],
body.darkmode-vector2010 input[type="date"],
body.darkmode-vector2010 textarea,
body.darkmode-vector2010 .mw-ui-input,
body.darkmode-vector2010 .oo-ui-inputWidget-input {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
    background-image: none !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border: 1px solid #555 !important;
     border: 1px solid #555 !important;
     border-radius: 3px !important;
     border-radius: 3px !important;
}
}
body.darkmode-vector2010 select,
/* appearance:none — только для select и dropdown-виджетов,
body.darkmode-vector2010 .oo-ui-dropdownWidget-handle,
  чтобы не ломать чекбоксы/радио */
body.darkmode-vector2010 .oo-ui-inputWidget-input {
html.dm select, html.dm .oo-ui-dropdownWidget-handle {
    appearance: none !important;
     -webkit-appearance: none !important;
     -webkit-appearance: none !important;
     -moz-appearance: none !important;
     -moz-appearance: none !important;
    appearance: none !important;
}
}
/* Стрелочка у select */
html.dm select {
body.darkmode-vector2010 select {
    background-color: #2a2a2a !important;
     background-image: linear-gradient(45deg, transparent 50%, #6cb6ff 50%),
    color: #d0d0d0 !important;
                       linear-gradient(135deg, #6cb6ff 50%, transparent 50%) !important;
    border: 1px solid #555 !important;
    border-radius: 3px !important;
     background-image: linear-gradient(45deg, transparent 50%, #8cc8ff 50%),
                       linear-gradient(135deg, #8cc8ff 50%, transparent 50%) !important;
     background-position: calc(100% - 14px) center, calc(100% - 9px) center !important;
     background-position: calc(100% - 14px) center, calc(100% - 9px) center !important;
     background-size: 5px 5px, 5px 5px !important;
     background-size: 5px 5px, 5px 5px !important;
Строка 376: Строка 855:
     padding-right: 24px !important;
     padding-right: 24px !important;
}
}
/* Опции внутри select */
html.dm select option, html.dm select optgroup {
body.darkmode-vector2010 select option,
body.darkmode-vector2010 select optgroup {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 select option:checked,
html.dm select option:checked, html.dm select option:hover {
body.darkmode-vector2010 select option:hover {
     background: #3a3a3a !important;
     background: #3a3a3a !important;
     color: #ffffff !important;
     color: #fff !important;
}
}
/* Чекбоксы и радиокнопки */
html.dm input[type="checkbox"], html.dm input[type="radio"] {
body.darkmode-vector2010 input[type="checkbox"],
     accent-color: #8cc8ff !important;
body.darkmode-vector2010 input[type="radio"] {
     accent-color: #6cb6ff !important;
    background: #2a2a2a !important;
    border-color: #555 !important;
}
}
/* Кнопки в фильтрах */
html.dm button, html.dm input[type="submit"], html.dm input[type="button"],
body.darkmode-vector2010 button,
html.dm .oo-ui-buttonElement-button, html.dm .mw-ui-button {
body.darkmode-vector2010 input[type="submit"],
body.darkmode-vector2010 input[type="button"],
body.darkmode-vector2010 .oo-ui-buttonElement-button,
body.darkmode-vector2010 .mw-ui-button {
     background: #333 !important;
     background: #333 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border: 1px solid #555 !important;
     border: 1px solid #555 !important;
}
}
body.darkmode-vector2010 button:hover,
html.dm button:hover, html.dm input[type="submit"]:hover,
body.darkmode-vector2010 input[type="submit"]:hover,
html.dm .oo-ui-buttonElement-button:hover, html.dm .mw-ui-button:hover {
body.darkmode-vector2010 .oo-ui-buttonElement-button:hover,
body.darkmode-vector2010 .mw-ui-button:hover {
     background: #444 !important;
     background: #444 !important;
     color: #ffffff !important;
     color: #fff !important;
}
}
/* Обёртки вокруг полей (Label, FieldLayout) */
html.dm .oo-ui-fieldLayout, html.dm .oo-ui-labelElement-label,
body.darkmode-vector2010 .oo-ui-fieldLayout,
html.dm label, html.dm legend { color: #d0d0d0 !important; }
body.darkmode-vector2010 .oo-ui-labelElement-label,
 
body.darkmode-vector2010 label,
/* 16.2 OOUI widgets --------------------------------------- */
body.darkmode-vector2010 legend {
html.dm .oo-ui-dropdownWidget, html.dm .oo-ui-menuSelectWidget,
html.dm .oo-ui-optionWidget {
    background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
    border-color: #555 !important;
}
}
/* Выпадающие меню OOUI (свежие правки в новых версиях) */
html.dm .oo-ui-optionWidget-selected,
body.darkmode-vector2010 .oo-ui-dropdownWidget,
html.dm .oo-ui-optionWidget-highlighted {
body.darkmode-vector2010 .oo-ui-menuSelectWidget,
    background: #3a3a3a !important;
body.darkmode-vector2010 .oo-ui-optionWidget {
    color: #fff !important;
}
html.dm .oo-ui-textInputWidget, html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input,
html.dm .oo-ui-textInputWidget input, html.dm .oo-ui-textInputWidget textarea {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #555 !important;
     border: 1px solid #555 !important;
    box-shadow: none !important;
}
}
body.darkmode-vector2010 .oo-ui-optionWidget-selected,
html.dm .oo-ui-textInputWidget .oo-ui-inputWidget-input:focus,
body.darkmode-vector2010 .oo-ui-optionWidget-highlighted {
html.dm .oo-ui-textInputWidget input:focus,
     background: #3a3a3a !important;
html.dm #wpReason:focus {
     color: #ffffff !important;
     border-color: #8cc8ff !important;
     box-shadow: 0 0 0 1px #8cc8ff !important;
}
}


/* ==== Загрузка файла: вкладки Файл/История/Использование ==== */
/* 16.3 Служебные страницы: delete / block / rename / protect
body.darkmode-vector2010 #filetoc,
      Идёт ПОСЛЕ §16.2 намеренно — чтобы переопределить
body.darkmode-vector2010 #filetoc ul,
      общие правила для конкретных полей. */
body.darkmode-vector2010 .filehistory,
html.dm .oo-ui-inputWidget-input,
body.darkmode-vector2010 .filehistory ul,
html.dm .oo-ui-textInputWidget input,
body.darkmode-vector2010 #mw-imagepage-section-filehistory,
html.dm .oo-ui-textInputWidget textarea,
body.darkmode-vector2010 #mw-imagepage-section-globalusage,
html.dm #wpReason,
body.darkmode-vector2010 #mw-imagepage-section-linkstoimage,
html.dm #wpDeleteReasonList,
body.darkmode-vector2010 .mw-imagepage-section {
html.dm #wpSummary,
     background: #222 !important;
html.dm #mw-htmlform-rename input,
     background-image: none !important;
html.dm #mw-htmlform-protect input,
html.dm .mw-htmlform-field input[type="text"],
html.dm .mw-htmlform-field textarea {
     background: #2a2a2a !important;
     background-color: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #555 !important;
}
}
body.darkmode-vector2010 #filetoc a,
html.dm .oo-ui-dropdownWidget-handle,
body.darkmode-vector2010 .filehistory a,
html.dm #wpDeleteReasonList,
body.darkmode-vector2010 #mw-imagepage-section-filehistory a,
html.dm #mw-htmlform-protect select,
body.darkmode-vector2010 .mw-imagepage-section a {
html.dm #mw-htmlform-rename select {
     color: #6cb6ff !important;
     background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
}
/* Современная разметка (новые версии MediaWiki) */
html.dm .oo-ui-inputWidget-input:focus,
body.darkmode-vector2010 .mw-imagepage-content,
html.dm .oo-ui-textInputWidget input:focus,
body.darkmode-vector2010 .mw-imagepage-content ul,
html.dm #wpReason:focus,
body.darkmode-vector2010 .mw-imagepage-content li,
html.dm #wpSummary:focus {
body.darkmode-vector2010 .mw-imagepage-content table {
     background: #2a2a2a !important;
     background: #222 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #8cc8ff !important;
    box-shadow: 0 0 0 1px #8cc8ff !important;
}
}
body.darkmode-vector2010 .mw-imagepage-content th,
html.dm #mw-bi-target,
body.darkmode-vector2010 .mw-imagepage-content td {
html.dm #mw-bi-target + .oo-ui-inputWidget-input,
     background: #1a1a1a !important;
html.dm .oo-ui-tagMultiselectWidget-handle,
html.dm .oo-ui-tagMultiselectWidget,
html.dm .oo-ui-tagItemWidget,
html.dm .oo-ui-menuTagMultiselectWidget {
     background: #2a2a2a !important;
    background-color: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #555 !important;
}
html.dm #mw-bi-target:focus,
html.dm .oo-ui-tagMultiselectWidget-handle:focus {
    border-color: #8cc8ff !important;
    box-shadow: 0 0 0 1px #8cc8ff !important;
}
}
body.darkmode-vector2010 .mw-imagepage-content tr:hover {
 
 
/* ============================================================
  §17. OOUI: ПОПАПЫ, ТУЛБАРЫ, МОДАЛЬНЫЕ ОКНА, СКЕЛЕТОНЫ
  ============================================================ */
 
/* 17.1 Popups и toolbars ---------------------------------- */
html.dm .oo-ui-popupWidget, html.dm .oo-ui-popupWidget-popup,
html.dm .oo-ui-popupWidget-body, html.dm .oo-ui-popupToolGroup-tools,
html.dm .oo-ui-toolbar-tools, html.dm .oo-ui-menuToolGroup-tools {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
}
html.dm .oo-ui-popupWidget a, html.dm .oo-ui-popupToolGroup-tools a,
html.dm .oo-ui-toolbar-tools a { color: #8cc8ff !important; }


/* ==== Изображения: рамка, подпись, увеличение ==== */
/* 17.2 Модальные окна ------------------------------------- */
body.darkmode-vector2010 .thumb,
html.dm .oo-ui-window-frame, html.dm .oo-ui-window-body,
body.darkmode-vector2010 .thumbinner,
html.dm .oo-ui-window-content, html.dm .oo-ui-window-head,
body.darkmode-vector2010 figure[typeof~="mw:File/Thumb"],
html.dm .oo-ui-window-foot, html.dm .oo-ui-processDialog,
body.darkmode-vector2010 figure[typeof~="mw:File/Frame"],
html.dm .oo-ui-processDialog-content, html.dm .oo-ui-processDialog-navigation,
body.darkmode-vector2010 .mw-halign-none,
html.dm .oo-ui-window, html.dm .oo-ui-dialog, html.dm .oo-ui-dialog-content,
body.darkmode-vector2010 .mw-halign-left,
html.dm .oo-ui-panelLayout, html.dm .oo-ui-panelLayout-padded,
body.darkmode-vector2010 .mw-halign-right,
html.dm .oo-ui-panelLayout-framed, html.dm .oo-ui-formLayout,
body.darkmode-vector2010 .mw-halign-center {
html.dm .oo-ui-fieldsetLayout {
     background: #222 !important;
     background: #1a1a1a !important;
    color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
    color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 .thumbcaption,
html.dm .oo-ui-processDialog-title, html.dm .oo-ui-window-head,
body.darkmode-vector2010 figcaption,
html.dm .oo-ui-dialog-title {
body.darkmode-vector2010 .thumbcaption .magnify,
body.darkmode-vector2010 figure > figcaption {
     background: #222 !important;
     background: #222 !important;
     color: #b8b8b8 !important;
     color: #fff !important;
     border-color: #444 !important;
     border-bottom-color: #444 !important;
}
html.dm .oo-ui-processDialog .oo-ui-labelElement-label,
html.dm .oo-ui-window .oo-ui-labelElement-label,
html.dm .oo-ui-window legend, html.dm .oo-ui-window label,
html.dm .oo-ui-window h1, html.dm .oo-ui-window h2,
html.dm .oo-ui-window h3 { color: #d0d0d0 !important; }
html.dm .oo-ui-window a { color: #8cc8ff !important; }
html.dm .oo-ui-processDialog-errors, html.dm .oo-ui-processDialog-error,
html.dm .oo-ui-messageDialog, html.dm .oo-ui-messageDialog-message,
html.dm .oo-ui-messageDialog-actions {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
}
body.darkmode-vector2010 .thumbcaption a,
html.dm .oo-ui-processDialog-actions, html.dm .oo-ui-processDialog-actions button,
body.darkmode-vector2010 figcaption a {
html.dm .oo-ui-processDialog-actions .oo-ui-buttonElement-button,
     color: #6cb6ff !important;
html.dm .oo-ui-window-foot .oo-ui-buttonElement-button {
     background: #333 !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
}
/* Лупа «увеличить» */
html.dm .oo-ui-processDialog-actions .oo-ui-buttonElement-button:hover,
body.darkmode-vector2010 .magnify a,
html.dm .oo-ui-window-foot .oo-ui-buttonElement-button:hover {
body.darkmode-vector2010 .magnify img {
     background: #444 !important;
     filter: invert(1) hue-rotate(180deg);
    color: #fff !important;
}
}
/* Рамка вокруг самого изображения */
html.dm .oo-ui-processDialog-actions-approve .oo-ui-buttonElement-button {
body.darkmode-vector2010 .thumbimage,
     background: #2d5a2d !important;
body.darkmode-vector2010 figure img {
     color: #d0d0d0 !important;
     border-color: #444 !important;
     background: #111 !important;
}
}
/* Современная разметка <figure> */
html.dm .oo-ui-processDialog-actions-approve .oo-ui-buttonElement-button:hover {
body.darkmode-vector2010 figure[typeof~="mw:File"] {
     background: #3a6e3a !important;
     background: #222 !important;
     color: #fff !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 figure[typeof~="mw:File"] > figcaption {
html.dm .oo-ui-windowManager-modal > .oo-ui-dialog,
    background: #222 !important;
html.dm .oo-ui-dialog { background-color: rgba(0, 0, 0, 0.7) !important; }
     color: #b8b8b8 !important;
 
/* 17.3 Скелетон-лоадеры OOUI / Codex ---------------------- */
html.dm .oo-ui-pendingElement-pending,
html.dm .cdx-lookup--pending {
     background-image: linear-gradient(
        135deg,
        #1a1a1a 25%, transparent 25%, transparent 50%,
        #1a1a1a 50%, #1a1a1a 75%, transparent 75%, transparent
    ) !important;
}
}


/* ==== Свежие правки: легенда ==== */
 
body.darkmode-vector2010 .mw-changeslist-legend,
/* ============================================================
body.darkmode-vector2010 .mw-specialpage-legend,
  §18. РЕДАКТОР СТАТЕЙ
body.darkmode-vector2010 .mw-changeslist-legend-inner,
  ============================================================ */
body.darkmode-vector2010 .rclistfrom,
 
body.darkmode-vector2010 #mw-indicator,
/* 18.1 Тулбар и кнопки ------------------------------------ */
body.darkmode-vector2010 .mw-indicators {
html.dm #toolbar, html.dm #editButtons, html.dm #wpTextbox1 + .editButtons,
     background: #222 !important;
html.dm .editButtons, html.dm #wikiEditor-ui-toolbar,
html.dm #wikiEditor-ui-toolbar .toolbar, html.dm #wikiEditor-ui-toolbar .section,
html.dm #wikiEditor-ui-toolbar .group, html.dm .wikiEditor-ui-toolbar,
html.dm .wikiEditor-toolbar {
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .mw-changeslist-legend a,
 
body.darkmode-vector2010 .mw-specialpage-legend a {
/* 18.2 Спецсимволы ---------------------------------------- */
     color: #6cb6ff !important;
html.dm #editpage-specialchars {
     background: #555869 !important;
    border: 1px solid #555 !important;
}
}
/* Плашка «Свежие правки за последние X дней» и фильтры */
html.dm #editpage-specialchars a {
body.darkmode-vector2010 .mw-specialpage-summary,
     background: #33364a !important;
body.darkmode-vector2010 .mw-recentchanges-filters,
    border: 1px solid #000 !important;
body.darkmode-vector2010 .rcoptions,
body.darkmode-vector2010 fieldset {
     background: #222 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
}
/* 18.3 Вкладки WikiEditor --------------------------------- */
html.dm #wikiEditor-ui-toolbar .tabs, html.dm #wikiEditor-ui-toolbar .tab,
html.dm #wikiEditor-ui-toolbar .tabspan, html.dm #wikiEditor-ui-toolbar .current,
html.dm #wikiEditor-ui-toolbar .tab.current {
    background: #333 !important;
    color: #8cc8ff !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 legend {
html.dm #wikiEditor-ui-toolbar .tab.current,
     color: #e0e0e0 !important;
html.dm #wikiEditor-ui-toolbar .current {
    background: #2a2a2a !important;
     color: #fff !important;
}
}
/* Строки списка правок */
html.dm #wikiEditor-ui-toolbar a, html.dm #wikiEditor-ui-toolbar .tool,
body.darkmode-vector2010 .mw-changeslist-line,
html.dm .editButtons a { color: #d0d0d0 !important; }
body.darkmode-vector2010 .mw-changeslist-line-inner,
html.dm #wikiEditor-ui-toolbar a:hover,
body.darkmode-vector2010 .special li,
html.dm #wikiEditor-ui-toolbar .tool:hover {
body.darkmode-vector2010 .mw-recentchanges-list li {
     background: #3a3a3a !important;
     background: #1a1a1a !important;
     color: #fff !important;
     border-color: #333 !important;
}
}
/* Подсветка «свежих» и «моих» правок */
body.darkmode-vector2010 .mw-changeslist-line-watched,
body.darkmode-vector2010 .mw-changeslist-line-not-watched {
    background: #1a1a1a !important;
}
body.darkmode-vector2010 .mw-plusminus-pos { color: #7bd88f !important; }
body.darkmode-vector2010 .mw-plusminus-neg { color: #ff7b7b !important; }
body.darkmode-vector2010 .mw-plusminus-null { color: #b0b0b0 !important; }


/* ==== Подсветка кода: номера строк и фон ==== */
/* 18.4 Текстовая область и окружение ---------------------- */
body.darkmode-vector2010 .mw-highlight,
html.dm #wpTextbox1, html.dm textarea#wpTextbox1, html.dm .wikiEditor-ui-text textarea,
body.darkmode-vector2010 .mw-highlight pre,
html.dm .ve-ce-surface, html.dm .ve-ce-documentNode {
body.darkmode-vector2010 .mw-highlight code,
     background: #2a2a2a !important;
body.darkmode-vector2010 div.mw-highlight,
body.darkmode-vector2010 .mw-highlighter,
body.darkmode-vector2010 pre.mw-highlight {
     background: #111 !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
/* Номера строк */
html.dm .editOptions, html.dm #editpage-copywarn, html.dm .mw-editfooter-toggler,
body.darkmode-vector2010 .mw-highlight .lineno,
html.dm .editHelp, html.dm #editform, html.dm .mw-editform {
body.darkmode-vector2010 .mw-highlight .linenos,
body.darkmode-vector2010 .mw-highlight .lineno a,
body.darkmode-vector2010 .mw-highlight .linenos a,
body.darkmode-vector2010 .mw-highlight .line-number,
body.darkmode-vector2010 .mw-highlight .re2-cursor,
body.darkmode-vector2010 .mw-highlight-lines,
body.darkmode-vector2010 .mw-highlight-lines a {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #808080 !important;
     color: #d0d0d0 !important;
     border-right-color: #333 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .mw-highlight .lineno:hover,
body.darkmode-vector2010 .mw-highlight .linenos a:hover {
    color: #6cb6ff !important;
}
/* Подсветка текущей строки */
body.darkmode-vector2010 .mw-highlight .highlighted,
body.darkmode-vector2010 .mw-highlight .hll {
    background: #2a2a2a !important;
}
/* Токены синтаксиса — если стандартные цвета плохо видны */
body.darkmode-vector2010 .mw-highlight .c,
body.darkmode-vector2010 .mw-highlight .c1,
body.darkmode-vector2010 .mw-highlight .cm { color: #6a9955 !important; }
body.darkmode-vector2010 .mw-highlight .k,
body.darkmode-vector2010 .mw-highlight .kd,
body.darkmode-vector2010 .mw-highlight .kn { color: #c586c0 !important; }
body.darkmode-vector2010 .mw-highlight .s,
body.darkmode-vector2010 .mw-highlight .s1,
body.darkmode-vector2010 .mw-highlight .s2 { color: #ce9178 !important; }
body.darkmode-vector2010 .mw-highlight .mi,
body.darkmode-vector2010 .mw-highlight .mf { color: #b5cea8 !important; }
body.darkmode-vector2010 .mw-highlight .nf,
body.darkmode-vector2010 .mw-highlight .nb { color: #dcdcaa !important; }
body.darkmode-vector2010 .mw-highlight .nc,
body.darkmode-vector2010 .mw-highlight .nn { color: #4ec9b0 !important; }


/* ==== Редактор: номера строк (CodeMirror / WikiEditor) ==== */
 
body.darkmode-vector2010 .CodeMirror,
/* ============================================================
body.darkmode-vector2010 .cm-editor,
  §19. СЛУЖЕБНЫЕ СТРАНИЦЫ
body.darkmode-vector2010 .cm-s-default,
  ============================================================ */
body.darkmode-vector2010 .cm-s-dark {
 
     background: #1a1a1a !important;
/* 19.1 Файлы (filetoc, imagepage) ------------------------- */
     color: #e0e0e0 !important;
html.dm #filetoc, html.dm #filetoc ul, html.dm .filehistory, html.dm .filehistory ul,
html.dm #mw-imagepage-section-filehistory, html.dm #mw-imagepage-section-globalusage,
html.dm #mw-imagepage-section-linkstoimage, html.dm .mw-imagepage-section {
     background: #222 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .CodeMirror-gutters,
html.dm #filetoc a, html.dm .filehistory a,
body.darkmode-vector2010 .cm-gutters,
html.dm #mw-imagepage-section-filehistory a,
body.darkmode-vector2010 .cm-gutter {
html.dm .mw-imagepage-section a { color: #8cc8ff !important; }
     background: #1a1a1a !important;
html.dm .mw-imagepage-content, html.dm .mw-imagepage-content ul,
     border-right-color: #333 !important;
html.dm .mw-imagepage-content li, html.dm .mw-imagepage-content table {
     background: #222 !important;
    color: #d0d0d0 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 .CodeMirror-linenumber,
html.dm .mw-imagepage-content th, html.dm .mw-imagepage-content td {
body.darkmode-vector2010 .cm-gutterElement,
body.darkmode-vector2010 .cm-lineNumbers .cm-gutterElement {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #808080 !important;
     color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
body.darkmode-vector2010 .CodeMirror-linenumber:hover,
 
body.darkmode-vector2010 .cm-gutterElement:hover {
/* 19.2 Свежие правки и история ---------------------------- */
    color: #6cb6ff !important;
html.dm .mw-changeslist-legend, html.dm .mw-specialpage-legend,
}
html.dm .mw-changeslist-legend-inner, html.dm .rclistfrom, html.dm #mw-indicator,
body.darkmode-vector2010 .CodeMirror-cursor,
html.dm .mw-indicators, html.dm .mw-specialpage-summary,
body.darkmode-vector2010 .cm-cursor {
html.dm .mw-recentchanges-filters, html.dm .rcoptions, html.dm fieldset {
    border-left-color: #e0e0e0 !important;
}
body.darkmode-vector2010 .CodeMirror-selected,
body.darkmode-vector2010 .cm-selectionBackground,
body.darkmode-vector2010 .CodeMirror-focused .CodeMirror-selected {
    background: #2a3a4a !important;
}
body.darkmode-vector2010 .CodeMirror-activeline-background,
body.darkmode-vector2010 .cm-activeLine,
body.darkmode-vector2010 .cm-activeLineGutter {
     background: #222 !important;
     background: #222 !important;
    color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
/* ==== История правок: подсветка выделенных строк ==== */
html.dm .mw-changeslist-legend a,
body.darkmode-vector2010 .mw-changeslist-line,
html.dm .mw-specialpage-legend a { color: #8cc8ff !important; }
body.darkmode-vector2010 .mw-changeslist-line-inner,
html.dm legend { color: #e0e0e0 !important; }
body.darkmode-vector2010 .mw-changeslist-line-watched,
html.dm .mw-changeslist-line, html.dm .mw-changeslist-line-inner,
body.darkmode-vector2010 .mw-changeslist-line-not-watched,
html.dm .mw-changeslist-line-watched, html.dm .mw-changeslist-line-not-watched,
body.darkmode-vector2010 .mw-changeslist-line-watched .mw-changeslist-line-inner,
html.dm .special li, html.dm .mw-recentchanges-list li {
body.darkmode-vector2010 .mw-changeslist-line-not-watched .mw-changeslist-line-inner {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #333 !important;
     border-color: #333 !important;
}
}
 
html.dm .mw-enhancedchanges-arrow {
/* Явно убираем белый фон у чётных/нечётных строк */
     background-color: #8cc8ff !important;
body.darkmode-vector2010 .mw-changeslist-line:nth-child(odd),
    filter: none !important;
body.darkmode-vector2010 .mw-changeslist-line:nth-child(even),
     opacity: 1 !important;
body.darkmode-vector2010 .mw-changeslist-line-watched:nth-child(odd),
body.darkmode-vector2010 .mw-changeslist-line-watched:nth-child(even),
body.darkmode-vector2010 .mw-changeslist-line-not-watched:nth-child(odd),
body.darkmode-vector2010 .mw-changeslist-line-not-watched:nth-child(even) {
     background: #1a1a1a !important;
}
 
/* Строки, помеченные как «свежие» */
body.darkmode-vector2010 .mw-changeslist-line-watched,
body.darkmode-vector2010 .mw-changeslist-line-not-watched {
     background: #1a1a1a !important;
}
}
 
html.dm .mw-collapsible-toggle {
/* Стрелки «!» и «?» слева */
body.darkmode-vector2010 .mw-enhancedchanges-arrow,
body.darkmode-vector2010 .mw-enhancedchanges-arrow a,
body.darkmode-vector2010 .mw-enhancedchanges-arrow img {
     background: transparent !important;
     background: transparent !important;
     filter: invert(1) hue-rotate(180deg);
     color: #8cc8ff !important;
}
}
 
html.dm .mw-history-table, html.dm .mw-history-table tr, html.dm .mw-history-table td,
/* Цифры ± */
html.dm .mw-history-table th, html.dm #pagehistory, html.dm #pagehistory li,
body.darkmode-vector2010 .mw-plusminus-pos { color: #7bd88f !important; }
html.dm #pagehistory .mw-history-compareselectedversions {
body.darkmode-vector2010 .mw-plusminus-neg { color: #ff7b7b !important; }
body.darkmode-vector2010 .mw-plusminus-null { color: #b0b0b0 !important; }
 
/* Таблица истории правок */
body.darkmode-vector2010 .mw-history-table,
body.darkmode-vector2010 .mw-history-table tr,
body.darkmode-vector2010 .mw-history-table td,
body.darkmode-vector2010 .mw-history-table th,
body.darkmode-vector2010 #pagehistory,
body.darkmode-vector2010 #pagehistory li,
body.darkmode-vector2010 #pagehistory .mw-history-compareselectedversions {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 #pagehistory li.selected,
html.dm #pagehistory li.selected, html.dm #pagehistory li:target,
body.darkmode-vector2010 #pagehistory li:target,
html.dm .mw-history-table tr.selected, html.dm .mw-history-table tr:target {
body.darkmode-vector2010 .mw-history-table tr.selected,
body.darkmode-vector2010 .mw-history-table tr:target {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
     color: #ffffff !important;
     color: #fff !important;
     border-color: #555 !important;
     border-color: #555 !important;
}
}
html.dm #pagehistory a, html.dm .mw-history-table a { color: #8cc8ff !important; }
html.dm #pagehistory a:visited,
html.dm .mw-history-table a:visited { color: #c9a8ff !important; }
html.dm .mw-plusminus-pos { color: #7bd88f !important; }
html.dm .mw-plusminus-neg { color: #ff9a9a !important; }
html.dm .mw-plusminus-null { color: #b0b0b0 !important; }


/* Ссылки внутри истории */
/* 19.3 Удаление ------------------------------------------- */
body.darkmode-vector2010 #pagehistory a,
html.dm #deleteconfirm, html.dm .mw-deleteconfirm, html.dm #delete-reason,
body.darkmode-vector2010 .mw-history-table a {
html.dm .delete-reason {
     color: #6cb6ff !important;
    background: #1a1a1a !important;
     color: #d0d0d0 !important;
}
}
body.darkmode-vector2010 #pagehistory a:visited,
html.dm #wpDeleteReasonList, html.dm #wpReason, html.dm #delete-reason input,
body.darkmode-vector2010 .mw-history-table a:visited {
html.dm #delete-reason textarea, html.dm .delete-reason input,
     color: #b48cff !important;
html.dm .delete-reason textarea, html.dm #deleteconfirm input[type="text"],
html.dm #deleteconfirm textarea, html.dm .mw-deleteconfirm input[type="text"],
html.dm .mw-deleteconfirm textarea {
    background: #2a2a2a !important;
     color: #d0d0d0 !important;
    border: 1px solid #555 !important;
    box-shadow: none !important;
}
}
/* ==== Служебная:Настройки (Special:Preferences) ==== */
html.dm #deleteconfirm td, html.dm #deleteconfirm tr,
body.darkmode-vector2010 #preferences,
html.dm .mw-deleteconfirm td, html.dm .mw-deleteconfirm tr {
body.darkmode-vector2010 .mw-prefs-container,
    background: #1a1a1a !important;
body.darkmode-vector2010 #mw-prefs-container,
    color: #d0d0d0 !important;
body.darkmode-vector2010 .prefs-container,
}
body.darkmode-vector2010 .mw-prefsection,
html.dm #deleteconfirm label, html.dm .mw-deleteconfirm label,
body.darkmode-vector2010 .mw-prefsection-content,
html.dm #deleteconfirm legend, html.dm .mw-deleteconfirm legend { color: #e0e0e0 !important; }
body.darkmode-vector2010 .mw-prefs-tabs,
html.dm #deleteconfirm input[type="submit"] {
body.darkmode-vector2010 .mw-prefs-tabs-content,
    background: #333 !important;
body.darkmode-vector2010 #preftoc,
    color: #d0d0d0 !important;
body.darkmode-vector2010 .preftoc,
    border: 1px solid #555 !important;
body.darkmode-vector2010 #preferences legend {
}
html.dm #deleteconfirm input[type="submit"]:hover {
    background: #444 !important;
    color: #fff !important;
}
 
/* 19.4 Поиск --------------------------------------------- */
html.dm .mw-search-tabs, html.dm .search-types, html.dm .mw-search-profile-tabs,
html.dm .mw-searchresults-tabs, html.dm #mw-searchoptions, html.dm #mw-search-top-table,
html.dm .mw-search-form, html.dm .search-form, html.dm #search, html.dm #searchform {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
 
html.dm .mw-search-tabs a, html.dm .search-types a, html.dm .mw-search-profile-tabs a,
/* Табы настроек (вкладки: Профиль, Внешний вид, Редактирование...) */
html.dm .mw-search-profile-tabs li, html.dm .search-types li, html.dm .mw-search-tabs li {
body.darkmode-vector2010 #preftoc li,
body.darkmode-vector2010 #preftoc li a,
body.darkmode-vector2010 .preftoc li,
body.darkmode-vector2010 .preftoc li a {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
     color: #6cb6ff !important;
     color: #8cc8ff !important;
    border-color: #444 !important;
}
html.dm .mw-search-tabs li.selected, html.dm .search-types li.selected,
html.dm .mw-search-profile-tabs li.selected, html.dm .mw-search-tabs li.selected a,
html.dm .search-types li.selected a, html.dm .mw-search-profile-tabs li.selected a {
    background: #1a1a1a !important;
    color: #fff !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 #preftoc li.selected,
html.dm .mw-search-tabs a:hover, html.dm .search-types a:hover,
body.darkmode-vector2010 #preftoc li.selected a,
html.dm .mw-search-profile-tabs a:hover {
body.darkmode-vector2010 .preftoc li.selected,
    background: #333 !important;
body.darkmode-vector2010 .preftoc li.selected a {
    color: #fff !important;
}
html.dm .mw-searchoptions, html.dm #mw-searchoptions, html.dm .mw-searchoptions legend,
html.dm .mw-searchoptions label {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #ffffff !important;
     color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
 
html.dm .mw-searchoptions table, html.dm .mw-searchoptions th, html.dm .mw-searchoptions td {
/* Секции настроек */
    background: #1a1a1a !important;
body.darkmode-vector2010 .mw-prefsection h2,
     color: #d0d0d0 !important;
body.darkmode-vector2010 .mw-prefsection h3,
body.darkmode-vector2010 .mw-prefsection h4,
body.darkmode-vector2010 .mw-prefsection label,
body.darkmode-vector2010 .mw-prefsection legend,
body.darkmode-vector2010 .mw-prefsection .mw-prefs-label {
     color: #e0e0e0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
 
html.dm .mw-search-results, html.dm .mw-search-results li, html.dm .searchresult,
/* Таблицы и строки настроек */
html.dm .mw-search-result {
body.darkmode-vector2010 .mw-prefsection table,
body.darkmode-vector2010 .mw-prefsection tr,
body.darkmode-vector2010 .mw-prefsection td,
body.darkmode-vector2010 .mw-prefsection th,
body.darkmode-vector2010 .mw-prefsection .mw-prefs-row {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #333 !important;
     border-color: #333 !important;
}
html.dm .mw-search-result-heading a,
html.dm .searchresult a { color: #8cc8ff !important; }
html.dm .mw-search-result-data,
html.dm .searchresult .searchresult-data { color: #a0a0a0 !important; }
html.dm .mw-search-result .searchmatch,
html.dm .searchmatch {
    background: #3a3a2a !important;
    color: #ffe58a !important;
}
}


/* Чекбоксы, радио, поля ввода в настройках */
/* 19.5 InputBox ------------------------------------------ */
body.darkmode-vector2010 .mw-prefsection input[type="text"],
html.dm .inputbox, html.dm .mw-inputbox, html.dm #createbox, html.dm .createbox,
body.darkmode-vector2010 .mw-prefsection input[type="search"],
html.dm .mw-inputbox-createbox {
body.darkmode-vector2010 .mw-prefsection input[type="number"],
    background: #222 !important;
body.darkmode-vector2010 .mw-prefsection input[type="password"],
    color: #d0d0d0 !important;
body.darkmode-vector2010 .mw-prefsection input[type="email"],
    border-color: #444 !important;
body.darkmode-vector2010 .mw-prefsection textarea,
}
body.darkmode-vector2010 .mw-prefsection select {
html.dm .inputbox label, html.dm .mw-inputbox label, html.dm #createbox label,
html.dm .createbox label, html.dm .mw-inputbox legend { color: #d0d0d0 !important; }
html.dm .inputbox input[type="text"], html.dm .mw-inputbox input[type="text"],
html.dm #createbox input[type="text"], html.dm .createbox input[type="text"],
html.dm .inputbox input, html.dm .mw-inputbox input {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border: 1px solid #555 !important;
     border: 1px solid #555 !important;
}
}
 
html.dm .inputbox input[type="submit"], html.dm .inputbox button,
/* Кнопки «Сохранить», «Сбросить» */
html.dm .mw-inputbox input[type="submit"], html.dm #createbox input[type="submit"],
body.darkmode-vector2010 .mw-prefsection button,
html.dm #createbox button, html.dm .createbox input[type="submit"] {
body.darkmode-vector2010 .mw-prefsection input[type="submit"],
body.darkmode-vector2010 .mw-prefsection .mw-ui-button,
body.darkmode-vector2010 #preferences .mw-ui-button {
     background: #333 !important;
     background: #333 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border: 1px solid #555 !important;
     border: 1px solid #555 !important;
}
}
body.darkmode-vector2010 .mw-prefsection button:hover,
html.dm .inputbox input[type="submit"]:hover, html.dm .inputbox button:hover,
body.darkmode-vector2010 .mw-prefsection input[type="submit"]:hover {
html.dm #createbox input[type="submit"]:hover {
     background: #444 !important;
     background: #444 !important;
     color: #ffffff !important;
     color: #fff !important;
}
}
/* ==== Удаление страницы: поле «Причина» ==== */
 
body.darkmode-vector2010 #deleteconfirm,
 
body.darkmode-vector2010 .mw-deleteconfirm,
/* ============================================================
body.darkmode-vector2010 #mw-delete-confirm,
  §20. ЗАГРУЗКА ФАЙЛОВ
body.darkmode-vector2010 form[action*="action=delete"],
  ============================================================ */
body.darkmode-vector2010 #delete-reason,
html.dm #mw-upload-form, html.dm .mw-upload-form,
body.darkmode-vector2010 .delete-reason {
html.dm #mw-upload-form .mw-htmlform, html.dm #mw-upload-form .mw-htmlform-field,
html.dm .mw-upload-form .mw-htmlform, html.dm .mw-upload-form .mw-htmlform-field {
     background: #1a1a1a !important;
     background: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #444 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 #wpDeleteReasonList,
html.dm .oo-ui-selectFileWidget, html.dm .oo-ui-selectFileWidget-dropTarget,
body.darkmode-vector2010 #wpReason,
html.dm .oo-ui-selectFileInputWidget, html.dm .oo-ui-selectFileInputWidget-info,
body.darkmode-vector2010 #wpReasonDropDown,
html.dm .oo-ui-selectFileWidget-info, html.dm .oo-ui-selectFileWidget-button,
body.darkmode-vector2010 #delete-reason select,
html.dm .oo-ui-selectFileWidget-clearButton, html.dm .oo-ui-selectFileWidget-selectButton,
body.darkmode-vector2010 #delete-reason input[type="text"],
html.dm .oo-ui-selectFileWidget-dropLabel {
body.darkmode-vector2010 #delete-reason textarea {
    background: #2a2a2a !important;
    color: #d0d0d0 !important;
    border-color: #555 !important;
}
html.dm .oo-ui-selectFileWidget-dropTarget { border: 1px dashed #555 !important; }
html.dm .oo-ui-selectFileWidget-dropTarget:hover,
html.dm .oo-ui-selectFileWidget-dropTarget.oo-ui-selectFileWidget-drag {
    background: #333 !important;
    border-color: #8cc8ff !important;
}
html.dm .oo-ui-selectFileWidget-info > .oo-ui-labelElement-label,
html.dm .oo-ui-selectFileWidget-info .oo-ui-labelElement-label,
html.dm .oo-ui-selectFileInputWidget-info .oo-ui-labelElement-label { color: #d0d0d0 !important; }
html.dm .oo-ui-selectFileWidget-dropLabel,
html.dm .oo-ui-selectFileWidget-info > .oo-ui-labelElement-label { color: #a0a0a0 !important; }
html.dm #mw-upload-form .oo-ui-textInputWidget,
html.dm #mw-upload-form .oo-ui-textInputWidget input,
html.dm #mw-upload-form .oo-ui-textInputWidget textarea,
html.dm #mw-upload-form .oo-ui-inputWidget-input,
html.dm #mw-upload-form input[type="text"], html.dm #mw-upload-form textarea,
html.dm #mw-upload-form select, html.dm #wpDestFile,
html.dm #wpUploadDescription, html.dm #wpLicense {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border: 1px solid #555 !important;
     border: 1px solid #555 !important;
    box-shadow: none !important;
}
html.dm #mw-upload-form .oo-ui-textInputWidget input:focus,
html.dm #mw-upload-form .oo-ui-textInputWidget textarea:focus,
html.dm #wpDestFile:focus, html.dm #wpUploadDescription:focus {
    border-color: #8cc8ff !important;
    box-shadow: 0 0 0 1px #8cc8ff !important;
}
}
/* Подписи и легенда */
html.dm #mw-upload-form input::placeholder,
body.darkmode-vector2010 #deleteconfirm label,
html.dm #mw-upload-form textarea::placeholder,
body.darkmode-vector2010 .mw-deleteconfirm label,
html.dm .oo-ui-textInputWidget input::placeholder,
body.darkmode-vector2010 #delete-reason label,
html.dm .oo-ui-textInputWidget textarea::placeholder {
body.darkmode-vector2010 #deleteconfirm legend,
     color: #888 !important;
body.darkmode-vector2010 .mw-deleteconfirm legend {
    opacity: 1 !important;
     color: #e0e0e0 !important;
}
}
/* Блок с предупреждением над формой */
html.dm #mw-upload-form fieldset, html.dm #mw-upload-form legend,
body.darkmode-vector2010 .mw-delete-warning,
html.dm #mw-upload-form label, html.dm .mw-upload-form fieldset,
body.darkmode-vector2010 #deleteconfirm .warning,
html.dm .mw-upload-form legend, html.dm .mw-upload-form label {
body.darkmode-vector2010 .mw-warning {
     background: transparent !important;
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #555 !important;
     border-color: #444 !important;
}
}
/* Кнопка «Удалить страницу» */
html.dm #mw-upload-form .oo-ui-buttonElement-button,
body.darkmode-vector2010 #deleteconfirm input[type="submit"],
html.dm .mw-upload-form .oo-ui-buttonElement-button, html.dm #wpUploadFile {
body.darkmode-vector2010 .mw-deleteconfirm input[type="submit"] {
     background: #333 !important;
     background: #333 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border: 1px solid #555 !important;
     border: 1px solid #555 !important;
}
}
body.darkmode-vector2010 #deleteconfirm input[type="submit"]:hover {
html.dm #mw-upload-form .oo-ui-buttonElement-button:hover,
html.dm .mw-upload-form .oo-ui-buttonElement-button:hover {
     background: #444 !important;
     background: #444 !important;
     color: #ffffff !important;
     color: #fff !important;
}
/* ==== Удаление: строка «Другая причина» ==== */
body.darkmode-vector2010 #wpReason,
body.darkmode-vector2010 input#wpReason,
body.darkmode-vector2010 textarea#wpReason,
body.darkmode-vector2010 #wpReasonDropDown,
body.darkmode-vector2010 #delete-reason input,
body.darkmode-vector2010 #delete-reason textarea,
body.darkmode-vector2010 .delete-reason input,
body.darkmode-vector2010 .delete-reason textarea {
    background: #2a2a2a !important;
    background-color: #2a2a2a !important;
    color: #d0d0d0 !important;
    border: 1px solid #555 !important;
}
}


/* Контейнер строки «Другая причина» */
 
body.darkmode-vector2010 #delete-reason,
/* ============================================================
body.darkmode-vector2010 .delete-reason,
  §21. РАСШИРЕНИЯ
body.darkmode-vector2010 #wpReason + label,
  ============================================================ */
body.darkmode-vector2010 #wpReason ~ * {
 
     background: #1a1a1a !important;
/* 21.1 AjaxPoll ------------------------------------------- */
html.dm .ajaxpoll, html.dm .ajaxpoll-question, html.dm .ajaxpoll-answer,
html.dm .ajaxpoll-misc, html.dm #ajaxpoll-container- {
     background: #222 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
    border-color: #444 !important;
}
}
 
html.dm .ajaxpoll-question {
/* Если поле обёрнуто в div/span с белым фоном */
     color: #fff !important;
body.darkmode-vector2010 #delete-reason > div,
     border-bottom-color: #444 !important;
body.darkmode-vector2010 #delete-reason > span,
body.darkmode-vector2010 .delete-reason > div,
body.darkmode-vector2010 .delete-reason > span,
body.darkmode-vector2010 #wpReason:focus,
body.darkmode-vector2010 #wpReason:active {
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
}
}
/* ==== Удаление: поле «Другая причина» (OOUI) ==== */
html.dm .ajaxpoll-answer-name { color: #d0d0d0 !important; }
body.darkmode-vector2010 #wpReason,
html.dm .ajaxpoll-answer-vote { color: #a0a0a0 !important; }
body.darkmode-vector2010 input#wpReason,
html.dm .ajaxpoll a { color: #8cc8ff !important; }
body.darkmode-vector2010 .oo-ui-textInputWidget,
html.dm .ajaxpoll input[type="submit"], html.dm .ajaxpoll button {
body.darkmode-vector2010 .oo-ui-textInputWidget .oo-ui-inputWidget-input,
     background: #333 !important;
body.darkmode-vector2010 .oo-ui-textInputWidget input,
body.darkmode-vector2010 .oo-ui-textInputWidget textarea {
     background: #2a2a2a !important;
    background-color: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border: 1px solid #555 !important;
     border: 1px solid #555 !important;
    box-shadow: none !important;
}
}
 
html.dm .ajaxpoll-ajax, html.dm .ajaxpoll-vote-state,
/* Фокус — чтобы при клике не вспыхивало белым */
html.dm #ajaxpoll-vote-state-added, html.dm #ajaxpoll-vote-state-revoked {
body.darkmode-vector2010 #wpReason:focus,
     background: #222 !important;
body.darkmode-vector2010 .oo-ui-textInputWidget .oo-ui-inputWidget-input:focus,
body.darkmode-vector2010 .oo-ui-textInputWidget input:focus {
     background: #2a2a2a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border-color: #6cb6ff !important;
     border-color: #444 !important;
    box-shadow: 0 0 0 1px #6cb6ff !important;
}
}


/* Обёртка вокруг поля, если она белая */
/* 21.2 TimedMediaHandler (.video-js) ---------------------- */
body.darkmode-vector2010 .oo-ui-textInputWidget .oo-ui-inputWidget-input,
html.dm .video-js .vjs-control-bar {
body.darkmode-vector2010 .oo-ui-textInputWidget > .oo-ui-inputWidget-input,
     background-color: rgba(26, 26, 26, 0.7) !important;
body.darkmode-vector2010 #delete-reason .oo-ui-textInputWidget {
     background: #2a2a2a !important;
}
}
html.dm .video-js .vjs-menu-content,
html.dm .video-js .vjs-volume-panel { background: #2a2a2a !important; }
html.dm .vjs-menu-item.vjs-selected > span { color: #000 !important; }
html.dm .vjs-control > .vjs-slider > .vjs-play-progress > .vjs-time-tooltip { color: #000 !important; }


/* На случай, если поле не OOUI, а обычное, но с белой рамкой */
/* 21.3 Math (SVG / MathML) -------------------------------- */
body.darkmode-vector2010 #delete-reason input[type="text"],
html.dm .mwe-math-element,
body.darkmode-vector2010 #delete-reason textarea,
html.dm math { color: #d0d0d0 !important; }
body.darkmode-vector2010 .delete-reason input[type="text"],
 
body.darkmode-vector2010 .delete-reason textarea {
/* 21.4 CategoryTree --------------------------------------- */
     background: #2a2a2a !important;
html.dm .CategoryTreeItem,
html.dm .CategoryTreeChildren,
html.dm .CategoryTreeToggle { color: #d0d0d0 !important; }
html.dm .CategoryTreeItem a { color: #8cc8ff !important; }
html.dm .CategoryTreeItem a:visited { color: #c9a8ff !important; }
html.dm .CategoryTreeEmptyBullet { color: #888 !important; }
 
/* 21.5 RSS feed ------------------------------------------- */
html.dm .rss-box,
html.dm .rss-item {
     background: #222 !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
     border: 1px solid #555 !important;
     border-color: #444 !important;
}
}
body.darkmode-vector2010 #deleteconfirm td,
html.dm .rss-box a,
body.darkmode-vector2010 .mw-deleteconfirm td,
html.dm .rss-item a { color: #8cc8ff !important; }
body.darkmode-vector2010 #deleteconfirm tr,
 
body.darkmode-vector2010 .mw-deleteconfirm tr {
/* 21.6 Tipsy-тултипы -------------------------------------- */
     background: #1a1a1a !important;
html.dm .tipsy-inner {
     background-color: #1a1a1a !important;
     color: #d0d0d0 !important;
     color: #d0d0d0 !important;
}
}
html.dm .tipsy-inner a { color: #8cc8ff !important; }
/* ============================================================
  §22. ТОЧЕЧНЫЕ ФИКСЫ
  ============================================================ */
html.dm .ship { color: #a8ffb0 !important; }
html.dm [style*="color:rgb(37,37,37)"],
html.dm [style*="color: rgb(37, 37, 37)"] { color: #d0d0d0 !important; }
html.dm [style*="color:rgb(37,37,37)"] a,
html.dm [style*="color: rgb(37, 37, 37)"] a { color: #8cc8ff !important; }