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

Материал из Space Station 14 Вики
мНет описания правки
мНет описания правки
 
(не показано 114 промежуточных версий этого же участника)
Строка 40: Строка 40:
/*== Контрастный цвет (синий) ==*/
/*== Контрастный цвет (синий) ==*/
--color-contrast: #36c;
--color-contrast: #36c;
--color-contrast2: #2d4d91;
--color-contrast2: #294582;
--color-contrast-dark: #152037;
--bg-contrast--hover: rgba(0, 23, 70, 0.15);
--color-contrast--rgb: 51, 102, 204;
--color-contrast2--rgb: 45, 77, 145;
--color-contrast-dark--rgb: 21, 32, 55;
/*== Цвет фона ==*/
/*== Цвет фона ==*/
/* Алёрты */
--bg-color-message: #0e6143;
--bg-color-success: var(--bg-color-message);
--bg-color-notice: #21375f;
--bg-color-neutral: #2b2e39;
--bg-color-progressive: #23232f;
--bg-color-warning: #736218;
--bg-color-error: #7b1919;
--bg-color-message-subtle: #154938;
--bg-color-success-subtle: var(--bg-color-message-subtle);
--bg-color-notice-subtle: var(--bg-color-notice);
--bg-color-neutral-subtle: var(--bg-color-neutral);
--bg-color-progressive-subtle: var(--bg-color-progressive);
--bg-color-warning-subtle: #453e22;
--bg-color-error-subtle: #4b1e21;
/*== Цвет границ ==*/
/*== Цвет границ ==*/
Строка 50: Строка 74:
--color-darkened-border-m: rgba(0, 0, 0, var(--alpha-m));
--color-darkened-border-m: rgba(0, 0, 0, var(--alpha-m));
/* Алёрты */
--border-color-message: #13855c;
--border-color-success: var(--border-color-message);
--border-color-notice: #345695;
--border-color-neutral: #393d4b;
--border-color-progressive: #38384b;
--border-color-warning: #97851f;
--border-color-error: #af2424;
/*== Для кодо-подобных блоков ==*/
/*== Для кодо-подобных блоков ==*/
/* Цвет фона */
/* Цвет фона */
--bg-code: #25252b;
--bg-color-code: #25252b;
--bg-code-light: #28282f;
--bg-color-code-light: #28282f;
/* Цвет границ */
/* Цвет границ */
--color-code-border: #3e3e49;
--border-color-code: #3e3e49;
--color-code-border-light: #2f2f37;
--border-color-code-light: #2f2f37;
 
/*== Стиль границ ==*/
/*== Стиль границ ==*/
--border-outset: 1px outset rgba(0, 0, 0, 0.3);
--border-outset: 1px outset rgba(0, 0, 0, 0.3);
--border-outset-m: 1px outset rgba(0, 0, 0, var(--alpha-m));
--border-outset-m: 1px outset rgba(0, 0, 0, var(--alpha-m));
 
/*== Палитра цветов фонов ==*/
/* Red */
--bg-color-red-50: #312125;
--bg-color-red-100: #712121;
--bg-color-red-150: #8b2626;
--bg-color-red-subtle: #512529;
/* Yellow */
--bg-color-yellow-50: #322d21;
--bg-color-yellow-100: #735d19;
--bg-color-yellow-150: #8d7111;
--bg-color-yellow-subtle: #3e3a32;
/* Brown */
--bg-color-brown-50: #2c2625;
--bg-color-brown-100: #553a20;
--bg-color-brown-150: #67421f;
--bg-color-brown-subtle: #3f3127;
/* Blue */
--bg-color-blue-50: #202834;
--bg-color-blue-100: #1f446b;
--bg-color-blue-150: #23507f;
--bg-color-blue-subtle: #2d3546;
/* Sky Blue */
--bg-color-sky-blue-50: #212936;
--bg-color-sky-blue-100: #224973;
--bg-color-sky-blue-150: #325b89;
--bg-color-sky-blue-subtle: #2f3543;
/* Turquoise */
--bg-color-turquoise-50: #1b2f35;
--bg-color-turquoise-100: #025961;
--bg-color-turquoise-150: #036670;
--bg-color-turquoise-subtle: #283842;
/* Azure */
--bg-color-azure-50: #1a2c36;
--bg-color-azure-100: #004c66;
--bg-color-azure-150: #005875;
--bg-color-azure-subtle: #273643;
/* Purple */
--bg-color-purple-50: #292034;
--bg-color-purple-100: #4a1f6b;
--bg-color-purple-150: #552679;
--bg-color-purple-subtle: #352d45;
/* Violet */
--bg-color-violet-50: #272033;
--bg-color-violet-100: #3e1f65;
--bg-color-violet-150: #4a2a71;
--bg-color-violet-subtle: #322f41;
/* Green */
--bg-color-green-50: #212f26;
--bg-color-green-100: #236528;
--bg-color-green-150: #2c7332;
--bg-color-green-subtle: #2e3f37;
/* Emerald */
--bg-color-emerald-50: #1b2f2a;
--bg-color-emerald-100: #03633b;
--bg-color-emerald-150: #096f44;
--bg-color-emerald-subtle: #2d393d;
 
/* Pastel Red */
--bg-color-pastel-red-100: #911d2e;
--bg-color-pastel-red-150: #911d2e;
/* Pastel Blue */
--bg-color-pastel-blue-100: #4c467f;
--bg-color-pastel-blue-150: #4c467f;
/* Pastel Sky Blue */
--bg-color-pastel-skyblue-100: #2b5867;
--bg-color-pastel-skyblue-150: #2b5867;
/* Pastel Magenta */
--bg-color-pastel-magenta-100: #7d3071;
--bg-color-pastel-magenta-150: #7d3071;
/* Pastel Lime */
--bg-color-pastel-lime-100: #5f832f;
--bg-color-pastel-lime-150: #5f832f;
/* Pastel Turquoise */
--bg-color-pastel-turquoise-100: #346d6a;
--bg-color-pastel-turquoise-150: #346d6a;
/* Pastel Grey */
--bg-color-pastel-grey-100: #757269;
--bg-color-pastel-grey-150: #757269;
/* Pastel Orange */
--bg-color-pastel-orange-100: #95472c;
--bg-color-pastel-orange-150: #95472c;
 
/*== Палитра цветов текста ==*/
--text-color-red: #c52626;
--text-color-dark-red: #a50a0b;
--text-color-indian-red: indianred;
--text-color-crimson: crimson;
--text-color-carmine: #bd3759;
--text-color-dark-salmon: darksalmon;
--text-color-green: #269335;
--text-color-lime: #46b146;
--text-color-turquoise: #189d80;
--text-color-yellow: #dbdb11;
--text-color-dark-yellow: #a4a400;
--text-color-gold: #c7a226;
--text-color-orange: #df9100;
--text-color-orangered: #dd3d02;
--text-color-pink: #cd6dca;
--text-color-blue: #1c86ed;
--text-color-sky-blue: #3d78d1;
--text-color-aquamarine: #69d2d7;
--text-color-violet: #7e31cf;
--text-color-silver: #a9a9a9;
--text-color-moccasin: #D2B48C;
/*==========
/*==========
Строка 80: Строка 243:
/*== Закругление границ ==*/
/*== Закругление границ ==*/
--border-radius-low: 0.2em;
--border-radius-low: 0.2em;
--border-radius-medium: 0.3em;
--border-radius-high: 0.4em;
/*== Иконки svg ==*/
/*== Иконки svg ==*/
Строка 93: Строка 258:
/*== Цвет текста ==*/
/*== Цвет текста ==*/
--theme-color-text: lightgray;
--theme-text-color: var(--ooui--text-color);
--theme-color-text-light: white;
--theme-text-color-light: var(--ooui--text-color-light);
--theme-color-text-dark: #72777d;
--theme-text-color-dark: var(--ooui--text-color-dark);
--theme-text-color-header: var(--ooui--text-color-header);


/*== Цвет фона ==*/
/*== Цвет фона ==*/
--theme-bg: #212126;
--theme-bg-color-base: #1b1b1f;
--theme-bg-light: #26262d;
--theme-bg-color-50: #1f1f24;
--theme-bg-lighter: #2c2c34;
--theme-bg-color-100: #212126;
--theme-bg-dark: #1f1f24;
--theme-bg-color-200: #25252b;
--theme-bg-color-250: #2c2c34;
--theme-bg-color-300: #2f2f39;
--theme-bg-color-400: #34343f;
 
--theme-bg--rgba: 51, 51, 63;
--theme-bg--rgba: 51, 51, 63;
--theme-bg-light--rgba: 61, 61, 73;
--theme-bg-light--rgba: 61, 61, 73;
/* Осветление */
--theme-bg-header--gradient: linear-gradient(120deg, var(--theme-bg-color-300), var(--theme-bg-color-250));
--theme-bg-overlay-2: rgba(221, 221, 255, 0.02);
--theme-bg-header-light--gradient: linear-gradient(120deg, var(--theme-bg-color-400), var(--theme-bg-color-250));
--theme-bg-overlay-3: rgba(221, 221, 255, 0.03);
/*== Цвет фона заголовков ==*/
--theme-bg-header: #33333d;
--theme-bg-header-light: #34343f;
--theme-bg-header-lighter: #3d3d49;
--theme-bg-header-dark: #2b2b33;
--theme-bg-header--gradient: linear-gradient(120deg, var(--theme-bg-header), var(--theme-bg-header-dark));
--theme-bg-header-light--gradient: linear-gradient(120deg, var(--theme-bg-header-light), var(--theme-bg-header-dark));


--theme-bg-header-light--gradient-center: linear-gradient(120deg, var(--theme-bg-header-dark) 0%, var(--theme-bg-header-light) 50%, var(--theme-bg-header-dark) 100%);
--theme-bg-header-light--gradient-center: linear-gradient(120deg, var(--theme-bg-color-250) 0%, var(--theme-bg-color-400) 50%, var(--theme-bg-color-250) 100%);


/*== Цвет границ ==*/
/*== Цвет границ ==*/
--theme-border: #3b3b46;
--theme-border-color-base: #3b3b46;
--theme-border-light: #464653;
--theme-border-color-100: #464653;
--theme-border-color-200: #5a5a69;
--theme-border--rgba: rgba(68, 68, 85, var(--alpha));


/*== Цвет иконок svg ==*/
/*== Цвет иконок svg ==*/
--theme-icon-color: var(--theme-color-text);
--theme-icon-color: var(--theme-text-color);


/*==========
/*==========
Палитра UI Вики
Палитра UI Вики
==========*/
==========*/
/*== Цвет текста ==*/
--ooui--text-color: lightgray;
--ooui--text-color-light: white;
--ooui--text-color-dark: #72777d;
--ooui--text-color-header: #dddddd;


/*== Цвет фона ==*/
/*== Цвет фона ==*/
--ooui--bg: #27272d;
--ooui--bg-color: #27272d;
--ooui--bg-light: #2a2a31;
--ooui--bg-color-light: #2a2a31;
--ooui--bg-dark: #232329;
--ooui--bg-color-dark: #232329;
--ooui--bg-darkened: #1c1c21;
--ooui--bg-color-darkened: #1c1c21;
--ooui--bg--hover: #ddddff06;
--ooui--bg-color--hover: #ddddff06;
 
--ooui--bg-message: #0e6143;
--ooui--bg-warning: #7b6919;
--ooui--bg-error: #7b1919;
/* Градиент */
/* Градиент */
--ooui--gradient: linear-gradient(120deg, var(--ooui--bg-light), var(--ooui--bg-dark));
--ooui--gradient: linear-gradient(120deg, var(--ooui--bg-color-light), var(--ooui--bg-color-dark));
--ooui--gradient-light: linear-gradient(120deg, #353540, var(--ooui--bg));
--ooui--gradient-light: linear-gradient(120deg, #353540, var(--ooui--bg-color));


/*== Цвет границ ==*/
/*== Цвет границ ==*/
--ooui--border: #32323b;
--ooui--border-color: #32323b;
--ooui--border-light: #35353f;
--ooui--border-color-light: #35353f;
--ooui--border-lighter: #474755;
--ooui--border-color-lighter: #474755;
--ooui--border-dark: #2d2d35;
--ooui--border-color-dark: #2d2d35;


--ooui--border-message: #13855c;
--ooui--border-warning: #af9a24;
--ooui--border-error: #af2424;
}
}


Строка 291: Строка 450:
}
}


code,
code, code.mw-highlight,
.code,
.tdg-templateDataParamWidget-param-alias:first-child {
.tdg-templateDataParamWidget-param-alias:first-child {
border-radius: 2px;
border-radius: 2px;
padding: 1px 4px;
padding: 1px 4px;
background-color: var(--bg-code);
background: var(--bg-color-code);
border: 1px solid var(--color-code-border);
border: 1px solid var(--border-color-code);
color: lightgrey;
color: var(--theme-text-color);
}
}


pre,
pre {
.doc {
overflow: auto;
overflow: auto;
white-space: pre-wrap;
white-space: pre-wrap;
background: var(--bg-code-light);
background: var(--bg-color-code-light);
border: 1px solid var(--color-code-border-light);
border: 1px solid var(--border-color-code-light);
padding: 0.5em;
padding: 0.5em;
color: lightgrey;
color: var(--theme-text-color);
font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
}
}


blockquote {
blockquote {
background: var(--theme-bg-color-100);
border-left: 4px solid var(--theme-bg-color-200);
padding: 8px 32px;
overflow: hidden;
overflow: hidden;
margin: 1em 0;
box-shadow: var(--box-shadow);
padding: 0 40px
border-radius: var(--border-radius-low);
}
 
@media screen and (max-width: 850px) {
blockquote {
margin-inline-start: 10px;
margin-inline-end: 10px;
padding: 6px 24px;
}
}
}


Строка 326: Строка 496:


input[type="button"] {
input[type="button"] {
background: var(--ooui--bg);
background: var(--ooui--bg-color);
border: 1px solid var(--ooui--border);
border: 1px solid var(--ooui--border-color);
color: lightgray;
color: var(--ooui--text-color);
}
}


Строка 337: Строка 507:


/*Для непиксельных изображений*/
/*Для непиксельных изображений*/
.noSprite>*>* {
.mw-body-content .noSprite img {
image-rendering: auto !important;  
image-rendering: auto !important;  
height: auto !important;
max-width: 100% !important;
}
.mw-body-content a > img, .mw-body-content .floatnone > img {
max-width: unset !important;
}
}


Строка 392: Строка 568:
border-bottom: 2px solid var(--color-darkened-border);
border-bottom: 2px solid var(--color-darkened-border);
border-radius: var(--border-radius-low) var(--border-radius-low) 0 0;
border-radius: var(--border-radius-low) var(--border-radius-low) 0 0;
background-color: var(--ooui--bg-light);
background: var(--ooui--bg-color-light);
font-size: 1.05em;
font-size: 1.05em;
font-weight: bold;
font-weight: bold;
Строка 407: Строка 583:
border-top: 0;
border-top: 0;
border-radius: 0 0 var(--border-radius-low) var(--border-radius-low);
border-radius: 0 0 var(--border-radius-low) var(--border-radius-low);
background-color: var(--theme-bg-dark);
background: var(--theme-bg-color-50);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}
}
Строка 416: Строка 592:
.sidebar-inner, .dropdown {
.sidebar-inner, .dropdown {
padding: 1em 2em;
padding: 1em 2em;
background: var(--ooui--bg);
background: var(--ooui--bg-color);
border-color: var(--ooui--border);
border-color: var(--ooui--border-color);
}
}
}
}
Строка 423: Строка 599:
@media screen and (max-width: 850px) {
@media screen and (max-width: 850px) {
#mw-content-block {
#mw-content-block {
background: var(--theme-bg);
background: var(--theme-bg-color-100);
}
}
}
}
Строка 440: Строка 616:
}
}


/*==========
/* ================================================================== */
Поиск в режиме редактирования
==========*/
/* Основной блок */
.ace_search {
background-color: var(--theme-bg);
color: var(--theme-color-text);
border-color: var(--ooui--border-light);
padding: 6px 4px 2px 4px;
}


.ace_search_form.ace_nomatch {
/* КЛАССЫ */
outline: 1px solid #922626
}


/* Поисковик */
/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
.ace_search_field {
#scroll-top {
background-color: var(--ooui--bg);
display: none;
color: var(--theme-color-text);
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
margin: 0 2px 0 0 !important;
opacity: 0.5;
width: 57px;
height: 57px;
cursor: pointer;
position: fixed;
right: calc(0.95em + 6px);
bottom: 30px;
z-index: 10000;
image-rendering: pixelated;
}
}


/* Кнопки основного поисковика */
#scroll-top:hover {
.ace_searchbtn {
opacity: 0.8;
border-color: var(--ooui--border-light);
background: var(--ooui--bg);
color: var(--theme-color-text);
}
}


.ace_searchbtn:last-child {
@media screen and (max-width: 850px) {
border-color: var(--ooui--border-light);
#scroll-top {
transform: translate(-50%, -50%);
left: 50%;
right: 50%;
bottom: 15px;
opacity: 0.3;
}
}
}


.ace_searchbtn.prev:after {
/* Необходим для использования fonts.google.com/icons */
border-color: var(--theme-color-text);
.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased
}
}


.ace_searchbtn.next:after {
.tools-inline li:hover {
border-color: var(--theme-color-text);
border-bottom-width: 2px;
}
}


.ace_searchbtn_close:hover {
.tools-inline li.selected {
background-color: var(--color-contrast2);
background: transparent !important;
border-bottom-width: 2px;
}
}


/* Чекбоксы режимов поиска */
#mw-indicator-mw-helplink a {
.ace_button {
background-image: none;
border-color: var(--ooui--border-light);
color: var(--theme-color-text);
background-color: var(--ooui--bg);
}
}


/* Активированный */
.mw-body-content sub,.mw-body-content sup,span.reference {
.ace_button.checked {
font-size: 80%
background-color: var(--color-contrast2);
border-color: var(--color-contrast);
color: var(--theme-color-text-light);
}
}


/*==========
.ns-talk .mw-body-content dd {
Меню при редактировании css
margin-top: 0.4em;
==========*/
margin-bottom: 0.4em
.ace_editor.ace_autocomplete {
background: var(--ooui--bg-dark);
border-color: var(--ooui--border);
color: lightgrey;
}
}


.ace_editor.ace_autocomplete .ace_line-hover {
#interwiki-completelist {
border-color: var(--color-contrast);
font-weight: bold
background: var(--color-contrast2);
}
}


/* ================================================================== */
.biglink {
font-family: "Oswald";
font-style: oblique 10deg;
font-variant-caps: small-caps;
text-shadow: var(--theme-bg-color-base) 1px 2px,#595959dd 2px 2px 1px
}


/* КЛАССЫ */
.client-js .mw-special-Watchlist #watchlist-message,.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),#editpage-specialchars {
 
display: none
/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
#scroll-top {
display: none;
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
opacity: 0.5;
width: 57px;
height: 57px;
cursor: pointer;
position: fixed;
right: calc(0.95em + 6px);
bottom: 30px;
z-index: 10000;
image-rendering: pixelated;
}
}


#scroll-top:hover {
.mw-rcfilters-enabled .mw-specialpage-summary {
opacity: 0.8;
margin-top: 1em
}
}


@media screen and (max-width: 850px) {
.citation:target {
#scroll-top {
background: rgba(0, 127, 255, 0.133)
transform: translate(-50%, -50%);
left: 50%;
right: 50%;
opacity: 0.3;
}
}
}


/* Необходим для использования fonts.google.com/icons */
.citation {
.material-symbols-outlined {
word-wrap: break-word
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased
}
}


.tools-inline li:hover {
ol.references {
border-bottom-width: 2px;
font-size: 90%;
margin-bottom: 0.5em
}
}


.tools-inline li.selected {
.hlist dl,.hlist ol,.hlist ul {
background: transparent !important;
margin: 0;
border-bottom-width: 2px;
padding: 0
}
}


#mw-indicator-mw-helplink a {
.hlist dd,.hlist dt,.hlist li {
background-image: none;
margin: 0;
display: inline
}
}


.mw-body-content sub,.mw-body-content sup,span.reference {
.hlist.inline,.hlist.inline dl,.hlist.inline ol,.hlist.inline ul,.hlist dl dl,.hlist dl ol,.hlist dl ul,.hlist ol dl,.hlist ol ol,.hlist ol ul,.hlist ul dl,.hlist ul ol,.hlist ul ul {
font-size: 80%
display: inline
}
}


.ns-talk .mw-body-content dd {
.hlist .mw-empty-li {
margin-top: 0.4em;
display: none
margin-bottom: 0.4em
}
}


#interwiki-completelist {
.hlist dt:after {
font-weight: bold
content: ":"
}
}


.biglink {
.hlist dd:after,.hlist li:after {
font-family: "Oswald";
content: " · ";
font-style: oblique 10deg;
font-weight: bold
font-variant-caps: small-caps;
text-shadow: #1b1b1f 1px 2px,#595959dd 2px 2px 1px
}
}


.client-js .mw-special-Watchlist #watchlist-message,.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),#editpage-specialchars {
.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after {
display: none
content: none
}
}


.mw-rcfilters-enabled .mw-specialpage-summary {
.hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before {
margin-top: 1em
content: " (";
font-weight: normal
}
}


.citation:target {
.hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after {
background-color: rgba(0, 127, 255, 0.133)
content: ")";
font-weight: normal
}
}


.citation {
.hlist ol {
word-wrap: break-word
counter-reset: listitem
}
}


ol.references {
.hlist ol>li {
font-size: 90%;
counter-increment: listitem
margin-bottom: 0.5em
}
}


.hlist dl,.hlist ol,.hlist ul {
.hlist ol>li:before {
margin: 0;
content: " " counter(listitem) "\a0"
padding: 0
}
}


.hlist dd,.hlist dt,.hlist li {
.hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before {
margin: 0;
content: " (" counter(listitem) "\a0"
display: inline
}
}


.hlist.inline,.hlist.inline dl,.hlist.inline ol,.hlist.inline ul,.hlist dl dl,.hlist dl ol,.hlist dl ul,.hlist ol dl,.hlist ol ol,.hlist ol ul,.hlist ul dl,.hlist ul ol,.hlist ul ul {
.plainlist ol,.plainlist ul {
display: inline
line-height: inherit;
list-style: none none;
margin: 0
}
}


.hlist .mw-empty-li {
.plainlist ol li,.plainlist ul li {
display: none
margin-bottom: 0
}
}


.hlist dt:after {
/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */
content: ":"
 
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
box-sizing: border-box;
border: 1px solid var(--theme-border-color-base);
width: 100%;
margin: 2em auto 0; /* Prevent preceding content from clinging to navboxes */
clear: both;
font-size: 90%;
text-align: center;
padding: 3px;
}
}
 
.navbox-inner,
.hlist dd:after,.hlist li:after {
.navbox-subgroup {
content: " · ";
width: 100%;
font-weight: bold
}
}
 
.navbox-group,
.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after {
.navbox-title,
content: none
.navbox-abovebelow {
padding: 0.25em 1em;   /* Title, group and above/below styles */
text-align: center;
}
.navbox-title {
position: relative;
line-height: 1.6em; /* Standard 1.6em for title */
border-bottom: 2px solid var(--color-darkened-border);
border-radius: var(--border-radius-low);
border-top: 1px solid rgba(var(--color-lighter--rgb), 0.07);
border-bottom: 2px solid var(--color-darkened-border);  
box-shadow: var(--box-shadow-medium);
}
}


.hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before {
/* cell spacing for navbox cells */
content: " (";
tr + tr > .navbox-abovebelow,
font-weight: normal
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list { /* Borders above 2nd, 3rd, etc. rows */
border-top: 1px solid var(--theme-bg-color-200); /* Must match background color */
border-bottom: 1px solid var(--theme-bg-color-200);
}
}


.hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after {
th.navbox-group { /* Group style */
content: ")";
white-space: nowrap;
font-weight: normal
/* @noflip */
text-align: left;
}
.navbox th,
.navbox-title {
background: rgba(var(--color-contrast2--rgb), var(--alpha-s)); /* Level title color */
}
.navbox,
.navbox-subgroup {
background: var(--theme-bg-color-200); /* Level 1 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: var(--theme-bg-color-250); /* Level 2 color */
border-right: 1px solid var(--theme-bg-color-200);
border-bottom: 1px solid var(--theme-bg-color-200);
border-top: none;
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: var(--theme-bg-color-300); /* Level 3 color */
}
.navbox-even {
background: transparent;  /* Even row striping */
border-top: 1px solid var(--theme-bg-color-400) !important;
border-bottom: 1px solid var(--theme-bg-color-400) !important;
}
}
 
.navbox-odd {
.hlist ol {
background: transparent;  /* Odd row striping */
counter-reset: listitem
}
}


.hlist ol>li {
.navbox .hlist td dl,
counter-increment: listitem
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 1px 0 0;   /* Adjust hlist padding in navboxes */
}
}
 
.navbox .navbox {
.hlist ol>li:before {
margin-top: 0; /* No top margin for nested navboxes */
content: " " counter(listitem) "\a0"
}
}
 
.navbox + .navbox {
.hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before {
margin-top: -1px; /* Single pixel border between adjacent navboxes */
content: " (" counter(listitem) "\a0"
}
}


.plainlist ol,.plainlist ul {
.navbox td:not(:has(table)), .navbox ul {
line-height: inherit;
padding: 4px 2px !important;
list-style: none none;
margin: 0
}
}


.plainlist ol li,.plainlist ul li {
@media screen and (max-width: 650px) {
margin-bottom: 0
th.navbox-group {
white-space: unset;
}
}
}


.navbox {
/* КОНЕЦ */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
margin: 1em auto 0
}
 
.navbox .navbox {
margin-top: 0
}
 
.navbox+.navbox {
margin-top: -1px
}
 
.navbox-inner,.navbox-subgroup {
width: 100%
}
 
.navbox-group,.navbox-title,.navbox-abovebelow {
padding: 0.25em 1em;
line-height: 1.5em;
text-align: center
}
 
th.navbox-group {
white-space: nowrap;
text-align: right
}
 
.navbox,.navbox-subgroup {
background-color: #fdfdfd
}
 
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd
}
 
tr+tr>.navbox-abovebelow,tr+tr>.navbox-group,tr+tr>.navbox-image,tr+tr>.navbox-list {
border-top: 2px solid #fdfdfd
}
 
.navbox th,.navbox-title {
background-color: #ccccff
}
 
.navbox-abovebelow,th.navbox-group,.navbox-subgroup .navbox-title {
background-color: #ddddff
}
 
.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff
}
 
.navbox-even {
background-color: #f7f7f7
}
 
.navbox-odd {
background-color: transparent
}
 
.navbox .hlist td dl,.navbox .hlist td ol,.navbox .hlist td ul,.navbox td.hlist dl,.navbox td.hlist ol,.navbox td.hlist ul {
padding: 0.125em 0
}


.mw-parser-output .mw-collapsible-toggle {
.mw-parser-output .mw-collapsible-toggle {
Строка 782: Строка 918:
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
border-spacing: 3px;
border-spacing: 3px;
background-color: #f8f9fa;
background: #f8f9fa;
color: black;
color: black;
margin: 0.5em 0 0.5em 1em;
margin: 0.5em 0 0.5em 1em;
Строка 835: Строка 971:
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
padding-right: 18px
padding-right: 18px
}
hr {
border-bottom-width: 0px;
border-color: var(--theme-border-color-200);
}
}


.messagebox {
.messagebox {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
background: #f8f9fa;
width: 80%;
width: 80%;
margin: 0 auto 1em auto;
margin: 0 auto 1em auto;
Строка 847: Строка 988:
.messagebox.merge {
.messagebox.merge {
border: 1px solid #c0b8cc;
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
background: #f0e5ff;
text-align: center
text-align: center
}
}
Строка 853: Строка 994:
.messagebox.cleanup {
.messagebox.cleanup {
border: 1px solid #9f9fff;
border: 1px solid #9f9fff;
background-color: #efefff;
background: #efefff;
text-align: center
text-align: center
}
}
Строка 859: Строка 1000:
.messagebox.standard-talk {
.messagebox.standard-talk {
border: 1px solid #c0c090;
border: 1px solid #c0c090;
background-color: #f8eaba;
background: #f8eaba;
margin: 4px auto
margin: 4px auto
}
}
Строка 865: Строка 1006:
.mbox-inside .standard-talk {
.mbox-inside .standard-talk {
border: 1px solid #c0c090;
border: 1px solid #c0c090;
background-color: #f8eaba;
background: #f8eaba;
width: 100%;
width: 100%;
margin: 2px 0;
margin: 2px 0;
Строка 887: Строка 1028:
margin: 0 0 1em 1em;
margin: 0 0 1em 1em;
line-height: 1.25em;
line-height: 1.25em;
background-color: #f8eaba
background: #f8eaba
}
}


Строка 918: Строка 1059:
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
border-left: 10px solid var(--color-contrast);
border-left: 10px solid var(--color-contrast);
background-color: #fbfbfb;
background: #fbfbfb;
box-sizing: border-box
box-sizing: border-box
}
}
Строка 944: Строка 1085:
table.ambox-speedy {
table.ambox-speedy {
border-left: 10px solid #b32424;
border-left: 10px solid #b32424;
background-color: #fee7e6
background: #fee7e6
}
}


Строка 971: Строка 1112:
border-collapse: collapse;
border-collapse: collapse;
border: 3px solid var(--color-contrast);
border: 3px solid var(--color-contrast);
background-color: #fbfbfb;
background: #fbfbfb;
box-sizing: border-box
box-sizing: border-box
}
}
Строка 990: Строка 1131:
table.imbox-speedy {
table.imbox-speedy {
border: 3px solid #b32424;
border: 3px solid #b32424;
background-color: #fee7e6
background: #fee7e6
}
}


Строка 1015: Строка 1156:
table.imbox-license {
table.imbox-license {
border: 3px solid #88a;
border: 3px solid #88a;
background-color: #f7f8ff
background: #f7f8ff
}
}


Строка 1026: Строка 1167:
border-collapse: collapse;
border-collapse: collapse;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background-color: #dfe8ff;
background: #dfe8ff;
box-sizing: border-box
box-sizing: border-box
}
}


table.cmbox-notice {
table.cmbox-notice {
background-color: #d8e8ff
background: #d8e8ff
}
}


Строка 1038: Строка 1179:
margin-bottom: 4px;
margin-bottom: 4px;
border: 4px solid #b32424;
border: 4px solid #b32424;
background-color: #ffdbdb
background: #ffdbdb
}
}


table.cmbox-delete {
table.cmbox-delete {
background-color: #ffdbdb
background: #ffdbdb
}
}


table.cmbox-content {
table.cmbox-content {
background-color: #ffe7ce
background: #ffe7ce
}
}


table.cmbox-style {
table.cmbox-style {
background-color: #fff9db
background: #fff9db
}
}


table.cmbox-move {
table.cmbox-move {
background-color: #e4d8ff
background: #e4d8ff
}
}


table.cmbox-protection {
table.cmbox-protection {
background-color: #efefe1
background: #efefe1
}
}


Строка 1065: Строка 1206:
border-collapse: collapse;
border-collapse: collapse;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
background: #f8f9fa;
box-sizing: border-box
box-sizing: border-box
}
}
Строка 1075: Строка 1216:
table.ombox-speedy {
table.ombox-speedy {
border: 2px solid #b32424;
border: 2px solid #b32424;
background-color: #fee7e6
background: #fee7e6
}
}


Строка 1102: Строка 1243:
border-collapse: collapse;
border-collapse: collapse;
border: 1px solid #c0c090;
border: 1px solid #c0c090;
background-color: #f8eaba;
background: #f8eaba;
min-width: 80%;
min-width: 80%;
box-sizing: border-box
box-sizing: border-box
Строка 1123: Строка 1264:
table.tmbox-speedy {
table.tmbox-speedy {
border: 2px solid #b32424;
border: 2px solid #b32424;
background-color: #fee7e6
background: #fee7e6
}
}


Строка 1151: Строка 1292:
width: 100%;
width: 100%;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
background: #f8f9fa;
box-sizing: border-box
box-sizing: border-box
}
}


table.fmbox-system {
table.fmbox-system {
background-color: #191970
background: #191970
}
}


table.fmbox-warning {
table.fmbox-warning {
border: 1px solid #bb7070;
border: 1px solid #bb7070;
background-color: #ffdbdb
background: #ffdbdb
}
}


table.fmbox-editnotice {
table.fmbox-editnotice {
background-color: transparent
background: transparent
}
}


Строка 1172: Строка 1313:
margin: 0.2em 0;
margin: 0.2em 0;
border: 1px solid #bb7070;
border: 1px solid #bb7070;
background-color: #ffdbdb;
background: #ffdbdb;
padding: 0.25em 0.9em;
padding: 0.25em 0.9em;
box-sizing: border-box
box-sizing: border-box
Строка 1179: Строка 1320:
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
border-color: #fc3;
border-color: #fc3;
background-color: #fef6e7
background: #fef6e7
}
}


Строка 1209: Строка 1350:
border: none;
border: none;
border-collapse: collapse;
border-collapse: collapse;
background-color: transparent;
background: transparent;
margin: 0 0 0 1.6em !important;
margin: 0 0 0 1.6em !important;
padding: 0 !important;
padding: 0 !important;
Строка 1257: Строка 1398:
min-width: 100px;
min-width: 100px;
background: #303037;
background: #303037;
border: solid var(--ooui--border)
border: solid var(--ooui--border-color)
}
}


.thumbinner .thumbimage,.thumbborder {
.thumbinner .thumbimage,.thumbborder {
border: solid 1px var(--ooui--border)
border: solid 1px var(--ooui--border-color)
}
}


Строка 1345: Строка 1486:
@media screen {
@media screen {
#content .gallerybox div.thumb {
#content .gallerybox div.thumb {
background-color: #f8f9fa
background: #f8f9fa
}
}


Строка 1370: Строка 1511:


#mw-page-base {
#mw-page-base {
background: #1b1b1f;
background: var(--theme-bg-color-base);
color: lightgrey;
color: var(--ooui--text-color);
border: #1b1b1f
border: var(--theme-bg-color-base)
}
}


.mediawiki,.mw-page-container {
.mediawiki, .mw-page-container {
background: #1b1b1f;
background: var(--theme-bg-color-base);
color: lightgrey;
color: var(--ooui--text-color);
border: #1b1b1f
border: var(--theme-bg-color-base)
}
}


#mw-panel {
#mw-panel {
background: #1b1b1f;
background: var(--theme-bg-color-base);
color: lightgrey;
color: var(--ooui--text-color);
border: #1b1b1f
border: var(--theme-bg-color-base)
}
}


#mw-content-container,#mw-header-container,#mw-content-wrapper,#mw-content,#p-logo {
#mw-content-container,#mw-header-container,#mw-content-wrapper,#mw-content,#p-logo {
background: #1b1b1f;
background: var(--theme-bg-color-base);
color: lightgrey;
color: var(--ooui--text-color);
border: #1b1b1f
border: var(--theme-bg-color-base)
}
}


.mw-code {
.mw-code {
background: var(--theme-bg);
background: var(--theme-bg-color-100);
color: lightgrey
color: var(--ooui--text-color)
}
}


footer,#footer-info-lastmod,#footer-info-copyright {
footer,#footer-info-lastmod,#footer-info-copyright {
color: lightgrey
color: var(--ooui--text-color)
}
}


p,h1,h2,h3,h4,h5,h6,li {
p,h1,h2,h3,h4,h5,h6,li {
color: lightgrey
color: var(--ooui--text-color)
}
}


p {
p {
margin: 0.8em 0;
margin: 0.5em 0;
}
}


Строка 1423: Строка 1564:


a:hover,a:visited:hover {
a:hover,a:visited:hover {
color: white
color: var(--ooui--text-color-light)
}
}


a.option {
a.option {
background: var(--ooui--bg);
background: var(--ooui--bg-color);
color: lightgray !important;
color: lightgray !important;
border: 1px solid var(--ooui--border);
border: 1px solid var(--ooui--border-color);
}
}


/* КОНЕЦ */
.screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace {
font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
}


/* ============ */
/* ============ */
/* СТИЛИ ДЛЯ ui MediaWiki */
/* СТИЛИ ДЛЯ ui MediaWiki */
/* ============ */
/* ============ */
.wikiEditor-ui-text {
background: #1b1b1f;
}
.wikiEditor-ui-toolbar .tabs span.tab a {
color: var(--text-color-link);
}
.wikiEditor-ui-toolbar .section-secondary .group {
display: none;
}
.wikiEditor-ui .wikiEditor-ui-top {
border-color: var(--ooui--border);
}
.ext-WikiEditor-ResizingDragBar {
background: var(--theme-bg);
}
.ext-WikiEditor-ResizingDragBar-ns {
border-color: var(--ooui--border);
}
.ext-WikiEditor-ResizingDragBar span {
background-color: var(--ooui--border);
}
.ext-WikiEditor-ResizingDragBar:hover span {
background-color: var(--color-contrast2);
}
.wikiEditor-ui .wikiEditor-ui-view {
border-color: var(--ooui--border-light);
}
.wikiEditor-ui-toolbar {
background: var(--ooui--bg);
color: white;
}
.wikiEditor-ui-toolbar .group {
border-color: var(--ooui--border-light);
color: white;
}
.wikiEditor-ui-toolbar .group .label {
color: lightgray;
}


/* invert(0) */
/* invert(0) */
Строка 1507: Строка 1600:
.mw-editsection,
.mw-editsection,
.mw-editsection a,
.mw-editsection a,
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator {
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator,
.oo-ui-icon-template-format-block.oo-ui-image-invert{
filter: invert(1);
filter: invert(1);
}
}
Строка 1513: Строка 1607:
.tools-inline li.selected span {
.tools-inline li.selected span {
filter: invert(1);
filter: invert(1);
color: lightgrey;
color: var(--ooui--text-color);
font-weight: bold;
font-weight: bold;
}
}
Строка 1522: Строка 1616:
font-size: 15px;
font-size: 15px;
font-family: "noto sans";
font-family: "noto sans";
}
.wikiEditor-ui-toolbar .booklet > .index {
color: lightgray;
}
}


Строка 1540: Строка 1630:
.oo-ui-iconElement-icon.oo-ui-icon-search,
.oo-ui-iconElement-icon.oo-ui-icon-search,
.oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator,
.oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator,
.oo-ui-icon-bookmark, .mw-ui-icon-bookmark:before {
.oo-ui-icon-bookmark, .mw-ui-icon-bookmark:before,
.oo-ui-icon-template-format-block,
.oo-ui-icon-template-format-inline,
.oo-ui-decoratedOptionWidget.oo-ui-widget-enabled .oo-ui-indicatorElement-indicator,
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle .oo-ui-indicatorElement-indicator,
.mw-special-Contribute .mw-contribute-card-icon--article {
filter: invert(0.75);
filter: invert(0.75);
}
}
Строка 1562: Строка 1657:
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled,
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled,
.oo-ui-dropdownWidget,
.oo-ui-dropdownWidget,
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle {
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
background: var(--ooui--bg);
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover {
}
background: var(--ooui--bg-color);
 
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
background: var(--ooui--bg);
color: white;
}
}


Строка 1579: Строка 1670:
.ace_mobile-button:hover,
.ace_mobile-button:hover,
.ace_searchbtn:hover {
.ace_searchbtn:hover {
background: var(--ooui--bg-dark);
background: var(--ooui--bg-color-dark);
}
 
.oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout,
.mw-special-Contribute .mw-contribute-tabs-content {
background: var(--ooui--bg-color-darkened);
}
}


Строка 1585: Строка 1681:
.wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover,
.wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover,
#ca-nstab-special.selected.mw-list-item,
#ca-nstab-special.selected.mw-list-item,
.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line,
background: var(--ooui--bg-light);
.mw-revslider-revision-wrapper:hover, .mw-revslider-revision-wrapper-hovered {
}
background: var(--ooui--bg-color-light);
 
.wikiEditor-ui-toolbar .booklet > .index > .current {
background: var(--ooui--bg-light);
color: white !important;
}
}


Строка 1599: Строка 1691:
.ace_button:hover:not(.checked),
.ace_button:hover:not(.checked),
.ace_button:active {
.ace_button:active {
background-color: var(--ooui--bg--hover);
background: var(--ooui--bg-color--hover);
}
 
.mw-apisandbox-toolbar {
background: transparent;
}
}


.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
background: var(--ooui--bg--hover) !important;
background: var(--ooui--bg-color--hover) !important;
}
}


/* Простые стили с border */
.mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-conflicting-talk-label span .mw-twocolconflict-split-delete {
.mw-rcfilters-ui-watchlistTopSectionWidget-separator,
background: var(--bg-color-message);
.mw-revslider-revision-tooltip .mw-revslider-filter-highlightable-row.mw-revslider-filter-highlight {
border-color: var(--ooui--border-lighter);
}
}


.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before {
.mw-twocolconflict-single-column.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-add {
border-bottom-color: var(--ooui--border-light);
border-color: var(--border-color-message-subtle);
}
}


.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after {
.wikiEditor-ui-text {
border-bottom-color: var(--ooui--bg-light);
background: var(--theme-bg-color-base);
}
}


.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before {
.ext-WikiEditor-ResizingDragBar {
border-top-color: var(--ooui--border-light);
background: var(--theme-bg-color-100);
}
}


.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after {
.ext-WikiEditor-ResizingDragBar span {
border-top-color: var(--ooui--bg-light);
background: var(--ooui--border-color);
}
}


/* Простые стили с bg + border */
.oo-ui-windowManager-modal > .oo-ui-dialog,
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span,
.oo-ui-processDialog-errors {
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio'] + span {
background: rgba(0, 0, 0, var(--alpha-m));
background-color: var(--ooui--bg-dark);
border: 1px solid var(--ooui--border-lighter);
}
}


.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
.footer-icons a:hover {
background: var(--ooui--bg-color);
background: var(--ooui--bg);
color: var(--ooui--text-color-light);
border-color: var(--ooui--border);
}
}


.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {
.wikiEditor-ui-toolbar .booklet > .index > .current {
background: var(--ooui--bg);
background: var(--ooui--bg-color-light);
border: 1px solid var(--ooui--border-light);
color: var(--ooui--text-color-light) !important;
margin: 0.35em 0.2em 0.25em 0;
}
}


.ace_optionsMenuEntry button {
.mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-single-column,
background: var(--ooui--bg);
.oo-ui-searchWidget-results {
border-color: var(--ooui--border-light);
background: var(--ooui--bg-color-darkened);
box-shadow: var(--box-shadow-inset-high);
color: var(--ooui--text-color);
}
}


.ace_optionsMenuEntry button[ace_selected_button=true] {
/* Простые стили с border */
background: var(--ooui--bg);
.wikiEditor-ui .wikiEditor-ui-top,
border-color: var(--ooui--border-light);
.ext-WikiEditor-ResizingDragBar-ns,
box-shadow: var(--box-shadow-inset-high);
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu,
.mw-apisandbox-help-field {
border-color: var(--ooui--border-color);
}
}


#ace_settingsmenu, #kbshortcutmenu {
.ace_searchbtn:last-child,
background: var(--ooui--bg-darkened);
.wikiEditor-ui .wikiEditor-ui-view {
box-shadow: var(--box-shadow-high);
border-color: var(--ooui--border-color-light);
color: lightgray;
}
}


/* Простые стили с color */
.wikiEditor-ui-toolbar .group {
#contentSub {
border-color: var(--ooui--border-color-light);
color: var(--theme-color-text-dark);
color: var(--ooui--text-color-light);
}
}


/* Стили с color-contrast */
.mw-rcfilters-ui-watchlistTopSectionWidget-separator,
.ace_optionsMenuEntry button:hover {
.mw-revslider-revision-tooltip .mw-revslider-filter-highlightable-row.mw-revslider-filter-highlight,
background: var(--color-contrast2);
.mw-revslider-revision-border-box {
border-color: var(--color-contrast);
border-color: var(--ooui--border-color-lighter);
}
}


/* Сложные стили */
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before {
.mw-footer .footer-icons a {
border-bottom-color: var(--ooui--border-color-light);
background: var(--theme-bg-dark);
}
border: 1px solid var(--ooui--border-dark);
 
padding-right: 15px;
.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after {
padding-left: 15px;
border-bottom-color: var(--ooui--bg-color-light);
min-height: 44px;
display: inline-flex;
align-items: center;
}
}


#footer-poweredbyico a {
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before {
background-image: url(https://commons.wiki.gg/images/1/1c/MediaWiki_footer_badge_dark.svg?12ec0a);
border-top-color: var(--ooui--border-color-light);
background-position: 50% 50%;
background-size: 88px 31px;
background-repeat: no-repeat;
}
}


#footer-poweredbyico a img {
.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after {
visibility: hidden;
border-top-color: var(--ooui--bg-color-light);
}
}


/* Остальное */
.mw-twocolconflict-single-column.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-delete {
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span {
border-color: var(--border-color-warning);
border-color: var(--color-contrast);
background: var(--ooui--bg-light);
border-width: 2px;
}
}


/* КОНЕЦ */
.mw-twocolconflict-single-column.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-add {
border-color: var(--border-color-message);
}


.wikiEditor-ui-toolbar .group .tool-select .options {
/* Простые стили с bg + border */
border: none;
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover,
.footer-icons a:hover,
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input[readonly]:not(.oo-ui-pendingElement-pending),
.mw-special-Contribute .mw-contribute-card {
background: var(--ooui--bg-color);
border-color: var(--ooui--border-color);
color: var(--ooui--text-color);
}
}


.wikiEditor-ui-toolbar .sections .section {
.ace_button,
border-color: var(--ooui--border-light);
.ace_searchbtn,
.oo-ui-selectFileInputWidget.oo-ui-widget-enabled.oo-ui-selectFileInputWidget-dropTarget {
background: var(--ooui--bg-color);
border-color: var(--ooui--border-color-light);
color: var(--ooui--text-color);
}
}


.wikiEditor-ui-toolbar .page-table th {
.mw-revslider-revision {
color: lightgrey;
background: var(--ooui--border-color);
border-color: var(--ooui--border-color-lighter);
}
}


.wikiEditor-ui-toolbar .page-table td {
.oo-ui-toggleSwitchWidget {
color: lightgrey;
background: var(--ooui--bg-color-dark);
border-color: var(--ooui--border-color-light);
}
}


.oo-ui-indicatorElement-indicator {
.oo-ui-searchWidget-query {
background-size: contain;
background: var(--ooui--bg-color-darkened);
background-position: center center;
border-color: var(--ooui--border-color-light);
background-repeat: no-repeat;
color: var(--ooui--text-color);
position: absolute;
top: 0;
min-width: 12px;
width: 0.8571429em;
min-height: 12px;
height: 100%;
}
}


a.extiw:visited,a.external:visited,.mw-parser-output a.extiw:visited,.mw-parser-output a.external:visited,body.skin--responsive #p-cactions li a.external:visited {
.ace_editor.ace_autocomplete {
color: var(--text-color-link-external)
background: var(--ooui--bg-color-dark);
border-color: var(--ooui--border-color);
color: var(--ooui--text-color);
}
}


.vector-menu-tabs li {
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip {
background: var(--theme-bg)
border-color: var(--ooui--bg-color);
background: var(--ooui--bg-color);
}
}


#p-logo-text a {
.mw-revslider-revision-new .mw-revslider-revision, .mw-revslider-revision-old .mw-revslider-revision, .mw-revslider-revision-intermediate .mw-revslider-revision {  
color: lightgrey
background: var(--ooui--bg-color-light);
border-color: var(--ooui--border-color);
}
}


#ca-nstab-mediawiki.a {
.mw-revslider-revision-filter-highlight .mw-revslider-revision-border-box {
color: lightgrey
background: var(--ooui--bg-color-light);
border-color: var(--ooui--border-color-light);
}
 
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
background: var(--bg-color-message);
border-color: var(--border-color-message);
}
}


#mw-changeslist-links {
.cdx-message--warning,
background: var(--theme-bg);
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
color: lightgrey
background: var(--bg-color-warning);
border-color: var(--border-color-warning);
}
}


#simpleSearch {
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
background: var(--ooui--bg);
background: var(--bg-color-notice);
border: 1px solid var(--ooui--border);
border-color: var(--border-color-notice);
color: lightgrey;
border-radius: var(--border-radius-low);
}
}


#searchInput {
.cdx-message--error,
color: white
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-error {
background: var(--bg-color-error);
border-color: var(--border-color-error);
}
}


#pt-createaccount {
.oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button,
visibility: hidden;
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button,
display: none
.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active {
border-color: transparent;
border-right-color: var(--ooui--border-color);
}
}


.vector-user-links .vector-user-menu-more .vector-menu-content-list li a, #personal .dropdown {
.oo-ui-processDialog-actions-primary .oo-ui-actionWidget > .oo-ui-buttonElement-button {
background: var(--ooui--bg-dark);
border-color: transparent;
border-color: var(--ooui--border);
border-left-color: var(--ooui--border-color);
color: lightgrey;
box-shadow: var(--box-shadow-medium);
}
}


.mw-notification {
.mw-rcfilters-ui-tagItemWidget-popup-content,
background: var(--ooui--bg-dark);
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip {
border: 1px solid var(--ooui--border);
background: var(--ooui--bg-color-dark);
color: lightgrey;
border-color: var(--ooui--border-color-light);
box-shadow: var(--box-shadow-medium);
color: lightgray;
}
}


@media screen and (min-width: 851px) {
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span,
#personal .dropdown:before, #personal .dropdown:after {
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio'] + span {
border-bottom: 10px solid var(--ooui--border-light);
background-color: var(--ooui--bg-color-dark);
}
border: 1px solid var(--ooui--border-color-lighter);
}
}


@media screen and (min-width: 851px) {
.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {
#personal .dropdown:after {
background: var(--ooui--bg-color);
border-bottom: 10px solid var(--ooui--bg-dark);
border: 1px solid var(--ooui--border-color-light);
}
margin: 0.35em 0.2em 0.25em 0;
}
}


.vector-menu-tabs .selected {
.ace_optionsMenuEntry button {
background: #1b1b1f
background: var(--ooui--bg-color);
border-color: var(--ooui--border-color-light);
box-shadow: var(--box-shadow-inset-high);
}
}


#pagehistory li.selected {
.ace_optionsMenuEntry button[ace_selected_button=true] {
background: #1B4D3E;
background: var(--ooui--bg-color);
font-weight: bold
border-color: var(--ooui--border-color-light);
box-shadow: var(--box-shadow-inset-high);
}
}


div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
#ace_settingsmenu, #kbshortcutmenu {
background: #7C0A02;
background: var(--ooui--bg-color-darkened);
border: 1px solid #bb7070
box-shadow: var(--box-shadow-high);
color: lightgray;
}
}


/* Стиль для таблиц wikitable */
/* Простые стили с color */
.wikitable {
.mw-twocolconflict-split-editable .mw-twocolconflict-split-editor,
border-spacing: 1px;
.cdx-message,
padding: 10px;
.mw-message-box,
border-collapse: separate;
.wikiEditor-ui-toolbar .booklet > .index,
border: none;
.ace_searchbtn.prev:after,
border-radius: 0.8em;
.ace_searchbtn.next:after,
background: var(--theme-bg-light);
.wikiEditor-ui-toolbar .group .label,
color: #dddddd;
.mw-special-Contribute .mw-contribute-card-content
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
{
color: var(--ooui--text-color);
}
}


.wikitable>*>tr>*{
.oo-ui-processDialog-errors-title {
padding: 0.4em !important;
color: var(--ooui--text-color-light);
margin: 0 !important;
border: none;
}
}


.wikitable>*>tr>th {
#contentSub,
background: var(--theme-bg-light);
.mw-templatedata-doc-muted,
color: #e1e1e1;
.mw-templatedata-doc-param-alias,
.oo-ui-labelWidget.oo-ui-inline-help {
color: var(--ooui--text-color-dark);
}
}


.wikitable>*>tr>td {
.wikiEditor-ui-toolbar .tabs span.tab a,
background: #31313b;
.mw-special-Contribute .mw-contribute-card-action {
color: var(--text-color-link);
}
}


.wikitable p, .wikitable h1, .wikitable h2, .wikitable h3, .wikitable h4, .wikitable h5, .wikitable h6, .wikitable li {
/* Стили с color-contrast */
color: #dddddd;
.oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button,
.mw-portlet-body #ca-move.selected {
background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m));  
}
}


/* Закругление верхнего левого угла первой ячейки */
.ace_searchbtn_close:hover,
.wikitable thead tr:first-child th:first-child,
.ext-WikiEditor-ResizingDragBar:hover span,
.wikitable thead tr:first-child td:first-child,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on,
.wikitable:not(:has(thead)) tr:first-child th:first-child,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover .oo-ui-toggleSwitchWidget-grip {
.wikitable:not(:has(thead)) tr:first-child td:first-child {
background: var(--color-contrast2);
border-top-left-radius: 4px;
}
}


/* Закругление верхнего правого угла последней ячейки */
.ace_optionsMenuEntry button:hover,
.wikitable thead tr:first-child th:last-child,
.ace_button.checked,
.wikitable thead tr:first-child td:last-child,
.ace_editor.ace_autocomplete .ace_line-hover {
.wikitable:not(:has(thead)) tbody > tr:first-child th:last-child,
background: var(--color-contrast2);
.wikitable:not(:has(thead)) tbody > tr:first-child td:last-child {
border-color: var(--color-contrast);
border-top-right-radius: 4px;
color: var(--ooui--text-color-light);
}
}


/* Закругление нижнего левого угла первой ячейки последнего ряда
/* Сложные стили */
.wikitable tbody tr:last-child th:first-child,
.mw-footer .footer-icons a {
.wikitable tbody tr:last-child td:first-child {
background: var(--theme-bg-color-50);
border-bottom-left-radius: 4px;
border: 1px solid var(--ooui--border-color-dark);
}*/
padding-right: 15px;
padding-left: 15px;
min-height: 44px;
display: inline-flex;
align-items: center;
}


/* Закругление нижнего правого угла последней ячейки последнего ряда
#footer-poweredbyico a {
.wikitable tbody tr:last-child th:last-child,
background-image: url(https://commons.wiki.gg/images/1/1c/MediaWiki_footer_badge_dark.svg?12ec0a);
.wikitable tbody tr:last-child td:last-child {
background-position: 50% 50%;
border-bottom-right-radius: 4px;
background-size: 88px 31px;
}*/
background-repeat: no-repeat;
}


/* Таблицы на телефонах */
#footer-poweredbyico a img {
@media screen and (max-width: 850px) {
visibility: hidden;
.wikitable {
font-size: 0.65em;
padding: 5px !important;
}
.wikitable:not(.no-img-adaptive) img[width="64"][height="64"] {
width: 32px;
height: 32px;
}
.wikitable:not(.no-img-adaptive) img[width="64"][height="128"] {
width: 32px;
height: 64px;
}
.wikitable:not(.no-img-adaptive) img[width="128"][height="128"] {
width: 64px;
height: 64px;
}
}
}


ul#filetoc, .toc, .toccolours, .mw-warning {
.wikiEditor-ui-toolbar {
border-radius: 0.5em;
background: var(--ooui--bg-color);
background: var(--theme-bg-light);
box-shadow: var(--box-shadow-medium);
padding: 14px;
color: var(--ooui--text-color-light);
box-sizing: border-box;
margin: 12px 0;
min-width: 12em;
border: none;
box-shadow: var(--box-shadow-outline);
line-height: 1.3;
}
}


.toc, .toc * {
.vector-user-links .vector-user-menu-more .vector-menu-content-list li a, #personal .dropdown,
box-sizing: border-box;
.mw-notification {
background: var(--ooui--bg-color-dark);
border-color: var(--ooui--border-color);
color: var(--ooui--text-color);
box-shadow: var(--box-shadow-medium);
}
}


.toc .toctitle {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
font-size: 0.95em;
background: var(--ooui--bg-color-dark);
padding: 0 8px;
border-color: var(--ooui--border-color-light);
display: flex;
color: lightgray;
align-items: center;
border-radius: 0.3em;
position: relative;
overflow: hidden;
text-align: left;
border: none;
}
}


.toc .toctitle h2 {
.oo-ui-tagMultiselectWidget-handle, .oo-ui-panelLayout-padded {
font-size: 1.1em;
background: var(--ooui--bg-color-darkened);
font-weight: bold;
border-color: var(--ooui--border-color);
display: flex;
border-radius: var(--border-radius-low);
align-items: center;
}
}


.toc .toctitle h2::before {
.ace_search {
content: "";
background: var(--theme-bg-color-100);
display: block;
color: var(--ooui--text-color);
width: 12px;
border-color: var(--ooui--border-color-light);
height: 12px;
padding: 6px 4px 2px 4px;
--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center center;
mask-position: center center;
background-color: var(--theme-icon-color);
margin: 0 6px 0 0;
}
}


.toc .toctogglelabel {
.ace_search_field {
position: absolute;
background: var(--ooui--bg-color);
width: 100%;
border-color: var(--ooui--border-color-light);
height: 100%;
color: var(--ooui--text-color);
left: 0;
margin: 0 2px 0 0 !important;
top: 0;
padding: 0 8px;
font-size: unset;
line-height: unset;
display: flex;
align-items: center;
justify-content: flex-end;
font-family: "noto sans";
}
}


.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel:after,
.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input,
.toctogglecheckbox:checked + .toctitle .toctogglelabel:after {
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle {
content: "";
background: var(--ooui--bg-color);
display: block;
border-color: var(--ooui--border-color-light);
pointer-events: none;
color: var(--ooui--text-color-light);
--mask: var(--icon-chevron-down) no-repeat;
text-shadow: none;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center center;
mask-position: center center;
background-color: var(--theme-icon-color);
width: 14px;
height: 14px;
flex: 0 0 auto;
transform: scaleY(-1);
}
}


.toctogglecheckbox:checked + .toctitle .toctogglelabel:after {
/* Остальное */
transform: none;
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span {
border-color: var(--color-contrast);
background: var(--ooui--bg-color-light);
border-width: 2px;
}
}


.toc > ul {
.ace_search_form.ace_nomatch {
margin: 6px 0 0 0;
outline: 1px solid #922626
border-top: 1px solid var(--theme-border);
padding-top: 2px;
}
}


#searchInput:focus {
.wikiEditor-ui-toolbar .section-secondary .group.empty {
outline: 2px solid var(--color-contrast);
display: none;
}
}


.toctogglecheckbox:focus + .toctitle .toctogglelabel {
.mw-collapsibleFieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon {
outline: none;
    top: 2px;
}
}


.mw-content-ltr .tocnumber {
/* КОНЕЦ */
color: grey
 
.wikiEditor-ui-toolbar .group .tool-select .options {
border: none;
}
}


.quickbox {
.wikiEditor-ui-toolbar .sections .section {
border: 1px solid var(--ooui--border);
border-color: var(--ooui--border-color-light);
background: var(--ooui--bg);
}
}


.quickboxhead {
.wikiEditor-ui-toolbar .page-table th {
border-bottom: 1px solid var(--ooui--border);
color: var(--ooui--text-color);
background: #1b1b1f;
text-align: center
}
}


.client-js .mw-changeslist ul, .client-js .mw-changeslist table.mw-enhanced-rc {
.wikiEditor-ui-toolbar .page-table td {
margin: 0;
color: var(--ooui--text-color);
}
}


.results-info {
.oo-ui-indicatorElement-indicator {
color: var(--theme-color-text-dark);
background-size: contain;
background-position: center center;
background-repeat: no-repeat;
position: absolute;
top: 0;
min-width: 12px;
width: 0.8571429em;
min-height: 12px;
height: 100%;
}
}


.mw-search-result-data {
a.extiw:visited,a.external:visited,.mw-parser-output a.extiw:visited,.mw-parser-output a.external:visited,body.skin--responsive #p-cactions li a.external:visited {
color: var(--theme-color-text-dark);
color: var(--text-color-link-external)
}
}


.oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button {
.vector-menu-tabs li {
font-size: 14px;
background: var(--theme-bg-color-100)
}
}


.mw-rcfilters-ui-filterWrapperWidget-bottom {
#p-logo-text a {
gap: 4px;
color: var(--ooui--text-color);
}
}


.mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget {
#ca-nstab-mediawiki.a {
padding: 0.6em;
color: var(--ooui--text-color);
border: 1px solid var(--ooui--border);
}
}


.mw-rcfilters-ui-changesListWrapperWidget-previousChangesIndicator {
#mw-changeslist-links {
border-color: var(--ooui--border-lighter);
background: var(--theme-bg-color-100);
color: var(--ooui--text-color);
}
}


.mw-changeslist-legend {
#simpleSearch {
max-width: 300px;
background: var(--ooui--bg-color);
border: 1px solid var(--ooui--border-color);
color: var(--ooui--text-color);
border-radius: var(--border-radius-low);
}
}


.mw-changeslist-legend {
#searchInput {
display: none;
color: var(--ooui--text-color-light)
}
}


.mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget > .mw-changeslist-legend {
#pt-createaccount {
display: block;
visibility: hidden;
background: var(--ooui--bg-light);
display: none
}
}


.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
@media screen and (min-width: 851px) {
color: lightgray;
#personal .dropdown:before, #personal .dropdown:after {
border-bottom: 10px solid var(--ooui--border-color-light);
}
}
}


.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
@media screen and (min-width: 851px) {
color: lightgray;
#personal .dropdown:after {
border-bottom: 10px solid var(--ooui--bg-color-dark);
}
}
}


.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget {
.vector-menu-tabs .selected {
background: var(--ooui--bg);
background: var(--theme-bg-color-base)
border-color: var(--ooui--border);
color: white;
border-radius: 0.4em 0.4em 0 0;
}
}


.mw-rcfilters-ui-datePopupWidget {
#pagehistory li.selected {
border-color: var(--ooui--border-lighter);
background: #1B4D3E;
font-weight: bold
}
}


.mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title {
div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
color: var(--theme-color-text-dark);
background: #7C0A02;
border: 1px solid #bb7070
}
}


.mw-rcfilters-ui-changesListWrapperWidget:not(.mw-rcfilters-ui-changesListWrapperWidget-highlighted) .mw-changeslist-watchedseen div.mw-rcfilters-ui-highlights-color-none {
/*
background-color: var(--ooui--border-light);
  Стиль для таблиц wikitable
border: 1px solid var(--color-contrast);
*/
.wikitable {
border-spacing: 1px;
padding: 10px;
border-collapse: separate;
border: none;
border-radius: 0.8em;
background: var(--theme-bg-color-200);
border: 1px solid rgb(var(--color-darkened--rgb), 0.35);
color: var(--theme-text-color);
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
.wikitable>*>tr>*{
background-color: var(--color-contrast2);
padding: 0.4em;
border-color: var(--color-contrast2);
margin: 0;
border: none;
color: var(--theme-text-color);
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button:hover {
.wikitable>*>tr>th {
border-color: var(--color-contrast);
background: var(--theme-bg-color-200);
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
.wikitable>*>tr>td {
background-color: var(--color-contrast2);
background: var(--theme-bg-color-300);
border-color: var(--color-contrast);
color: white;
}
}


.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover {
/* Закругление верхнего левого угла первой ячейки */
background-color: var(--color-contrast2);
.wikitable thead tr:first-child th:first-child,
border-color: var(--color-contrast);
.wikitable thead tr:first-child td:first-child,
color: white;
.wikitable:not(:has(thead)) tr:first-child th:first-child,
.wikitable:not(:has(thead)) tr:first-child td:first-child {
border-top-left-radius: 4px;
}
}


.tdg-templateDataParamWidget-param-description {
/* Закругление верхнего правого угла последней ячейки */
color: var(--theme-color-text-dark);
.wikitable thead tr:first-child th:last-child,
}
.wikitable thead tr:first-child td:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child th:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child td:last-child {
border-top-right-radius: 4px;
}


.oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button {
/* Закругление нижнего левого угла первой ячейки последнего ряда
border-color: transparent;
.wikitable tbody tr:last-child th:first-child,
border-right-color: var(--ooui--border);
.wikitable tbody tr:last-child td:first-child {
}
border-bottom-left-radius: 4px;
}*/


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button {
/* Закругление нижнего правого угла последней ячейки последнего ряда
border-color: transparent;
.wikitable tbody tr:last-child th:last-child,
border-right-color: var(--ooui--border);
.wikitable tbody tr:last-child td:last-child {
}
border-bottom-right-radius: 4px;
}*/


.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active {
border-color: transparent;
/* Таблицы на телефонах */
border-right-color: var(--ooui--border);
@media screen and (max-width: 850px) {
.wikitable {
font-size: 0.8em;
        padding: 6px;
}
}
}


.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:hover, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active {
/* КОНЕЦ */
background-color: var(--color-contrast2);
border-color: var(--color-contrast);
}


.mw-revslider-container {
@media screen and (max-width: 850px) {
border-color: var(--ooui--border-light);
*:not(.no-img-adaptive) img[width="64"][height="64"] {
width: 32px;
height: 32px;
}
*:not(.no-img-adaptive) img[width="64"][height="128"] {
width: 32px;
height: 64px;
}
*:not(.no-img-adaptive) img[width="128"][height="128"] {
width: 64px;
height: 64px;
}
}
}


.mw-revslider-slider-wrapper {
@media screen and (max-width: 650px) {
border-color: var(--ooui--border-light);
.mw-parser-output table {
display: table-cell;
overflow: auto;
max-width: 100%;
}
}
}


.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input {
ul#filetoc, .toc, .toccolours, .mw-warning {
background-color: var(--ooui--bg);
border-radius: 0.5em;
border-color: var(--ooui--border-light);
background: var(--theme-bg-color-200);
color: white;
padding: 14px;
text-shadow: none;
box-sizing: border-box;
margin: 12px 0;
min-width: 12em;
border: none;
box-shadow: var(--box-shadow-outline);
line-height: 1.3;
}
}


.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
.toc, .toc * {
background-color: var(--ooui--bg);
box-sizing: border-box;
border-color: var(--ooui--border-light);
color: white;
}
}


.oo-ui-tagMultiselectWidget-handle .oo-ui-tagMultiselectWidget-group > input {
.toc .toctitle {
color: white;
font-size: 0.95em;
padding: 0 8px;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
text-align: left;
border: none;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
.toc .toctitle h2 {
background-color: var(--color-contrast2);
font-size: 1.1em;
font-weight: bold;
display: flex;
align-items: center;
}
}


.oo-ui-processDialog-content > .oo-ui-window-head, .oo-ui-processDialog-content > .oo-ui-window-foot {
.toc .toctitle h2::before {
outline-color: var(--ooui--border);
content: "";
background: var(--ooui--bg);
display: block;
width: 12px;
height: 12px;
--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center center;
mask-position: center center;
background: var(--theme-icon-color);
margin: 0 6px 0 0;
}
}


.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup > .oo-ui-window-frame {
.toc .toctogglelabel {
background: transparent;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
padding: 0 8px;
font-size: unset;
line-height: unset;
display: flex;
align-items: center;
justify-content: flex-end;
font-family: "noto sans";
}
}


.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled {
.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel:after,
background: transparent;
.toctogglecheckbox:checked + .toctitle .toctogglelabel:after {
content: "";
display: block;
pointer-events: none;
--mask: var(--icon-chevron-down) no-repeat;
-webkit-mask: var(--mask);
mask: var(--mask);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center center;
mask-position: center center;
background: var(--theme-icon-color);
width: 14px;
height: 14px;
flex: 0 0 auto;
transform: scaleY(-1);
}
}


.mw-templateData-template-map-list-menu-panel {
.toctogglecheckbox:checked + .toctitle .toctogglelabel:after {
border-color: var(--ooui--border);
transform: none;
}
}


.oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted {
.toc > ul {
background: var(--bg-contrast--hover);
margin: 6px 0 0 0;
color: white;
border-top: 1px solid var(--theme-border-color-base);
padding-top: 2px;
}
}


.oo-ui-searchWidget-query {
#searchInput:focus {
border-color: var(--ooui--border-lighter);
outline: 2px solid var(--color-contrast);
}
}


.oo-ui-searchWidget-results {
.toctogglecheckbox:focus + .toctitle .toctogglelabel {
background: var(--ooui--bg-darkened);
outline: none;
}
}


.oo-ui-searchWidget-query {
.mw-content-ltr .tocnumber {
border-color: var(--ooui--border-light);
color: grey
background: var(--ooui--bg-darkened);
}
}


.mw-templateData-template-add-map-button-panel.oo-ui-layout.oo-ui-panelLayout.oo-ui-panelLayout-padded.oo-ui-panelLayout-expanded.tdg-templateDataDialog-addNewMapButtonPanel {
.quickbox {
display: flex;
border: 1px solid var(--ooui--border-color);
align-items: center;
background: var(--ooui--bg-color);
}
}


.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget .oo-ui-buttonElement-button {
.quickboxhead {
border-radius: 0;
border-bottom: 1px solid var(--ooui--border-color);
background: var(--theme-bg-color-base);
text-align: center
}
}


.mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-ui-highlights > div {
.client-js .mw-changeslist ul, .client-js .mw-changeslist table.mw-enhanced-rc {
margin-right: 8px;
margin: 0;
}
}


.oo-ui-popupWidget-popup {
.results-info {
background: var(--ooui--bg-light);
color: var(--ooui--text-color-dark);
border-color: var(--ooui--border-light);
color: lightgray;
}
}


.oo-ui-menuSelectWidget {
.mw-search-result-data {
border-color: var(--ooui--border);
color: var(--ooui--text-color-dark);
background: var(--ooui--gradient);
box-shadow: var(--box-shadow);
}
}


.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
.oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button {
background: var(--ooui--border);
font-size: 14px;
}
}


.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
.mw-rcfilters-ui-filterWrapperWidget-bottom {
background: var(--ooui--bg--hover);
gap: 4px;
outline: 1px solid var(--ooui--border);
}
}


.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
.mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget {
background-color: var(--bg-contrast--hover) !important;
padding: 0.6em;
border: 1px solid var(--ooui--border-color);
}
}


.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
.mw-rcfilters-ui-changesListWrapperWidget-previousChangesIndicator {
border-color: var(--ooui--border);
border-color: var(--ooui--border-color-lighter);
color: lightgrey;
transition: all 0.01s;
cursor: pointer;
}
}


.mw-rcfilters-ui-itemMenuOptionWidget-label-title {
.mw-changeslist-legend {
color: lightgrey;
max-width: 300px;
cursor: pointer;
}
}


.mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
.mw-changeslist-legend {
color: var(--theme-color-text-dark);
display: none;
cursor: pointer;
}
}


/*==========
.mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget > .mw-changeslist-legend {
  Страница
display: block;
==========*/
background: var(--ooui--bg-color-light);
}


/* Заголовок */
.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
.mw-body h1.firstHeading {
color: lightgray;
border-width: 3px;
}
}


/* Содержание */
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
.mw-body {
color: lightgray;
background: var(--theme-bg);
color: lightgrey;
padding: 12px 14px;
border-radius: var(--border-radius-low);
box-shadow: var(--box-shadow-outline);
border: none;
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
}
}


@media screen and (max-width: 850px) {
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget {
.mw-body {
background: var(--ooui--bg-color);
padding: 6px;
border-color: var(--ooui--border-color);
}
color: var(--ooui--text-color-light);
border-radius: 0.4em 0.4em 0 0;
}
}


/* Категории */
.mw-rcfilters-ui-datePopupWidget {
#content-bottom-stuff .catlinks {
border-color: var(--ooui--border-color-lighter);
margin-top: 6px;
border-radius: var(--border-radius-low);
border: none;
box-shadow: var(--box-shadow-outline);
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
}
}


/*==========
.mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title {
  Заглавный поисковик
color: var(--ooui--text-color-dark);
==========*/
}


/* Выдвижной блок */
.mw-rcfilters-ui-changesListWrapperWidget:not(.mw-rcfilters-ui-changesListWrapperWidget-highlighted) .mw-changeslist-watchedseen div.mw-rcfilters-ui-highlights-color-none {
.suggestions {
background: var(--ooui--border-color-light);
box-shadow: var(--box-shadow-high);
border: 1px solid var(--color-contrast);
border-radius: 0 0 0.3em 0.3em;
background: var(--theme-bg-dark);
border: 1px solid var(--ooui--border);
border-top: 2px solid var(--color-contrast);
padding-top: 4px;
}
}


.suggestions .suggestions-results, /* Блок страниц */
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
.suggestions .suggestions-special  /* Блок поиска страниц, содержащих введённый текст */ {
background: var(--color-contrast2);
border-radius: 0.4em;
border-color: var(--color-contrast2);
margin: 0.5em;
background: var(--ooui--bg);
border: 1px outset rgb(0 0 0 / 20%);
}
}


/* Страницы */
.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button:hover {
.suggestions .suggestions-result {
border-color: var(--color-contrast);
color: white;
margin: 6px;
}
}


/* Если пустой */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
.suggestions .suggestions-results:empty {
background: var(--color-contrast2);
display: none;
border-color: var(--color-contrast);
color: var(--ooui--text-color-light);
}
}


.suggestions-special .special-label {
.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover {
color: lightgray;
background: var(--color-contrast2);
border-color: var(--color-contrast);
color: var(--ooui--text-color-light);
}
}


.suggestions-special .special-query {
.tdg-templateDataParamWidget-param-description {
color: white;
color: var(--ooui--text-color-dark);
}
}


/* Подсветка при наведении */
.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:hover, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active {
.suggestions .suggestions-result-current {
background: var(--color-contrast2);
background-color: var(--color-contrast2);
border-color: var(--color-contrast);
outline: 1px solid var(--color-contrast);
border-radius: var(--border-radius-low);
border-color: var(--color-contrast2);
}
}


/* Общие стили */
.mw-revslider-container {
.suggestions .suggestions-result,
border-color: var(--ooui--border-color-light);
.suggestions .suggestions-special {
padding: 0.5em 0.5em 0.35em;
}
}


.mw-rcfilters-ui-menuSelectWidget-footer {
.mw-revslider-slider-wrapper {
border-color: var(--ooui--border);
border-color: var(--ooui--border-color-light);
background: var(--ooui--bg);
}
}


.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
color: lightgrey;
background: var(--ooui--bg-color);
border-color: var(--ooui--border-color-light);
color: var(--ooui--text-color-light);
}
}


.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
.oo-ui-tagMultiselectWidget-handle .oo-ui-tagMultiselectWidget-group > input {
background: transparent;
color: var(--ooui--text-color-light);
}
}


.mw-rcfilters-ui-itemMenuOptionWidget .mw-rcfilters-ui-table {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
font-size: 0.9em;
background: var(--color-contrast2);
}
}


.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget.oo-ui-textInputWidget > .oo-ui-inputWidget-input, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-dropdownWidget-handle, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-tagMultiselectWidget-handle {
.oo-ui-processDialog-content > .oo-ui-window-head, .oo-ui-processDialog-content > .oo-ui-window-foot {
margin: 0;
outline-color: var(--ooui--border-color);
background: var(--ooui--bg-color);
}
}


.oo-ui-layout.oo-ui-fieldLayout.oo-ui-fieldLayout-align-top.oo-ui-actionFieldLayout {
.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup > .oo-ui-window-frame {
margin: 0.5em 0;
background: transparent;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled {
background-color: var(--color-contrast2);
background: transparent;
border-color: var(--color-contrast);
color: white;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) {
.mw-templateData-template-map-list-menu-panel {
opacity: 0.87;
border-color: var(--ooui--border-color);
}
}


.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted {
background: var(--ooui--bg-dark);
background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m));
border-color: var(--ooui--border-light);
color: var(--ooui--text-color-light);
color: lightgray;
border-radius: 0.3em;
}
}


.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
.oo-ui-searchWidget-query {
box-shadow: none;
border-color: var(--ooui--border-color-lighter);
}
}


.mw-widget-dateInputWidget-calendar {
.mw-templateData-template-add-map-button-panel.oo-ui-layout.oo-ui-panelLayout.oo-ui-panelLayout-padded.oo-ui-panelLayout-expanded.tdg-templateDataDialog-addNewMapButtonPanel {
border-color: var(--ooui--border);
display: flex;
background: var(--ooui--gradient);
align-items: center;
}
}


.mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover {
.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget .oo-ui-buttonElement-button {
border-color: var(--ooui--border-light);
border-radius: 0;
}
}


.oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button {
.mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-ui-highlights > div {
background: var(--bg-contrast--hover);  
margin-right: 8px;
}
}


.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button {
.oo-ui-popupWidget-popup {
border-radius: var(--border-radius-low);
background: var(--ooui--bg-color-light);
border-color: var(--ooui--border-color-light);
color: lightgray;
}
}


.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
.oo-ui-menuSelectWidget {
font-weight: bold;
border-color: var(--ooui--border-color);
background: var(--ooui--gradient);
box-shadow: var(--box-shadow);
}
}


.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover {
.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
background-color: var(--color-contrast2);
background: var(--ooui--border-color);
border: 1px solid var(--color-contrast);
color: white;
}
}


.tool-button:hover, .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover {
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
background: var(--bg-contrast--hover);  
background: var(--ooui--bg-color--hover);
transition: all 0.01s;
outline: 1px solid var(--ooui--border-color);
}
}


.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
display: flex;
background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m)) !important;
align-items: center;
}
}


.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
color: lightgrey;
border-color: var(--ooui--border-color);
color: var(--ooui--text-color);
transition: all 0.01s;
cursor: pointer;
}
}


.mw-widget-calendarWidget-day-heading {
.mw-rcfilters-ui-itemMenuOptionWidget-label-title {
color: lightgray;
color: var(--ooui--text-color);
cursor: pointer;
}
}


.mw-widget-calendarWidget-day {
.mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
color: lightgray;
color: var(--ooui--text-color-dark);
cursor: pointer;
}
}


.mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label {
/*==========
color: lightgrey;
  Страница
}
==========*/


.mw-editform #wpTextbox1, textarea {
/* Заголовок */
background: #1b1b1f;
.mw-body h1.firstHeading {
border: none;
border-width: 3px;
color: lightgray;
}
}


.group.group-search {
/* Содержание */
.mw-body {
background: var(--theme-bg-color-100);
color: var(--theme-text-color);
padding: 12px 14px;
border-radius: var(--border-radius-low);
box-shadow: var(--box-shadow-outline);
border: none;
border: none;
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
}
}


.editOptions,.mw-editform .editOptions {
@media screen and (max-width: 850px) {
background: var(--theme-bg);
.mw-body {
border: 1px solid var(--ooui--border-light);
padding: 6px;
border-top: none;
}
color: white;
}
}


.oo-ui-tagMultiselectWidget-input.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-iconElement.oo-ui-textInputWidget.oo-ui-textInputWidget-type-text {
/* Категории */
background: var(--ooui--border);
#content-bottom-stuff .catlinks {
margin-top: 6px;
border-radius: var(--border-radius-low);
border: none;
box-shadow: var(--box-shadow-outline);
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
}
}


.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
/*==========
color: lightgrey;
  Заглавный поисковик
==========*/
 
/* Выдвижной блок */
.suggestions {
box-shadow: var(--box-shadow-high);
border-radius: 0 0 0.3em 0.3em;
background: var(--theme-bg-color-50);
border: 1px solid var(--ooui--border-color);
border-top: 2px solid var(--color-contrast);
padding-top: 4px;
}
}


.mw-rcfilters-ui-filterMenuHeaderWidget-header-highlight {
.suggestions .suggestions-results, /* Блок страниц */
padding-right: 0.3em;
.suggestions .suggestions-special  /* Блок поиска страниц, содержащих введённый текст */ {
padding-left: 0.3em;
border-radius: 0.4em;
margin: 0.5em;
background: var(--ooui--bg-color);
border: 1px outset rgb(0 0 0 / 20%);
}
}


.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
/* Страницы */
border-color: var(--ooui--border);
.suggestions .suggestions-result {
padding: 0;
color: var(--ooui--text-color-light);
margin: 6px;
}
}


.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
/* Если пустой */
min-height: 2.5em;
.suggestions .suggestions-results:empty {
display: none;
}
}


.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
.suggestions-special .special-label {
color: var(--theme-color-text-dark);
color: lightgray;
}
}


.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
.suggestions-special .special-query {
background: var(--ooui--bg);
color: var(--ooui--text-color-light);
border-color: var(--ooui--border);
}
}


.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
/* Подсветка при наведении */
border-color: var(--ooui--border);
.suggestions .suggestions-result-current {
display: flex;
background: var(--color-contrast2);
align-items: center;
outline: 1px solid var(--color-contrast);
padding: 0;
border-radius: var(--border-radius-low);
gap: 2px;
border-color: var(--color-contrast2);
}
}


.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
/* Общие стили */
background: var(--ooui--bg);
.suggestions .suggestions-result,
border-color: var(--ooui--border);
.suggestions .suggestions-special {
border-radius: 0.4em 0.4em 0 0;
padding: 0.5em 0.5em 0.35em;
}
}


@media screen {
.mw-rcfilters-ui-menuSelectWidget-footer {
.mw-body-content .recipeimg a>img {
border-color: var(--ooui--border-color);
padding: 0;
background: var(--ooui--bg-color);
margin: 0;
border: 0;
width: 32px !important;
max-width: 32px !important;
height: 32px !important;
max-height: 32px !important
}
}
}


.positive {
.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
color: #00FF00;
color: var(--ooui--text-color);
font-weight: bold
}
}


.negative {
.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
color: #FF0000;
background: transparent;
font-weight: bold
}
}


.anglerect {
.mw-rcfilters-ui-itemMenuOptionWidget .mw-rcfilters-ui-table {
--angle-rect-clip-size: 16px;
font-size: 0.9em;
clip-path: polygon(0 0,calc(100% - var(--angle-rect-clip-size)) 0,100% var(--angle-rect-clip-size),100% 100%,var(--angle-rect-clip-size) 100%,0 calc(100% - var(--angle-rect-clip-size)))
}
}


.flex {
.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget.oo-ui-textInputWidget > .oo-ui-inputWidget-input, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-dropdownWidget-handle, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-tagMultiselectWidget-handle {
display: flex
margin: 0;
}
}


.mw-body dd {
.oo-ui-layout.oo-ui-fieldLayout.oo-ui-fieldLayout-align-top.oo-ui-actionFieldLayout {
margin: 0.2em;
margin: 0.5em 0;
margin-left: 1.6em
}
}


/* Стили для блока */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
.tabs-tabbox, .tabs-togglebox {
background: var(--color-contrast2);
display: flow-root;
border-color: var(--color-contrast);
color: var(--ooui--text-color-light);
}
}


/* Общие стили для вкладок */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) {
.tabs-label {
opacity: 0.87;
cursor: pointer;
padding: 1px 6px;
background: transparent;
border: 1px solid black;
}
}


.tabs-label:hover {
.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
z-index: 2;
box-shadow: none;
background: #ddddff0d !important;
transition: all 0.1s;
}
}


/* Стили для активных вкладок */
.mw-widget-dateInputWidget-calendar {
.tabs-tabbox > .tabs-input:checked + .tabs-label,
border-color: var(--ooui--border-color);
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
background: var(--ooui--gradient);
background: #ddddff0d;
border-top: 1px solid rgb(255 255 255 / 15%);
border-bottom: 1px solid var(--color-contrast);
z-index: 2;
}
}


/* Стили для структуры вкладок */
.mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover {
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label {
border-color: var(--ooui--border-color-light);
margin: 0;
}
}


.tabs-tabbox > .tabs-label {
.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button {
margin: 0;
border-radius: var(--border-radius-low);
vertical-align: baseline;
border-radius: 0;
background: transparent;
border: 1px solid rgb(0 0 0 / 50%);
border-top: 1px solid rgb(255 255 255 / 10%);
}
}


/* Стили для контейнера вкладок */
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
.tabs-tabbox > .tabs-container {
font-weight: bold;
padding: 14px 10px;
background: #ddddff0d;
border-radius: 0;
border: 1px solid rgb(0 0 0 / 50%);
}
}


/* Класс для уменьшения яркости фона tabs */
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover {
.tabs-no-background > .tabs-container {
background: var(--color-contrast2);
background: #ddddff06;
color: var(--ooui--text-color-light);
}
}


.tooltip {
.tool-button:hover, .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover {
position: relative;
background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m));  
display: inline;
transition: all 0.01s;
}
}


.tooltiptext {
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
position: absolute;
display: flex;
min-width: 240px;
align-items: center;
max-width: 100%;
left: -240px;
right: -240px;
top: 125%;
margin-left: auto;
margin-right: auto;
z-index: 99;
padding: 22px;
pointer-events: none;
visibility: hidden;
transition: all 0.05s;
border: 1px solid var(--color-contrast);
border-radius: 1.4rem;
background-color: var(--ooui--bg);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
}


.tooltip:hover>.tooltiptext {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
visibility: visible;
color: var(--ooui--text-color);
opacity: 1;
}
}


@media screen and (min-width: 851px) {
.mw-widget-calendarWidget-day-heading {
.mobile {
color: lightgray;
display:none
}
}


.headder {
.mw-widget-calendarWidget-day {
width: 25%;
color: lightgray;
float: right;
}
margin-left: 1em
}


.stiky {
.mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label {
position: sticky;
color: var(--ooui--text-color);
top: 0.1em
}
}
}


@media screen and (max-width: 850px) {
.mw-editform #wpTextbox1, textarea {
.nomobile {
background: var(--theme-bg-color-base);
display:none
border: none;
}
color: lightgray;
}


.headder {
.group.group-search {
width: 100%;
border: none;
margin-left: 0
}
}


.tooltip {
.editOptions,.mw-editform .editOptions {
position: static
background: var(--theme-bg-color-100);
}
border: 1px solid var(--ooui--border-color-light);
 
border-top: none;
.tooltiptext {
color: var(--ooui--text-color-light);
box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
position: fixed!important;
width: 80vw !important;
top: 40vh !important;
left: 0 !important;
margin: 0 auto !important;
right: 0!important;
}
/*
.mobilefont {
font-size: 80%
}
*/
.mobile-image img {
width: 32px;
height: 32px;
}
}
}


.mw-mmv-above-fold,.mw-mmv-dialog,.mw-mmv-image-links li,.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,.mw-mmv-options-dialog-header,.mw-mmv-options-text-header {
.oo-ui-tagMultiselectWidget-input.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-iconElement.oo-ui-textInputWidget.oo-ui-textInputWidget-type-text {
color: #e0e0e0
background: var(--ooui--border-color);
}
}


.mw-mmv-above-fold {
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
background: #222;
color: var(--ooui--text-color);
border-top: 1px solid #333
}
}


.mw-mmv-image-metadata {
.mw-rcfilters-ui-filterMenuHeaderWidget-header-highlight {
background-color: #111;
padding-right: 0.3em;
border-color: #333
padding-left: 0.3em;
}
}


.mw-mmv-dialog {
.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
border: 1px solid #333;
border-color: var(--ooui--border-color);
background: #222;
padding: 0;
box-shadow: none
}
}


.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
background: #222;
min-height: 2.5em;
border-bottom: 1px solid #333;
border-right: 1px solid #333
}
}


.mw-mmv-options-enable-alert {
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
background: #333;
color: var(--ooui--text-color-dark);
color: #e0e0e0
}
}


.mw-mmv-filepage-buttons .mw-ui-button {
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
background: var(--color-contrast);
background: var(--ooui--bg-color);
color: #e0e0e0;
border-color: var(--ooui--border-color);
border-color: #1d4699
}
}


.mw-default-size {
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
background-color: #21212600 !important;
border-color: var(--ooui--border-color);
border-color: black !important
display: flex;
align-items: center;
padding: 0;
gap: 2px;
}
}


.mw-default-size img {
.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
border-color: black !important
background: var(--ooui--bg-color);
border-color: var(--ooui--border-color);
border-radius: 0.4em 0.4em 0 0;
}
}


.mw-default-size figcaption {
@media screen {
background-color: #21212600 !important;
.mw-body-content .recipeimg a > img {
border-color: black !important
padding: 0;
margin: 0;
border: 0;
width: 32px !important;
max-width: 32px !important;
height: 32px !important;
max-height: 32px !important
}
}
}


.mw-halign-right {
.positive {
background-color: #27272d00 !important;
color: #00FF00;
border-color: black !important
font-weight: bold
}
}


.mw-halign-right img {
.negative {
border-color: black !important
color: #FF0000;
font-weight: bold
}
}


.mw-halign-right figcaption {
.anglerect {
background-color: #27272d00 !important;
--angle-rect-clip-size: 16px;
border-color: black !important
clip-path: polygon(0 0,calc(100% - var(--angle-rect-clip-size)) 0,100% var(--angle-rect-clip-size),100% 100%,var(--angle-rect-clip-size) 100%,0 calc(100% - var(--angle-rect-clip-size)))
}
}


.mw-halign-left {
.flex {
background-color: #27272d00 !important;
display: flex
border-color: black !important
}
}


.mw-halign-left img {
.mw-body dd {
border-color: black !important
margin: 0.2em;
margin-left: 1.6em
}
}


.mw-halign-left figcaption {
/* Стили для блока */
background-color: #27272d00 !important;
.tabs-tabbox, .tabs-togglebox {
border-color: black !important
display: flow-root;
}
}


.mw-halign-center {
/* Стили для активных вкладок */
background-color: #27272d00 !important;
.tabs-tabbox > .tabs-input:checked + .tabs-label,
border-color: black !important
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
background: var(--theme-bg-color-250);
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-xs));
border-bottom: 1px solid var(--color-contrast);
z-index: 2;
}
}


.mw-halign-center img {
/* Стили для стили для вкладок */
border-color: black !important
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label {
margin: 0;
}
}


.mw-halign-center figcaption {
.tabs-tabbox > .tabs-label {
background-color: #27272d00 !important;
cursor: pointer;
border-color: black !important
padding: 1px 6px;
margin: 0;
vertical-align: baseline;
border-radius: 0;
background: transparent;
border: 1px solid rgba(var(--color-darkened--rgb), var(--alpha-m));
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-xs));
}
}


.reference {
.tabs-tabbox > .tabs-label:hover {
background-color: #27272d00;
z-index: 2;
background: var(--theme-bg-color-250);
transition: all 0.1s;
}
}


ol.references li:target,sup.reference:target {
/* Стили для контейнера вкладок */
background-color: #ffffff0f;
.tabs-tabbox > .tabs-container {
padding: 0px 1px 3px 1px;
padding: 14px 10px;
background: var(--theme-bg-color-250);
border: 1px solid rgba(var(--color-darkened--rgb), var(--alpha-m));
border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
border-radius: var(--border-radius-low);
}
}


.oo-ui-textInputWidget .oo-ui-inputWidget-input {
/* Класс для уменьшения яркости фона tabs */
background-color: var(--ooui--bg);
.tabs-no-background > .tabs-container {
border-color: var(--ooui--border-light);
background: rgba(var(--theme-color-lighter--rgb), 0.02);
color: white;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
.tooltip {
background-color: var(--color-contrast2);
position: relative;
border-color: var(--color-contrast2);
display: inline;
}
}


.oo-ui-messageDialog-message {
.tooltiptext {
color: lightgray;
position: absolute;
}
min-width: 240px;
 
max-width: 100%;
.oo-ui-messageDialog-content > .oo-ui-window-foot {
left: -240px;
outline-color: var(--ooui--border);
right: -240px;
}
top: 125%;
 
margin-left: auto;
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
margin-right: auto;
border-color: var(--ooui--border);
z-index: 99;
padding: 22px;
pointer-events: none;
visibility: hidden;
transition: all 0.05s;
border: 1px solid var(--color-contrast);
border-radius: 1.4rem;
background: var(--ooui--bg-color);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
}


.oo-ui-windowManager-modal > .oo-ui-dialog {
.tooltip:hover>.tooltiptext {
background-color: rgba(0, 0, 0, var(--alpha-m));
visibility: visible;
opacity: 1;
}
}


.oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame {
@media screen and (min-width: 851px) {
border-color: var(--ooui--border-light);
.mobile {
background: var(--ooui--bg);
display:none
}
}


.oo-ui-textInputWidget.oo-ui-widget-enabled:hover {
.headder {
z-index: 1;
width: 25%;
}
float: right;
margin-left: 1em
}


.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
.stiky {
border-color: var(--ooui--border-lighter);
position: sticky;
top: 0.1em
}
}
}


.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover {
@media screen and (max-width: 850px) {
background-color: var(--bg-contrast--hover);
.nomobile {
}
display: none !important;
}


.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select {
.headder {
background-color: var(--ooui--bg);
width: 100%;
border-color: var(--ooui--border);
margin-left: 0;
color: lightgray;
}
}


.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover {
.tooltip {
border-color: var(--ooui--border-light);
position: static;
color: lightgray;
}
}


.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active {
.tooltiptext {
color: lightgray;
box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
position: fixed!important;
width: 80vw !important;
top: 40vh !important;
left: 0 !important;
margin: 0 auto !important;
right: 0!important;
}
/*
.mobilefont {
font-size: 80%
}
*/
.mobile-image img {
width: 32px;
height: 32px;
}
}
}


form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active {
.mw-mmv-above-fold,.mw-mmv-dialog,.mw-mmv-image-links li,.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,.mw-mmv-options-dialog-header,.mw-mmv-options-text-header {
background-color: var(--color-contrast2);
color: #e0e0e0
border-color: var(--color-contrast);
color: white;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
.mw-mmv-above-fold {
background: var(--ooui--bg);
background: #222;
border-color: var(--ooui--border-light);
border-top: 1px solid #333
color: lightgray;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
.mw-mmv-image-metadata {
background-color: var(--color-contrast2);
background: #111;
border-color: var(--color-contrast2);
border-color: #333
color: white;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
.mw-mmv-dialog {
background-color: var(--color-contrast2);
border: 1px solid #333;
border-color: var(--color-contrast);
background: #222;
box-shadow: none
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
box-shadow: inset var(--box-shadow-medium);
background: #222;
border-bottom: 1px solid #333;
border-right: 1px solid #333
}
}


.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
.mw-mmv-options-enable-alert {
background-color: var(--ooui--bg);
background: #333;
border-color: var(--ooui--border);
color: #e0e0e0
color: lightgray;
}
}


.oo-ui-comboBoxInputWidget-field {
.mw-mmv-filepage-buttons .mw-ui-button {
display: flex;
background: var(--color-contrast);
align-items: center;
color: #e0e0e0;
border-color: #1d4699
}
}


.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
.mw-default-size {
border-color: var(--ooui--border-lighter);
background: #21212600 !important;
background-color: var(--ooui--bg);
border-color: black !important
color: lightgray;
}
}


.mw-widget-dateInputWidget-handle {
.mw-default-size img {
background-color: var(--ooui--bg);
border-color: black !important
border-color: var(--ooui--border);
color: white !important;
}
}


.mw-search-profile-tabs {
.mw-default-size figcaption {
background-color: var(--ooui--bg) !important;
background: #21212600 !important;
border: var(--ooui--border) !important;
border-color: black !important
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
.mw-halign-right {
background: var(--color-contrast2);
background: #27272d00 !important;
border-color: var(--color-contrast2);
border-color: black !important
color: white;
}
}


form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'] {
.mw-halign-right img {
background: var(--color-contrast2);
border-color: black !important
border-color: var(--color-contrast2);
color: white;
}
}


#wpDestFile {
.mw-halign-right figcaption {
background: var(--ooui--bg);
background: #27272d00 !important;
border-color: var(--ooui--border-light);
border-color: black !important
color: white;
}
}


#wpUploadDescription {
.mw-halign-left {
background: var(--ooui--bg);
background: #27272d00 !important;
border-color: var(--ooui--border-light);
border-color: black !important
color: white;
}
}


.oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget-handle, button, select {
.mw-halign-left img {
background: var(--ooui--bg);
border-color: black !important
border-color: var(--ooui--border-light);
color: lightgray;
}
}


.mw-widgets-datetime-calendarWidget {
.mw-halign-left figcaption {
background: var(--ooui--gradient);
background: #27272d00 !important;
border-color: var(--ooui--border-light);
border-color: black !important
}
}


.mw-widgets-datetime-dateTimeInputWidget-handle {
.mw-halign-center {
background-color: var(--ooui--bg);
background: #27272d00 !important;
border-color: var(--ooui--border-light);
border-color: black !important
border-radius: var(--border-radius-low);
color: white;
}
}


.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-handle:hover {
.mw-halign-center img {
border-color: var(--ooui--border-lighter);
border-color: black !important
}
}


.mw-rcfilters-ui-savedLinksListWidget-placeholder.oo-ui-optionWidget .oo-ui-labelElement-label {
.mw-halign-center figcaption {
color: lightgray;
background: #27272d00 !important;
border-color: black !important
}
}


.mw-rcfilters-ui-savedLinksListWidget-placeholder-description {
.reference {
color: var(--theme-color-text-dark);
background: #27272d00;
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus {
ol.references li:target,sup.reference:target {
box-shadow: inset var(--box-shadow-medium);
background: #ffffff0f;
padding: 0px 1px 3px 1px;
}
}


.search-types .current a {
.oo-ui-textInputWidget .oo-ui-inputWidget-input {
color: #d3d3d3 !important;
background: var(--ooui--bg-color);
cursor: default !important
border-color: var(--ooui--border-color-light);
color: var(--ooui--text-color-light);
}
}


.mw-message-box {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
color: var(--theme-color-text);
background: var(--color-contrast2);
border-color: var(--color-contrast2);
}
}


.mw-message-box-error {
.oo-ui-messageDialog-message {
background-color: var(--ooui--bg-error);
border-color: var(--ooui--border-error);
color: lightgray;
color: lightgray;
}
}


.cdx-message--error {
.oo-ui-messageDialog-content > .oo-ui-window-foot {
background-color: var(--ooui--bg-error);
outline-color: var(--ooui--border-color);
border-color: var(--ooui--border-error);
}
color: lightgray;
 
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-color: var(--ooui--border-color);
}
}


div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning {
.oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame {
background-color: var(--ooui--bg-error);
border-color: var(--ooui--border-color-light);
border-color: var(--ooui--border-error);
background: var(--ooui--bg-color);
}
}


.mw-message-box-warning {
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover {
background-color: var(--ooui--bg-warning);
z-index: 1;
border-color: var(--ooui--border-warning);
color: lightgray;
}
}


.cdx-message--warning {
.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
background-color: var(--ooui--bg-warning);
border-color: var(--ooui--border-color-lighter);
border-color: var(--ooui--border-warning);
color: lightgray;
}
}


.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover {
background-color: var(--ooui--bg-message);
background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m));
border-color: var(--ooui--border-message);
}
}


#mw-header-nav-hack {
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select {
border-top: solid 2px var(--theme-bg) !important;
background: var(--ooui--bg-color);
display: block;
border-color: var(--ooui--border-color);
position: absolute;
color: lightgray;
z-index: 98;
background: var(--theme-bg) !important;
width: 100%
}
}


.ui-widget-overlay {
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover {
background: #000000 !important;
border-color: var(--ooui--border-color-light);
opacity: .3 !important
color: lightgray;
}
}


.ui-widget-content {
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active {
border: 1px solid #4a4a57 !important;
color: lightgray;
background: var(--theme-bg) !important;
color: #e0e0e0 !important
}
}


.ui-widget-header {
form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active {
border: 1px solid #4a4a57 !important;
background: var(--color-contrast2);
background: var(--theme-bg) !important;
border-color: var(--color-contrast);
color: #e0e0e0 !important;
color: var(--ooui--text-color-light);
font-weight: bold !important
}
}


#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
width: 100% !important;
background: var(--ooui--bg-color);
background-color: var(--ooui--bg) !important;
border-color: var(--ooui--border-color-light);
color: #e0e0e0 !important
color: lightgray;
}
}


.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
box-sizing: border-box !important;
background: var(--color-contrast2);
background-color: var(--ooui--bg) !important;
border-color: var(--color-contrast2);
color: #e0e0e0 !important
color: var(--ooui--text-color-light);
}
}


.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
font-family: Verdana,Arial,sans-serif !important;
background: var(--color-contrast2);
font-size: 1em !important;
border-color: var(--color-contrast);
background-color: var(--ooui--bg) !important;
color: #e0e0e0 !important
}
}


.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
border: 1px solid #4a4a57 !important;
box-shadow: inset var(--box-shadow-medium);
background: var(--ooui--bg) !important;
}
font-weight: normal !important;
 
color: #e0e0e0 !important
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
background: var(--ooui--bg-color);
border-color: var(--ooui--border-color);
color: lightgray;
}
}


.ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
.oo-ui-comboBoxInputWidget-field {
border: 1px solid #4a4a57 !important;
display: flex;
background: #4c4c59 !important;
align-items: center;
font-weight: normal !important;
color: #e0e0e0 !important
}
}


body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
right: 0.9em !important;
border-color: var(--ooui--border-color-lighter);
background: #4c4c59 !important
background: var(--ooui--bg-color);
color: lightgray;
}
}


.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
.mw-widget-dateInputWidget-handle {
padding: 0 !important;
background: var(--ooui--bg-color);
background: #6c6c80 !important
border-color: var(--ooui--border-color);
color: var(--ooui--text-color-light) !important;
}
}


.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
.mw-search-profile-tabs {
font-family: monospace,monospace !important;
background: var(--ooui--bg-color) !important;
background-color: #1b1b1f !important;
border: var(--ooui--border-color) !important;
border-color: #1b1b1f !important;
color: white !important
}
}


.diff-deletedline .diffchange {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
background: #4c3c16 !important
background: var(--color-contrast2);
border-color: var(--color-contrast2);
color: var(--ooui--text-color-light);
}
}


.diff-addedline .diffchange {
form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'] {
background: #16324d !important
background: var(--color-contrast2);
border-color: var(--color-contrast2);
color: var(--ooui--text-color-light);
}
}


.mw-json th,.mw-json td {
#wpDestFile {
border: 1px solid #000000;
background: var(--ooui--bg-color);
font-size: 16px;
border-color: var(--ooui--border-color-light);
padding: 0.5em 1em
color: var(--ooui--text-color-light);
}
}


.mw-json tr {
#wpUploadDescription {
background-color: var(--theme-bg);
background: var(--ooui--bg-color);
margin-bottom: 0.5em
border-color: var(--ooui--border-color-light);
color: var(--ooui--text-color-light);
}
}


.mw-json th {
.oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget-handle, button, select {
background-color: #303037;
background: var(--ooui--bg-color);
font-weight: normal;
border-color: var(--ooui--border-color-light);
vertical-align: top;
color: lightgray;
color: #d3d3d3
}
}


.mw-json th span {
.mw-widgets-datetime-calendarWidget {
-webkit-position: sticky;
background: var(--ooui--gradient);
position: sticky;
border-color: var(--ooui--border-color-light);
top: 0.5em
}
}


.mw-json-value,.mw-json-single-value {
.mw-widgets-datetime-dateTimeInputWidget-handle {
background-color: #1b5929;
background: var(--ooui--bg-color);
font-family: monospace,monospace;
border-color: var(--ooui--border-color-light);
white-space: pre-wrap;
border-radius: var(--border-radius-low);
color: #d3d3d3
color: var(--ooui--text-color-light);
}
}


.mw-json-empty {
.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-handle:hover {
background-color: #1b5929;
border-color: var(--ooui--border-color-lighter);
font-style: italic;
color: #d3d3d3
}
}


.hover_img_special {
.mw-rcfilters-ui-savedLinksListWidget-placeholder.oo-ui-optionWidget .oo-ui-labelElement-label {
top: 0;
color: lightgray;
left: 0;
display: none
}
}


.img_special:hover .hover_img_special {
.mw-rcfilters-ui-savedLinksListWidget-placeholder-description {
display: inline
color: var(--ooui--text-color-dark);
}
}


.img_special:hover .img_spec {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus {
display: none
box-shadow: inset var(--box-shadow-medium);
}
}


.ace-tm .ace_gutter {
.search-types .current a {
background: var(--theme-bg);
color: #d3d3d3 !important;
color: var(--theme-color-text-dark);
cursor: default !important
}
}


.ace-tm .ace_print-margin {
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning {
width: 1px;
background: var(--bg-color-error);
background-color: #1b1b1f
border-color: var(--border-color-error);
}
}


.ace_mobile-menu {
#mw-header-nav-hack {
color: lightgray;
border-top: solid 2px var(--theme-bg-color-100) !important;
background: var(--ooui--bg);
display: block;
border-color: var(--ooui--border-light);
position: absolute;
box-shadow: var(--box-shadow-medium);
z-index: 98;
background: var(--theme-bg-color-100) !important;
width: 100%
}
}


.ace-tm {
.ui-widget-overlay {
background-color: #1b1b1f;
background: #000000 !important;
color: lightgrey
opacity: .3 !important
}
}


.ace-tm .ace_cursor {
.ui-widget-content {
color: white
border: 1px solid #4a4a57 !important;
background: var(--theme-bg-color-100) !important;
color: #e0e0e0 !important
}
}


.ace-tm .ace_storage,.ace-tm .ace_keyword {
.ui-widget-header {
color: rgb(153,153,255)
border: 1px solid #4a4a57 !important;
background: var(--theme-bg-color-100) !important;
color: #e0e0e0 !important;
font-weight: bold !important
}
}


.ace-tm .ace_constant.ace_numeric {
#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
color: rgb(153,153,205)
width: 100% !important;
background: var(--ooui--bg-color) !important;
color: #e0e0e0 !important
}
}


.ace-tm .ace_constant {
.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
color: rgb(241,89,92)
box-sizing: border-box !important;
background: var(--ooui--bg-color) !important;
color: #e0e0e0 !important
}
}


.ace-tm .ace_support.ace_function {
.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
color: rgb(68,118,235)
font-family: Verdana,Arial,sans-serif !important;
font-size: 1em !important;
background: var(--ooui--bg-color) !important;
color: #e0e0e0 !important
}
}


.ace-tm .ace_support.ace_constant {
.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
color: rgb(23,202,33)
border: 1px solid #4a4a57 !important;
background: var(--ooui--bg-color) !important;
font-weight: normal !important;
color: #e0e0e0 !important
}
}


.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
.ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
color: rgb(182,187,236)
border: 1px solid #4a4a57 !important;
}
background: #4c4c59 !important;
font-weight: normal !important;
color: #e0e0e0 !important
}


.ace-tm .ace_string {
body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
color: rgb(6,142,13)
right: 0.9em !important;
background: #4c4c59 !important
}
}


.ace-tm .ace_comment {
.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
color: rgb(103,193,150)
padding: 0 !important;
background: #6c6c80 !important
}
}


.ace-tm .ace_constant.ace_numeric {
.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
color: rgb(153,153,255)
font-family: monospace,monospace !important;
background: var(--theme-bg-color-base) !important;
border-color: var(--theme-bg-color-base) !important;
color: var(--ooui--text-color-light) !important
}
}


.ace-tm .ace_marker-layer .ace_selection {
.diff-deletedline .diffchange {
background: rgb(28,45,68)
background: #4c3c16 !important
}
}


.ace-tm .ace_marker-layer .ace_bracket {
.diff-addedline .diffchange {
margin: -1px 0 0 -1px;
background: #16324d !important
border: 1px solid rgb(94,94,94)
}
}


.ace-tm .ace_marker-layer .ace_active-line {
.mw-json th,.mw-json td {
background: rgb(153,153,183,7%)
border: 1px solid #000000;
font-size: 16px;
padding: 0.5em 1em
}
}


.ace-tm .ace_gutter-active-line {
.mw-json tr {
background-color: rgb(44,44,51)
background: var(--theme-bg-color-100);
margin-bottom: 0.5em
}
}


.ace-tm .ace_marker-layer .ace_selected-word {
.mw-json th {
background: rgb(37,59,89);
background: #303037;
border: 1px solid rgb(36,36,42)
font-weight: normal;
vertical-align: top;
color: #d3d3d3
}
}


.codeEditor-status {
.mw-json th span {
clear: both;
-webkit-position: sticky;
width: 100%;
position: sticky;
background-color: var(--theme-bg);
top: 0.5em
border-top: 1px solid #40404b;
display: table
}
}


.codeEditor-status-message {
.mw-json-value,.mw-json-single-value {
border-left: 1px solid #40404b;
background: #1b5929;
border-right: 1px solid #40404b;
font-family: monospace,monospace;
padding: 0 0.3em;
white-space: pre-wrap;
width: 100%;
color: #d3d3d3
display: table-cell
}
}


::-webkit-scrollbar {
.mw-json-empty {
background-color: #424242
background: #1b5929;
font-style: italic;
color: #d3d3d3
}
}


::-webkit-scrollbar-thumb {
.hover_img_special {
background-color: #686868;
top: 0;
border: 2px solid #424242;
left: 0;
border-radius: 0.2em;
display: none
}
}


::-webkit-scrollbar-thumb:hover {
.img_special:hover .hover_img_special {
background-color: #7b7b7b
display: inline
}
}


::-webkit-scrollbar-thumb:active {
.img_special:hover .img_spec {
background-color: #a1a1a1
display: none
}
}


@media (hover: none) and (pointer: coarse) {
.ace-tm .ace_gutter {
::-webkit-scrollbar {
background: var(--theme-bg-color-100);
all: unset;
color: var(--ooui--text-color-dark);
width: 0;
height: 0;
}
 
::-webkit-scrollbar-thumb {
all: unset;
}
}
}


.overflowed {
.ace-tm .ace_print-margin {
margin: 0;
width: 1px;
background: var(--theme-bg-color-base)
}
}


.scroll-left.overflowed .content-table-left,
.ace_mobile-menu {
.scroll-right.overflowed .content-table-right {
color: lightgray;
border-left: solid 1px rgba(var(--color-lighter--rgb), 0.4);
background: var(--ooui--bg-color);
z-index: 9999;
border-color: var(--ooui--border-color-light);
box-shadow: var(--box-shadow-medium);
}
}


.scroll-left.overflowed .content-table-left {
.ace-tm {
box-shadow: 1px 0px 2px 2px rgba(0, 0, 0, 0.2);
background: var(--theme-bg-color-base);
color: var(--ooui--text-color)
}
}


.scroll-right.overflowed .content-table-right {
.ace-tm .ace_cursor {
box-shadow: -1px 0px 2px 2px rgba(0, 0, 0, 0.2);
color: var(--ooui--text-color-light)
}
}


.style-for-sub-numbered-lists ol {
.ace-tm .ace_storage,.ace-tm .ace_keyword {
counter-reset: item
color: rgb(153,153,255)
}
}


.style-for-sub-numbered-lists li {
.ace-tm .ace_constant.ace_numeric {
display: block
color: rgb(153,153,205)
}
}


.style-for-sub-numbered-lists li:before {
.ace-tm .ace_constant {
content: counters(item,".") ". ";
color: rgb(241,89,92)
counter-increment: item
}
}


.section {
.ace-tm .ace_support.ace_function {
display: flex;
color: rgb(68,118,235)
flex-wrap: wrap
}
}


.section .col {
.ace-tm .ace_support.ace_constant {
flex: 1 1 auto
color: rgb(23,202,33)
}
}


.section .line-break {
.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
flex-basis: 100%;
color: rgb(182,187,236)
width: 0px;
height: 0px;
overflow: hidden
}
}


.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-body fieldset#mw-searchoptions, .mw_metadata, .mw-datatable {
.ace-tm .ace_string {
color: #d3d3d3;
color: rgb(6,142,13)
background: var(--ooui--gradient);
border: 1px solid var(--ooui--bg);
padding: 12px 10px;
box-shadow: var(--box-shadow-medium);
}
}


.mw-rcfilters-ui-filterMenuHeaderWidget-header {
.ace-tm .ace_comment {
background: var(--ooui--bg);
color: rgb(103,193,150)
border-color: var(--ooui--border-light);
}
}


.mw-footer-container {
.ace-tm .ace_constant.ace_numeric {
border-color: var(--ooui--border-light);
color: rgb(153,153,255)
}
}


.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label {
.ace-tm .ace_marker-layer .ace_selection {
color: lightgray;
background: rgb(28,45,68)
font-weight: bold;
}
}


#mw-search-toggleall {
.ace-tm .ace_marker-layer .ace_bracket {
background-color: var(--ooui--bg);
margin: -1px 0 0 -1px;
border-color: var(--ooui--border);
border: 1px solid rgb(94,94,94)
}
}


#mw-search-togglenone {
.ace-tm .ace_marker-layer .ace_active-line {
background-color: var(--ooui--bg);
background: rgb(153,153,183,7%)
border-color: var(--ooui--border);
}
}


#mw-searchoptions .divider {
.ace-tm .ace_gutter-active-line {
border-color: var(--ooui--border-light);
background: rgb(44,44,51)
}
}


.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
.ace-tm .ace_marker-layer .ace_selected-word {
border:none;
background: rgb(37,59,89);
padding:0.5em;
border: 1px solid rgb(36,36,42)
}
}


.mw-datatable th {
.codeEditor-status {
background: var(--theme-bg)
clear: both;
width: 100%;
background: var(--theme-bg-color-100);
border-top: 1px solid #40404b;
display: table
}
}


.mw-datatable td {
.codeEditor-status-message {
background-color: #303037
border-left: 1px solid #40404b;
}
border-right: 1px solid #40404b;
 
padding: 0 0.3em;
.mw-datatable tr:hover td {
width: 100%;
background-color: #3f3f48
display: table-cell
}
}


.pretoclip-copy-button {
::-webkit-scrollbar {
float: right
background: #313137;
}
}


.mw-scribunto-message {
::-webkit-scrollbar-thumb {
color: var(--se-cm--xml-tag-color);
background: #505057;
border: 3px solid #313137;
border-radius: 0.3em;
}
}


#mw-scribunto-input {
::-webkit-scrollbar-thumb:hover {
width: 100%;
background: #616169;
border: 0;
overflow: auto;
background: var(--ooui--bg);
border: 1px solid var(--ooui--border-light);
font-weight: normal;
color: lightgray;
}
}


.mw-scribunto-input {
::-webkit-scrollbar-thumb:active {
color: #d3d3d3;
background: #72727b;
font: inherit;
font-weight: bold;
margin-top: 0.5em
}
}


.table-flex {
@media (hover: none) and (pointer: coarse) {
display: flex;
::-webkit-scrollbar {
flex-direction: row;
all: unset;
flex-wrap: wrap;
width: 0;
justify-content: space-evenly
height: 0;
}
 
::-webkit-scrollbar-thumb {
all: unset;
}
}
}


.boxes-flex {
.overflowed {
padding: 0;
margin: 0;
margin: 0;
text-align: center
}
}


.role-big-title {
.scroll-left.overflowed .content-table-left,
margin: 0px;
.scroll-right.overflowed .content-table-right {
text-align: center;
border-left: solid 1px rgba(var(--color-lighter--rgb), 0.4);
font-size: 40px;
z-index: 9999;
line-height: 50px;
border-radius: 8px
}
}


.role-block-radius {
.scroll-left.overflowed .content-table-left {
border-radius: 8px
box-shadow: 1px 0px 2px 2px rgba(0, 0, 0, 0.2);
}
}


.role-block-name {
.scroll-right.overflowed .content-table-right {
padding: 2px;
box-shadow: -1px 0px 2px 2px rgba(0, 0, 0, 0.2);
border-radius: .3em;
margin-bottom: .2em;
}
}


.story-text {
.style-for-sub-numbered-lists ol {
text-indent: 19px;
counter-reset: item
text-align: justify
}
}


.story-dialogue {
.style-for-sub-numbered-lists li {
line-height: 1.2
display: block
}
}


.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
.style-for-sub-numbered-lists li:before {
display: block;
content: counters(item,".") ". ";
position: relative;
counter-increment: item
margin: 0px 25%
}
}


.mw-gallery-slideshow .gallerybox.slideshow-current {
.section {
background: #28282e
display: flex;
flex-wrap: wrap
}
}


.gallerytext {
.section .col {
overflow: hidden;
flex: 1 1 auto
font-size: 94%;
}
padding: 2px 4px;
 
word-wrap: break-word;
.section .line-break {
text-align: center
flex-basis: 100%;
width: 0px;
height: 0px;
overflow: hidden
}
}


#content .gallerybox div.thumb {
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-body fieldset#mw-searchoptions, .mw_metadata, .mw-datatable {
background-color: #f8f9fa00
color: #d3d3d3;
background: var(--ooui--gradient);
border: 1px solid var(--ooui--bg-color);
padding: 12px 10px;
box-shadow: var(--box-shadow-medium);
}
}


.mw-body li.gallerybox div.thumb {
.mw-rcfilters-ui-filterMenuHeaderWidget-header {
background: #f8f9fa00;
background: var(--ooui--bg-color);
border: solid #28282e;
border-color: var(--ooui--border-color-light);
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
padding: 0
}
}


.title-no-bottom-border {
.mw-footer-container {
border-bottom: none !important
border-color: var(--ooui--border-color-light);
}
}


.title-top-border {
.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label {
border-top: solid 2px #c8ccd1
color: lightgray;
font-weight: bold;
}
}


@media (min-width: 1340px) {
#mw-search-toggleall {
#mw-content-block {
background: var(--ooui--bg-color);
display:block
border-color: var(--ooui--border-color);
}
}


#mw-content {
#mw-search-togglenone {
margin-left: 14em;
background: var(--ooui--bg-color);
padding: 2em 0 0
border-color: var(--ooui--border-color);
}
}


#mw-content-wrapper {
#mw-searchoptions .divider {
float: right;
border-color: var(--ooui--border-color-light);
margin-left: -14em;
}
background: transparent;
width: 100%
}


.color-middle {
.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
margin-right: 1em !important;
border:none;
}
padding:0.5em;
 
.mw-wiki-logo {
display: inline-block
}
 
#catlinks {
margin-left: 14em
}
}
}


#footer {
.mw-datatable th {
padding-right: 1em
background: var(--theme-bg-color-100)
}
}


.mw-body h1 {
.mw-datatable td {
font-family: 'oswald';
background: #303037
font-size: 2em;
}
}


.mw-body h2 {
.mw-datatable tr:hover td {
font-size: 1.6em;
background: #3f3f48
border-bottom: solid 2px var(--color-contrast);
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
margin-bottom: 0.4em;
margin-top: 1em;
}
}


.mw-body h3 {
.pretoclip-copy-button {
font-size: 1.2em;
float: right
font-weight: bold;
font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
margin-top: 0.5em;
margin-bottom: 0.3em;
padding-bottom: 0;
line-height: 1.6;
padding-top: 0.3em;
}
}


.mw-body h4 {
.mw-scribunto-message {
font-size: 1.05em;
color: var(--se-cm--xml-tag-color);
font-weight: bold;
font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
}
}


.target {
#mw-scribunto-input {
border-bottom: 1px solid darkblue
width: 100%;
border: 0;
overflow: auto;
background: var(--ooui--bg-color);
border: 1px solid var(--ooui--border-color-light);
font-weight: normal;
color: lightgray;
}
}


.target:target {
.mw-scribunto-input {
border-bottom: 2px solid gold;
color: #d3d3d3;
transition: border 0.7s cubic-bezier(0.4,0,0.2,1)
font: inherit;
font-weight: bold;
margin-top: 0.5em
}
}


.backlight:hover {
.table-flex {
box-shadow: 0 0 0.3em gold;
display: flex;
background-color: #00000025;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly
}
}


#main.backlight:hover {
.boxes-flex {
box-shadow: inset 0 0 23em #00000066;
padding: 0;
border-radius: 8px;
margin: 0;
text-align: center
}
}


#strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li {
.role-big-title {
color: #e9e9e9 !important
margin: 0px;
text-align: center;
font-size: 40px;
line-height: 50px;
border-radius: 8px
}
}
/*затемнение для мобилок*/
 
#menus-cover {
.role-block-radius {
background: #000000;
border-radius: 8px
opacity: var(--alpha-s);
}
}
.oo-ui-tagMultiselectWidget-handle, .oo-ui-panelLayout-padded {
 
background: var(--ooui--bg-darkened);
.role-block-name {
border: none;
padding: 2px;
border-radius: var(--border-radius-low);
border-radius: .3em;
margin-bottom: .2em;
}
}
/*Красивые картинки*/
 
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
.story-text {
margin: 0 0 0.5em 0.5em;
text-indent: 19px;
border:1px solid black;
text-align: justify
border-bottom:0;
border-radius:0.9em 0.9em 0 0;
background:#1b1b1f;
}
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
 
border-radius: 0 0 0.9em 0.9em;
.story-dialogue {
border:1px solid black;
line-height: 1.2
border-top:0;
background:#1b1b1f;
padding-bottom:5px;
font-family:oswald;
font-size:1em;
}
}


figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
margin: 5px;
display: block;
border-radius: 0.4em;
position: relative;
margin: 0px 25%
}
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
 
border-collapse:separate;
.mw-gallery-slideshow .gallerybox.slideshow-current {
}
background: #28282e
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
border-bottom: 1px solid var(--color-contrast);
}
}


/*кнопка для главного меню*/
.gallerytext {
.StupidButton {
overflow: hidden;
width: 100%;
font-size: 94%;
height: 100%;
padding: 2px 4px;
position: absolute;
word-wrap: break-word;
top: 0;
text-align: center
left: 0;
z-index: 100;
}
}


/*Цвета таблиц для разных отделов*/
#content .gallerybox div.thumb {
 
background: #f8f9fa00
/* Таблица */
#MED.wikitable {
background: #01453e;
border-spacing: 0px;
}
}


/* Заголовок */
.mw-body li.gallerybox div.thumb {
#MED.wikitable thead tr th,
background: #f8f9fa00;
#MED.wikitable:not(:has(thead)) tr:first-of-type th {
border: solid #28282e;
position: relative;
border-width: 1px 1px 0.2em;
background-color: #01453e;
padding: 1.25em 1.75em;
border-bottom: 3px solid #00000015;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
padding: 0
}
}


/* Заглавная ячейка */
.title-no-bottom-border {
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
border-bottom: none !important
#MED.wikitable thead + tbody > tr th {
background: #005b53;
border-bottom: 1px solid #01453e;
}
}


/* Ячейка с содержимым */
.title-top-border {
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
border-top: solid 2px #c8ccd1
#MED.wikitable thead + tbody > tr td {
background: #1f635d;
border-bottom: 1px solid #01453e;
border-left: 1px solid #005b53;
}
}


/* Таблица */
@media (min-width: 1340px) {
#ENG.wikitable {
#mw-content-block {
background: #775f0e;
display:block
border-spacing: 0px;
}
}


/* Заголовок */
#mw-content {
#ENG.wikitable thead tr th,
margin-left: 14em;
#ENG.wikitable:not(:has(thead)) tr:first-of-type th {
padding: 2em 0 0
position: relative;
}
background-color: #775f0e;
border-bottom: 3px solid #00000015;
}


/* Заглавная ячейка */
#mw-content-wrapper {
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
float: right;
#ENG.wikitable thead + tbody > tr th {
margin-left: -14em;
background: #8f7210;
background: transparent;
border-bottom: 1px solid #775f0e;
width: 100%
}
}


/* Ячейка с содержимым */
.color-middle {
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
margin-right: 1em !important;
#ENG.wikitable thead + tbody > tr td {
}
background: #977e31;
border-bottom: 1px solid #775f0e;
border-left: 1px solid #8f7210;
}


#SEC.wikitable {
.mw-wiki-logo {
background: #404144;
display: inline-block
color: #dddddd;
}
}


#SEC.wikitable>*>tr>th {
#catlinks {
background: #912424;
margin-left: 14em
color: #dddddd;
}
}
}


#SEC.wikitable > * > tr > td {
#footer {
background: #515255;
padding-right: 1em
color: #dddddd;
}
}


#SRV.wikitable {
.mw-body dt {
background: #316f20;
    font-weight: bold;
color: #dddddd;
    font-family: sans-serif;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    border-left: 2px solid var(--theme-border-color-100);
    padding-left: 5px;
}
}


#SRV.wikitable>*>tr>th {
.mw-body h1 {
background: #316f20;
font-family: 'oswald';
color: #dddddd;
font-size: 2em;
}
}


#SRV.wikitable >*> tr > td {
.mw-body h2 {
background: #40852b;
font-size: 1.5em;
color: #dddddd;
border-bottom: none;
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
margin-bottom: 0.4em;
margin-top: 1em;
line-height: 1.375;
border-bottom: 2px solid #2f5fbf; /* TODO: Нужен var() для цвета */
}
}


/* Таблица */
.mw-body h3 {
#RND.wikitable {
font-size: 1.18em;
background: #630069;
font-weight: bold;
border-spacing: 0px;
font-family: sans-serif;
margin-top: 0.5em;
margin-bottom: 0.3em;
padding-bottom: 0;
line-height: 1.6;
padding-top: 0.3em;
}
}


/* Заголовок */
.mw-body h4,
#RND.wikitable thead tr th,
.mw-body h5 {
#RND.wikitable:not(:has(thead)) tr:first-of-type th {
font-size: 1em;
position: relative;
font-weight: bold;
background-color: #630069;
font-family: sans-serif;
border-bottom: 3px solid #00000015;
margin-top: 0.5em;
margin-bottom: 0.3em;
}
}


/* Заглавная ячейка */
.target {
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
border-bottom: 1px solid darkblue
#RND.wikitable thead + tbody > tr th {
background: #7c0183;
border-bottom: 1px solid #630069;
}
}


/* Ячейка с содержимым */
.target:target {
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
border-bottom: 2px solid gold;
#RND.wikitable thead + tbody > tr td {
transition: border 0.7s cubic-bezier(0.4,0,0.2,1)
background: #84328f;
border-bottom: 1px solid #630069;
border-left: 1px solid #7c0183;
}
}


/* Таблица */
.backlight:hover {
#SUP.wikitable {
box-shadow: 0 0 0.3em gold;
background: #6f3d0a;
background: #00000025;
border-spacing: 0px;
}
}


/* Заголовок */
#main.backlight:hover {
#SUP.wikitable thead tr th,
box-shadow: inset 0 0 23em #00000066;
#SUP.wikitable:not(:has(thead)) tr:first-of-type th {
border-radius: 8px;
position: relative;
background-color: #6f3d0a;
border-bottom: 3px solid #00000015;
}
}


/* Заглавная ячейка */
#strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li {
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
color: #e9e9e9 !important
#SUP.wikitable thead + tbody > tr th {
background: #85490c;
border-bottom: 1px solid #6f3d0a;
}
}
 
/*затемнение для мобилок*/
/* Ячейка с содержимым */
#menus-cover {
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
background: #000000;
#SUP.wikitable thead + tbody > tr td {
opacity: var(--alpha-s);
background: #8f5a23;
border-bottom: 1px solid #6f3d0a;
border-left: 1px solid #85490c;
}
}


 
/*Красивые картинки*/
/*Альтернативные цвета таблиц для разных отделов*/
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
#aMED.wikitable thead tr th,
margin: 0 0 0.5em 0.5em;
#aMED.wikitable:not(:has(thead)) tr:first-of-type th {
border:1px solid black;
position: relative;
border-bottom:0;
background-color: #004d45;
border-radius:0.9em 0.9em 0 0;
border-bottom: 0.2em solid #00000059;
background:var(--theme-bg-color-base);
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}
 
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
#aMED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
border-radius: 0 0 0.9em 0.9em;
#aMED.wikitable thead + tbody > tr th {
border:1px solid black;
background: #0d747f;
border-top:0;
border-bottom: 0.1em solid #00000059;
background:var(--theme-bg-color-base);
border-left: 0.2em solid #00000059;
padding-bottom:5px;
font-family:oswald;
font-size:1em;
}
}


#aENG.wikitable thead tr th,
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
#aENG.wikitable:not(:has(thead)) tr:first-of-type th {
margin: 5px;
position: relative;
border-radius: 0.4em;
background-color: #715609;
}
border-bottom: 0.2em solid #00000059;
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
border-collapse:separate;
}
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
border-bottom: 1px solid var(--color-contrast);
}
}


#aENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
/*кнопка для главного меню*/
#aENG.wikitable thead + tbody > tr th {
.StupidButton {
background: #957710;
width: 100%;
border-bottom: 0.1em solid #00000059;
height: 100%;
border-left: 0.2em solid #00000059;
position: absolute;
top: 0;
left: 0;
z-index: 100;
}
}


#aRND.wikitable thead tr th,
/*Цвета таблиц для разных отделов*/
#aRND.wikitable:not(:has(thead)) tr:first-of-type th {
/* COM */
position: relative;
#COM.wikitable {
background-color: #4e0163;
border: 1px solid var(--bg-color-blue-subtle);
border-bottom: 0.2em solid #00000059;
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


#aRND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#COM.wikitable th {
#aRND.wikitable thead + tbody > tr th {
background: var(--bg-color-blue-150);
background: #78027f;
border-bottom: 0.1em solid #00000059;
border-left: 0.2em solid #00000059;
}
}


#aSUP.wikitable thead tr th,
#COM.wikitable thead tr th,
#aSUP.wikitable:not(:has(thead)) tr:first-of-type th {
#COM.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background-color: #6f390a;
background: var(--bg-color-blue-100);
border-bottom: 0.2em solid #00000059;
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
box-shadow: var(--box-shadow-medium);
}
}


#aSUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#COM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#aSUP.wikitable thead + tbody > tr th {
#COM.wikitable thead + tbody > tr th:first-child {
background: #874b0e;
border-left: 3px solid var(--color-darkened-border);
border-bottom: 0.1em solid #00000059;
border-left: 0.2em solid #00000059;
}
}


#aSEC.wikitable {
#COM.wikitable tr td {
background: var(--ooui--bg);
background: var(--bg-color-blue-subtle);
color: #dddddd;
}
}


#aSEC.wikitable>*>tr>th {
/* MED */
background: #912424;
#MED.wikitable {
color: #dddddd;
border: 1px solid var(--bg-color-sky-blue-subtle);
}
}


#aSEC.wikitable > * > tr > td {
#MED.wikitable th {
background: #31313b;
background: var(--bg-color-sky-blue-150);
color: #dddddd;
}
#MED.wikitable thead tr th,
#MED.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
background: var(--bg-color-sky-blue-100);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
}
}


/* Таблица */
#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#aSRV.wikitable {
#MED.wikitable thead + tbody > tr th:first-child {
background: #216321;
border-left: 3px solid var(--color-darkened-border);
border-spacing: 0px;
}
}


/* Заголовок */
#MED.wikitable tr td {
#aSRV.wikitable thead tr th,
background: var(--bg-color-sky-blue-subtle);
#aSRV.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
background-color: #216321;
border-bottom: 0.2em solid #00000021;
}
}


/* Заглавная ячейка */
/* SRV */
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#SRV.wikitable {
#aSRV.wikitable thead + tbody > tr th {
border: 1px solid var(--bg-color-green-subtle);
background: #297929;
border-bottom: 1px solid #216321;
}
}


/* Ячейка с содержимым */
#SRV.wikitable th {
#aSRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
background: var(--bg-color-green-150);
#aSRV.wikitable thead + tbody > tr td {
background: #3f833f;
border-bottom: 1px solid #216321;
border-left: 1px solid #297929;
}
 
/* Таблица */
#BOTANY.wikitable {
background: #0d3f28;
}
}


/* Заголовок */
#SRV.wikitable thead tr th,
#BOTANY.wikitable thead tr th,
#SRV.wikitable:not(:has(thead)) tr:first-of-type th {
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background-color: #04673e !important;
background: var(--bg-color-green-100);
border-bottom: 0.2em solid #00000021;
border-bottom: 3px solid var(--color-darkened-border);
box-shadow:  var(--box-shadow-medium);
}
}


/* Заглавные ячейки */
#SRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#SRV.wikitable thead + tbody > tr th:first-child {
#BOTANY.wikitable thead + tbody > tr th {
border-left: 3px solid var(--color-darkened-border);
background: #0d7b39;
}
}


/* Первая заглавная ячейка */
#SRV.wikitable tr td {
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type,
background: var(--bg-color-green-subtle);
#BOTANY.wikitable thead + tbody > tr th:first-of-type {
border-left: 0.2em solid #0000003b;
}
}


/* Ячейка с содержимым */
/* ENG */
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#ENG.wikitable {
#BOTANY.wikitable thead + tbody > tr td {
border: 1px solid var(--bg-color-yellow-subtle);
background: #2a834e;
}
}


/* Таблица */
#ENG.wikitable th {
#MUTATION.wikitable {
background: var(--bg-color-yellow-150);
background: #220f3b;
}
}


/* Заголовок */
#ENG.wikitable thead tr th,
#MUTATION.wikitable thead tr th,
#ENG.wikitable:not(:has(thead)) tr:first-of-type th {
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background-color: #330b65 !important;
background: var(--bg-color-yellow-100);
border-bottom: 0.2em solid #00000021;
border-bottom: 3px solid var(--color-darkened-border);
box-shadow:  var(--box-shadow-medium);
}
 
#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#ENG.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
}
 
#ENG.wikitable tr td {
background: var(--bg-color-yellow-subtle);
}
}


/* Заглавные ячейки */
/* RND */
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#RND.wikitable {
#MUTATION.wikitable thead + tbody > tr th {
border: 1px solid var(--bg-color-purple-subtle);
background: #3a1769;
}
}


/* Первая заглавная ячейка */
#RND.wikitable th {
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-of-type,
background: var(--bg-color-purple-150);
#MUTATION.wikitable thead + tbody > tr th:first-of-type {
border-left: 0.2em solid #0000003b;
}
}


/* Ячейка с содержимым */
#RND.wikitable thead tr th,
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
#RND.wikitable:not(:has(thead)) tr:first-of-type th {
#MUTATION.wikitable thead + tbody > tr td {
position: relative;
background: #422371;
background: var(--bg-color-purple-100);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
}
}


/* Неразрывные пробелы в горизонтальных списках
#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
  @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
#RND.wikitable thead + tbody > tr th:first-child {
  @Распорстраняется под CC BY-SA 4.0
border-left: 3px solid var(--color-darkened-border);
  @автор: [[Участник:WindEwriX]]*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
white-space: nowrap;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


/* Style for horizontal lists (separator following item).
#RND.wikitable tr td {
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
background: var(--bg-color-purple-subtle);
  @revision 9 (2016-08-10)
  @Распорстраняется под CC BY-SA 4.0
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist.hlist ol,
.hlist.hlist ul {
margin: 0;
padding: 0;
}
}
/* Display list items inline */
 
.hlist dd,
/* SUP */
.hlist dt,
#SUP.wikitable {
.hlist li {
border: 1px solid var(--bg-color-brown-subtle);
margin: 0;
display: inline;
}
}
/* Display nested lists inline */
 
.hlist.inline,
#SUP.wikitable th {
.hlist.inline dl,
background: var(--bg-color-brown-150);
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
}
/* Hide empty list items */
 
.hlist .mw-empty-li,
#SUP.wikitable thead tr th,
.hlist .mw-empty-elt {
#SUP.wikitable:not(:has(thead)) tr:first-of-type th {
display: none;
position: relative;
background: var(--bg-color-brown-100);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
}
}
/* Generate bullets */
 
.hlist dt:after {
#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
content: ": ";
#SUP.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
}
}
.hlist dd:after,
 
.hlist li:after {
#SUP.wikitable tr td {
content: "\00a0· ";
background: var(--bg-color-brown-subtle);
font-weight: bold;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
/* SEC */
.hlist li:last-child:after {
#SEC.wikitable {
content: none;
border: 1px solid var(--bg-color-red-subtle);
}
}
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
#SEC.wikitable th {
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
background: var(--bg-color-red-150);
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
 
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
#SEC.wikitable thead tr th,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
#SEC.wikitable:not(:has(thead)) tr:first-of-type th {
content: ")";
position: relative;
font-weight: normal;
background: var(--bg-color-red-100);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
#SEC.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
counter-reset: listitem;
#SEC.wikitable thead + tbody > tr th:first-child {
border-left: 3px solid var(--color-darkened-border);
}
}
.hlist ol > li {
 
counter-increment: listitem;
#SEC.wikitable tr td {
background: var(--bg-color-red-subtle);
}
}
.hlist ol > li:before {
 
content: " " counter(listitem) "\a0";
/* BOTANY */
#BOTANY.wikitable {
border: 1px solid var(--bg-color-turquoise-subtle);
}
}
.hlist dd ol > li:first-child:before,
 
.hlist dt ol > li:first-child:before,
#BOTANY.wikitable th {
.hlist li ol > li:first-child:before {
background: var(--bg-color-turquoise-150);
content: " (" counter(listitem) "\a0";
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


/* Псевдо-модальное окно */
#BOTANY.wikitable thead tr th,
.pseudomodal--caller {
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
  cursor:pointer;
position: relative;
background: var(--bg-color-turquoise-100);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow:  var(--box-shadow-medium);
}
}


.pseudomodal {
#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
overflow-y: auto;
#BOTANY.wikitable thead + tbody > tr th:first-child {
display: flex;
border-left: 3px solid var(--color-darkened-border);
flex-direction: column;
visibility: hidden;
opacity: 0;
background-color: var(--theme-bg);
width: 60%;
height: 80%;
border: 1px solid black;
border-radius: 0.5rem;
padding: 5px 25px;
position: fixed;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 100 !important;
box-shadow: 0px 0px 0px 100vh rgba(0, 0, 0, 0.6);
}
}


.pseudomodal--caller:focus-within + .pseudomodal {
#BOTANY.wikitable tr td {
  visibility: visible;
background: var(--bg-color-turquoise-subtle);
  opacity: 1;
}
}


.pseudomodal:hover {
/* MUTATION */
  visibility: visible;
#MUTATION.wikitable {
  opacity: 1;
border: 1px solid var(--bg-color-violet-subtle);
}
}


.pseudomodal--header {
#MUTATION.wikitable th {
  text-align: center;
background: var(--bg-color-violet-150);
  font-size: 1.1em;
  position: relative;
}
}


.pseudomodal--header-hr{
#MUTATION.wikitable thead tr th,
  margin: 20px 0;
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
  padding: 0;
position: relative;
  height: 0;
background: var(--bg-color-violet-100);
  border: none;
border-bottom: 3px solid var(--color-darkened-border);
  border-top: 1px solid darkgray;
box-shadow: var(--box-shadow-medium);
}
}


.pseudomodal--body{
#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
  height: 100%;
#MUTATION.wikitable thead + tbody > tr th:first-child {
  position: relative;
border-left: 3px solid var(--color-darkened-border);
}
}


.pseudomodal::-webkit-scrollbar {
#MUTATION.wikitable tr td {
  width: 0.15rem;
background: var(--bg-color-violet-subtle);
  background-color:transparent;
}
}


.pseudomodal::-webkit-scrollbar-track {
/* Стили для заголовков в таблицах с thead */
  margin:1em;
#highlighted-header.wikitable thead tr th,
  background: transparent;
/* Стили для первого ряда в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
background: #3d3d4f;
border-bottom: 3px solid var(--color-darkened-border);
box-shadow:  var(--box-shadow-medium);
}
}


.pseudomodal::-webkit-scrollbar-thumb {
/* Стили для последующих строк в таблицах без thead */
  background-color: transparent;
#highlighted-header.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
  border: solid #373737;
/* Стили для последующих строк в таблицах с thead */
#highlighted-header.wikitable thead + tbody > tr th {
background: #972626;
border-bottom: 0.1em solid #00000059;
border-left: 3px solid var(--color-darkened-border);
}
}


/* Key press */
/* Серый заголовок и серые ячейки */
.keyboard-key {
#highlighted-header-classic.wikitable thead tr th,
border: 1px solid #555555;
#highlighted-header-classic.wikitable:not(:has(thead)) tr:first-of-type th {
border-radius: var(--border-radius-low);
position: relative;
box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
background: #323240;
background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e);
border-bottom: 0.2em solid #00000045;
color: lightgrey;
box-shadow: var(--box-shadow-medium);
padding: 0.1em 0.3em;
font-family: inherit;
font-size: 0.8em;
}
}


@media only screen and (max-width: 600px) {
#highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.flex--row-column {
#highlighted-header-classic.wikitable thead + tbody > tr th {
flex-direction:column; width: 50%; margin: auto;
background: #3e3e4d;
}
border-bottom: 0.1em solid #0000000d;
border-left: 0.2em solid #00000024;
}
}


/* Классы для форума "Справочник сталкера" проекта S.T.A.L.K.E.R. и для вики-плашек*/
/* Холодный цвет ячеек */
#highlighted-header-cold.wikitable {
border: 1px solid var(--bg-color-azure-subtle);
}


.forumMessage, .wikiMessage {
#highlighted-header-cold.wikitable th {
background: #1b1b1f;
background: var(--bg-color-azure-150);
}
}


.forumMessage {
#highlighted-header-cold.wikitable thead tr th,
padding: 10px 10px 30px;
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
background: var(--bg-color-azure-100);
border-bottom: 3px solid var(--color-darkened-border);
box-shadow: var(--box-shadow-medium);
}
}


.wikiMessage {
#highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
padding: 10px 10px 10px;
#highlighted-header-cold.wikitable thead + tbody > tr th:first-child {
margin-bottom: 10px;
border-left: 3px solid var(--color-darkened-border);
}
}


.forumMessageInfo, .wikiMessageInfo{
#highlighted-header-cold.wikitable tr td {
padding: 0;
background: var(--bg-color-azure-subtle);
margin-left: 160px;
border-bottom: 1px none black;
zoom: 1;
color: rgb(255, 255, 255);
}
}


.forumMessageContent, .wikiMessageContent {
/* Серый заголовок и темно-красные ячейки */
padding-bottom: 2px;
#highlighted-header-dark.wikitable thead tr th,
padding-left:4px;
#highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th {
border-style: hidden;
position: relative;
min-height: 100px;
background: #3d3d4f;
overflow: hidden;
border-bottom: 3px solid var(--color-darkened-border);
}
box-shadow: var(--box-shadow-medium);
.forumMessageContent {
background-color: #303037
}
}


.forumMessageUserInfo, .wikiIMG {
#highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
float: left;
#highlighted-header-dark.wikitable thead + tbody > tr th {
width: 140px;
background: #8d2121;
border-bottom: 0.1em solid #00000059;
border-left: 3px solid var(--color-darkened-border);
}
 
/* Палитра для Морпехов */
#highlighted-header-CM.wikitable thead tr th,
#highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
position: relative;
background: #313d45;
border-bottom: 3px solid var(--color-darkened-border);
box-shadow:  var(--box-shadow-medium);
}
}


.forumAvatarHolder, .wikiIMGHolder {
#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
padding: 10px;
#highlighted-header-CM.wikitable thead + tbody > tr th {
text-align: center;
background: #355f54;
position:relative;
border-bottom: 0.1em solid #00000059;
border-left: 3px solid var(--color-darkened-border);
}
}


.forumAvatarHolder {
/* Палитра для Ксеноморфов */
background:#303037
#highlighted-header-xenomorph.wikitable thead tr th,
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
background: #3c1d5f;
border-bottom: 3px solid var(--color-darkened-border);
box-shadow:  var(--box-shadow-medium);
}
}


.forumUserText {
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
padding: 1px 10px;
#highlighted-header-xenomorph.wikitable thead + tbody > tr th {
background:#303037
background: #5d1c55;
border-bottom: 0.1em solid #00000059;
border-left: 3px solid var(--color-darkened-border);
}
}


.forumUserName {
/* Если не нужен другой стиль кроме цвета */
font-size: 14px;
#no-highlight {
color: rgb(255, 148, 7);
border-bottom: none !important;
margin-bottom: 5px;
box-shadow: none !important;
display: block;
overflow: hidden;
line-height: 16px;
text-align: center;
}
}


.forumBanner {
/* КОНЕЦ */
font-size: 11px;
text-align: center;
padding: 5px;
color: black;
border-color: silver;
height: 16px;
width: 105px;
display: block;
margin-bottom: 5px
}


.forumAdmin {
/* Неразрывные пробелы в горизонтальных списках
background: silver
  @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
}
  @Распорстраняется под CC BY-SA 4.0
/* CodeMirror */
  @автор: [[Участник:WindEwriX]]*/
.CodeMirror {
.nowrap,
height: 600px;
.nowraplinks a,
position: relative;
.nowraplinks .selflink,
overflow: hidden;
.hlist-items-nowrap dd,
background: #1b1b1f;
.hlist-items-nowrap dt,
color: inherit;
.hlist-items-nowrap li {
}
 
.CodeMirror-gutters {
border-right: 1px solid var(--theme-bg);
background-color: var(--theme-bg);
white-space: nowrap;
white-space: nowrap;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
/* Style for horizontal lists (separator following item).
background: #1c2d44;
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
}
  @revision 9 (2016-08-10)
 
  @Распорстраняется под CC BY-SA 4.0
.noExternal>.external {
  @author [[User:Edokter]]
  padding-right:0px !important;
*/
  background-image:none !important;
.hlist dl,
.hlist.hlist ol,
.hlist.hlist ul {
margin: 0;
padding: 0;
}
}
 
/* Display list items inline */
.mw-mmv-image>*, .fullImageLink>*>* {
.hlist dd,
image-rendering: auto !important;
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
}
 
/* Display nested lists inline */
/* Для тестов */
.hlist.inline,
.skameykatable{
.hlist.inline dl,
border:1px solid black;
.hlist.inline ol,
border-radius:1.4rem;
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
}
.skameykatable>*>tr>th{
/* Hide empty list items */
  text-align:center;
.hlist .mw-empty-li,
font-weight:bold;
.hlist .mw-empty-elt {
}
display: none;
.skameykatable>*>tr>td{
  border:none;
}
.skameykatable>*>tr:not(:first-child)>*{
border-top:1px solid black !important;
}
}
.skameykatable>*>tr:not(:first-child):not(:last-child):hover{
/* Generate bullets */
box-shadow: inset 30em 30em 0 #1b1b20;
.hlist dt:after {
content: ": ";
}
}
.skameykatable>*>tr:last-child{
.hlist dd:after,
box-shadow: inset 30em 30em 0 #1b1b20;
.hlist li:after {
border-bottom-left-radius:1.3rem;
content: "\00a0· ";
border-bottom-right-radius:1.3rem;
font-weight: bold;
}
}
 
.hlist dd:last-child:after,
.skameykatable>*>tr>*{
.hlist dt:last-child:after,
padding:0.4em;
.hlist li:last-child:after {
background:transparent;
content: none;
border:none !important;
}
}
/* Add parentheses around nested lists */
.headerSort::after {
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
content: "\21C5";
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.headerSort.headerSortUp::after {
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
content: "\2191";
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
}
 
/* Put ordinals in front of ordered list items */
.headerSort.headerSortDown::after {
.hlist ol {
content: "\2193";
counter-reset: listitem;
}
}
 
.hlist ol > li {
 
counter-increment: listitem;
.headerSort {
background-size: 0 0 !important;
white-space: nowrap;
}
}
 
.hlist ol > li:before {
 
content: " " counter(listitem) "\a0";
.pseudomodal p {
margin: 0 !important;
}
}
 
.hlist dd ol > li:first-child:before,
/**
.hlist dt ol > li:first-child:before,
* SS220 import
.hlist li ol > li:first-child:before {
*
content: " (" counter(listitem) "\a0";
* Taken from https://wiki.ss220.space/index.php?title=MediaWiki:Common.css&oldid=35625
*/
 
/* Hide noscript only elements */
.client-js *.noscript {
display: none;
}
}
/* Прекращение действия лицензии CC BY-SA 4.0*/


 
/* Псевдо-модальное окно */
/* SS220 import end*/
.pseudomodal--caller {
 
  cursor:pointer;
 
/* Стили для заголовков в таблицах с thead */
#highlighted-header.wikitable thead tr th,
/* Стили для первого ряда в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th {
position: relative;
background-color: #3d3d4f;
border-bottom: 0.2em solid #00000059;
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


/* Стили для последующих строк в таблицах без thead */
.pseudomodal {
#highlighted-header.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
overflow-y: auto;
/* Стили для последующих строк в таблицах с thead */
display: flex;
#highlighted-header.wikitable thead + tbody > tr th {
flex-direction: column;
background: #972626;
visibility: hidden;
border-bottom: 0.1em solid #00000059;
opacity: 0;
border-left: 0.2em solid #00000059;
background: var(--theme-bg-color-100);
width: 60%;
height: 80%;
border: 1px solid black;
border-radius: 0.5rem;
padding: 5px 25px;
position: fixed;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 100 !important;
box-shadow: 0px 0px 0px 100vh rgba(0, 0, 0, 0.6);
}
}


/* Серый заголовок и серые ячейки */
.pseudomodal--caller:focus-within + .pseudomodal {
#highlighted-header-classic.wikitable thead tr th,
  visibility: visible;
#highlighted-header-classic.wikitable:not(:has(thead)) tr:first-of-type th {
  opacity: 1;
position: relative;
background-color: #323240;
border-bottom: 0.2em solid #00000045;
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


#highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.pseudomodal:hover {
#highlighted-header-classic.wikitable thead + tbody > tr th {
  visibility: visible;
background: #3e3e4d;
  opacity: 1;
border-bottom: 0.1em solid #0000000d;
border-left: 0.2em solid #00000024;
}
}


/* Холодный цвет ячеек */
.pseudomodal--header {
#highlighted-header-cold.wikitable thead tr th,
  text-align: center;
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
  font-size: 1.1em;
position: relative;
  position: relative;
background-color: #006587;
border-bottom: 0.2em solid #00000059;
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


#highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.pseudomodal--header-hr{
#highlighted-header-cold.wikitable thead + tbody > tr th {
  margin: 20px 0;
background: #00707b;
  padding: 0;
border-bottom: 0.1em solid #00000059;
  height: 0;
border-left: 0.2em solid #00000059;
  border: none;
  border-top: 1px solid darkgray;
}
}


/* Серый заголовок и темно-красные ячейки */
.pseudomodal--body{
#highlighted-header-dark.wikitable thead tr th,
  height: 100%;
#highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th {
  position: relative;
position: relative;
background-color: #3d3d4f;
border-bottom: 0.2em solid #00000059;
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


#highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.pseudomodal::-webkit-scrollbar {
#highlighted-header-dark.wikitable thead + tbody > tr th {
  width: 0.15rem;
background: #8d2121;
  background:transparent;
border-bottom: 0.1em solid #00000059;
border-left: 0.2em solid #00000059;
}
}


/* Палитра для Морпехов */
.pseudomodal::-webkit-scrollbar-track {
#highlighted-header-CM.wikitable thead tr th,
  margin:1em;
#highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th {
  background: transparent;
position: relative;
background-color: #313d45;
border-bottom: 0.2em solid #00000059;
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}
}


#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
.pseudomodal::-webkit-scrollbar-thumb {
#highlighted-header-CM.wikitable thead + tbody > tr th {
  background: transparent;
background: #355f54;
  border: solid #373737;
border-bottom: 0.1em solid #00000059;
border-left: 0.2em solid #00000059;
}
}


/* Палитра для Ксеноморфов */
/* Key press */
#highlighted-header-xenomorph.wikitable thead tr th,
.keyboard-key {
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tr:first-of-type th {
border: 1px solid #555555;
position: relative;
border-radius: var(--border-radius-low);
background-color: #3c1d5f;
box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
border-bottom: 0.2em solid #00000059;
background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e);
box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
color: var(--ooui--text-color);
padding: 0.1em 0.3em;
font-family: inherit;
font-size: 0.8em;
}
}


#highlighted-header-xenomorph.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
@media only screen and (max-width: 600px) {
#highlighted-header-xenomorph.wikitable thead + tbody > tr th {
.flex--row-column {
background: #5d1c55;
flex-direction:column; width: 50%; margin: auto;
border-bottom: 0.1em solid #00000059;
}
border-left: 0.2em solid #00000059;
}
}


/* Если не нужен другой стиль кроме цвета */
/* Классы для форума "Справочник сталкера" проекта S.T.A.L.K.E.R. и для вики-плашек*/
#no-highlight {
 
border-bottom: none !important;
.forumMessage, .wikiMessage {
box-shadow: none !important;
background: var(--theme-bg-color-base);
}
}


 
.forumMessage {
/* Таблица */
padding: 10px 10px 30px;
#VIOLET.wikitable {
background: #391b5d;
border-spacing: 0px;
}
}


/* Заголовок */
.wikiMessage {
#VIOLET.wikitable thead tr th,
padding: 10px 10px 10px;
#VIOLET.wikitable:not(:has(thead)) tr:first-of-type th {
margin-bottom: 10px;
position: relative;
background-color: #391b5d;
border-bottom: 0.2em solid #00000021;
}
}


/* Заглавная ячейка */
.forumMessageInfo, .wikiMessageInfo{
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
padding: 0;
#VIOLET.wikitable thead + tbody > tr th {
margin-left: 160px;
background: #44206f;
border-bottom: 1px none black;
border-bottom: 1px solid #391b5d;
zoom: 1;
color: rgb(255, 255, 255);
}
}


/* Ячейка с содержимым */
.forumMessageContent, .wikiMessageContent {
#VIOLET.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
padding-bottom: 2px;
#VIOLET.wikitable thead + tbody > tr td {
padding-left:4px;
background: #4a2b6f;
border-style: hidden;
border-bottom: 1px solid #391b5d;
min-height: 100px;
overflow: hidden;
}
}
 
.forumMessageContent {
 
background: #303037
/* Таблица */
#YELLOW.wikitable {
background: #405d1b;
border-spacing: 0px;
}
}


/* Заголовок */
.forumMessageUserInfo, .wikiIMG {
#YELLOW.wikitable thead tr th,
float: left;
#YELLOW.wikitable:not(:has(thead)) tr:first-of-type th {
width: 140px;
position: relative;
position: relative;
background-color: #405d1b;
border-bottom: 0.2em solid #00000021;
}
}


/* Заглавная ячейка */
.forumAvatarHolder, .wikiIMGHolder {
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
padding: 10px;
#YELLOW.wikitable thead + tbody > tr th {
text-align: center;
background: #4c6d20;
position:relative;
border-bottom: 1px solid #405d1b;
}
}


/* Ячейка с содержимым */
.forumAvatarHolder {
#YELLOW.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) td,
background:#303037
#YELLOW.wikitable thead + tbody > tr td {
background: #577332;
border-bottom: 1px solid #405d1b;
}
}


@media (max-width: 800px) {
.forumUserText {
.grid-adaptive {
padding: 1px 10px;
grid-template-columns: 1fr !important;
background:#303037
}
}
}


.grid-item-adaptive {
.forumUserName {
display: grid;
font-size: 14px;
gap: 8px;
color: rgb(255, 148, 7);
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
margin-bottom: 5px;
display: block;
overflow: hidden;
line-height: 16px;
text-align: center;
}
}


.grid-item-compressed {
.forumBanner {
display: grid;
font-size: 11px;
gap: 10px;
text-align: center;
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 350px), 0fr));
padding: 5px;
color: black;
border-color: silver;
height: 16px;
width: 105px;
display: block;
margin-bottom: 5px
}
}


 
.forumAdmin {
/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */
background: silver
.no-margin-edges > :first-child,
}
.tabs-content > :first-child,
/* CodeMirror */
.doc > :first-child {
.CodeMirror {
margin-top: 0 !important;
height: 600px;
position: relative;
overflow: hidden;
background: var(--theme-bg-color-base);
color: inherit;
}
}


.no-margin-edges > :last-child,
.CodeMirror-gutters {
.tabs-content > :last-child,
border-right: 1px solid var(--theme-bg-color-100);
.doc > :last-child {
background: var(--theme-bg-color-100);
margin-bottom: 0 !important;
white-space: nowrap;
}
}


/* Сброс и настройка отступов для списков */
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
.list-reset-margin ol {
background: #1c2d44;
margin: 0 0 0 24px;
padding: 0;
}
}


.list-reset-margin > ol:not(:first-child) > li:not(:first-child),
.noExternal>.external {
.list-reset-margin > ul:nth-of-type(n+2) {
  padding-right:0px !important;
margin-top: 10px;
  background-image:none !important;
}
}


/* Кнопка копирования текста */
.mw-mmv-image>*, .fullImageLink>*>* {
.copy-icon {
image-rendering: auto !important;
cursor: pointer;
}
}


/* Кнопка копирования текста */
/* Для тестов */
.brightness-overlay::before {
.skameykatable{
content: "";
border:1px solid black;
position: absolute;
border-radius:1.4rem;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
background: var(--background-color);
}
}
 
.skameykatable>*>tr>th{
 
  text-align:center;
/* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */
font-weight:bold;
.brightness-overlay::before {
}
content: "";
.skameykatable>*>tr>td{
position: absolute;
  border:none;
top: 0;
}
left: 0;
.skameykatable>*>tr:not(:first-child)>*{
right: 0;
border-top:1px solid black !important;
bottom: 0;
}
z-index: 0;
.skameykatable>*>tr:not(:first-child):not(:last-child):hover{
background: var(--background-color);
box-shadow: inset 30em 30em 0 #1b1b20;
}
}
 
.skameykatable>*>tr:last-child{
.brightness-overlay:hover::before {
box-shadow: inset 30em 30em 0 #1b1b20;
filter: brightness(103%);
border-bottom-left-radius:1.3rem;
border-bottom-right-radius:1.3rem;
}
}


/* Уменьшеная полоса прокрутки */
.skameykatable>*>tr>*{
.short-scrollbar::-webkit-scrollbar {
padding:0.4em;
width: 10px;
background:transparent;
border:none !important;
}
}
 
.short-scrollbar::-webkit-scrollbar-track  {  
.headerSort::after {
background: var(--ooui--bg-light);
content: "\21C5";
}
}
 
.short-scrollbar::-webkit-scrollbar-thumb {  
.headerSort.headerSortUp::after {
background: #44444d; border: 2px solid var(--ooui--bg-light); border-radius: 0;
content: "\2191";
}
}


/* Для для динамичного вида кнопки "[развернуть]" */
.headerSort.headerSortDown::after {
.collapsible-absolute .mw-collapsible-toggle {
content: "\2193";
position: absolute;
left: 0;
right: 0;
}
}


/*==========
  Модуль:Краткий вызов
==========*/


.shortcut {
.headerSort {
clear: right;
background-size: 0 0 !important;
float: right;
white-space: nowrap;
margin-left: 0.75em;
font-size: smaller;
background: var(--bg-code-light);
border: 1px solid var(--color-code-border-light);
}
}


.shortcut-1, .shortcut-2 {
padding: 4px;
}


.shortcut-2 {
.pseudomodal p {
line-height: 1.25em;
margin: 0 !important;
font-weight: bold;
vertical-align: middle;
}
}


/*==========
/**
  Расширение:Popups
* SS220 import
==========*/
*
* Taken from https://wiki.ss220.space/index.php?title=MediaWiki:Common.css&oldid=35625
*/


/* Всплывающие окна */
/* Hide noscript only elements */
.mwe-popups {
.client-js *.noscript {
background: var(--ooui--gradient-light);
display: none;
box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.35), 0 0 1px 1px rgba(0, 0, 0, 0.1);
}
}


.mwe-popups img {
image-rendering: auto;
}


.mwe-popups .mwe-popups-container {
/* SS220 import end*/
background: var(--ooui--gradient-light);
}


.mwe-popups .mwe-popups-extract {
@media (max-width: 800px) {
color: #dddddd;
.grid-adaptive {
grid-template-columns: 1fr !important;
}
}
}


.mwe-popups .mwe-popups-extract:hover {
.grid-item-adaptive {
color: #e8e8e8;
display: grid;
gap: 8px;
grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
}
}


.mwe-popups .mwe-popups-extract[dir='ltr']::after {
.grid-small-item-adaptive {
background: linear-gradient(90deg, #ffffff00 0%, #2a2a3387 50%);
display: grid;
gap: 8px;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
}


.mwe-popups .mwe-popups-extract[dir='rtl']::after {
.grid-item-compressed {
background: linear-gradient(90deg, #2a2a3387 50%, #ffffff00 0%);
display: grid;
gap: 10px;
grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 350px), 0fr));
}
}


/* Настройки */
.grid-item-compressed {
.mwe-popups-overlay {
display: grid;
background-color: rgba(0, 0, 0, 0.6);
gap: 10px;
grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 350px), 0fr));
}
}


#mwe-popups-settings {
.link-card__flex-container {
border: 1px solid #41414d;
display: flex;  
background: #27272f;
gap: 10px;
justify-content: center;
flex-grow: 1;
align-items: flex-start;
flex-wrap: wrap;
align-content: center;
}
}


#mwe-popups-settings header {
@media (max-width: 800px) {
border-bottom: 1px solid #41414d;
.link-card__flex-container {
gap: 8px;
}
}
}


#mwe-popups-settings main#mwe-popups-settings-form p {
/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */
color: lightgray;
.no-margin-edges > :first-child,
.tabs-content > :first-child,
.doc > :first-child {
margin-top: 0 !important;
}
}


#mwe-popups-settings main#mwe-popups-settings-form form label > span {
.no-margin-edges > :last-child,
color: #dddddd;
.tabs-content > :last-child,
.doc > :last-child {
margin-bottom: 0 !important;
}
}


/*==========
/* Сброс и настройка отступов для списков */
Расширение:InputBox
.list-reset-margin ol {
==========*/
margin: 0 0 0 24px;
 
padding: 0;
.mw-ui-input {
background-color: var(--ooui--bg);
color: white;
}
}


form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input {
.list-reset-margin > ol:not(:first-child) > li:not(:first-child),
border-radius: var(--border-radius-low);
.list-reset-margin > ul:nth-of-type(n+2) {
border-color: var(--ooui--border);
margin-top: 10px;
}
}


.mw-ui-input:hover {
/* Кнопка копирования текста */
border-color: var(--ooui--border-light);
.copy-icon {
cursor: pointer;
}
}


/*==========
/* Кнопка копирования текста */
Расширение:SyntaxHighlight
.brightness-overlay::before {
==========*/
content: "";
 
position: absolute;
.mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre {
top: 0;
background: var(--theme-bg-dark);
left: 0;
border-color: var(--ooui--border);
right: 0;
box-shadow: var(--ooui--bg-dark) 2.75em 0px 0px inset;
bottom: 0;
font-size: 90%;
z-index: -1;
color: lightgrey;
background: var(--background-color);
}
}


.mw-content-ltr.mw-highlight .linenos {
color: var(--theme-color-text-dark);
}


/* ================================================ */
/* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */
/* #region <syntaxhighlight> CODE BLOCKS  */
.brightness-overlay::before {
/* ================================================ */
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;
background: var(--background-color);
}


:root {
.brightness-overlay:hover::before {
--synt-high--color-darkCreamy: #262421;
filter: brightness(103%);
--synt-high--color-lightCreamy: hsl(38, 5%, 45%);
 
--synt-high--color-comment: var(--synt-high--color-lightCreamy);
--synt-high--color-err: #ff1a94;
--synt-high--color-operator: #e7236a;
--synt-high--color-punctuation: #f8f8f2;
--synt-high--color-string: #e6db74;
--synt-high--color-date: var(--synt-high--color-string);
/* names for things such as variables, functions, classes, etc. */
--synt-high--color-name: #a6e22e;
/* literals, mostly numbers, some string stuff too. */
--synt-high--color-literal: #ae81ff;
/* keywords and constants */
--synt-high--color-keyword: #57b8cb;
--action-color: hsl(220, 60%, 50%);
}
}


/* Modified version of https://github.com/richleland/pygments-css/blob/master/monokai.css */
/* Уменьшеная полоса прокрутки */
 
.short-scrollbar::-webkit-scrollbar {  
/* Highlighted Lines */
width: 10px;
.mw-highlight .hll {
background-color: var(--action-color);
}
}


.mw-highlight {
.short-scrollbar::-webkit-scrollbar-track  {  
background: #272822;
background: var(--ooui--bg-color-light);
color: #f8f8f2;
}
}


/* Error */
.short-scrollbar::-webkit-scrollbar-thumb {  
.mw-highlight .err {
background: #44444d; border: 2px solid var(--ooui--bg-color-light); border-radius: 0;
color: var(--synt-high--color-err);
background-color: hsl(328, 40%, 16%);
}
}


/* Keyword */
/* Для для динамичного вида кнопки "[развернуть]" */
.mw-highlight .k {
.collapsible-absolute .mw-collapsible-toggle {
color: var(--synt-high--color-keyword);
position: absolute;
left: 0;
right: 0;
}
}


/* Literal */
/*==========
.mw-highlight .l {
  Модуль:Краткий вызов
color: var(--synt-high--color-literal);
==========*/
 
.shortcut {
clear: right;
float: right;
margin-left: 0.75em;
font-size: smaller;
background: var(--bg-color-code-light);
border: 1px solid var(--border-color-code-light);
}
}


/* Name */
.shortcut-1, .shortcut-2 {
.mw-highlight .n {
padding: 4px;
color: #f8f8f2;
}
}


/* Operator */
.shortcut-2 {
.mw-highlight .o {
line-height: 1.25em;
color: var(--synt-high--color-operator);
font-weight: bold;
vertical-align: middle;
}
}


/* Punctuation */
/*==========
.mw-highlight .p {
  Расширение:Popups
color: var(--synt-high--color-punctuation);
==========*/
}


/* Comment */
/* Всплывающие окна */
.mw-highlight .c {
.mwe-popups {
color: var(--synt-high--color-comment);
background: var(--ooui--gradient-light);
box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.35), 0 0 1px 1px rgba(0, 0, 0, 0.1);
}
}


/* Comment.Hashbang */
.mwe-popups img {
.mw-highlight .ch {
image-rendering: auto;
color: var(--synt-high--color-comment);
}
}


/* Comment.Multiline */
.mwe-popups .mwe-popups-container {
.mw-highlight .cm {
background: var(--ooui--gradient-light);
color: var(--synt-high--color-comment);
}
}


/* Comment.Preproc */
.mwe-popups .mwe-popups-extract {
.mw-highlight .cp {
color: #dddddd;
color: var(--synt-high--color-comment);
}
}


/* Comment.PreprocFile */
.mwe-popups .mwe-popups-extract:hover {
.mw-highlight .cpf {
color: #e8e8e8;
color: var(--synt-high--color-comment);
}
}


/* Comment.Single */
.mwe-popups .mwe-popups-extract[dir='ltr']::after {
.mw-highlight .c1 {
background: linear-gradient(90deg, #ffffff00 0%, #2a2a3387 50%);
color: var(--synt-high--color-comment);
}
}


/* Comment.Special */
.mwe-popups .mwe-popups-extract[dir='rtl']::after {
.mw-highlight .cs {
background: linear-gradient(90deg, #2a2a3387 50%, #ffffff00 0%);
color: var(--synt-high--color-comment);
}
}


/* Generic.Deleted */
/* Настройки */
.mw-highlight .gd {
.mwe-popups-overlay {
color: #f92672;
background: rgba(0, 0, 0, 0.6);
}
}


/* Generic.Emph */
#mwe-popups-settings {
.mw-highlight .ge {
border: 1px solid #41414d;
font-style: italic;
background: #27272f;
}
}


/* Generic.Inserted */
#mwe-popups-settings header {
.mw-highlight .gi {
border-bottom: 1px solid #41414d;
color: var(--synt-high--color-name);
}
}


/* Generic.Strong */
#mwe-popups-settings main#mwe-popups-settings-form p {
.mw-highlight .gs {
color: lightgray;
font-weight: bold;
}
}


/* Generic.Subheading */
#mwe-popups-settings main#mwe-popups-settings-form form label > span {
.mw-highlight .gu {
color: #dddddd;
color: #75715e;
}
}


/* Keyword.Constant */
/*==========
.mw-highlight .kc {
Расширение:InputBox
color: var(--synt-high--color-keyword);
==========*/
 
.mw-ui-input {
background: var(--ooui--bg-color);
color: var(--ooui--text-color-light);
}
}


/* Keyword.Declaration */
form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input {
.mw-highlight .kd {
border-radius: var(--border-radius-low);
color: var(--synt-high--color-keyword);
border-color: var(--ooui--border-color);
}
}


/* Keyword.Namespace */
.mw-ui-input:hover {
.mw-highlight .kn {
border-color: var(--ooui--border-color-light);
color: #f92672;
}
}


/* Keyword.Pseudo */
/*==========
.mw-highlight .kp {
Расширение:SyntaxHighlight
color: var(--synt-high--color-keyword);
==========*/
}


/* Keyword.Reserved */
.mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre {
.mw-highlight .kr {
background: var(--theme-bg-color-50);
color: var(--synt-high--color-keyword);
border-color: var(--ooui--border-color);
box-shadow: var(--ooui--bg-color-dark) 2.75em 0px 0px inset;
font-size: 90%;
color: var(--ooui--text-color);
}
}


/* Keyword.Type */
.mw-content-ltr.mw-highlight .linenos {
.mw-highlight .kt {
color: var(--ooui--text-color-dark);
color: var(--synt-high--color-keyword);
}
}


/* Literal.Date */
/* ================================================ */
.mw-highlight .ld {
/* #region <syntaxhighlight> CODE BLOCKS  */
color: var(--synt-high--color-date);
/* ================================================ */
 
:root {
--synt-high--color-darkCreamy: #262421;
--synt-high--color-lightCreamy: hsl(38, 5%, 45%);
 
--synt-high--color-comment: var(--synt-high--color-lightCreamy);
--synt-high--color-err: #ff1a94;
--synt-high--color-operator: #e7236a;
--synt-high--color-punctuation: #f8f8f2;
--synt-high--color-string: #e6db74;
--synt-high--color-date: var(--synt-high--color-string);
/* names for things such as variables, functions, classes, etc. */
--synt-high--color-name: #a6e22e;
/* literals, mostly numbers, some string stuff too. */
--synt-high--color-literal: #ae81ff;
/* keywords and constants */
--synt-high--color-keyword: #57b8cb;
--action-color: hsl(220, 60%, 50%);
}
}


/* Literal.Number */
/* Modified version of https://github.com/richleland/pygments-css/blob/master/monokai.css */
.mw-highlight .m {
color: var(--synt-high--color-literal);
}


/* Literal.String */
/* Highlighted Lines */
.mw-highlight .s {
.mw-highlight .hll {
color: var(--synt-high--color-string);
background: var(--action-color);
}
}


/* Name.Attribute */
/* Error */
.mw-highlight .na {
.mw-highlight .err {
color: var(--synt-high--color-name);
color: var(--synt-high--color-err);
background: hsl(328, 40%, 16%);
}
}


/* Name.Builtin */
/* Keyword */
.mw-highlight .nb {
.mw-highlight .k {
color: #f8f8f2;
color: var(--synt-high--color-keyword);
}
}


/* Name.Class */
/* Literal */
.mw-highlight .nc {
.mw-highlight .l {
color: var(--synt-high--color-name);
color: var(--synt-high--color-literal);
}
}


/* Name.Constant */
/* Name */
.mw-highlight .no {
.mw-highlight .n {
color: var(--synt-high--color-keyword);
color: #f8f8f2;
}
}


/* Name.Decorator */
/* Operator */
.mw-highlight .nd {
.mw-highlight .o {
color: var(--synt-high--color-name);
color: var(--synt-high--color-operator);
}
}


/* Name.Entity */
/* Punctuation */
.mw-highlight .ni {
.mw-highlight .p {
color: #f8f8f2;
color: var(--synt-high--color-punctuation);
}
}


/* Name.Exception */
/* Comment */
.mw-highlight .ne {
.mw-highlight .c {
color: var(--synt-high--color-name);
color: var(--synt-high--color-comment);
}
}


/* Name.Function */
/* Comment.Hashbang */
.mw-highlight .nf {
.mw-highlight .ch {
color: var(--synt-high--color-name);
color: var(--synt-high--color-comment);
}
}


/* Name.Label */
/* Comment.Multiline */
.mw-highlight .nl {
.mw-highlight .cm {
color: #f8f8f2;
color: var(--synt-high--color-comment);
}
}


/* Name.Namespace */
/* Comment.Preproc */
.mw-highlight .nn {
.mw-highlight .cp {
color: #f8f8f2;
color: var(--synt-high--color-comment);
}
}


/* Name.Other */
/* Comment.PreprocFile */
.mw-highlight .nx {
.mw-highlight .cpf {
color: var(--synt-high--color-name);
color: var(--synt-high--color-comment);
}
}


/* Name.Property */
/* Comment.Single */
.mw-highlight .py {
.mw-highlight .c1 {
color: #f8f8f2;
color: var(--synt-high--color-comment);
}
}


/* Name.Tag */
/* Comment.Special */
.mw-highlight .nt {
.mw-highlight .cs {
color: #f92672;
color: var(--synt-high--color-comment);
}
}


/* Name.Variable */
/* Generic.Deleted */
.mw-highlight .nv {
.mw-highlight .gd {
color: #f8f8f2;
color: #f92672;
}
}


/* Operator.Word */
/* Generic.Emph */
.mw-highlight .ow {
.mw-highlight .ge {
color: var(--synt-high--color-operator);
font-style: italic;
}
}


/* Text.Whitespace */
/* Generic.Inserted */
.mw-highlight .w {
.mw-highlight .gi {
color: #f8f8f2;
color: var(--synt-high--color-name);
}
}


/* Literal.Number.Bin */
/* Generic.Strong */
.mw-highlight .mb {
.mw-highlight .gs {
color: var(--synt-high--color-literal);
font-weight: bold;
}
}


/* Literal.Number.Float */
/* Generic.Subheading */
.mw-highlight .mf {
.mw-highlight .gu {
color: var(--synt-high--color-literal);
color: #75715e;
}
}


/* Literal.Number.Hex */
/* Keyword.Constant */
.mw-highlight .mh {
.mw-highlight .kc {
color: var(--synt-high--color-literal);
color: var(--synt-high--color-keyword);
}
}


/* Literal.Number.Integer */
/* Keyword.Declaration */
.mw-highlight .mi {
.mw-highlight .kd {
color: var(--synt-high--color-literal);
color: var(--synt-high--color-keyword);
}
}


/* Literal.Number.Oct */
/* Keyword.Namespace */
.mw-highlight .mo {
.mw-highlight .kn {
color: var(--synt-high--color-literal);
color: #f92672;
}
}


/* Literal.String.Affix */
/* Keyword.Pseudo */
.mw-highlight .sa {
.mw-highlight .kp {
color: var(--synt-high--color-string);
color: var(--synt-high--color-keyword);
}
}


/* Literal.String.Backtick */
/* Keyword.Reserved */
.mw-highlight .sb {
.mw-highlight .kr {
color: var(--synt-high--color-string);
color: var(--synt-high--color-keyword);
}
}


/* Literal.String.Char */
/* Keyword.Type */
.mw-highlight .sc {
.mw-highlight .kt {
color: var(--synt-high--color-string);
color: var(--synt-high--color-keyword);
}
}


/* Literal.String.Delimiter */
/* Literal.Date */
.mw-highlight .dl {
.mw-highlight .ld {
color: var(--synt-high--color-string);
color: var(--synt-high--color-date);
}
}


/* Literal.String.Doc */
/* Literal.Number */
.mw-highlight .sd {
.mw-highlight .m {
color: var(--synt-high--color-string);
color: var(--synt-high--color-literal);
}
}


/* Literal.String.Double */
/* Literal.String */
.mw-highlight .s2 {
.mw-highlight .s {
color: var(--synt-high--color-string);
color: var(--synt-high--color-string);
}
}


/* Literal.String.Escape */
/* Name.Attribute */
.mw-highlight .se {
.mw-highlight .na {
color: var(--synt-high--color-literal);
color: var(--synt-high--color-name);
}
}


/* Literal.String.Heredoc */
/* Name.Builtin */
.mw-highlight .sh {
.mw-highlight .nb {
color: var(--synt-high--color-string);
color: #f8f8f2;
}
}


/* Literal.String.Interpol */
/* Name.Class */
.mw-highlight .si {
.mw-highlight .nc {
color: var(--synt-high--color-string);
color: var(--synt-high--color-name);
}
}


/* Literal.String.Other */
/* Name.Constant */
.mw-highlight .sx {
.mw-highlight .no {
color: var(--synt-high--color-string);
color: var(--synt-high--color-keyword);
}
}


/* Literal.String.Regex */
/* Name.Decorator */
.mw-highlight .sr {
.mw-highlight .nd {
color: var(--synt-high--color-string);
color: var(--synt-high--color-name);
}
}


/* Literal.String.Single */
/* Name.Entity */
.mw-highlight .s1 {
.mw-highlight .ni {
color: var(--synt-high--color-string);
color: #f8f8f2;
}
}


/* Literal.String.Symbol */
/* Name.Exception */
.mw-highlight .ss {
.mw-highlight .ne {
color: var(--synt-high--color-string);
color: var(--synt-high--color-name);
}
}


/* Name.Builtin.Pseudo */
/* Name.Function */
.mw-highlight .bp {
.mw-highlight .nf {
color: #f8f8f2;
}
 
/* Name.Function.Magic */
.mw-highlight .fm {
color: var(--synt-high--color-name);
color: var(--synt-high--color-name);
}
}


/* Name.Variable.Class */
/* Name.Label */
.mw-highlight .vc {
.mw-highlight .nl {
color: #f8f8f2;
color: #f8f8f2;
}
}


/* Name.Variable.Global */
/* Name.Namespace */
.mw-highlight .vg {
.mw-highlight .nn {
color: #f8f8f2;
color: #f8f8f2;
}
}


/* Name.Variable.Instance */
/* Name.Other */
.mw-highlight .vi {
.mw-highlight .nx {
color: #f8f8f2;
color: var(--synt-high--color-name);
}
}


/* Name.Variable.Magic */
/* Name.Property */
.mw-highlight .vm {
.mw-highlight .py {
color: #f8f8f2;
color: #f8f8f2;
}
}


/* Literal.Number.Integer.Long */
/* Name.Tag */
.mw-highlight .il {
.mw-highlight .nt {
color: var(--synt-high--color-literal);
color: #f92672;
}
}


/* #endregion */
/* Name.Variable */
.mw-highlight .nv {
color: #f8f8f2;
}
 
/* Operator.Word */
.mw-highlight .ow {
color: var(--synt-high--color-operator);
}


/* Test AsnDen */
/* Text.Whitespace */
.AsnDen {
.mw-highlight .w {
color: #55555555;
color: #f8f8f2;
}
 
/* Literal.Number.Bin */
.mw-highlight .mb {
color: var(--synt-high--color-literal);
}
 
/* Literal.Number.Float */
.mw-highlight .mf {
color: var(--synt-high--color-literal);
}
}


/* ============ */
/* Literal.Number.Hex */
/* #region SOURCE EDITOR → SYNTAX HIGHLIGHTING */
.mw-highlight .mh {
/* based on: https://github.com/wikimedia/mediawiki-extensions-CodeMirror/blob/master/resources/mode/mediawiki/mediawiki.less */
color: var(--synt-high--color-literal);
/* ============ */
}
:root {
 
/* "se-cm" = Source Editor - Code Mirror */
/* Literal.Number.Integer */
/* same color as for source editor */
.mw-highlight .mi {
--se-cm--bg-color: var(--bg-color-light-x2);
color: var(--synt-high--color-literal);
/* same color as for code block */
}
--se-cm--gutter-bg-color: var(--code-color-bg);
 
/* margin to the left for the main contents of the editor */
/* Literal.Number.Oct */
--se-cm--main-contents-left-margin: 0.25rem;
.mw-highlight .mo {
/* bg color for pre/nowiki tags contents */
color: var(--synt-high--color-literal);
--se-cm--pre-bg-color: hsl(205, 21%, 15%);
}
/* from the <syntaxhighlight> theme */
 
--se-cm--comment-color: var(--synt-high--color-comment);
/* Literal.String.Affix */
--se-cm--error-color: var(--red-color);
.mw-highlight .sa {
/* link itself */
color: var(--synt-high--color-string);
--se-cm--link-color: #699ae9;
}
/* link delimiter */
 
--se-cm--cm-mw-link-delimiter: var(--se-cm--template-delimiter-color);
/* Literal.String.Backtick */
/* link text */
.mw-highlight .sb {
--se-cm--link-text-color: #3873d3;
color: var(--synt-high--color-string);
--se-cm--link-brackets-color: var(--se-cm--link-text-color);
}
/* things like "DISPLAYTITLE" "templates" (the whole template except the value part) */
 
--se-cm--parser-function-color: #e0485a;
/* Literal.String.Char */
/* function param values */
.mw-highlight .sc {
--se-cm--parser-function-values-color: #e0cacd;
color: var(--synt-high--color-string);
/* table brackets and row delimiter */
}
--se-cm--table-punctuation-color: var(--se-cm--parser-function-color);
 
/* table settings */
/* Literal.String.Delimiter */
--se-cm--table-settings-color: var(--se-cm--template-name-color);
.mw-highlight .dl {
/* template name */
color: var(--synt-high--color-string);
--se-cm--template-name-color: #a142cf;
}
/* template arg names */
 
--se-cm--template-arg-name-color: #9e27da;
/* Literal.String.Doc */
/* template brackets */
.mw-highlight .sd {
--se-cm--template-brackets-color: var(--se-cm--template-name-color);
color: var(--synt-high--color-string);
/* template arg values */
}
--se-cm--template-values-color: #a3cced;
 
/* template arg delimiters */
/* Literal.String.Double */
--se-cm--template-delimiter-color: var(--se-cm--link-color);
.mw-highlight .s2 {
/* template param name */
color: var(--synt-high--color-string);
--se-cm--template-param-name-color: #d07b00;
}
/* template param brackets */
 
--se-cm--template-param-brackets-color: #ac6600;
/* Literal.String.Escape */
/* template param values */
.mw-highlight .se {
--se-cm--template-param-value-color: hsl(207,90%,83%);
color: var(--synt-high--color-literal);
/* template param delimiter */
}
--se-cm--template-param-delimiter-color: var(--se-cm--template-delimiter-color);
 
/* wiki formatting: headers, bullet points, bold/italic quotes, etc. */
/* Literal.String.Heredoc */
--se-cm--wikitext-formatting-color: var(--se-cm--link-text-color);
.mw-highlight .sh {
/* html tags, including ones specific for the wiki (like syntaxhighlight) */
color: var(--synt-high--color-string);
--se-cm--xml-tag-color: #11a886;
}
/* selection color */
 
--se-cm--selection-color: hsl(205, 21%, 30%);
/* Literal.String.Interpol */
/* bg color applied when selecting a bracket that has a match (in templates) */
.mw-highlight .si {
--se-cm--matching-brackets-bg-color: hsl(205, 21%, 44%);
color: var(--synt-high--color-string);
}
}
/* the whole content body code mirror wrapper */
 
.CodeMirror-wrap {
/* Literal.String.Other */
/* same color as for source editor */
.mw-highlight .sx {
background-color: var(--se-cm--bg-color);
color: var(--synt-high--color-string);
}
 
/* Literal.String.Regex */
.mw-highlight .sr {
color: var(--synt-high--color-string);
}
 
/* Literal.String.Single */
.mw-highlight .s1 {
color: var(--synt-high--color-string);
}
 
/* Literal.String.Symbol */
.mw-highlight .ss {
color: var(--synt-high--color-string);
}
 
/* Name.Builtin.Pseudo */
.mw-highlight .bp {
color: #f8f8f2;
}
 
/* Name.Function.Magic */
.mw-highlight .fm {
color: var(--synt-high--color-name);
}
 
/* Name.Variable.Class */
.mw-highlight .vc {
color: #f8f8f2;
}
 
/* Name.Variable.Global */
.mw-highlight .vg {
color: #f8f8f2;
}
 
/* Name.Variable.Instance */
.mw-highlight .vi {
color: #f8f8f2;
}
 
/* Name.Variable.Magic */
.mw-highlight .vm {
color: #f8f8f2;
}
 
/* Literal.Number.Integer.Long */
.mw-highlight .il {
color: var(--synt-high--color-literal);
}
 
/* #endregion */
 
/* Test AsnDen */
.AsnDen {
color: #55555555;
}
 
/* ============ */
/* #region SOURCE EDITOR → SYNTAX HIGHLIGHTING */
/* based on: https://github.com/wikimedia/mediawiki-extensions-CodeMirror/blob/master/resources/mode/mediawiki/mediawiki.less */
/* ============ */
:root {
/* "se-cm" = Source Editor - Code Mirror */
/* same color as for source editor */
--se-cm--bg-color: var(--bg-color-light-x2);
/* same color as for code block */
--se-cm--gutter-bg-color: var(--code-color-bg);
/* margin to the left for the main contents of the editor */
--se-cm--main-contents-left-margin: 0.25rem;
/* bg color for pre/nowiki tags contents */
--se-cm--pre-bg-color: hsl(205, 21%, 15%);
/* from the <syntaxhighlight> theme */
--se-cm--comment-color: var(--synt-high--color-comment);
--se-cm--error-color: var(--red-color);
/* link itself */
--se-cm--link-color: #699ae9;
/* link delimiter */
--se-cm--cm-mw-link-delimiter: var(--se-cm--template-delimiter-color);
/* link text */
--se-cm--link-text-color: #3873d3;
--se-cm--link-brackets-color: var(--se-cm--link-text-color);
/* things like "DISPLAYTITLE" "templates" (the whole template except the value part) */
--se-cm--parser-function-color: #e0485a;
/* function param values */
--se-cm--parser-function-values-color: #e0cacd;
/* table brackets and row delimiter */
--se-cm--table-punctuation-color: var(--se-cm--parser-function-color);
/* table settings */
--se-cm--table-settings-color: var(--se-cm--template-name-color);
/* template name */
--se-cm--template-name-color: #a142cf;
/* template arg names */
--se-cm--template-arg-name-color: #9e27da;
/* template brackets */
--se-cm--template-brackets-color: var(--se-cm--template-name-color);
/* template arg values */
--se-cm--template-values-color: #a3cced;
/* template arg delimiters */
--se-cm--template-delimiter-color: var(--se-cm--link-color);
/* template param name */
--se-cm--template-param-name-color: #d07b00;
/* template param brackets */
--se-cm--template-param-brackets-color: #ac6600;
/* template param values */
--se-cm--template-param-value-color: hsl(207,90%,83%);
/* template param delimiter */
--se-cm--template-param-delimiter-color: var(--se-cm--template-delimiter-color);
/* wiki formatting: headers, bullet points, bold/italic quotes, etc. */
--se-cm--wikitext-formatting-color: var(--se-cm--link-text-color);
/* html tags, including ones specific for the wiki (like syntaxhighlight) */
--se-cm--xml-tag-color: #11a886;
/* selection color */
--se-cm--selection-color: hsl(205, 21%, 30%);
/* bg color applied when selecting a bracket that has a match (in templates) */
--se-cm--matching-brackets-bg-color: hsl(205, 21%, 44%);
}
/* the whole content body code mirror wrapper */
.CodeMirror-wrap {
/* same color as for source editor */
background: var(--se-cm--bg-color);
/* color for the text that the other rules don't apply to (regular text, header text, etc.) */
/* color for the text that the other rules don't apply to (regular text, header text, etc.) */
color: var(--text-color);
color: var(--text-color);
Строка 5094: Строка 5263:
/* gutters?? */
/* gutters?? */
.CodeMirror-wrap .CodeMirror-gutters {
.CodeMirror-wrap .CodeMirror-gutters {
border-color: var(--ooui--border-dark);
border-color: var(--ooui--border-color-dark);
}
}
/* gutter */
/* gutter */
.CodeMirror-wrap .CodeMirror-gutter {
.CodeMirror-wrap .CodeMirror-gutter {
/* same color as for code block */
/* same color as for code block */
background-color: var(--se-cm--gutter-bg-color);
background: var(--se-cm--gutter-bg-color);
}
}
/* selection */
/* selection */
Строка 5107: Строка 5276:
/* selection */
/* selection */
.CodeMirror-line>span>span::selection {
.CodeMirror-line>span>span::selection {
background-color: var(--se-cm--selection-color);
background: var(--se-cm--selection-color);
}
}
/* bullet point symbol */
/* bullet point symbol */
Строка 5125: Строка 5294:
color: var(--se-cm--wikitext-formatting-color);
color: var(--se-cm--wikitext-formatting-color);
/* override the defaults */
/* override the defaults */
background-color: inherit;
background: inherit;
}
}
/* html sequences like "&nbsp;" */
/* html sequences like "&nbsp;" */
Строка 5132: Строка 5301:
.cm-mw-html-entity {
.cm-mw-html-entity {
color: var(--se-cm--xml-tag-color);
color: var(--se-cm--xml-tag-color);
background-color: #684905;
background: #684905;
border-radius: 2px;
border-radius: 2px;
}
}
Строка 5210: Строка 5379:
same style as for html tag names, but for bg here */
same style as for html tag names, but for bg here */
.cm-mw-skipformatting {
.cm-mw-skipformatting {
background-color: var(--se-cm--xml-tag-color);
background: var(--se-cm--xml-tag-color);
}
}
/* wiki html tag brackets */
/* wiki html tag brackets */
Строка 5239: Строка 5408:
/* nowiki tag contents */
/* nowiki tag contents */
.cm-mw-tag-nowiki {
.cm-mw-tag-nowiki {
background-color: var(--se-cm--pre-bg-color);
background: var(--se-cm--pre-bg-color);
}
}
/* pre tag BLOCK contents */
/* pre tag BLOCK contents */
Строка 5309: Строка 5478:
}
}
.cm-mw-matchingbracket {
.cm-mw-matchingbracket {
background-color: var(--se-cm--matching-brackets-bg-color);
background: var(--se-cm--matching-brackets-bg-color);
/* disable the default */
/* disable the default */
box-shadow: none;
box-shadow: none;
Строка 5345: Строка 5514:
.cm-mw-template3-ext3-link-ground {
.cm-mw-template3-ext3-link-ground {
/* just disable them */
/* just disable them */
background-color: inherit;
background: inherit;
}
}
/* new code */
/* new code */
Строка 5376: Строка 5545:


.druid-container {
.druid-container {
--druid-border-color: var(--theme-border);
--druid-border-color: var(--theme-border-color-base);
--druid-color-contrast: var(--color-contrast2);
--druid-color-contrast: var(--color-contrast2);
--druid-color-contrast-darkened: color-mix(in srgb, var(--druid-color-contrast) 10%, rgb(var(--theme-color-darkened--rgb)));
--druid-color-contrast-darkened: color-mix(in srgb, var(--druid-color-contrast) 15%, rgb(var(--theme-color-darkened--rgb)));
}
}


.druid-container {
.druid-container {
background: var(--theme-bg-light);
background: var(--theme-bg-color-200);
float: right;
float: right;
clear: right;
clear: right;
margin: 0 0 1em 1em;
margin: 0 0 1em 1em;
max-width: 375px;
max-width: 400px;
min-width: 300px;
box-sizing: border-box;
box-sizing: border-box;
position: relative;
position: relative;
Строка 5402: Строка 5572:
float: none;
float: none;
margin: 0.5rem auto;
margin: 0.5rem auto;
min-width: 100%;
   }
   }
}
}
Строка 5407: Строка 5578:
.druid-main-images-file,
.druid-main-images-file,
.druid-main-image {
.druid-main-image {
text-align:center;
text-align: center;
}
}


Строка 5422: Строка 5593:


.druid-infobox .druid-section {
.druid-infobox .druid-section {
font-size: 110%;
font-size: 105%;
background: var(--druid-color-contrast-darkened);
background: var(--druid-color-contrast-darkened);
padding: 4px;
border-top: 1px solid var(--druid-border-color);
border-top: 1px solid var(--druid-border-color);
}
}
Строка 5434: Строка 5604:
.druid-row > .druid-label,
.druid-row > .druid-label,
.druid-row > .druid-data {
.druid-row > .druid-data {
padding-inline: 0.3em;
padding-inline: 0.5em;
}
}


.druid-main-image,
.druid-main-image,
.druid-main-images {
.druid-main-images {
background: var(--theme-bg-light);
background: var(--theme-bg-color-200);
border-bottom: 1px solid var(--druid-border-color);
border-bottom: 1px solid var(--druid-border-color);
padding: 2px 0;
padding: 2px 0;
}
}


.druid-main-image img,  
.mw-body-content .druid-main-image img,  
.druid-main-images img {
.mw-body-content .druid-main-images img {
max-width: 100%;
max-width: 100% !important;
height: auto;
height: auto !important;
}
}


Строка 5535: Строка 5705:
-webkit-mask-position: center center;
-webkit-mask-position: center center;
mask-position: center center;
mask-position: center center;
background-color: var(--druid-secondary-background-label-color);
background: var(--druid-secondary-background-label-color);
}
}


Строка 5547: Строка 5717:


.druid-container tbody tr.data-druid-section:nth-child(3),
.druid-container tbody tr.data-druid-section:nth-child(3),
.druid-container tbody tr.data-druid-section:nth-child(4),
.druid-container tbody tr.data-druid-section:nth-child(4) {
.druid-container tbody tr.data-druid-section:nth-child(5) {
display: none;
display: none;
}
}


.druid-container tbody tr.druid-row:nth-child(3) {
.druid-container tbody tr.druid-row:nth-child(3) {
background: var(--theme-bg-lighter) !important;
background: var(--theme-bg-color-250) !important;
}
}


.druid-container tbody tr.druid-row:nth-child(3) th {
.druid-container tbody tr.druid-row:nth-child(3) th {
border-right: 1px solid var(--theme-bg-light) !important;
border-right: 1px solid var(--theme-bg-color-200) !important;
}
}


.druid-container tr:not(.data-druid-section):nth-child(odd) {
.druid-container tr:not(.data-druid-section):nth-child(odd) {
background: var(--theme-bg-light);
background: var(--theme-bg-color-200);
}
}


.druid-container tr:not(.data-druid-section):nth-child(even) {
.druid-container tr:not(.data-druid-section):nth-child(even) {
background: var(--theme-bg-lighter);
background: var(--theme-bg-color-250);
}
}


.druid-container tr:nth-child(even) th:not([colspan]) {
.druid-container tr:nth-child(even) th:not([colspan]) {
border-right: 1px solid var(--theme-bg-light);
border-right: 1px solid var(--theme-bg-color-200);
}
}


Строка 5580: Строка 5749:


.druid-container th {
.druid-container th {
width: 35%;
width: 40%;
text-align: left;
text-align: left;
}
}
Строка 5624: Строка 5793:
clip-path: polygon( 0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)) );
clip-path: polygon( 0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)) );
margin: 3px;
margin: 3px;
}
/* values */
.druid-infobox .druid-data {
/* break words that are too long */
word-break: break-word;
}
}


Строка 5638: Строка 5801:
/* #endregion */
/* #endregion */


/*==========
/* Таблица в виде грид сетки для сортировки. Используется вместе с классом .sortable */
  Шаблон:LinkCard
.sortable-grid {
==========*/
width: 100%;
.link-card {
}
--background-color: color-mix(in srgb, var(--bg-color) var(--alpha), rgb(var(--theme-color-darkened--rgb)));
 
.sortable-grid tbody {
display: grid;
gap: 8px 6px;
grid-template-columns: repeat(auto-fit,minmax(clamp(250px, 50vw, 400px),1fr));
}
 
/* Класс для большего количества столбцов */
.sortable-grid--small-column tbody {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
 
.sortable-grid thead tr:first-child {
grid-column: 1 / -1;
}


display: inline-block;
.sortable-grid > tr > th,
position: relative;
.sortable-grid > tr > td,
min-width: 110px;
.sortable-grid > * > tr > th,
text-align: center;
.sortable-grid > * > tr > td {
border: var(--border-outset);
display: block;
border-radius: 0.3em;
height: 100%;
box-shadow: var(--box-shadow-medium);
background: var(--background-color);
transition: all 0.15s ease;
min-height: calc(32px + 4px);
}
 
.link-card__image {
position: relative;
text-align: center;
align-content: center;
padding: 6px;
}
 
.link-card__name {
position: relative;
width: 100%;
padding: 2px 4px;
font-size: 0.8em;
box-sizing: border-box;
box-sizing: border-box;
background: rgba(0, 0, 0, 0.2);
font-weight: bold;
}
}


.link-card.brightness-overlay::before {
.sortable-grid .headerSort {
border-radius: 0.3em;
padding: 4px 0;
}
 
.link-card__pin {
top: 0;
right: 4px;
}
 
@media (min-width: 800px) {
.link-card-hover:not(.link-card__side):hover  {
box-shadow: var(--box-shadow-high);
transform: translateY(-4px);
}
}
 
@media (max-width: 800px) {
.link-card {
display: flex;
width: 100%;
text-align: left;
justify-content: center;
box-shadow: var(--box-shadow);
min-width: 0;
}
 
.link-card__name {
background: rgba(0, 0, 0, 0.15);
padding: 4px 8px;
font-size: 0.9em;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
}
 
.link-card__image {
min-width: calc(32px - 4px);
}
.link-card__image:has(img) {
min-width: unset;
}
}
 
.link-card__side {
display: flex ;
width: 100%;
text-align: left;
text-align: left;
justify-content: center;
box-shadow: var(--box-shadow);
}
.link-card__side .link-card__name {
background: rgba(0, 0, 0, 0.15);
padding: 4px 8px;
font-size: 0.9em;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: nowrap;
}
.link-card__side .link-card__image {
min-width: calc(32px - 4px);
}
.link-card__side .link-card__image:has(img) {
min-width: unset;
}
}

Текущая версия от 21:00, 27 апреля 2025

/* Стандартные цвета:
#1b1b1f - фон Navbar/styles.css/styles.css
#212126 - фон информационных блоков (навигация и основной блок страницы)

#303037 - фон для <pre> и <code>
lightgrey - цвет текста для <pre> и <code>
*/

/* ================================================================== */

:root {
	/* Пометка:
	--ooui  - стили для MediaWiki менюшек
	--theme - тема Вики (зачастую палитра цветов)
	--		- стили для всей Вики
	*/

	/*==========
	 Неизменяемая тема Вики 
	==========*/
	color-scheme: dark;
	
	--color-lighter--rgb: 255, 255, 255;
	--color-lighter-alpha-x: rgba(var(--theme-color-lighter--rgb), var(--alpha-x));

	--color-darkened--rgb: 0, 0, 0;

	/*== Значение прозрачности ==*/
	--alpha-x: 0.05;
	--alpha-xs: 0.1;
	--alpha-s: 0.25;
	--alpha-m: 0.5;
	--alpha-l: 0.75;
	--alpha: 1;
	
	/*== Цвет текста ==*/
	--text-color-link: #77c1d9;
	--text-color-link-external: #3377aa;
	
	/*== Контрастный цвет (синий) ==*/
	--color-contrast: #36c;
	--color-contrast2: #294582;
	--color-contrast-dark: #152037;
	
	--color-contrast--rgb: 51, 102, 204;
	--color-contrast2--rgb: 45, 77, 145;
	--color-contrast-dark--rgb: 21, 32, 55;
	
	/*== Цвет фона ==*/
	/* Алёрты */
	--bg-color-message: #0e6143;
	--bg-color-success: var(--bg-color-message);
	
	--bg-color-notice: #21375f;
	--bg-color-neutral: #2b2e39;
	--bg-color-progressive: #23232f;
	
	--bg-color-warning: #736218;
	--bg-color-error: #7b1919;


	--bg-color-message-subtle: #154938;
	--bg-color-success-subtle: var(--bg-color-message-subtle);
	
	--bg-color-notice-subtle: var(--bg-color-notice);
	--bg-color-neutral-subtle: var(--bg-color-neutral);
	--bg-color-progressive-subtle: var(--bg-color-progressive);
	
	--bg-color-warning-subtle: #453e22;
	--bg-color-error-subtle: #4b1e21;
	
	/*== Цвет границ ==*/
	--color-darkened-border: rgba(0, 0, 0, var(--alpha-s));
	--color-darkened-border-m: rgba(0, 0, 0, var(--alpha-m));
	
	/* Алёрты */
	--border-color-message: #13855c;
	--border-color-success: var(--border-color-message);

	--border-color-notice: #345695;
	--border-color-neutral: #393d4b;
	--border-color-progressive: #38384b;

	--border-color-warning: #97851f;	
	--border-color-error: #af2424;

	/*== Для кодо-подобных блоков ==*/
	/* Цвет фона */
	--bg-color-code: #25252b;
	--bg-color-code-light: #28282f;
	
	/* Цвет границ */
	--border-color-code: #3e3e49;
	--border-color-code-light: #2f2f37;

	/*== Стиль границ ==*/
	--border-outset: 1px outset rgba(0, 0, 0, 0.3);
	--border-outset-m: 1px outset rgba(0, 0, 0, var(--alpha-m));	

	/*== Палитра цветов фонов ==*/
	/* Red */
	--bg-color-red-50: #312125;
	--bg-color-red-100: #712121;
	--bg-color-red-150: #8b2626;
	--bg-color-red-subtle: #512529;
	
	/* Yellow */
	--bg-color-yellow-50: #322d21;
	--bg-color-yellow-100: #735d19;
	--bg-color-yellow-150: #8d7111;
	--bg-color-yellow-subtle: #3e3a32;
	
	/* Brown */
	--bg-color-brown-50: #2c2625;
	--bg-color-brown-100: #553a20;
	--bg-color-brown-150: #67421f;
	--bg-color-brown-subtle: #3f3127;
	
	/* Blue */
	--bg-color-blue-50: #202834;
	--bg-color-blue-100: #1f446b;
	--bg-color-blue-150: #23507f;
	--bg-color-blue-subtle: #2d3546;
	
	/* Sky Blue */
	--bg-color-sky-blue-50: #212936;
	--bg-color-sky-blue-100: #224973;
	--bg-color-sky-blue-150: #325b89;
	--bg-color-sky-blue-subtle: #2f3543;
	
	/* Turquoise */
	--bg-color-turquoise-50: #1b2f35;
	--bg-color-turquoise-100: #025961;
	--bg-color-turquoise-150: #036670;
	--bg-color-turquoise-subtle: #283842;
	
	/* Azure */
	--bg-color-azure-50: #1a2c36;
	--bg-color-azure-100: #004c66;
	--bg-color-azure-150: #005875;
	--bg-color-azure-subtle: #273643;
	
	/* Purple */
	--bg-color-purple-50: #292034;
	--bg-color-purple-100: #4a1f6b;
	--bg-color-purple-150: #552679;
	--bg-color-purple-subtle: #352d45;
	
	/* Violet */
	--bg-color-violet-50: #272033;
	--bg-color-violet-100: #3e1f65;
	--bg-color-violet-150: #4a2a71;
	--bg-color-violet-subtle: #322f41;
	
	/* Green */
	--bg-color-green-50: #212f26;
	--bg-color-green-100: #236528;
	--bg-color-green-150: #2c7332;
	--bg-color-green-subtle: #2e3f37;
	
	/* Emerald */
	--bg-color-emerald-50: #1b2f2a;
	--bg-color-emerald-100: #03633b;
	--bg-color-emerald-150: #096f44;
	--bg-color-emerald-subtle: #2d393d;
	

	/* Pastel Red */
	--bg-color-pastel-red-100: #911d2e;
	--bg-color-pastel-red-150: #911d2e;
	
	/* Pastel Blue */
	--bg-color-pastel-blue-100: #4c467f;
	--bg-color-pastel-blue-150: #4c467f;
	
	/* Pastel Sky Blue */
	--bg-color-pastel-skyblue-100: #2b5867;
	--bg-color-pastel-skyblue-150: #2b5867;
	
	/* Pastel Magenta */
	--bg-color-pastel-magenta-100: #7d3071;
	--bg-color-pastel-magenta-150: #7d3071;
	
	/* Pastel Lime */
	--bg-color-pastel-lime-100: #5f832f;
	--bg-color-pastel-lime-150: #5f832f;
	
	/* Pastel Turquoise */
	--bg-color-pastel-turquoise-100: #346d6a;
	--bg-color-pastel-turquoise-150: #346d6a;
	
	/* Pastel Grey */
	--bg-color-pastel-grey-100: #757269;
	--bg-color-pastel-grey-150: #757269;
	
	/* Pastel Orange */
	--bg-color-pastel-orange-100: #95472c;
	--bg-color-pastel-orange-150: #95472c;

	/*== Палитра цветов текста ==*/
	--text-color-red: #c52626;
	--text-color-dark-red: #a50a0b;
	--text-color-indian-red: indianred;
	--text-color-crimson: crimson;
	--text-color-carmine: #bd3759;
	--text-color-dark-salmon: darksalmon;
	
	--text-color-green: #269335;
	--text-color-lime: #46b146;
	--text-color-turquoise: #189d80;
	
	--text-color-yellow: #dbdb11;
	--text-color-dark-yellow: #a4a400;
	--text-color-gold: #c7a226;
	
	--text-color-orange: #df9100;
	--text-color-orangered: #dd3d02;
	--text-color-pink: #cd6dca;
	
	--text-color-blue: #1c86ed;
	--text-color-sky-blue: #3d78d1;
	--text-color-aquamarine: #69d2d7;
	
	--text-color-violet: #7e31cf;
	--text-color-silver: #a9a9a9;
	--text-color-moccasin: #D2B48C;
	
	/*==========
	 Стили Вики
	==========*/
	
	/*== Тени ==*/
	--box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
	--box-shadow-medium: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
	--box-shadow-high: 0 5px 5px 1px rgba(0, 0, 0, 0.2);
	
	--box-shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
	--box-shadow-inset-medium: inset 0 0 6px 0 rgba(0, 0, 0, 0.4);
	--box-shadow-inset-high: inset 0 3px 5px rgba(0,0,0,0.2), inset 0 -3px 5px rgba(0,0,0,0.2);
	
	--box-shadow-outline: 0 1px 1px 1px rgba(0, 0, 0, 0.3);
	
	/*== Закругление границ	==*/
	--border-radius-low: 0.2em;
	--border-radius-medium: 0.3em;
	--border-radius-high: 0.4em;
	
	/*== Иконки svg ==*/
	--icon-chevron-down: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E%3Ctitle%3E down %3C/title%3E%3Cpath d=%22M9.9 2.9 6 6.8 2.1 2.9 1 4l5 5 5-5z%22/%3E%3C/svg%3E");

	/*==========
	 Палитра темы Вики
	==========*/
	--theme-color-lighter--rgb: 221, 221, 255;
	--theme-color-alpha-x: rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
	
	--theme-color-darkened--rgb: 33, 33, 38;
	
	/*== Цвет текста ==*/
	--theme-text-color: var(--ooui--text-color);
	--theme-text-color-light: var(--ooui--text-color-light);
	--theme-text-color-dark: var(--ooui--text-color-dark);
	
	--theme-text-color-header: var(--ooui--text-color-header);

	/*== Цвет фона ==*/
	--theme-bg-color-base: #1b1b1f;
	--theme-bg-color-50: #1f1f24;
	--theme-bg-color-100: #212126;
	--theme-bg-color-200: #25252b;
	--theme-bg-color-250: #2c2c34;
	--theme-bg-color-300: #2f2f39;
	--theme-bg-color-400: #34343f;

	--theme-bg--rgba: 51, 51, 63;
	--theme-bg-light--rgba: 61, 61, 73;
	
	--theme-bg-header--gradient: linear-gradient(120deg, var(--theme-bg-color-300), var(--theme-bg-color-250));
	--theme-bg-header-light--gradient: linear-gradient(120deg, var(--theme-bg-color-400), var(--theme-bg-color-250));

	--theme-bg-header-light--gradient-center: linear-gradient(120deg, var(--theme-bg-color-250) 0%, var(--theme-bg-color-400) 50%, var(--theme-bg-color-250) 100%);

	/*== Цвет границ ==*/
	--theme-border-color-base: #3b3b46;
	--theme-border-color-100: #464653;
	--theme-border-color-200: #5a5a69;

	/*== Цвет иконок svg ==*/
	--theme-icon-color: var(--theme-text-color);

	/*==========
	 Палитра UI Вики
	==========*/
	
	/*== Цвет текста ==*/ 
	--ooui--text-color: lightgray;
	--ooui--text-color-light: white;
	--ooui--text-color-dark: #72777d;
	
	--ooui--text-color-header: #dddddd;

	/*== Цвет фона ==*/
	--ooui--bg-color: #27272d;
	--ooui--bg-color-light: #2a2a31;
	--ooui--bg-color-dark: #232329;
	--ooui--bg-color-darkened: #1c1c21;
	
	--ooui--bg-color--hover: #ddddff06;
	
	/* Градиент */
	--ooui--gradient: linear-gradient(120deg, var(--ooui--bg-color-light), var(--ooui--bg-color-dark));
	--ooui--gradient-light: linear-gradient(120deg, #353540, var(--ooui--bg-color));

	/*== Цвет границ ==*/
	--ooui--border-color: #32323b;
	--ooui--border-color-light: #35353f;
	--ooui--border-color-lighter: #474755;
	--ooui--border-color-dark: #2d2d35;

}

/* ШРИФТЫ */
@font-face {
	font-family: 'Noto Sans Light';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRPQ_m87A.woff2) format('woff2');
	unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F
}

@font-face {
	font-family: 'Noto Sans Light';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRGQ_m87A.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116
}

@font-face {
	font-family: 'Noto Sans Light';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRMQ_m87A.woff2) format('woff2');
	unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
	font-family: 'Noto Sans Light';
	font-style: normal;
	font-weight: 100;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
	font-family: 'Oswald';
	font-style: normal;
	font-weight: 200 700;
	src: url(https://fonts.gstatic.com/s/oswald/v53/TK3iWkUHHAIjg752HT8Ghe4.woff2) format('woff2');
	unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116
}

@font-face {
	font-family: 'Oswald';
	font-style: normal;
	font-weight: 200 700;
	src: url(https://fonts.gstatic.com/s/oswald/v53/TK3iWkUHHAIjg752GT8G.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
	font-family: 'Boxfont Round';
	src: url(/assets/fonts/boxfont-round/f3507eaadc95584e7358703d74e793ea/324a92fc76117885a667ae8af2be25ab/BoxfontRoundRegular.ttf) format('truetype');
	font-weight: normal;
	font-style: normal
}

@font-face {
	font-family: 'noto sans';
	font-style: normal;
	font-weight: 400;
	src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Regular.woff) format('woff')
}

@font-face {
	font-family: 'noto sans';
	font-style: italic;
	font-weight: 400;
	src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Italic.woff) format('woff')
}

@font-face {
	font-family: 'noto sans';
	font-style: normal;
	font-weight: 700;
	src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Bold.woff) format('woff')
}

@font-face {
	font-family: 'noto sans';
	font-style: italic;
	font-weight: 700;
	src: local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-BoldItalic.woff) format('woff')
}

@font-face {
	font-family: 'Noto Sans Symbols';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QA_9Edkw.woff2) format('woff2');
	unicode-range: U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F10C,U+1F110-1F16C,U+1F170-1F190,U+1F19B-1F1AC,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F321-1F32C,U+1F336,U+1F378,U+1F37D,U+1F393-1F39F,U+1F3A7,U+1F3AC-1F3AE,U+1F3C2,U+1F3C4,U+1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4DA,U+1F4DF,U+1F4E4-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50A,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F579,U+1F57B-1F594,U+1F597-1F5A3,U+1F5A5-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CB,U+1F6CD-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8B1,U+1F93B,U+1F946,U+1FA00-1FA6F,U+1FA70-1FA74,U+1FA78-1FA7A,U+1FA80-1FA86,U+1FA90-1FAA8,U+1FAB0-1FAB6,U+1FAC0-1FAC2,U+1FAD0-1FAD6,U+1FB00-1FBFF
}

@font-face {
	font-family: 'Noto Sans Symbols';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QY_9Edkw.woff2) format('woff2');
	unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF
}

@font-face {
	font-family: 'Noto Sans Symbols';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8Qbf9E.woff2) format('woff2');
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD
}

@font-face {
	font-family: 'Material Symbols Outlined';
	font-style: normal;
	font-weight: 400;
	src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v170/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2')
}

/* ================================================================== */

/* ТЕГИ */
cite,dfn {
	font-style: inherit;
}

q {
	quotes: '«' '»' "„" "“";
}

code, code.mw-highlight,
.code,
.tdg-templateDataParamWidget-param-alias:first-child {
	border-radius: 2px;
	padding: 1px 4px;
	background: var(--bg-color-code);
	border: 1px solid var(--border-color-code);
	color: var(--theme-text-color);
}

pre {
	overflow: auto;
	white-space: pre-wrap;
	background: var(--bg-color-code-light);
	border: 1px solid var(--border-color-code-light);
	padding: 0.5em;
	color: var(--theme-text-color);
	font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
}

blockquote {
	background: var(--theme-bg-color-100);
	border-left: 4px solid var(--theme-bg-color-200);
	padding: 8px 32px;
	overflow: hidden;
	box-shadow: var(--box-shadow);
	border-radius: var(--border-radius-low);
}

@media screen and (max-width: 850px) {
	blockquote {
		margin-inline-start: 10px;
		margin-inline-end: 10px;
		padding: 6px 24px;
	}
}

small {
	font-size: 85%
}

li {
	margin-top: 2px;
}

input[type="button"] {
	background: var(--ooui--bg-color);
	border: 1px solid var(--ooui--border-color);
	color: var(--ooui--text-color);
}

/*основные изображения - пиксельные. Для остальных нужно использовать класс noSprite*/
img {
	image-rendering: pixelated;
}

/*Для непиксельных изображений*/
.mw-body-content .noSprite img {
	image-rendering: auto !important; 
	height: auto !important;
	max-width: 100% !important;
}

.mw-body-content a > img, .mw-body-content .floatnone > img {
	max-width: unset !important;
}

/*==========
  Боковая панель
==========*/

/* Основной блок */
#mw-site-navigation .sidebar-chunk, #mw-site-navigation .sidebar-chunk, #mw-related-navigation .sidebar-chunk, body.skin--responsive .portlet, body.skin--responsive .pBody {
	margin: 1.5em 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

/* Блок навигации */
@media (min-width: 1100px) {
	#mw-related-navigation {
		margin-top: 0;
	}
}

/* Блоки */
@media (min-width: 1100px) {
	.sidebar-inner .mw-portlet {
		padding: 0;
		margin: 0.5em 8px 2px 6px !important;
		border-radius: 0.2em;
		box-shadow: var(--box-shadow);
	}
}

@media screen and (min-width: 1340px) {
	#mw-site-navigation .sidebar-chunk .mw-portlet > div, #mw-site-navigation .sidebar-chunk .mw-portlet-body {
		margin-bottom: 1em;
	}
}

@media screen and (min-width: 1100px) and (max-width: 1339px) {
	#mw-site-navigation .sidebar-chunk .mw-portlet > div, #mw-related-navigation .sidebar-chunk .mw-portlet > div, #mw-site-navigation .sidebar-chunk .mw-portlet-body, #mw-related-navigation .sidebar-chunk .mw-portlet-body {
		margin-bottom: 1em;
	}
}

/* Заголовок */
@media (min-width: 1100px) {
	#mw-site-navigation .sidebar-chunk h3, 
	#mw-related-navigation .sidebar-chunk h3 {
		margin: 0;
		padding: calc(0.4em + 2px);
		border-top: 2px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
		border-bottom: 2px solid var(--color-darkened-border);
		border-radius: var(--border-radius-low) var(--border-radius-low) 0 0;
		background: var(--ooui--bg-color-light);
		font-size: 1.05em;
		font-weight: bold;
	}
}

/* Содержание */
@media (min-width: 1100px) {
	#mw-site-navigation .sidebar-chunk .mw-portlet-body, 
	#mw-related-navigation .sidebar-chunk .mw-portlet-body {
		margin: 0;
		padding: 0.3em 0.5em;
		border: 2px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
		border-top: 0;
		border-radius: 0 0 var(--border-radius-low) var(--border-radius-low);
		background: var(--theme-bg-color-50);
		box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
	}
}

/* Для телефонов */
@media screen and (max-width: 850px) {
	.sidebar-inner, .dropdown {
		padding: 1em 2em;
		background: var(--ooui--bg-color);
		border-color: var(--ooui--border-color);
	}
}

@media screen and (max-width: 850px) {
	#mw-content-block {
		background: var(--theme-bg-color-100);
	}
}

/*==========
  Чекбоксы
==========*/
/* При нажатии */
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:checked:focus + span, .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:indeterminate:focus + span {
	box-shadow: none;	
}

/* В фокусе */
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox']:focus + span {
	box-shadow: none;	
}

/* ================================================================== */

/* КЛАССЫ */

/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
#scroll-top {
	display: none;
	background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
	opacity: 0.5;
	width: 57px;
	height: 57px;
	cursor: pointer;
	position: fixed;
	right: calc(0.95em + 6px);
	bottom: 30px;
	z-index: 10000;
	image-rendering: pixelated;
}

#scroll-top:hover {
	opacity: 0.8;
}

@media screen and (max-width: 850px) {
	#scroll-top {
		transform: translate(-50%, -50%);
		left: 50%;
		right: 50%;
		bottom: 15px;
		opacity: 0.3;
	}
}

/* Необходим для использования fonts.google.com/icons */
.material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased
}

.tools-inline li:hover {
	border-bottom-width: 2px;
}

.tools-inline li.selected {
	background: transparent !important;
	border-bottom-width: 2px;
}

#mw-indicator-mw-helplink a {
	background-image: none;
}

.mw-body-content sub,.mw-body-content sup,span.reference {
	font-size: 80%
}

.ns-talk .mw-body-content dd {
	margin-top: 0.4em;
	margin-bottom: 0.4em
}

#interwiki-completelist {
	font-weight: bold
}

.biglink {
	font-family: "Oswald";
	font-style: oblique 10deg;
	font-variant-caps: small-caps;
	text-shadow: var(--theme-bg-color-base) 1px 2px,#595959dd 2px 2px 1px
}

.client-js .mw-special-Watchlist #watchlist-message,.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),#editpage-specialchars {
	display: none
}

.mw-rcfilters-enabled .mw-specialpage-summary {
	margin-top: 1em
}

.citation:target {
	background: rgba(0, 127, 255, 0.133)
}

.citation {
	word-wrap: break-word
}

ol.references {
	font-size: 90%;
	margin-bottom: 0.5em
}

.hlist dl,.hlist ol,.hlist ul {
	margin: 0;
	padding: 0
}

.hlist dd,.hlist dt,.hlist li {
	margin: 0;
	display: inline
}

.hlist.inline,.hlist.inline dl,.hlist.inline ol,.hlist.inline ul,.hlist dl dl,.hlist dl ol,.hlist dl ul,.hlist ol dl,.hlist ol ol,.hlist ol ul,.hlist ul dl,.hlist ul ol,.hlist ul ul {
	display: inline
}

.hlist .mw-empty-li {
	display: none
}

.hlist dt:after {
	content: ":"
}

.hlist dd:after,.hlist li:after {
	content: " · ";
	font-weight: bold
}

.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after {
	content: none
}

.hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before {
	content: " (";
	font-weight: normal
}

.hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after {
	content: ")";
	font-weight: normal
}

.hlist ol {
	counter-reset: listitem
}

.hlist ol>li {
	counter-increment: listitem
}

.hlist ol>li:before {
	content: " " counter(listitem) "\a0"
}

.hlist dd ol>li:first-child:before,.hlist dt ol>li:first-child:before,.hlist li ol>li:first-child:before {
	content: " (" counter(listitem) "\a0"
}

.plainlist ol,.plainlist ul {
	line-height: inherit;
	list-style: none none;
	margin: 0
}

.plainlist ol li,.plainlist ul li {
	margin-bottom: 0
}

/* НАВИГАЦИОННЫЙ ШАБЛОН --------------------------- */

/* Default style for navigation boxes */
.navbox {					 /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid var(--theme-border-color-base);
	width: 100%;
	margin: 2em auto 0; /* Prevent preceding content from clinging to navboxes */
	clear: both;
	font-size: 90%;
	text-align: center;
	padding: 3px;
}
.navbox-inner,
.navbox-subgroup {
	width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;	  /* Title, group and above/below styles */
	text-align: center;
}
.navbox-title {
	position: relative;
	line-height: 1.6em; /* Standard 1.6em for title */
	border-bottom: 2px solid var(--color-darkened-border);
	border-radius: var(--border-radius-low);
	border-top: 1px solid rgba(var(--color-lighter--rgb), 0.07);
	border-bottom: 2px solid var(--color-darkened-border);	  
	box-shadow: var(--box-shadow-medium);
}

/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {	/* Borders above 2nd, 3rd, etc. rows */
	border-top: 1px solid var(--theme-bg-color-200); /* Must match background color */
	border-bottom: 1px solid var(--theme-bg-color-200);
}

th.navbox-group {			 /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: left;
}
.navbox th,
.navbox-title {
	background: rgba(var(--color-contrast2--rgb), var(--alpha-s)); /* Level title color */
}
.navbox,
.navbox-subgroup {
	background: var(--theme-bg-color-200); /* Level 1 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background: var(--theme-bg-color-250); /* Level 2 color */
	border-right: 1px solid var(--theme-bg-color-200);
	border-bottom: 1px solid var(--theme-bg-color-200);
	border-top: none;
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background: var(--theme-bg-color-300); /* Level 3 color */
}
.navbox-even {
	background: transparent;  /* Even row striping */
	border-top: 1px solid var(--theme-bg-color-400) !important;
	border-bottom: 1px solid var(--theme-bg-color-400) !important;
}
.navbox-odd {
	background: transparent;  /* Odd row striping */
}

.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 1px 0 0;	   /* Adjust hlist padding in navboxes */
}
.navbox .navbox {
	margin-top: 0;			/* No top margin for nested navboxes */
}
.navbox + .navbox {
	margin-top: -1px;		 /* Single pixel border between adjacent navboxes */
}

.navbox td:not(:has(table)), .navbox ul {
	padding: 4px 2px !important;
}

@media screen and (max-width: 650px) {
	th.navbox-group {
		white-space: unset;
	}
}

/* КОНЕЦ */

.mw-parser-output .mw-collapsible-toggle {
	position: relative;
	font-weight: normal;
	text-align: right;
	top: 0;
	right: 0;
}

.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
	float: left;
	text-align: left
}

.mw-collapsible-toggle-default .mw-collapsible-text {
	color: var(--text-color-link);
}

.mw-collapsible-toggle-default .mw-collapsible-text:hover {
	color: var(--text-color-link);
}

.mw-collapsible-toggle-default .mw-collapsible-text:active {
	color: var(--text-color-link);
}

.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background: #f8f9fa;
	color: black;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	float: right;
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
	width: 22em
}

.infobox-header,.infobox-label,.infobox-above,.infobox-full-data,.infobox-data,.infobox-below,.infobox-subheader,.infobox-image,.infobox-navbar,.infobox th,.infobox td {
	vertical-align: top
}

.infobox-label,.infobox-data,.infobox th,.infobox td {
	text-align: left
}

.infobox .infobox-above,.infobox .infobox-title,.infobox caption {
	font-size: 125%;
	font-weight: bold;
	text-align: center
}

.infobox-title,.infobox caption {
	padding: 0.2em
}

.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below {
	text-align: center
}

.infobox .infobox-navbar {
	text-align: right
}

.wikitable.plainrowheaders th[scope=row] {
	font-weight: normal;
	text-align: left
}

.wikitable td ul,.wikitable td ol,.wikitable td dl {
	text-align: left
}

table.mw-hiero-table td {
	vertical-align: middle
}

.mw-parser-output a[href$=".pdf"].external,.mw-parser-output a[href*=".pdf?"].external,.mw-parser-output a[href*=".pdf#"].external,.mw-parser-output a[href$=".PDF"].external,.mw-parser-output a[href*=".PDF?"].external,.mw-parser-output a[href*=".PDF#"].external {
	background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
	padding-right: 18px
}

hr {
	border-bottom-width: 0px;
	border-color: var(--theme-border-color-200);
}

.messagebox {
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	width: 80%;
	margin: 0 auto 1em auto;
	padding: .2em
}

.messagebox.merge {
	border: 1px solid #c0b8cc;
	background: #f0e5ff;
	text-align: center
}

.messagebox.cleanup {
	border: 1px solid #9f9fff;
	background: #efefff;
	text-align: center
}

.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background: #f8eaba;
	margin: 4px auto
}

.mbox-inside .standard-talk {
	border: 1px solid #c0c090;
	background: #f8eaba;
	width: 100%;
	margin: 2px 0;
	padding: 2px
}

.messagebox.small {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em
}

.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em;
	background: #f8eaba
}

th.mbox-text,td.mbox-text {
	border: none;
	padding: 0.25em 0.9em;
	width: 100%
}

td.mbox-image {
	border: none;
	padding: 2px 0 2px 0.9em;
	text-align: center
}

td.mbox-imageright {
	border: none;
	padding: 2px 0.9em 2px 0;
	text-align: center
}

td.mbox-empty-cell {
	border: none;
	padding: 0;
	width: 1px
}

table.ambox {
	margin: 0 10%;
	border: 1px solid #a2a9b1;
	border-left: 10px solid var(--color-contrast);
	background: #fbfbfb;
	box-sizing: border-box
}

table.ambox+table.ambox,table.ambox+.mw-empty-elt+table.ambox {
	margin-top: -1px
}

.ambox th.mbox-text,.ambox td.mbox-text {
	padding: 0.25em 0.5em
}

.ambox td.mbox-image {
	padding: 2px 0 2px 0.5em
}

.ambox td.mbox-imageright {
	padding: 2px 0.5em 2px 0
}

table.ambox-notice {
	border-left: 10px solid var(--color-contrast);
}

table.ambox-speedy {
	border-left: 10px solid #b32424;
	background: #fee7e6
}

table.ambox-delete {
	border-left: 10px solid #b32424
}

table.ambox-content {
	border-left: 10px solid #f28500
}

table.ambox-style {
	border-left: 10px solid #fc3
}

table.ambox-move {
	border-left: 10px solid #9932cc
}

table.ambox-protection {
	border-left: 10px solid #a2a9b1
}

table.imbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 3px solid var(--color-contrast);
	background: #fbfbfb;
	box-sizing: border-box
}

.imbox .mbox-text .imbox {
	margin: 0 -0.5em;
	display: block
}

.mbox-inside .imbox {
	margin: 4px
}

table.imbox-notice {
	border: 3px solid var(--color-contrast);
}

table.imbox-speedy {
	border: 3px solid #b32424;
	background: #fee7e6
}

table.imbox-delete {
	border: 3px solid #b32424
}

table.imbox-content {
	border: 3px solid #f28500
}

table.imbox-style {
	border: 3px solid #fc3
}

table.imbox-move {
	border: 3px solid #9932cc
}

table.imbox-protection {
	border: 3px solid #a2a9b1
}

table.imbox-license {
	border: 3px solid #88a;
	background: #f7f8ff
}

table.imbox-featured {
	border: 3px solid #cba135
}

table.cmbox {
	margin: 3px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;
	background: #dfe8ff;
	box-sizing: border-box
}

table.cmbox-notice {
	background: #d8e8ff
}

table.cmbox-speedy {
	margin-top: 4px;
	margin-bottom: 4px;
	border: 4px solid #b32424;
	background: #ffdbdb
}

table.cmbox-delete {
	background: #ffdbdb
}

table.cmbox-content {
	background: #ffe7ce
}

table.cmbox-style {
	background: #fff9db
}

table.cmbox-move {
	background: #e4d8ff
}

table.cmbox-protection {
	background: #efefe1
}

table.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	box-sizing: border-box
}

table.ombox-notice {
	border: 1px solid #a2a9b1
}

table.ombox-speedy {
	border: 2px solid #b32424;
	background: #fee7e6
}

table.ombox-delete {
	border: 2px solid #b32424
}

table.ombox-content {
	border: 1px solid #f28500
}

table.ombox-style {
	border: 1px solid #fc3
}

table.ombox-move {
	border: 1px solid #9932cc
}

table.ombox-protection {
	border: 2px solid #a2a9b1
}

table.tmbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #c0c090;
	background: #f8eaba;
	min-width: 80%;
	box-sizing: border-box
}

.tmbox.mbox-small {
	min-width: 0
}

.mediawiki .mbox-inside .tmbox {
	margin: 2px 0;
	width: 100%
}

.mbox-inside .tmbox.mbox-small {
	line-height: 1.5em;
	font-size: 100%
}

table.tmbox-speedy {
	border: 2px solid #b32424;
	background: #fee7e6
}

table.tmbox-delete {
	border: 2px solid #b32424
}

table.tmbox-content {
	border: 2px solid #f28500
}

table.tmbox-style {
	border: 2px solid #fc3
}

table.tmbox-move {
	border: 2px solid #9932cc
}

table.tmbox-protection,table.tmbox-notice {
	border: 1px solid #c0c090
}

table.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	box-sizing: border-box
}

table.fmbox-system {
	background: #191970
}

table.fmbox-warning {
	border: 1px solid #bb7070;
	background: #ffdbdb
}

table.fmbox-editnotice {
	background: transparent
}

div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background: #ffdbdb;
	padding: 0.25em 0.9em;
	box-sizing: border-box
}

.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
	border-color: #fc3;
	background: #fef6e7
}

html body.mediawiki .mbox-small {
	clear: right;
	float: right;
	margin: 4px 0 4px 1em;
	box-sizing: border-box;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em
}

html body.mediawiki .mbox-small-left {
	margin: 4px 1em 4px 0;
	box-sizing: border-box;
	overflow: hidden;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em
}

.compact-ambox table .mbox-image,.compact-ambox table .mbox-imageright,.compact-ambox table .mbox-empty-cell {
	display: none
}

.compact-ambox table.ambox {
	border: none;
	border-collapse: collapse;
	background: transparent;
	margin: 0 0 0 1.6em !important;
	padding: 0 !important;
	width: auto;
	display: block
}

body.mediawiki .compact-ambox table.mbox-small-left {
	font-size: 100%;
	width: auto;
	margin: 0
}

.compact-ambox table .mbox-text {
	padding: 0 !important;
	margin: 0 !important
}

.compact-ambox table .mbox-text-span {
	display: list-item;
	line-height: 1.5em;
	list-style-type: square;
	list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg)
}

.compact-ambox .hide-when-compact {
	display: none
}

.nounderlines a,.IPA a:link,.IPA a:visited {
	text-decoration: none !important
}

.nowrap,.nowraplinks a {
	white-space: nowrap
}

.wrap,.wraplinks a {
	white-space: normal
}

#wpUploadDescription {
	height: 13em
}

.thumbinner {
	min-width: 100px;
	background: #303037;
	border: solid var(--ooui--border-color)
}

.thumbinner .thumbimage,.thumbborder {
	border: solid 1px var(--ooui--border-color)
}

#mw-subcategories,#mw-pages,#mw-category-media,#filehistory,#wikiPreview,#wikiDiff {
	clear: both
}

.wpb .wpb-header {
	display: none
}

.wpbs-inner .wpb .wpb-header {
	display: table-row
}

.wpbs-inner .wpb-outside {
	display: none
}

.mw-tag-markers {
	font-style: italic;
	font-size: 90%
}

.checkuser-show,.sysop-show,.abusefilter-show,.abusefilter-helper-show,.patroller-show,.templateeditor-show,.extendedmover-show,.extendedconfirmed-show,.autoconfirmed-show,.user-show {
	display: none
}

.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,.ve-ui-mwNoticesPopupTool-item .mbox-image,.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
	display: none !important
}

ul.permissions-errors>li {
	list-style: none none
}

ul.permissions-errors {
	margin: 0
}

span.texhtml {
	font-family: "Nimbus Roman No9 L","Times New Roman",Times,serif;
	font-size: 118%;
	line-height: 1;
	white-space: nowrap;
	-moz-font-feature-settings: "lnum","tnum","kern" 0;
	-webkit-font-feature-settings: "lnum","tnum","kern" 0;
	font-feature-settings: "lnum","tnum","kern" 0;
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none
}

span.texhtml span.texhtml {
	font-size: 100%
}

span.mwe-math-mathml-inline {
	font-size: 118%
}

.mwe-math-fallback-image-display,.mwe-math-mathml-display {
	margin-left: 1.6em !important;
	margin-top: 0.6em;
	margin-bottom: 0.6em
}

.mwe-math-mathml-display math {
	display: inline
}

.k-player .k-attribution {
	visibility: hidden
}

.PopUpMediaTransform a .play-btn-large {
	margin: 0;
	top: auto;
	right: auto;
	bottom: 0;
	left: 0
}

@media screen {
	#content .gallerybox div.thumb {
		background: #f8f9fa
	}

	.gallerybox .thumb img {
		background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat
	}

	.ns-0 .gallerybox .thumb img,.ns-2 .gallerybox .thumb img,.ns-100 .gallerybox .thumb img,.nochecker .gallerybox .thumb img {
		background-image: none
	}
}

.flaggedrevs_draft_synced,.flaggedrevs_stable_synced,#t-upload,.mw-special-Book #coll-downloadbox {
	display: none
}

#site-tools {
	display: none !important
}

span.comment {
	overflow-wrap: break-word
}

#mw-page-base {
	background: var(--theme-bg-color-base);
	color: var(--ooui--text-color);
	border: var(--theme-bg-color-base)
}

.mediawiki, .mw-page-container {
	background: var(--theme-bg-color-base);
	color: var(--ooui--text-color);
	border: var(--theme-bg-color-base)
}

#mw-panel {
	background: var(--theme-bg-color-base);
	color: var(--ooui--text-color);
	border: var(--theme-bg-color-base)
}

#mw-content-container,#mw-header-container,#mw-content-wrapper,#mw-content,#p-logo {
	background: var(--theme-bg-color-base);
	color: var(--ooui--text-color);
	border: var(--theme-bg-color-base)
}

.mw-code {
	background: var(--theme-bg-color-100);
	color: var(--ooui--text-color)
}

footer,#footer-info-lastmod,#footer-info-copyright {
	color: var(--ooui--text-color)
}

p,h1,h2,h3,h4,h5,h6,li {
	color: var(--ooui--text-color)
}

p {
	margin: 0.5em 0;
}

a,.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,body.skin--responsive #p-cactions li a,a:visited,.vector-menu-portal .vector-menu-content li a:visited,.vector-menu-tabs li a:visited,body.skin--responsive #p-cactions li a:visited {
	color: var(--text-color-link);
}

a.current {
	color: lightgray !important;
}

a.label {
	color: lightgray !important;
}

a:hover,a:visited:hover {
	color: var(--ooui--text-color-light)
}

a.option {
	background: var(--ooui--bg-color);
	color: lightgray !important;
	border: 1px solid var(--ooui--border-color);
}

.screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace {
	font-family: 'Menlo', 'Consolas', 'Monaco', 'Noto Mono', 'Nimbus Mono L', monospace;
}

/* ============ */
/* СТИЛИ ДЛЯ ui MediaWiki */
/* ============ */

/* invert(0) */
.tools-inline .selected span {
	filter: invert(0);
}

.oo-ui-image-progressive {
	filter: invert(0) !important;
}

/* invert(1) */
.wikiEditor-ui-toolbar .page-characters div span,
.shortcut-1 > span > span > img,
.tools-inline li:not(.selected) a,
.tools-inline li.selected a,
#personal h2, #site-tools h2, #site-navigation h2, #searchButton,
#personal h2 span,
.dropdown-toggle:after,
.mw-editsection,
.mw-editsection a,
.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator,
.oo-ui-icon-template-format-block.oo-ui-image-invert{
	filter: invert(1);
}

.tools-inline li.selected span {
	filter: invert(1);
	color: var(--ooui--text-color);
	font-weight: bold;
}

.tools-inline span {
	filter: invert(1);
	margin-left: 2px;
	font-size: 15px;
	font-family: "noto sans";
}

/* invert(0.75) */
.wikiEditor-ui-toolbar .group .tool-select .label:after,
.wikiEditor-ui-toolbar .tabs span.tab a:before,
.oo-ui-icon-menu,
.oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement.oo-ui-widget-enabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert),
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-input > .oo-ui-icon-menu,
.oo-ui-textInputWidget.oo-ui-widget-enabled > .oo-ui-indicatorElement-indicator,
.mw-collapsibleFieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon,
.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle .oo-ui-iconElement-icon, .oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle .oo-ui-indicatorElement-indicator,
.oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon, .oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator,
.oo-ui-iconElement-icon.oo-ui-icon-search,
.oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon, .oo-ui-buttonElement-frameless.oo-ui-widget-disabled > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator,
.oo-ui-icon-bookmark, .mw-ui-icon-bookmark:before,
.oo-ui-icon-template-format-block,
.oo-ui-icon-template-format-inline,
.oo-ui-decoratedOptionWidget.oo-ui-widget-enabled .oo-ui-indicatorElement-indicator,
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle .oo-ui-indicatorElement-indicator,
.mw-special-Contribute .mw-contribute-card-icon--article {
	filter: invert(0.75);
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon {
	filter: invert(0.75) !important;
}

/* invert(0.5) */
.oo-ui-textInputWidget.oo-ui-widget-enabled.oo-ui-textInputWidget-type-search > .oo-ui-indicatorElement-indicator,
.mw-enhancedchanges-arrow-space,
#mw-indicator-mw-helplink a .mw-helplink-icon {
	filter: invert(0.5);
}

/* Простые стили с bg */
.oo-ui-buttonElement-frameless.oo-ui-indicatorElement.oo-ui-labelElement > .oo-ui-buttonElement-button,
.mw-prefs-buttons,
.oo-ui-outlineOptionWidget.oo-ui-optionWidget-selected, .oo-ui-outlineOptionWidget.oo-ui-optionWidget-pressed,
.mw-rcfilters-ui-cell.mw-rcfilters-ui-filterTagMultiselectWidget-views-select,
.oo-ui-dropdownInputWidget.oo-ui-widget-enabled,
.oo-ui-dropdownWidget,
.oo-ui-dropdownWidget.oo-ui-widget-enabled.oo-ui-dropdownWidget-open .oo-ui-dropdownWidget-handle,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover {
	background: var(--ooui--bg-color);
}

.oo-ui-menuLayout.oo-ui-menuLayout-showMenu.oo-ui-menuLayout-top > .oo-ui-menuLayout-content,
.mw-rcfilters-ui-menuSelectWidget-body.oo-ui-clippableElement-clippable, 
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .mw-rcfilters-ui-tagItemWidget-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled,
.oo-ui-tagMultiselectWidget.oo-ui-tagMultiselectWidget-outlined .oo-ui-inputWidget-input,
.mw-widgets-datetime-calendarWidget-grid .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
.ace_mobile-button:active,
.ace_mobile-button:hover,
.ace_searchbtn:hover {
	background: var(--ooui--bg-color-dark);
}

.oo-ui-bookletLayout-stackLayout > .oo-ui-panelLayout,
.mw-special-Contribute .mw-contribute-tabs-content {
	background: var(--ooui--bg-color-darkened);
}

.mw-rcfilters-ui-filterMenuSectionOptionWidget,
.wikiEditor-ui-toolbar .group .tool-select .menu .options .option:hover,
#ca-nstab-special.selected.mw-list-item,
.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line,
.mw-revslider-revision-wrapper:hover, .mw-revslider-revision-wrapper-hovered {
	background: var(--ooui--bg-color-light);
}

.wikiEditor-ui-toolbar .booklet > .index > :hover,
.mw-rcfilters-ui-itemMenuOptionWidget:hover,
.mw-highlight .hll, 
.ace_button:hover:not(.checked),
.ace_button:active {
	background: var(--ooui--bg-color--hover);
}

.mw-apisandbox-toolbar {
	background: transparent;
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
	background: var(--ooui--bg-color--hover) !important;
}

.mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-conflicting-talk-label span .mw-twocolconflict-split-delete {
	background: var(--bg-color-message);
}

.mw-twocolconflict-single-column.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-add {
	border-color: var(--border-color-message-subtle);
}

.wikiEditor-ui-text {
	background: var(--theme-bg-color-base);
}

.ext-WikiEditor-ResizingDragBar {
	background: var(--theme-bg-color-100);
}

.ext-WikiEditor-ResizingDragBar span {
	background: var(--ooui--border-color);
}

.oo-ui-windowManager-modal > .oo-ui-dialog,
.oo-ui-processDialog-errors {
	background: rgba(0, 0, 0, var(--alpha-m));
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
	background: var(--ooui--bg-color);
	color: var(--ooui--text-color-light);
}

.wikiEditor-ui-toolbar .booklet > .index > .current {
	background: var(--ooui--bg-color-light);	
	color: var(--ooui--text-color-light) !important;
}

.mw-twocolconflict-conflicting-talk-row .mw-twocolconflict-single-column,
.oo-ui-searchWidget-results {
	background: var(--ooui--bg-color-darkened);
	color: var(--ooui--text-color);
}

/* Простые стили с border */
.wikiEditor-ui .wikiEditor-ui-top,
.ext-WikiEditor-ResizingDragBar-ns,
.oo-ui-bookletLayout > .oo-ui-menuLayout-menu,
.mw-apisandbox-help-field {
	border-color: var(--ooui--border-color);
}

.ace_searchbtn:last-child,
.wikiEditor-ui .wikiEditor-ui-view {
	border-color: var(--ooui--border-color-light);
}

.wikiEditor-ui-toolbar .group {
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color-light);
}

.mw-rcfilters-ui-watchlistTopSectionWidget-separator,
.mw-revslider-revision-tooltip .mw-revslider-filter-highlightable-row.mw-revslider-filter-highlight,
.mw-revslider-revision-border-box {
	border-color: var(--ooui--border-color-lighter);
}

.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::before {
	border-bottom-color: var(--ooui--border-color-light);
}

.oo-ui-popupWidget-anchored-top .oo-ui-popupWidget-anchor::after {
	border-bottom-color: var(--ooui--bg-color-light);
}

.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:before {
	border-top-color: var(--ooui--border-color-light);
}

.oo-ui-popupWidget-anchored-bottom .oo-ui-popupWidget-anchor:after {
	border-top-color: var(--ooui--bg-color-light);
}

.mw-twocolconflict-single-column.mw-twocolconflict-split-delete, .mw-twocolconflict-split-column.mw-twocolconflict-split-delete {
	border-color: var(--border-color-warning);
}

.mw-twocolconflict-single-column.mw-twocolconflict-split-add, .mw-twocolconflict-split-column.mw-twocolconflict-split-add {
	border-color: var(--border-color-message);
}

/* Простые стили с bg + border */
.cdx-button:enabled:hover, .cdx-button.cdx-button--fake-button--enabled:hover,
.footer-icons a:hover,
.oo-ui-textInputWidget.oo-ui-widget-enabled .oo-ui-inputWidget-input[readonly]:not(.oo-ui-pendingElement-pending),
.mw-special-Contribute .mw-contribute-card {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
	color: var(--ooui--text-color);
}

.ace_button,
.ace_searchbtn,
.oo-ui-selectFileInputWidget.oo-ui-widget-enabled.oo-ui-selectFileInputWidget-dropTarget {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color);
}

.mw-revslider-revision {
	background: var(--ooui--border-color);
	border-color: var(--ooui--border-color-lighter);
}

.oo-ui-toggleSwitchWidget {
	background: var(--ooui--bg-color-dark);
	border-color: var(--ooui--border-color-light);
}

.oo-ui-searchWidget-query {
	background: var(--ooui--bg-color-darkened);
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color);
}

.ace_editor.ace_autocomplete {
	background: var(--ooui--bg-color-dark);
	border-color: var(--ooui--border-color);
	color: var(--ooui--text-color);
}

.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on .oo-ui-toggleSwitchWidget-grip {
	border-color: var(--ooui--bg-color);
	background: var(--ooui--bg-color);
}

.mw-revslider-revision-new .mw-revslider-revision, .mw-revslider-revision-old .mw-revslider-revision, .mw-revslider-revision-intermediate .mw-revslider-revision { 
	background: var(--ooui--bg-color-light);
	border-color: var(--ooui--border-color);
}

.mw-revslider-revision-filter-highlight .mw-revslider-revision-border-box {
	background: var(--ooui--bg-color-light);
	border-color: var(--ooui--border-color-light);
}

.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-success {
	background: var(--bg-color-message);
	border-color: var(--border-color-message);
}

.cdx-message--warning,
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
	background: var(--bg-color-warning);
	border-color: var(--border-color-warning);
}

.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-notice {
	background: var(--bg-color-notice);
	border-color: var(--border-color-notice);
}

.cdx-message--error,
.oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-error {
	background: var(--bg-color-error);
	border-color: var(--border-color-error);
}

.oo-ui-processDialog .oo-ui-actionWidget.oo-ui-iconElement > .oo-ui-buttonElement-button,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button,
.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active {
	border-color: transparent;
	border-right-color: var(--ooui--border-color);
}

.oo-ui-processDialog-actions-primary .oo-ui-actionWidget > .oo-ui-buttonElement-button {
	border-color: transparent;
	border-left-color: var(--ooui--border-color);
}

.mw-rcfilters-ui-tagItemWidget-popup-content,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled .oo-ui-toggleSwitchWidget-grip {
	background: var(--ooui--bg-color-dark);
	border-color: var(--ooui--border-color-light);
	color: lightgray;
}

.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [type='checkbox'] + span,
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio'] + span {
	background-color: var(--ooui--bg-color-dark);
	border: 1px solid var(--ooui--border-color-lighter);
}

.ace_optionsMenuEntry input, .ace_optionsMenuEntry button {
	background: var(--ooui--bg-color);
	border: 1px solid var(--ooui--border-color-light);
	margin: 0.35em 0.2em 0.25em 0;
}

.ace_optionsMenuEntry button {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	box-shadow: var(--box-shadow-inset-high);
}

.ace_optionsMenuEntry button[ace_selected_button=true] {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	box-shadow: var(--box-shadow-inset-high);
}

#ace_settingsmenu, #kbshortcutmenu {
	background: var(--ooui--bg-color-darkened);
	box-shadow: var(--box-shadow-high);
	color: lightgray;
}

/* Простые стили с color */
.mw-twocolconflict-split-editable .mw-twocolconflict-split-editor,
.cdx-message,
.mw-message-box,
.wikiEditor-ui-toolbar .booklet > .index,
.ace_searchbtn.prev:after,
.ace_searchbtn.next:after,
.wikiEditor-ui-toolbar .group .label,
.mw-special-Contribute .mw-contribute-card-content
 {
	color: var(--ooui--text-color);
}

.oo-ui-processDialog-errors-title {
	color: var(--ooui--text-color-light);
}

#contentSub,
.mw-templatedata-doc-muted,
.mw-templatedata-doc-param-alias,
.oo-ui-labelWidget.oo-ui-inline-help {
	color: var(--ooui--text-color-dark);
}

.wikiEditor-ui-toolbar .tabs span.tab a,
.mw-special-Contribute .mw-contribute-card-action {
	color: var(--text-color-link);
}

/* Стили с color-contrast */
.oo-ui-toggleButtonWidget.oo-ui-widget-enabled.oo-ui-buttonElement-frameless.oo-ui-toggleWidget-on .oo-ui-buttonElement-button,
.mw-portlet-body #ca-move.selected {
	background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m)); 
}

.ace_searchbtn_close:hover,
.ext-WikiEditor-ResizingDragBar:hover span,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled.oo-ui-toggleWidget-on,
.oo-ui-toggleSwitchWidget.oo-ui-widget-enabled:hover .oo-ui-toggleSwitchWidget-grip {
	background: var(--color-contrast2);	
}

.ace_optionsMenuEntry button:hover,
.ace_button.checked,
.ace_editor.ace_autocomplete .ace_line-hover {
	background: var(--color-contrast2);
	border-color: var(--color-contrast);
	color: var(--ooui--text-color-light);
}

/* Сложные стили */
.mw-footer .footer-icons a {
	background: var(--theme-bg-color-50);
	border: 1px solid var(--ooui--border-color-dark);
	padding-right: 15px;
	padding-left: 15px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

#footer-poweredbyico a {
	background-image: url(https://commons.wiki.gg/images/1/1c/MediaWiki_footer_badge_dark.svg?12ec0a);
	background-position: 50% 50%;
	background-size: 88px 31px;
	background-repeat: no-repeat;
}

#footer-poweredbyico a img {
	visibility: hidden;
}

.wikiEditor-ui-toolbar {
	background: var(--ooui--bg-color);
	box-shadow: var(--box-shadow-medium);
	color: var(--ooui--text-color-light);
}

.vector-user-links .vector-user-menu-more .vector-menu-content-list li a, #personal .dropdown,
.mw-notification {
	background: var(--ooui--bg-color-dark);
	border-color: var(--ooui--border-color);
	color: var(--ooui--text-color);
	box-shadow: var(--box-shadow-medium);
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagItemWidget.oo-ui-widget-enabled {
	background: var(--ooui--bg-color-dark);
	border-color: var(--ooui--border-color-light);
	color: lightgray;
	border-radius: 0.3em;
}

.oo-ui-tagMultiselectWidget-handle, .oo-ui-panelLayout-padded {
	background: var(--ooui--bg-color-darkened);
	border-color: var(--ooui--border-color);
	border-radius: var(--border-radius-low);
}

.ace_search {
	background: var(--theme-bg-color-100);
	color: var(--ooui--text-color);
	border-color: var(--ooui--border-color-light);
	padding: 6px 4px 2px 4px;
}

.ace_search_field {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color);
	margin: 0 2px 0 0 !important;
}

.oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-inputWidget-input,
.oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color-light);
	text-shadow: none;
}

/* Остальное */
.oo-ui-radioInputWidget.oo-ui-widget-enabled [type='radio']:checked + span {
	border-color: var(--color-contrast);
	background: var(--ooui--bg-color-light);
	border-width: 2px;
}

.ace_search_form.ace_nomatch {
	outline: 1px solid #922626
}

.wikiEditor-ui-toolbar .section-secondary .group.empty {
	display: none;
}

.mw-collapsibleFieldsetLayout.mw-collapsible .mw-collapsible-toggle .oo-ui-iconElement-icon {
    top: 2px;
}

/* КОНЕЦ */

.wikiEditor-ui-toolbar .group .tool-select .options {
	border: none;
}

.wikiEditor-ui-toolbar .sections .section {
	border-color: var(--ooui--border-color-light);
}

.wikiEditor-ui-toolbar .page-table th {
	color: var(--ooui--text-color);
}

.wikiEditor-ui-toolbar .page-table td {
	color: var(--ooui--text-color);
}

.oo-ui-indicatorElement-indicator {
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	position: absolute;
	top: 0;
	min-width: 12px;
	width: 0.8571429em;
	min-height: 12px;
	height: 100%;
}

a.extiw:visited,a.external:visited,.mw-parser-output a.extiw:visited,.mw-parser-output a.external:visited,body.skin--responsive #p-cactions li a.external:visited {
	color: var(--text-color-link-external)
}

.vector-menu-tabs li {
	background: var(--theme-bg-color-100)
}

#p-logo-text a {
	color: var(--ooui--text-color);
}

#ca-nstab-mediawiki.a {
	color: var(--ooui--text-color);
}

#mw-changeslist-links {
	background: var(--theme-bg-color-100);
	color: var(--ooui--text-color);
}

#simpleSearch {
	background: var(--ooui--bg-color);
	border: 1px solid var(--ooui--border-color);
	color: var(--ooui--text-color);
	border-radius: var(--border-radius-low);
}

#searchInput {
	color: var(--ooui--text-color-light)
}

#pt-createaccount {
	visibility: hidden;
	display: none
}

@media screen and (min-width: 851px) {
	#personal .dropdown:before, #personal .dropdown:after {
		border-bottom: 10px solid var(--ooui--border-color-light);
	}
}

@media screen and (min-width: 851px) {
	#personal .dropdown:after {
		border-bottom: 10px solid var(--ooui--bg-color-dark);
	}
}

.vector-menu-tabs .selected {
	background: var(--theme-bg-color-base)
}

#pagehistory li.selected {
	background: #1B4D3E;
	font-weight: bold
}

div.mw-warning-with-logexcerpt,div.mw-lag-warn-high,div.mw-cascadeprotectedwarning,div#mw-protect-cascadeon,div.titleblacklist-warning {
	background: #7C0A02;
	border: 1px solid #bb7070
}

/* 
  Стиль для таблиц wikitable 
*/
.wikitable {
	border-spacing: 1px;
	padding: 10px;
	border-collapse: separate;
	border: none;
	border-radius: 0.8em;
	background: var(--theme-bg-color-200);
	border: 1px solid rgb(var(--color-darkened--rgb), 0.35);
	color: var(--theme-text-color);
}

.wikitable>*>tr>*{
	padding: 0.4em;
	margin: 0;
	border: none;
	color: var(--theme-text-color);
}

.wikitable>*>tr>th {
	background: var(--theme-bg-color-200);
}

.wikitable>*>tr>td {
	background: var(--theme-bg-color-300);
}

/* Закругление верхнего левого угла первой ячейки */
.wikitable thead tr:first-child th:first-child,
.wikitable thead tr:first-child td:first-child,
.wikitable:not(:has(thead)) tr:first-child th:first-child,
.wikitable:not(:has(thead)) tr:first-child td:first-child {
	border-top-left-radius: 4px;
}

/* Закругление верхнего правого угла последней ячейки */
.wikitable thead tr:first-child th:last-child,
.wikitable thead tr:first-child td:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child th:last-child,
.wikitable:not(:has(thead)) tbody > tr:first-child td:last-child {
	border-top-right-radius: 4px;
}

/* Закругление нижнего левого угла первой ячейки последнего ряда 
.wikitable tbody tr:last-child th:first-child,
.wikitable tbody tr:last-child td:first-child {
	border-bottom-left-radius: 4px;
}*/

/* Закругление нижнего правого угла последней ячейки последнего ряда 
.wikitable tbody tr:last-child th:last-child,
.wikitable tbody tr:last-child td:last-child {
	border-bottom-right-radius: 4px;
}*/

	
/* Таблицы на телефонах */
@media screen and (max-width: 850px) {
	.wikitable {
		font-size: 0.8em;
        padding: 6px;
	}
}

/* КОНЕЦ */

@media screen and (max-width: 850px) {
	*:not(.no-img-adaptive) img[width="64"][height="64"] {
		width: 32px;
		height: 32px;
	}
	
	*:not(.no-img-adaptive) img[width="64"][height="128"] {
		width: 32px;
		height: 64px;
	}
	
	*:not(.no-img-adaptive) img[width="128"][height="128"] {
		width: 64px;
		height: 64px;
	}
}

@media screen and (max-width: 650px) {
	.mw-parser-output table {
		display: table-cell;
		overflow: auto;
		max-width: 100%;
	}
}

ul#filetoc, .toc, .toccolours, .mw-warning {
	border-radius: 0.5em;
	background: var(--theme-bg-color-200);
	padding: 14px;
	box-sizing: border-box;
	margin: 12px 0;
	min-width: 12em;
	border: none;
	box-shadow: var(--box-shadow-outline);
	line-height: 1.3;
}

.toc, .toc * {
	box-sizing: border-box;
}

.toc .toctitle {
	font-size: 0.95em;
	padding: 0 8px;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-align: left;
	border: none;
}

.toc .toctitle h2 {
	font-size: 1.1em;
	font-weight: bold;
	display: flex;
	align-items: center;
}

.toc .toctitle h2::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
	-webkit-mask: var(--mask);
	mask: var(--mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center center;
	mask-position: center center;
	background: var(--theme-icon-color);
	margin: 0 6px 0 0;
}

.toc .toctogglelabel {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 0 8px;
	font-size: unset;
	line-height: unset;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	font-family: "noto sans";
}

.toctogglecheckbox:not(:checked) + .toctitle .toctogglelabel:after,
.toctogglecheckbox:checked + .toctitle .toctogglelabel:after {
	content: "";
	display: block;
	pointer-events: none;
	--mask: var(--icon-chevron-down) no-repeat;
	-webkit-mask: var(--mask);
	mask: var(--mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center center;
	mask-position: center center;
	background: var(--theme-icon-color);
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	transform: scaleY(-1);
}

.toctogglecheckbox:checked + .toctitle .toctogglelabel:after {
	transform: none;
}

.toc > ul {
	margin: 6px 0 0 0;
	border-top: 1px solid var(--theme-border-color-base);
	padding-top: 2px;
}

#searchInput:focus {
	outline: 2px solid var(--color-contrast);
}

.toctogglecheckbox:focus + .toctitle .toctogglelabel {
	outline: none;
}

.mw-content-ltr .tocnumber {
	color: grey
}

.quickbox {
	border: 1px solid var(--ooui--border-color);
	background: var(--ooui--bg-color);
}

.quickboxhead {
	border-bottom: 1px solid var(--ooui--border-color);
	background: var(--theme-bg-color-base);
	text-align: center
}

.client-js .mw-changeslist ul, .client-js .mw-changeslist table.mw-enhanced-rc {
	margin: 0;
}

.results-info {
	color: var(--ooui--text-color-dark);
}

.mw-search-result-data {
	color: var(--ooui--text-color-dark);
}

.oo-ui-buttonElement-frameless.oo-ui-labelElement > .oo-ui-buttonElement-button {
	font-size: 14px;
}

.mw-rcfilters-ui-filterWrapperWidget-bottom {
	gap: 4px;
}

.mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget {
	padding: 0.6em;
	border: 1px solid var(--ooui--border-color);
}

.mw-rcfilters-ui-changesListWrapperWidget-previousChangesIndicator {
	border-color: var(--ooui--border-color-lighter);
}

.mw-changeslist-legend {
	max-width: 300px;
}

.mw-changeslist-legend {
	display: none;
}

.mw-changeslist.oo-ui-widget.oo-ui-widget-enabled.mw-rcfilters-ui-changesListWrapperWidget > .mw-changeslist-legend {
	display: block;
	background: var(--ooui--bg-color-light);
}

.mw-rcfilters-ui-filterMenuSectionOptionWidget-header-title.oo-ui-labelElement-label {
	color: lightgray;
}

.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
	color: lightgray;
}

.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle, .mw-rcfilters-ui-changesListWrapperWidget {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
	color: var(--ooui--text-color-light);
	border-radius: 0.4em 0.4em 0 0;
}

.mw-rcfilters-ui-datePopupWidget {
	border-color: var(--ooui--border-color-lighter);
}

.mw-rcfilters-ui-datePopupWidget .mw-rcfilters-ui-valuePickerWidget-title {
	color: var(--ooui--text-color-dark);
}

.mw-rcfilters-ui-changesListWrapperWidget:not(.mw-rcfilters-ui-changesListWrapperWidget-highlighted) .mw-changeslist-watchedseen div.mw-rcfilters-ui-highlights-color-none {
	background: var(--ooui--border-color-light);
	border: 1px solid var(--color-contrast);
}

.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button {
	background: var(--color-contrast2);
	border-color: var(--color-contrast2);
}

.oo-ui-buttonElement-framed.oo-ui-widget-disabled > .oo-ui-buttonElement-button:hover {
	border-color: var(--color-contrast);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	background: var(--color-contrast2);
	border-color: var(--color-contrast);
	color: var(--ooui--text-color-light);
}

.oo-ui-processDialog-actions-safe .oo-ui-widget-enabled.oo-ui-iconElement:not(.oo-ui-labelElement) > .oo-ui-buttonElement-button:hover {
	background: var(--color-contrast2);
	border-color: var(--color-contrast);
	color: var(--ooui--text-color-light);
}

.tdg-templateDataParamWidget-param-description {
	color: var(--ooui--text-color-dark);
}

.oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:hover, .oo-ui-processDialog .oo-ui-actionWidget:not(.oo-ui-flaggedElement-progressive):not(.oo-ui-flaggedElement-destructive) > .oo-ui-buttonElement-button:active {
	background: var(--color-contrast2);
	border-color: var(--color-contrast);
}

.mw-revslider-container {
	border-color: var(--ooui--border-color-light);
}

.mw-revslider-slider-wrapper {
	border-color: var(--ooui--border-color-light);
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color-light);
}

.oo-ui-tagMultiselectWidget-handle .oo-ui-tagMultiselectWidget-group > input {
	color: var(--ooui--text-color-light);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button:hover {
	background: var(--color-contrast2);
}

.oo-ui-processDialog-content > .oo-ui-window-head, .oo-ui-processDialog-content > .oo-ui-window-foot {
	outline-color: var(--ooui--border-color);
	background: var(--ooui--bg-color);
}

.oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-setup > .oo-ui-window-frame {
	background: transparent;
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled {
	background: transparent;
}

.mw-templateData-template-map-list-menu-panel {
	border-color: var(--ooui--border-color);
}

.oo-ui-outlineOptionWidget.oo-ui-optionWidget-highlighted {
	background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m));
	color: var(--ooui--text-color-light);
}

.oo-ui-searchWidget-query {
	border-color: var(--ooui--border-color-lighter);
}

.mw-templateData-template-add-map-button-panel.oo-ui-layout.oo-ui-panelLayout.oo-ui-panelLayout-padded.oo-ui-panelLayout-expanded.tdg-templateDataDialog-addNewMapButtonPanel {
	display: flex;
	align-items: center;
}

.oo-ui-buttonSelectWidget .oo-ui-buttonOptionWidget .oo-ui-buttonElement-button {
	border-radius: 0;
}

.mw-rcfilters-ui-changesListWrapperWidget .mw-rcfilters-ui-highlights > div {
	margin-right: 8px;
}

.oo-ui-popupWidget-popup {
	background: var(--ooui--bg-color-light);
	border-color: var(--ooui--border-color-light);
	color: lightgray;
}

.oo-ui-menuSelectWidget {
	border-color: var(--ooui--border-color);
	background: var(--ooui--gradient);
	box-shadow: var(--box-shadow);
}

.oo-ui-tagItemWidget.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
	background: var(--ooui--border-color);
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected {
	background: var(--ooui--bg-color--hover);
	outline: 1px solid var(--ooui--border-color);
}

.oo-ui-menuOptionWidget.oo-ui-optionWidget-selected.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted, .oo-ui-menuOptionWidget.oo-ui-optionWidget-pressed.oo-ui-menuOptionWidget.oo-ui-optionWidget-highlighted {
	background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m)) !important;
}

.oo-ui-menuOptionWidget.oo-ui-widget-enabled.oo-ui-optionWidget {
	border-color: var(--ooui--border-color);
	color: var(--ooui--text-color);
	transition: all 0.01s;
	cursor: pointer;
}

.mw-rcfilters-ui-itemMenuOptionWidget-label-title {
	color: var(--ooui--text-color);
	cursor: pointer;
}

.mw-rcfilters-ui-itemMenuOptionWidget-label-desc {
	color: var(--ooui--text-color-dark);
	cursor: pointer;
}

/*==========
  Страница
==========*/

/* Заголовок */
.mw-body h1.firstHeading {
	border-width: 3px;
}

/* Содержание */
.mw-body {
	background: var(--theme-bg-color-100);
	color: var(--theme-text-color);
	padding: 12px 14px;
	border-radius: var(--border-radius-low);
	box-shadow: var(--box-shadow-outline);
	border: none;
	border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
}

@media screen and (max-width: 850px) {
	.mw-body {
		padding: 6px;
	}
}

/* Категории */
#content-bottom-stuff .catlinks {
	margin-top: 6px;
	border-radius: var(--border-radius-low);
	border: none;
	box-shadow: var(--box-shadow-outline);
	border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
}

/*==========
  Заглавный поисковик
==========*/

/* Выдвижной блок */
.suggestions {
	box-shadow: var(--box-shadow-high);
	border-radius: 0 0 0.3em 0.3em;
	background: var(--theme-bg-color-50);
	border: 1px solid var(--ooui--border-color);
	border-top: 2px solid var(--color-contrast);
	padding-top: 4px;
}

.suggestions .suggestions-results, /* Блок страниц */
.suggestions .suggestions-special  /* Блок поиска страниц, содержащих введённый текст */ {
	border-radius: 0.4em;
	margin: 0.5em;
	background: var(--ooui--bg-color);
	border: 1px outset rgb(0 0 0 / 20%);
}

/* Страницы */
.suggestions .suggestions-result {
	color: var(--ooui--text-color-light);
	margin: 6px;
}

/* Если пустой */
.suggestions .suggestions-results:empty {
	display: none;
}

.suggestions-special .special-label {
	color: lightgray;
}

.suggestions-special .special-query {
	color: var(--ooui--text-color-light);
}

/* Подсветка при наведении */
.suggestions .suggestions-result-current {
	background: var(--color-contrast2);
	outline: 1px solid var(--color-contrast);
	border-radius: var(--border-radius-low);
	border-color: var(--color-contrast2);
}

/* Общие стили */
.suggestions .suggestions-result,
.suggestions .suggestions-special {
	padding: 0.5em 0.5em 0.35em;
}

.mw-rcfilters-ui-menuSelectWidget-footer {
	border-color: var(--ooui--border-color);
	background: var(--ooui--bg-color);
}

.mw-rcfilters-ui-viewSwitchWidget label.oo-ui-labelWidget {
	color: var(--ooui--text-color);
}

.mw-rcfilters-ui-filterMenuOptionWidget.oo-ui-flaggedElement-muted:not(.oo-ui-optionWidget-selected) {
	background: transparent;
}

.mw-rcfilters-ui-itemMenuOptionWidget .mw-rcfilters-ui-table {
	font-size: 0.9em;
}

.oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget.oo-ui-textInputWidget > .oo-ui-inputWidget-input, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-dropdownWidget-handle, .oo-ui-actionFieldLayout .oo-ui-actionFieldLayout-input > .oo-ui-widget .oo-ui-tagMultiselectWidget-handle {
	margin: 0;
}

.oo-ui-layout.oo-ui-fieldLayout.oo-ui-fieldLayout-align-top.oo-ui-actionFieldLayout {
	margin: 0.5em 0;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
	background: var(--color-contrast2);
	border-color: var(--color-contrast);
	color: var(--ooui--text-color-light);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-iconElement-icon:not(.oo-ui-image-invert), .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover > .oo-ui-indicatorElement-indicator:not(.oo-ui-image-invert) {
	opacity: 0.87;
}

.oo-ui-buttonSelectWidget.oo-ui-widget-enabled:focus .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
	box-shadow: none;
}

.mw-widget-dateInputWidget-calendar {
	border-color: var(--ooui--border-color);
	background: var(--ooui--gradient);
}

.mw-widget-dateInputWidget.oo-ui-widget-enabled .mw-widget-dateInputWidget-handle:hover {
	border-color: var(--ooui--border-color-light);
}

.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button {
	border-radius: var(--border-radius-low);
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	font-weight: bold;
}

.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover {
	background: var(--color-contrast2);
	color: var(--ooui--text-color-light);
}

.tool-button:hover, .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button:hover {
	background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m)); 
	transition: all 0.01s;
}

.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
	display: flex;
	align-items: center;
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	color: var(--ooui--text-color);
}

.mw-widget-calendarWidget-day-heading {
	color: lightgray;
}

.mw-widget-calendarWidget-day {
	color: lightgray;
}

.mw-widget-calendarWidget-labelButton .oo-ui-buttonElement-button .oo-ui-labelElement-label {
	color: var(--ooui--text-color);
}

.mw-editform #wpTextbox1, textarea {
	background: var(--theme-bg-color-base);
	border: none;
	color: lightgray;
}

.group.group-search {
	border: none;
}

.editOptions,.mw-editform .editOptions {
	background: var(--theme-bg-color-100);
	border: 1px solid var(--ooui--border-color-light);
	border-top: none;
	color: var(--ooui--text-color-light);
}

.oo-ui-tagMultiselectWidget-input.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-iconElement.oo-ui-textInputWidget.oo-ui-textInputWidget-type-text {
	background: var(--ooui--border-color);
}

.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
	color: var(--ooui--text-color);
}

.mw-rcfilters-ui-filterMenuHeaderWidget-header-highlight {
	padding-right: 0.3em;
	padding-left: 0.3em;
}

.mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
	border-color: var(--ooui--border-color);
	padding: 0;
}

.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
	min-height: 2.5em;
}

.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
	color: var(--ooui--text-color-dark);
}

.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
}

.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget-views-select-widget.oo-ui-widget {
	border-color: var(--ooui--border-color);
	display: flex;
	align-items: center;
	padding: 0;
	gap: 2px;
}

.mw-rcfilters-container .mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
	border-radius: 0.4em 0.4em 0 0;
}

@media screen {
	.mw-body-content .recipeimg a > img {
		padding: 0;
		margin: 0;
		border: 0;
		width: 32px !important;
		max-width: 32px !important;
		height: 32px !important;
		max-height: 32px !important
	}
}

.positive {
	color: #00FF00;
	font-weight: bold
}

.negative {
	color: #FF0000;
	font-weight: bold
}

.anglerect {
	--angle-rect-clip-size: 16px;
	clip-path: polygon(0 0,calc(100% - var(--angle-rect-clip-size)) 0,100% var(--angle-rect-clip-size),100% 100%,var(--angle-rect-clip-size) 100%,0 calc(100% - var(--angle-rect-clip-size)))
}

.flex {
	display: flex
}

.mw-body dd {
	margin: 0.2em;
	margin-left: 1.6em
}

/* Стили для блока */
.tabs-tabbox, .tabs-togglebox {
	display: flow-root;
}

/* Стили для активных вкладок */
.tabs-tabbox > .tabs-input:checked + .tabs-label,
.tabs-input-0:checked + .tabs-input-1 + .tabs-label {
	background: var(--theme-bg-color-250);
	border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-xs));
	border-bottom: 1px solid var(--color-contrast);
	z-index: 2;
}

/* Стили для стили для вкладок */
.tabs-tabbox > .tabs-input + .tabs-input + .tabs-label {
	margin: 0;
}

.tabs-tabbox > .tabs-label {
	cursor: pointer;
	padding: 1px 6px;
	margin: 0;
	vertical-align: baseline;
	border-radius: 0;
	background: transparent;
	border: 1px solid rgba(var(--color-darkened--rgb), var(--alpha-m));
	border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-xs));
}

.tabs-tabbox > .tabs-label:hover {
	z-index: 2;
	background: var(--theme-bg-color-250);
	transition: all 0.1s;
}

/* Стили для контейнера вкладок */
.tabs-tabbox > .tabs-container {
	padding: 14px 10px;
	background: var(--theme-bg-color-250);
	border: 1px solid rgba(var(--color-darkened--rgb), var(--alpha-m));
	border-top: 1px solid rgba(var(--theme-color-lighter--rgb), var(--alpha-x));
	border-radius: var(--border-radius-low);
}

/* Класс для уменьшения яркости фона tabs */
.tabs-no-background > .tabs-container {
	background: rgba(var(--theme-color-lighter--rgb), 0.02);
}

.tooltip {
	position: relative;
	display: inline;
}

.tooltiptext {
	position: absolute;
	min-width: 240px;
	max-width: 100%;
	left: -240px;
	right: -240px;
	top: 125%;
	margin-left: auto;
	margin-right: auto;
	z-index: 99;
	padding: 22px;
	pointer-events: none;
	visibility: hidden;
	transition: all 0.05s;
	border: 1px solid var(--color-contrast);
	border-radius: 1.4rem;
	background: var(--ooui--bg-color);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.tooltip:hover>.tooltiptext {
	visibility: visible;
	opacity: 1;
}

@media screen and (min-width: 851px) {
	.mobile {
		display:none
	}

	.headder {
		width: 25%;
		float: right;
		margin-left: 1em
	}

	.stiky {
		position: sticky;
		top: 0.1em
	}
}

@media screen and (max-width: 850px) {
	.nomobile {
		display: none !important;
	}

	.headder {
		width: 100%;
		margin-left: 0;
	}

	.tooltip {
		position: static;
	}

	.tooltiptext {
		box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
		position: fixed!important;
		width: 80vw !important;
		top: 40vh !important;
		left: 0 !important;
		margin: 0 auto !important;
		right: 0!important;
	}
	/*
	.mobilefont {
		font-size: 80%
	}
	*/
	
	.mobile-image img {
		width: 32px;
		height: 32px;
	}
}

.mw-mmv-above-fold,.mw-mmv-dialog,.mw-mmv-image-links li,.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,.mw-mmv-options-dialog-header,.mw-mmv-options-text-header {
	color: #e0e0e0
}

.mw-mmv-above-fold {
	background: #222;
	border-top: 1px solid #333
}

.mw-mmv-image-metadata {
	background: #111;
	border-color: #333
}

.mw-mmv-dialog {
	border: 1px solid #333;
	background: #222;
	box-shadow: none
}

.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
	background: #222;
	border-bottom: 1px solid #333;
	border-right: 1px solid #333
}

.mw-mmv-options-enable-alert {
	background: #333;
	color: #e0e0e0
}

.mw-mmv-filepage-buttons .mw-ui-button {
	background: var(--color-contrast);
	color: #e0e0e0;
	border-color: #1d4699
}

.mw-default-size {
	background: #21212600 !important;
	border-color: black !important
}

.mw-default-size img {
	border-color: black !important
}

.mw-default-size figcaption {
	background: #21212600 !important;
	border-color: black !important
}

.mw-halign-right {
	background: #27272d00 !important;
	border-color: black !important
}

.mw-halign-right img {
	border-color: black !important
}

.mw-halign-right figcaption {
	background: #27272d00 !important;
	border-color: black !important
}

.mw-halign-left {
	background: #27272d00 !important;
	border-color: black !important
}

.mw-halign-left img {
	border-color: black !important
}

.mw-halign-left figcaption {
	background: #27272d00 !important;
	border-color: black !important
}

.mw-halign-center {
	background: #27272d00 !important;
	border-color: black !important
}

.mw-halign-center img {
	border-color: black !important
}

.mw-halign-center figcaption {
	background: #27272d00 !important;
	border-color: black !important
}

.reference {
	background: #27272d00;
}

ol.references li:target,sup.reference:target {
	background: #ffffff0f;
	padding: 0px 1px 3px 1px;
}

.oo-ui-textInputWidget .oo-ui-inputWidget-input {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color-light);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button {
	background: var(--color-contrast2);
	border-color: var(--color-contrast2);
}

.oo-ui-messageDialog-message {
	color: lightgray;
}

.oo-ui-messageDialog-content > .oo-ui-window-foot {
	outline-color: var(--ooui--border-color);
}

.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
	border-color: var(--ooui--border-color);
}

.oo-ui-windowManager-modal:not(.oo-ui-windowManager-size-full) > .oo-ui-dialog > .oo-ui-window-frame {
	border-color: var(--ooui--border-color-light);
	background: var(--ooui--bg-color);
}

.oo-ui-textInputWidget.oo-ui-widget-enabled:hover {
	z-index: 1;
}

.oo-ui-textInputWidget.oo-ui-widget-enabled:hover .oo-ui-inputWidget-input {
	border-color: var(--ooui--border-color-lighter);
}

.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-editField:hover {
	background: rgba(var(--color-contrast-dark--rgb), var(--alpha-m));
}

.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
	color: lightgray;
}

.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:hover {
	border-color: var(--ooui--border-color-light);
	color: lightgray;
}

.oo-ui-dropdownInputWidget.oo-ui-widget-enabled select:active {
	color: lightgray;
}

form:not(.oo-ui-layout) button:not(:disabled):hover, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):hover, form:not(.oo-ui-layout) button:not(:disabled):active, form:not(.oo-ui-layout) input[type='submit']:not(:disabled):active {
	background: var(--color-contrast2);
	border-color: var(--color-contrast);
	color: var(--ooui--text-color-light);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: lightgray;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
	background: var(--color-contrast2);
	border-color: var(--color-contrast2);
	color: var(--ooui--text-color-light);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:hover {
	background: var(--color-contrast2);
	border-color: var(--color-contrast);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button:focus {
	box-shadow: inset var(--box-shadow-medium);
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
	color: lightgray;
}

.oo-ui-comboBoxInputWidget-field {
	display: flex;
	align-items: center;
}

.oo-ui-dropdownWidget.oo-ui-widget-enabled .oo-ui-dropdownWidget-handle:hover {
	border-color: var(--ooui--border-color-lighter);
	background: var(--ooui--bg-color);
	color: lightgray;
}

.mw-widget-dateInputWidget-handle {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
	color: var(--ooui--text-color-light) !important;	
}

.mw-search-profile-tabs {
	background: var(--ooui--bg-color) !important;
	border: var(--ooui--border-color) !important;
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active, .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-pressed > .oo-ui-buttonElement-button {
	background: var(--color-contrast2);
	border-color: var(--color-contrast2);
	color: var(--ooui--text-color-light);
}

form:not(.oo-ui-layout) button, form:not(.oo-ui-layout) input[type='submit'] {
	background: var(--color-contrast2);
	border-color: var(--color-contrast2);
	color: var(--ooui--text-color-light);
}

#wpDestFile {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color-light);
}

#wpUploadDescription {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: var(--ooui--text-color-light);
}

.oo-ui-buttonElement-framed.oo-ui-labelElement > .oo-ui-buttonElement-button, .oo-ui-textInputWidget .oo-ui-inputWidget-input, .oo-ui-dropdownWidget-handle, button, select {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	color: lightgray;
}

.mw-widgets-datetime-calendarWidget {
	background: var(--ooui--gradient);
	border-color: var(--ooui--border-color-light);
}

.mw-widgets-datetime-dateTimeInputWidget-handle {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	border-radius: var(--border-radius-low);
	color: var(--ooui--text-color-light);
}

.mw-widgets-datetime-dateTimeInputWidget.oo-ui-widget-enabled .mw-widgets-datetime-dateTimeInputWidget-handle:hover {
	border-color: var(--ooui--border-color-lighter);
}

.mw-rcfilters-ui-savedLinksListWidget-placeholder.oo-ui-optionWidget .oo-ui-labelElement-label {
	color: lightgray;
}

.mw-rcfilters-ui-savedLinksListWidget-placeholder-description {
	color: var(--ooui--text-color-dark);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-buttonElement-active > .oo-ui-buttonElement-button:focus {
	box-shadow: inset var(--box-shadow-medium);
}

.search-types .current a {
	color: #d3d3d3 !important;
	cursor: default !important
}

div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon, div.titleblacklist-warning {
	background: var(--bg-color-error);
	border-color: var(--border-color-error);
}

#mw-header-nav-hack {
	border-top: solid 2px var(--theme-bg-color-100) !important;
	display: block;
	position: absolute;
	z-index: 98;
	background: var(--theme-bg-color-100) !important;
	width: 100%
}

.ui-widget-overlay {
	background: #000000 !important;
	opacity: .3 !important
}

.ui-widget-content {
	border: 1px solid #4a4a57 !important;
	background: var(--theme-bg-color-100) !important;
	color: #e0e0e0 !important
}

.ui-widget-header {
	border: 1px solid #4a4a57 !important;
	background: var(--theme-bg-color-100) !important;
	color: #e0e0e0 !important;
	font-weight: bold !important
}

#wikieditor-toolbar-file-target,#wikieditor-toolbar-file-caption,#wikieditor-toolbar-file-alt {
	width: 100% !important;
	background: var(--ooui--bg-color) !important;
	color: #e0e0e0 !important
}

.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
	box-sizing: border-box !important;
	background: var(--ooui--bg-color) !important;
	color: #e0e0e0 !important
}

.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
	font-family: Verdana,Arial,sans-serif !important;
	font-size: 1em !important;
	background: var(--ooui--bg-color) !important;
	color: #e0e0e0 !important
}

.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default {
	border: 1px solid #4a4a57 !important;
	background: var(--ooui--bg-color) !important;
	font-weight: normal !important;
	color: #e0e0e0 !important
}

.ui-state-hover,.ui-widget-contetn .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
	border: 1px solid #4a4a57 !important;
	background: #4c4c59 !important;
	font-weight: normal !important;
	color: #e0e0e0 !important
}

body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
	right: 0.9em !important;
	background: #4c4c59 !important
}

.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus {
	padding: 0 !important;
	background: #6c6c80 !important
}

.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
	font-family: monospace,monospace !important;
	background: var(--theme-bg-color-base) !important;
	border-color: var(--theme-bg-color-base) !important;
	color: var(--ooui--text-color-light) !important
}

.diff-deletedline .diffchange {
	background: #4c3c16 !important
}

.diff-addedline .diffchange {
	background: #16324d !important
}

.mw-json th,.mw-json td {
	border: 1px solid #000000;
	font-size: 16px;
	padding: 0.5em 1em
}

.mw-json tr {
	background: var(--theme-bg-color-100);
	margin-bottom: 0.5em
}

.mw-json th {
	background: #303037;
	font-weight: normal;
	vertical-align: top;
	color: #d3d3d3
}

.mw-json th span {
	-webkit-position: sticky;
	position: sticky;
	top: 0.5em
}

.mw-json-value,.mw-json-single-value {
	background: #1b5929;
	font-family: monospace,monospace;
	white-space: pre-wrap;
	color: #d3d3d3
}

.mw-json-empty {
	background: #1b5929;
	font-style: italic;
	color: #d3d3d3
}

.hover_img_special {
	top: 0;
	left: 0;
	display: none
}

.img_special:hover .hover_img_special {
	display: inline
}

.img_special:hover .img_spec {
	display: none
}

.ace-tm .ace_gutter {
	background: var(--theme-bg-color-100);
	color: var(--ooui--text-color-dark);
}

.ace-tm .ace_print-margin {
	width: 1px;
	background: var(--theme-bg-color-base)
}

.ace_mobile-menu {
	color: lightgray;
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
	box-shadow: var(--box-shadow-medium);
}

.ace-tm {
	background: var(--theme-bg-color-base);
	color: var(--ooui--text-color)
}

.ace-tm .ace_cursor {
	color: var(--ooui--text-color-light)
}

.ace-tm .ace_storage,.ace-tm .ace_keyword {
	color: rgb(153,153,255)
}

.ace-tm .ace_constant.ace_numeric {
	color: rgb(153,153,205)
}

.ace-tm .ace_constant {
	color: rgb(241,89,92)
}

.ace-tm .ace_support.ace_function {
	color: rgb(68,118,235)
}

.ace-tm .ace_support.ace_constant {
	color: rgb(23,202,33)
}

.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {
	color: rgb(182,187,236)
}

.ace-tm .ace_string {
	color: rgb(6,142,13)
}

.ace-tm .ace_comment {
	color: rgb(103,193,150)
}

.ace-tm .ace_constant.ace_numeric {
	color: rgb(153,153,255)
}

.ace-tm .ace_marker-layer .ace_selection {
	background: rgb(28,45,68)
}

.ace-tm .ace_marker-layer .ace_bracket {
	margin: -1px 0 0 -1px;
	border: 1px solid rgb(94,94,94)
}

.ace-tm .ace_marker-layer .ace_active-line {
	background: rgb(153,153,183,7%)
}

.ace-tm .ace_gutter-active-line {
	background: rgb(44,44,51)
}

.ace-tm .ace_marker-layer .ace_selected-word {
	background: rgb(37,59,89);
	border: 1px solid rgb(36,36,42)
}

.codeEditor-status {
	clear: both;
	width: 100%;
	background: var(--theme-bg-color-100);
	border-top: 1px solid #40404b;
	display: table
}

.codeEditor-status-message {
	border-left: 1px solid #40404b;
	border-right: 1px solid #40404b;
	padding: 0 0.3em;
	width: 100%;
	display: table-cell
}

::-webkit-scrollbar {
	background: #313137;
}

::-webkit-scrollbar-thumb {
	background: #505057;
	border: 3px solid #313137;
	border-radius: 0.3em;
}

::-webkit-scrollbar-thumb:hover {
	background: #616169;
}

::-webkit-scrollbar-thumb:active {
	background: #72727b;
}

@media (hover: none) and (pointer: coarse) {
	::-webkit-scrollbar {
		all: unset;
		width: 0;
		height: 0;
	}

	::-webkit-scrollbar-thumb {
		all: unset;
	}	
}

.overflowed {
	margin: 0;
}

.scroll-left.overflowed .content-table-left,
.scroll-right.overflowed .content-table-right {
	border-left: solid 1px rgba(var(--color-lighter--rgb), 0.4);
	z-index: 9999;
}

.scroll-left.overflowed .content-table-left {
	box-shadow: 1px 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.scroll-right.overflowed .content-table-right {
	box-shadow: -1px 0px 2px 2px rgba(0, 0, 0, 0.2);
}

.style-for-sub-numbered-lists ol {
	counter-reset: item
}

.style-for-sub-numbered-lists li {
	display: block
}

.style-for-sub-numbered-lists li:before {
	content: counters(item,".") ". ";
	counter-increment: item
}

.section {
	display: flex;
	flex-wrap: wrap
}

.section .col {
	flex: 1 1 auto
}

.section .line-break {
	flex-basis: 100%;
	width: 0px;
	height: 0px;
	overflow: hidden
}

.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend, .mw-changeslist-legend, .mw-body fieldset#mw-searchoptions, .mw_metadata, .mw-datatable {
	color: #d3d3d3;
	background: var(--ooui--gradient);
	border: 1px solid var(--ooui--bg-color);
	padding: 12px 10px;
	box-shadow: var(--box-shadow-medium);
}

.mw-rcfilters-ui-filterMenuHeaderWidget-header {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color-light);
}

.mw-footer-container {
	border-color: var(--ooui--border-color-light);
}

.mw-rcfilters-ui-filterMenuHeaderWidget-title.oo-ui-labelElement-label {
	color: lightgray;
	font-weight: bold;
}

#mw-search-toggleall {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
}

#mw-search-togglenone {
	background: var(--ooui--bg-color);
	border-color: var(--ooui--border-color);
}

#mw-searchoptions .divider {
	border-color: var(--ooui--border-color-light);
}

.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
	border:none;
	padding:0.5em;
}

.mw-datatable th {
	background: var(--theme-bg-color-100)
}

.mw-datatable td {
	background: #303037
}

.mw-datatable tr:hover td {
	background: #3f3f48
}

.pretoclip-copy-button {
	float: right
}

.mw-scribunto-message {
	color: var(--se-cm--xml-tag-color);
}

#mw-scribunto-input {
	width: 100%;
	border: 0;
	overflow: auto;
	background: var(--ooui--bg-color);
	border: 1px solid var(--ooui--border-color-light);
	font-weight: normal;
	color: lightgray;
}

.mw-scribunto-input {
	color: #d3d3d3;
	font: inherit;
	font-weight: bold;
	margin-top: 0.5em
}

.table-flex {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly
}

.boxes-flex {
	padding: 0;
	margin: 0;
	text-align: center
}

.role-big-title {
	margin: 0px;
	text-align: center;
	font-size: 40px;
	line-height: 50px;
	border-radius: 8px
}

.role-block-radius {
	border-radius: 8px
}

.role-block-name {
	padding: 2px;
	border-radius: .3em;
	margin-bottom: .2em;
}

.story-text {
	text-indent: 19px;
	text-align: justify
}

.story-dialogue {
	line-height: 1.2
}

.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
	display: block;
	position: relative;
	margin: 0px 25%
}

.mw-gallery-slideshow .gallerybox.slideshow-current {
	background: #28282e
}

.gallerytext {
	overflow: hidden;
	font-size: 94%;
	padding: 2px 4px;
	word-wrap: break-word;
	text-align: center
}

#content .gallerybox div.thumb {
	background: #f8f9fa00
}

.mw-body li.gallerybox div.thumb {
	background: #f8f9fa00;
	border: solid #28282e;
	border-width: 1px 1px 0.2em;
	padding: 1.25em 1.75em;
	box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
	padding: 0
}

.title-no-bottom-border {
	border-bottom: none !important
}

.title-top-border {
	border-top: solid 2px #c8ccd1
}

@media (min-width: 1340px) {
	#mw-content-block {
		display:block
	}

	#mw-content {
		margin-left: 14em;
		padding: 2em 0 0
	}

	#mw-content-wrapper {
		float: right;
		margin-left: -14em;
		background: transparent;
		width: 100%
	}

	.color-middle {
		margin-right: 1em !important;
	}

	.mw-wiki-logo {
		display: inline-block
	}

	#catlinks {
		margin-left: 14em
	}
}

#footer {
	padding-right: 1em
}

.mw-body dt {
    font-weight: bold;
    font-family: sans-serif;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    border-left: 2px solid var(--theme-border-color-100);
    padding-left: 5px;
}

.mw-body h1 {
	font-family: 'oswald';
	font-size: 2em;
}

.mw-body h2 {
	font-size: 1.5em;
	border-bottom: none;
	font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
	margin-bottom: 0.4em;
	margin-top: 1em;
	line-height: 1.375;
	border-bottom: 2px solid #2f5fbf; /* TODO: Нужен var() для цвета */
}

.mw-body h3 {
	font-size: 1.18em;
	font-weight: bold;
	font-family: sans-serif;
	margin-top: 0.5em;
	margin-bottom: 0.3em;
	padding-bottom: 0;
	line-height: 1.6;
	padding-top: 0.3em;
	
}

.mw-body h4,
.mw-body h5 {
	font-size: 1em;
	font-weight: bold;
	font-family: sans-serif;
	margin-top: 0.5em;
	margin-bottom: 0.3em;
}

.target {
	border-bottom: 1px solid darkblue
}

.target:target {
	border-bottom: 2px solid gold;
	transition: border 0.7s cubic-bezier(0.4,0,0.2,1)
}

.backlight:hover {
	box-shadow: 0 0 0.3em gold;
	background: #00000025;
}

#main.backlight:hover {
	box-shadow: inset 0 0 23em #00000066;
	border-radius: 8px;
}

#strongwhite, #strongwhite p, #strongwhite h1, #strongwhite h2, #strongwhite h3, #strongwhite h4, #strongwhite h5, #strongwhite h6, #strongwhite li {
	color: #e9e9e9 !important
}
/*затемнение для мобилок*/
#menus-cover {
	background: #000000;
	opacity: var(--alpha-s);
}

/*Красивые картинки*/
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
	margin: 0 0 0.5em 0.5em;
	border:1px solid black;
	border-bottom:0;
	border-radius:0.9em 0.9em 0 0;
	background:var(--theme-bg-color-base);
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
	border-radius: 0 0 0.9em 0.9em;
	border:1px solid black;
	border-top:0;
	background:var(--theme-bg-color-base);
	padding-bottom:5px;
	font-family:oswald;
	font-size:1em;
}

figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
	margin: 5px;
	border-radius: 0.4em;
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
	border-collapse:separate;
}
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
	border-bottom: 1px solid var(--color-contrast);
}

/*кнопка для главного меню*/
.StupidButton {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
}

/*Цвета таблиц для разных отделов*/
/* COM */
#COM.wikitable {
	border: 1px solid var(--bg-color-blue-subtle);
}

#COM.wikitable th {
	background: var(--bg-color-blue-150);
}

#COM.wikitable thead tr th,
#COM.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-blue-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#COM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#COM.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#COM.wikitable tr td {
	background: var(--bg-color-blue-subtle);
}

/* MED */
#MED.wikitable {
	border: 1px solid var(--bg-color-sky-blue-subtle);
}

#MED.wikitable th {
	background: var(--bg-color-sky-blue-150);
}
	
#MED.wikitable thead tr th,
#MED.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-sky-blue-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#MED.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#MED.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#MED.wikitable tr td {
	background: var(--bg-color-sky-blue-subtle);
}

/* SRV */
#SRV.wikitable {
	border: 1px solid var(--bg-color-green-subtle);
}

#SRV.wikitable th {
	background: var(--bg-color-green-150);
}

#SRV.wikitable thead tr th,
#SRV.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-green-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#SRV.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#SRV.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#SRV.wikitable tr td {
	background: var(--bg-color-green-subtle);
}

/* ENG */
#ENG.wikitable {
	border: 1px solid var(--bg-color-yellow-subtle);
}

#ENG.wikitable th {
	background: var(--bg-color-yellow-150);
}

#ENG.wikitable thead tr th,
#ENG.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-yellow-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#ENG.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#ENG.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#ENG.wikitable tr td {
	background: var(--bg-color-yellow-subtle);
}

/* RND */
#RND.wikitable {
	border: 1px solid var(--bg-color-purple-subtle);
}

#RND.wikitable th {
	background: var(--bg-color-purple-150);
}

#RND.wikitable thead tr th,
#RND.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-purple-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#RND.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#RND.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#RND.wikitable tr td {
	background: var(--bg-color-purple-subtle);
}

/* SUP */
#SUP.wikitable {
	border: 1px solid var(--bg-color-brown-subtle);
}

#SUP.wikitable th {
	background: var(--bg-color-brown-150);
}

#SUP.wikitable thead tr th,
#SUP.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-brown-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#SUP.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#SUP.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#SUP.wikitable tr td {
	background: var(--bg-color-brown-subtle);
}

/* SEC */
#SEC.wikitable {
	border: 1px solid var(--bg-color-red-subtle);
}

#SEC.wikitable th {
	background: var(--bg-color-red-150);
}

#SEC.wikitable thead tr th,
#SEC.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-red-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#SEC.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#SEC.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#SEC.wikitable tr td {
	background: var(--bg-color-red-subtle);
}

/* BOTANY */
#BOTANY.wikitable {
	border: 1px solid var(--bg-color-turquoise-subtle);
}

#BOTANY.wikitable th {
	background: var(--bg-color-turquoise-150);
}

#BOTANY.wikitable thead tr th,
#BOTANY.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-turquoise-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#BOTANY.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#BOTANY.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#BOTANY.wikitable tr td {
	background: var(--bg-color-turquoise-subtle);
}

/* MUTATION */
#MUTATION.wikitable {
	border: 1px solid var(--bg-color-violet-subtle);
}

#MUTATION.wikitable th {
	background: var(--bg-color-violet-150);
}

#MUTATION.wikitable thead tr th,
#MUTATION.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-violet-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#MUTATION.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#MUTATION.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#MUTATION.wikitable tr td {
	background: var(--bg-color-violet-subtle);
}

/* Стили для заголовков в таблицах с thead */
#highlighted-header.wikitable thead tr th,
/* Стили для первого ряда в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: #3d3d4f;
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

/* Стили для последующих строк в таблицах без thead */
#highlighted-header.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
/* Стили для последующих строк в таблицах с thead */
#highlighted-header.wikitable thead + tbody > tr th {
	background: #972626;
	border-bottom: 0.1em solid #00000059;
	border-left: 3px solid var(--color-darkened-border);
}

/* Серый заголовок и серые ячейки */
#highlighted-header-classic.wikitable thead tr th,
#highlighted-header-classic.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: #323240;
	border-bottom: 0.2em solid #00000045;
	box-shadow:  var(--box-shadow-medium);
}

#highlighted-header-classic.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-classic.wikitable thead + tbody > tr th {
	background: #3e3e4d;
	border-bottom: 0.1em solid #0000000d;
	border-left: 0.2em solid #00000024;
}

/* Холодный цвет ячеек */
#highlighted-header-cold.wikitable {
	border: 1px solid var(--bg-color-azure-subtle);
}

#highlighted-header-cold.wikitable th {
	background: var(--bg-color-azure-150);
}

#highlighted-header-cold.wikitable thead tr th,
#highlighted-header-cold.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: var(--bg-color-azure-100);
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#highlighted-header-cold.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th:first-child,
#highlighted-header-cold.wikitable thead + tbody > tr th:first-child {
	border-left: 3px solid var(--color-darkened-border);
}

#highlighted-header-cold.wikitable tr td {
	background: var(--bg-color-azure-subtle);
}

/* Серый заголовок и темно-красные ячейки */
#highlighted-header-dark.wikitable thead tr th,
#highlighted-header-dark.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: #3d3d4f;
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#highlighted-header-dark.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-dark.wikitable thead + tbody > tr th {
	background: #8d2121;
	border-bottom: 0.1em solid #00000059;
	border-left: 3px solid var(--color-darkened-border);
}

/* Палитра для Морпехов */
#highlighted-header-CM.wikitable thead tr th,
#highlighted-header-CM.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: #313d45;
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#highlighted-header-CM.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-CM.wikitable thead + tbody > tr th {
	background: #355f54;
	border-bottom: 0.1em solid #00000059;
	border-left: 3px solid var(--color-darkened-border);
}

/* Палитра для Ксеноморфов */
#highlighted-header-xenomorph.wikitable thead tr th,
#highlighted-header-xenomorph.wikitable:not(:has(thead)) tr:first-of-type th {
	position: relative;
	background: #3c1d5f;
	border-bottom: 3px solid var(--color-darkened-border);
	box-shadow:  var(--box-shadow-medium);
}

#highlighted-header-xenomorph.wikitable:not(:has(thead)) tbody > tr:nth-of-type(n+2) th,
#highlighted-header-xenomorph.wikitable thead + tbody > tr th {
	background: #5d1c55;
	border-bottom: 0.1em solid #00000059;
	border-left: 3px solid var(--color-darkened-border);
}

/* Если не нужен другой стиль кроме цвета */
#no-highlight {
	border-bottom: none !important;
	box-shadow: none !important;
}

/* КОНЕЦ */

/* Неразрывные пробелы в горизонтальных списках 
   @источник: https://ru.wikipedia.org/wiki/MediaWiki:Common.css
   @Распорстраняется под CC BY-SA 4.0
   @автор: [[Участник:WindEwriX]]*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
.hlist-items-nowrap dd,
.hlist-items-nowrap dt,
.hlist-items-nowrap li {
	white-space: nowrap;
}
/* Прекращение действия лицензии CC BY-SA 4.0*/

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 9 (2016-08-10)
   @Распорстраняется под CC BY-SA 4.0
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist.hlist ol,
.hlist.hlist ul {
	margin: 0;
	padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	margin: 0;
	display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
	display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li,
.hlist .mw-empty-elt {
	display: none;
}
/* Generate bullets */
.hlist dt:after {
	content: ": ";
}
.hlist dd:after,
.hlist li:after {
	content: "\00a0· ";
	font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
	content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
	content: " (";
	font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
	content: ")";
	font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}
.hlist ol > li {
	counter-increment: listitem;
}
.hlist ol > li:before {
	content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
	content: " (" counter(listitem) "\a0";
}
/* Прекращение действия лицензии CC BY-SA 4.0*/

/* Псевдо-модальное окно */
.pseudomodal--caller {
  cursor:pointer;
}

.pseudomodal {
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	visibility: hidden;
	opacity: 0;
	background: var(--theme-bg-color-100);
	width: 60%;
	height: 80%;
	border: 1px solid black;
	border-radius: 0.5rem;
	padding: 5px 25px;
	position: fixed;
	margin: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100 !important;
	box-shadow: 0px 0px 0px 100vh rgba(0, 0, 0, 0.6);
}

.pseudomodal--caller:focus-within + .pseudomodal {
  visibility: visible;
  opacity: 1;
}

.pseudomodal:hover {
  visibility: visible;
  opacity: 1;
}

.pseudomodal--header {
  text-align: center;
  font-size: 1.1em;
  position: relative;
}

.pseudomodal--header-hr{
  margin: 20px 0;
  padding: 0;
  height: 0;
  border: none;
  border-top: 1px solid darkgray;
}

.pseudomodal--body{
  height: 100%;
  position: relative;
}

.pseudomodal::-webkit-scrollbar {
  width: 0.15rem;
  background:transparent;
}

.pseudomodal::-webkit-scrollbar-track {
  margin:1em;
  background: transparent;
}

.pseudomodal::-webkit-scrollbar-thumb {
  background: transparent;
  border: solid #373737;
}

/* Key press */
.keyboard-key {
	border: 1px solid #555555;
	border-radius: var(--border-radius-low);
	box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1);
	background-image: linear-gradient(to bottom, #1e1e1e, #393838, #1e1e1e);
	color: var(--ooui--text-color);
	padding: 0.1em 0.3em;
	font-family: inherit;
	font-size: 0.8em;
}

@media only screen and (max-width: 600px) {
	.flex--row-column {
		flex-direction:column; width: 50%; margin: auto;
	}
}

/* Классы для форума "Справочник сталкера" проекта S.T.A.L.K.E.R. и для вики-плашек*/

.forumMessage, .wikiMessage {
	background: var(--theme-bg-color-base);
}

.forumMessage {
	padding: 10px 10px 30px;
}

.wikiMessage {
	padding: 10px 10px 10px;
	margin-bottom: 10px;
}

.forumMessageInfo, .wikiMessageInfo{
	padding: 0;
	margin-left: 160px;
	border-bottom: 1px none black;
	zoom: 1;
	color: rgb(255, 255, 255);
}

.forumMessageContent, .wikiMessageContent {
	padding-bottom: 2px;
	padding-left:4px;
	border-style: hidden;
	min-height: 100px;
	overflow: hidden;
}
.forumMessageContent {
	background: #303037
}

.forumMessageUserInfo, .wikiIMG {
	float: left;
	width: 140px;
	position: relative;
}

.forumAvatarHolder, .wikiIMGHolder {
	padding: 10px;
	text-align: center;
	position:relative;
}

.forumAvatarHolder {
	background:#303037
}

.forumUserText {
	padding: 1px 10px;
	background:#303037
}

.forumUserName {
	font-size: 14px;
	color: rgb(255, 148, 7);
	margin-bottom: 5px;
	display: block;
	overflow: hidden;
	line-height: 16px;
	text-align: center;
}

.forumBanner {
	font-size: 11px;
	text-align: center;
	padding: 5px;
	color: black;
	border-color: silver;
	height: 16px;
	width: 105px;
	display: block;
	margin-bottom: 5px
}

.forumAdmin {
	background: silver
}
/* CodeMirror */
.CodeMirror {
	height: 600px;
	position: relative;
	overflow: hidden;
	background: var(--theme-bg-color-base);
	color: inherit;
}

.CodeMirror-gutters {
	border-right: 1px solid var(--theme-bg-color-100);
	background: var(--theme-bg-color-100);
	white-space: nowrap;
}

.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
	background: #1c2d44;
}

.noExternal>.external {
  padding-right:0px !important;
  background-image:none !important;
}

.mw-mmv-image>*, .fullImageLink>*>* {
	image-rendering: auto !important;
}

/* Для тестов */
.skameykatable{
	border:1px solid black;
	border-radius:1.4rem;
}
.skameykatable>*>tr>th{
	  text-align:center;
	font-weight:bold;
	}
.skameykatable>*>tr>td{
	   border:none;
	}
.skameykatable>*>tr:not(:first-child)>*{
	border-top:1px solid black !important;
}
.skameykatable>*>tr:not(:first-child):not(:last-child):hover{
box-shadow: inset 30em 30em 0 #1b1b20;
}
.skameykatable>*>tr:last-child{
	box-shadow: inset 30em 30em 0 #1b1b20;
	border-bottom-left-radius:1.3rem;
	border-bottom-right-radius:1.3rem;
}

.skameykatable>*>tr>*{
	padding:0.4em;
	background:transparent;
	border:none !important;
}
	
.headerSort::after {
	content: "\21C5";
}
	
.headerSort.headerSortUp::after {
	content: "\2191";
}

.headerSort.headerSortDown::after {
	content: "\2193";
}


.headerSort {
	background-size: 0 0 !important;
	white-space: nowrap;
}


.pseudomodal p {
	margin: 0 !important;
}

/**
* SS220 import
* 
* Taken from https://wiki.ss220.space/index.php?title=MediaWiki:Common.css&oldid=35625
*/

/* Hide noscript only elements */
.client-js *.noscript {
	display: none;
}


/* SS220 import end*/

@media (max-width: 800px) {
	.grid-adaptive {
		grid-template-columns: 1fr !important;
	}
}

.grid-item-adaptive {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 30vw, 300px), 1fr));
}

.grid-small-item-adaptive {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-item-compressed {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 350px), 0fr));
}

.grid-item-compressed {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 350px), 0fr));
}

.link-card__flex-container {
	display: flex; 
	gap: 10px; 
	justify-content: center; 
	flex-grow: 1; 
	align-items: flex-start; 
	flex-wrap: wrap; 
	align-content: center;
}

@media (max-width: 800px) {
	.link-card__flex-container {
		gap: 8px;
	}
}

/* Удаление верхних и нижних отступов для первого и последнего дочернего элемента */
.no-margin-edges > :first-child,
.tabs-content	> :first-child,
.doc			 > :first-child {
	margin-top: 0 !important;
}

.no-margin-edges > :last-child,
.tabs-content	> :last-child,
.doc			 > :last-child {
	margin-bottom: 0 !important;
}

/* Сброс и настройка отступов для списков */
.list-reset-margin ol {
	margin: 0 0 0 24px;
	padding: 0;
}

.list-reset-margin > ol:not(:first-child) > li:not(:first-child),
.list-reset-margin > ul:nth-of-type(n+2) {
	margin-top: 10px;
}

/* Кнопка копирования текста */
.copy-icon {
	cursor: pointer;
}

/* Кнопка копирования текста */
.brightness-overlay::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	background: var(--background-color);
}


/* Псевдоэлемент для добавления фона, который изменяет яркость при наведении */
.brightness-overlay::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	background: var(--background-color);
}

.brightness-overlay:hover::before {
	filter: brightness(103%);
}

/* Уменьшеная полоса прокрутки */
.short-scrollbar::-webkit-scrollbar { 
	width: 10px;
}

.short-scrollbar::-webkit-scrollbar-track  { 
	background: var(--ooui--bg-color-light);
}

.short-scrollbar::-webkit-scrollbar-thumb { 
	background: #44444d; border: 2px solid var(--ooui--bg-color-light); border-radius: 0;
}

/* Для для динамичного вида кнопки "[развернуть]" */
.collapsible-absolute .mw-collapsible-toggle {
	position: absolute;
	left: 0;
	right: 0;
}

/*==========
  Модуль:Краткий вызов
==========*/

.shortcut {
	clear: right;
	float: right;
	margin-left: 0.75em;
	font-size: smaller;
	background: var(--bg-color-code-light);
	border: 1px solid var(--border-color-code-light);
}

.shortcut-1, .shortcut-2 {
	padding: 4px;
}

.shortcut-2 {
	line-height: 1.25em;
	font-weight: bold;
	vertical-align: middle;
}

/*==========
  Расширение:Popups 
==========*/

/* Всплывающие окна */
.mwe-popups {
	background: var(--ooui--gradient-light);
	box-shadow: 0 5px 30px 0px rgba(0, 0, 0, 0.35), 0 0 1px 1px rgba(0, 0, 0, 0.1);
}

.mwe-popups img {
	image-rendering: auto;
}

.mwe-popups .mwe-popups-container {
	background: var(--ooui--gradient-light);
}

.mwe-popups .mwe-popups-extract {
	color: #dddddd;
}

.mwe-popups .mwe-popups-extract:hover {
	color: #e8e8e8;
}

.mwe-popups .mwe-popups-extract[dir='ltr']::after {
	background: linear-gradient(90deg, #ffffff00 0%, #2a2a3387 50%);
}

.mwe-popups .mwe-popups-extract[dir='rtl']::after {
	background: linear-gradient(90deg, #2a2a3387 50%, #ffffff00 0%);
}

/* Настройки */
.mwe-popups-overlay {
	background: rgba(0, 0, 0, 0.6);
}

#mwe-popups-settings {
	border: 1px solid #41414d;
	background: #27272f;	
}

#mwe-popups-settings header {
	border-bottom: 1px solid #41414d;
}

#mwe-popups-settings main#mwe-popups-settings-form p {
	color: lightgray;
}

#mwe-popups-settings main#mwe-popups-settings-form form label > span {
	color: #dddddd;
}

/*==========
 Расширение:InputBox
==========*/

.mw-ui-input {
	background: var(--ooui--bg-color);
	color: var(--ooui--text-color-light);
}

form:not(.oo-ui-layout) textarea, form:not(.oo-ui-layout) input {
	border-radius: var(--border-radius-low);
	border-color: var(--ooui--border-color);
}

.mw-ui-input:hover {
	border-color: var(--ooui--border-color-light);
}

/*==========
 Расширение:SyntaxHighlight
==========*/

.mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre {
	background: var(--theme-bg-color-50);
	border-color: var(--ooui--border-color);
	box-shadow: var(--ooui--bg-color-dark) 2.75em 0px 0px inset;
	font-size: 90%;
	color: var(--ooui--text-color);
}

.mw-content-ltr.mw-highlight .linenos {
	color: var(--ooui--text-color-dark);
}

/* ================================================ */
/* #region <syntaxhighlight> CODE BLOCKS  */
/* ================================================ */

:root {
	--synt-high--color-darkCreamy: #262421;
	--synt-high--color-lightCreamy: hsl(38, 5%, 45%);

	--synt-high--color-comment: var(--synt-high--color-lightCreamy);
	--synt-high--color-err: #ff1a94;
	--synt-high--color-operator: #e7236a;
	--synt-high--color-punctuation: #f8f8f2;
	--synt-high--color-string: #e6db74;
	--synt-high--color-date: var(--synt-high--color-string);
	/* names for things such as variables, functions, classes, etc. */
	--synt-high--color-name: #a6e22e;
	/* literals, mostly numbers, some string stuff too. */
	--synt-high--color-literal: #ae81ff;
	/* keywords and constants */
	--synt-high--color-keyword: #57b8cb;
	
	--action-color: hsl(220, 60%, 50%);
}

/* Modified version of https://github.com/richleland/pygments-css/blob/master/monokai.css */

/* Highlighted Lines */
.mw-highlight .hll {
	background: var(--action-color);
}

/* Error */
.mw-highlight .err {
	color: var(--synt-high--color-err);
	background: hsl(328, 40%, 16%);
}

/* Keyword */
.mw-highlight .k {
	color: var(--synt-high--color-keyword);
}

/* Literal */
.mw-highlight .l {
	color: var(--synt-high--color-literal);
}

/* Name */
.mw-highlight .n {
	color: #f8f8f2;
}

/* Operator */
.mw-highlight .o {
	color: var(--synt-high--color-operator);
}

/* Punctuation */
.mw-highlight .p {
	color: var(--synt-high--color-punctuation);
}

/* Comment */
.mw-highlight .c {
	color: var(--synt-high--color-comment);
}

/* Comment.Hashbang */
.mw-highlight .ch {
	color: var(--synt-high--color-comment);
}

/* Comment.Multiline */
.mw-highlight .cm {
	color: var(--synt-high--color-comment);
}

/* Comment.Preproc */
.mw-highlight .cp {
	color: var(--synt-high--color-comment);
}

/* Comment.PreprocFile */
.mw-highlight .cpf {
	color: var(--synt-high--color-comment);
}

/* Comment.Single */
.mw-highlight .c1 {
	color: var(--synt-high--color-comment);
}

/* Comment.Special */
.mw-highlight .cs {
	color: var(--synt-high--color-comment);
}

/* Generic.Deleted */
.mw-highlight .gd {
	color: #f92672;
}

/* Generic.Emph */
.mw-highlight .ge {
	font-style: italic;
}

/* Generic.Inserted */
.mw-highlight .gi {
	color: var(--synt-high--color-name);
}

/* Generic.Strong */
.mw-highlight .gs {
	font-weight: bold;
}

/* Generic.Subheading */
.mw-highlight .gu {
	color: #75715e;
}

/* Keyword.Constant */
.mw-highlight .kc {
	color: var(--synt-high--color-keyword);
}

/* Keyword.Declaration */
.mw-highlight .kd {
	color: var(--synt-high--color-keyword);
}

/* Keyword.Namespace */
.mw-highlight .kn {
	color: #f92672;
}

/* Keyword.Pseudo */
.mw-highlight .kp {
	color: var(--synt-high--color-keyword);
}

/* Keyword.Reserved */
.mw-highlight .kr {
	color: var(--synt-high--color-keyword);
}

/* Keyword.Type */
.mw-highlight .kt {
	color: var(--synt-high--color-keyword);
}

/* Literal.Date */
.mw-highlight .ld {
	color: var(--synt-high--color-date);
}

/* Literal.Number */
.mw-highlight .m {
	color: var(--synt-high--color-literal);
}

/* Literal.String */
.mw-highlight .s {
	color: var(--synt-high--color-string);
}

/* Name.Attribute */
.mw-highlight .na {
	color: var(--synt-high--color-name);
}

/* Name.Builtin */
.mw-highlight .nb {
	color: #f8f8f2;
}

/* Name.Class */
.mw-highlight .nc {
	color: var(--synt-high--color-name);
}

/* Name.Constant */
.mw-highlight .no {
	color: var(--synt-high--color-keyword);
}

/* Name.Decorator */
.mw-highlight .nd {
	color: var(--synt-high--color-name);
}

/* Name.Entity */
.mw-highlight .ni {
	color: #f8f8f2;
}

/* Name.Exception */
.mw-highlight .ne {
	color: var(--synt-high--color-name);
}

/* Name.Function */
.mw-highlight .nf {
	color: var(--synt-high--color-name);
}

/* Name.Label */
.mw-highlight .nl {
	color: #f8f8f2;
}

/* Name.Namespace */
.mw-highlight .nn {
	color: #f8f8f2;
}

/* Name.Other */
.mw-highlight .nx {
	color: var(--synt-high--color-name);
}

/* Name.Property */
.mw-highlight .py {
	color: #f8f8f2;
}

/* Name.Tag */
.mw-highlight .nt {
	color: #f92672;
}

/* Name.Variable */
.mw-highlight .nv {
	color: #f8f8f2;
}

/* Operator.Word */
.mw-highlight .ow {
	color: var(--synt-high--color-operator);
}

/* Text.Whitespace */
.mw-highlight .w {
	color: #f8f8f2;
}

/* Literal.Number.Bin */
.mw-highlight .mb {
	color: var(--synt-high--color-literal);
}

/* Literal.Number.Float */
.mw-highlight .mf {
	color: var(--synt-high--color-literal);
}

/* Literal.Number.Hex */
.mw-highlight .mh {
	color: var(--synt-high--color-literal);
}

/* Literal.Number.Integer */
.mw-highlight .mi {
	color: var(--synt-high--color-literal);
}

/* Literal.Number.Oct */
.mw-highlight .mo {
	color: var(--synt-high--color-literal);
}

/* Literal.String.Affix */
.mw-highlight .sa {
	color: var(--synt-high--color-string);
}

/* Literal.String.Backtick */
.mw-highlight .sb {
	color: var(--synt-high--color-string);
}

/* Literal.String.Char */
.mw-highlight .sc {
	color: var(--synt-high--color-string);
}

/* Literal.String.Delimiter */
.mw-highlight .dl {
	color: var(--synt-high--color-string);
}

/* Literal.String.Doc */
.mw-highlight .sd {
	color: var(--synt-high--color-string);
}

/* Literal.String.Double */
.mw-highlight .s2 {
	color: var(--synt-high--color-string);
}

/* Literal.String.Escape */
.mw-highlight .se {
	color: var(--synt-high--color-literal);
}

/* Literal.String.Heredoc */
.mw-highlight .sh {
	color: var(--synt-high--color-string);
}

/* Literal.String.Interpol */
.mw-highlight .si {
	color: var(--synt-high--color-string);
}

/* Literal.String.Other */
.mw-highlight .sx {
	color: var(--synt-high--color-string);
}

/* Literal.String.Regex */
.mw-highlight .sr {
	color: var(--synt-high--color-string);
}

/* Literal.String.Single */
.mw-highlight .s1 {
	color: var(--synt-high--color-string);
}

/* Literal.String.Symbol */
.mw-highlight .ss {
	color: var(--synt-high--color-string);
}

/* Name.Builtin.Pseudo */
.mw-highlight .bp {
	color: #f8f8f2;
}

/* Name.Function.Magic */
.mw-highlight .fm {
	color: var(--synt-high--color-name);
}

/* Name.Variable.Class */
.mw-highlight .vc {
	color: #f8f8f2;
}

/* Name.Variable.Global */
.mw-highlight .vg {
	color: #f8f8f2;
}

/* Name.Variable.Instance */
.mw-highlight .vi {
	color: #f8f8f2;
}

/* Name.Variable.Magic */
.mw-highlight .vm {
	color: #f8f8f2;
}

/* Literal.Number.Integer.Long */
.mw-highlight .il {
	color: var(--synt-high--color-literal);
}

/* #endregion */

/* Test AsnDen */
.AsnDen {
	color: #55555555;
}

/* ============ */
/* #region SOURCE EDITOR → SYNTAX HIGHLIGHTING */
/* based on: https://github.com/wikimedia/mediawiki-extensions-CodeMirror/blob/master/resources/mode/mediawiki/mediawiki.less */
/* ============ */
:root {
	/* "se-cm" = Source Editor - Code Mirror */
	/* same color as for source editor */
	--se-cm--bg-color: var(--bg-color-light-x2);
	/* same color as for code block */
	--se-cm--gutter-bg-color: var(--code-color-bg);
	/* margin to the left for the main contents of the editor */
	--se-cm--main-contents-left-margin: 0.25rem;
	/* bg color for pre/nowiki tags contents */
	--se-cm--pre-bg-color: hsl(205, 21%, 15%);
	/* from the <syntaxhighlight> theme */
	--se-cm--comment-color: var(--synt-high--color-comment);
	--se-cm--error-color: var(--red-color);
	/* link itself */
	--se-cm--link-color: #699ae9;
	/* link delimiter */
	--se-cm--cm-mw-link-delimiter: var(--se-cm--template-delimiter-color);
	/* link text */
	--se-cm--link-text-color: #3873d3;
	--se-cm--link-brackets-color: var(--se-cm--link-text-color);
	/* things like "DISPLAYTITLE" "templates" (the whole template except the value part) */
	--se-cm--parser-function-color: #e0485a;
	/* function param values */
	--se-cm--parser-function-values-color: #e0cacd;
	/* table brackets and row delimiter */
	--se-cm--table-punctuation-color: var(--se-cm--parser-function-color);
	/* table settings */
	--se-cm--table-settings-color: var(--se-cm--template-name-color);
	/* template name */
	--se-cm--template-name-color: #a142cf;
	/* template arg names */
	--se-cm--template-arg-name-color: #9e27da;
	/* template brackets */
	--se-cm--template-brackets-color: var(--se-cm--template-name-color);
	/* template arg values */
	--se-cm--template-values-color: #a3cced;
	/* template arg delimiters */
	--se-cm--template-delimiter-color: var(--se-cm--link-color);
	/* template param name */
	--se-cm--template-param-name-color: #d07b00;
	/* template param brackets */
	--se-cm--template-param-brackets-color: #ac6600;
	/* template param values */
	--se-cm--template-param-value-color: hsl(207,90%,83%);
	/* template param delimiter */
	--se-cm--template-param-delimiter-color: var(--se-cm--template-delimiter-color);
	/* wiki formatting: headers, bullet points, bold/italic quotes, etc. */
	--se-cm--wikitext-formatting-color: var(--se-cm--link-text-color);
	/* html tags, including ones specific for the wiki (like syntaxhighlight) */
	--se-cm--xml-tag-color: #11a886;
	/* selection color */
	--se-cm--selection-color: hsl(205, 21%, 30%);
	/* bg color applied when selecting a bracket that has a match (in templates) */
	--se-cm--matching-brackets-bg-color: hsl(205, 21%, 44%);
}
/* the whole content body code mirror wrapper */
.CodeMirror-wrap {
	/* same color as for source editor */
	background: var(--se-cm--bg-color);
	/* color for the text that the other rules don't apply to (regular text, header text, etc.) */
	color: var(--text-color);
}
/* the actual lines of text */
.CodeMirror pre.CodeMirror-line {
	/* a little bit of margin for the main content */
	margin-left: var(--se-cm--main-contents-left-margin);
}
/* gutters?? */
.CodeMirror-wrap .CodeMirror-gutters {
	border-color: var(--ooui--border-color-dark);
}
/* gutter */
.CodeMirror-wrap .CodeMirror-gutter {
	/* same color as for code block */
	background: var(--se-cm--gutter-bg-color);
}
/* selection */
.CodeMirror-line::selection,
/* selection */
.CodeMirror-line>span::selection,
/* selection */
.CodeMirror-line>span>span::selection {
	background: var(--se-cm--selection-color);
}
/* bullet point symbol */
.cm-mw-list,
/* ???? */
.cm-mw-indenting {
	color: var(--se-cm--wikitext-formatting-color);
}
/* magic words */
.cm-mw-doubleUnderscore,
/* magic words */
.cm-mw-double-underscore,
/* ???? user signature maybe */
.cm-mw-signature,
/* ???? hr tags prob */
.cm-mw-hr {
	color: var(--se-cm--wikitext-formatting-color);
	/* override the defaults */
	background: inherit;
}
/* html sequences like "&nbsp;" */
.cm-mw-mnemonic,
/* ???? */
.cm-mw-html-entity {
	color: var(--se-cm--xml-tag-color);
	background: #684905;
	border-radius: 2px;
}
/* comments */
.cm-mw-comment {
	color: var(--se-cm--comment-color);
}
/* formatting: 3 apostrophes for bold text */
.cm-mw-apostrophes-bold,
/* formatting: 2 apostrophes for italic text
todo make them separate? better eligibility */
.cm-mw-apostrophes-italic {
	color: var(--se-cm--wikitext-formatting-color);
}
/* template name */
.cm-mw-template-name {
	color: var(--se-cm--template-name-color);
	/* disable the default */
	text-decoration: none;
}
/* template arg names */
.cm-mw-template-argument-name {
	color: var(--se-cm--template-arg-name-color);
}
/* template arg values */
.cm-mw-template {
	color: lightgray;
}
/* template pipe delimiters (maybe colon too for modules?) */
.cm-mw-template-delimiter {
	color: var(--se-cm--template-name-color);
}
/* template brackets */
.cm-mw-template-bracket {
	color: var(--se-cm--template-brackets-color);
}
/* template variable (with 3 brackets) name */
.cm-mw-templatevariable-name {
	color: var(--se-cm--template-param-name-color);
}
/* template variable (with 3 brackets) value */
.cm-mw-templatevariable {
	color: var(--se-cm--template-param-brackets-color);
}
/* template variable brackets (3 brackets) */
.cm-mw-templatevariable-bracket {
	color: var(--se-cm--template-param-brackets-color);
}
/* template variable (with 3 brackets) delimiter */
.cm-mw-templatevariable-delimiter {
	color: var(--se-cm--template-param-brackets-color);
}
/* parser functions (things like "DISPLAYTITLE" or invokes) → name */
.cm-mw-parserfunction-name {
	color: var(--se-cm--parser-function-color) !important;
}
/* parser functions (things like "DISPLAYTITLE" or invokes) → value */
.cm-mw-parserfunction {
	color: var(--se-cm--parser-function-values-color);
}
/* parser functions (things like "DISPLAYTITLE" or invokes) → brackets */
.cm-mw-parserfunction-bracket {
	color: var(--se-cm--parser-function-color);
}
/* parser functions (things like "DISPLAYTITLE" or invokes) → delimiters */
.cm-mw-parserfunction-delimiter {
	color: var(--se-cm--parser-function-color);
}
/* wiki html tag names? like >syntaxhighlight> */
.cm-mw-exttag-name,
/* html tag names */
.cm-mw-htmltag-name {
	color: var(--se-cm--xml-tag-color);
}
/* if a string starts with an empty space, it will generate a pre block.
this targets that one single space.
same style as for html tag names, but for bg here */
.cm-mw-skipformatting {
	background: var(--se-cm--xml-tag-color);
}
/* wiki html tag brackets */
.cm-mw-exttag-bracket,
/* wiki html tag attributes (name, delimiter, value) */
.cm-mw-exttag-attribute,
/* html tag brackets */
.cm-mw-htmltag-bracket,
/* html tag attributes (name, delimiter, value) */
.cm-mw-htmltag-attribute {
	color: var(--se-cm--xml-tag-color);
}
/* pre tag BLOCK contents */
pre.CodeMirror-line.cm-mw-tag-pre,
/* pre tag INLINE contents */
.CodeMirror-line span.cm-mw-tag-pre,
/* ???? */
pre.CodeMirror-line-like.cm-mw-tag-pre,
/* pre tag contents */
.cm-mw-tag-pre,
/* ============== */
/* nowiki tag BLOCK contents */
pre.CodeMirror-line.cm-mw-tag-nowiki,
/* nowiki tag INLINE contents */
.CodeMirror-line span.cm-mw-tag-nowiki,
/* ???? */
pre.CodeMirror-line-like.cm-mw-tag-nowiki,
/* nowiki tag contents */
.cm-mw-tag-nowiki {
	background: var(--se-cm--pre-bg-color);
}
/* pre tag BLOCK contents */
pre.CodeMirror-line.cm-mw-tag-pre,
/* nowiki tag BLOCK contents */
pre.CodeMirror-line.cm-mw-tag-nowiki {
	/* colors the margin gap bg for block variants */
	box-shadow: calc(-1 * var(--se-cm--main-contents-left-margin)) 0
		var(--se-cm--pre-bg-color);
}
/* pre tag INLINE contents */
.CodeMirror-line span.cm-mw-tag-pre,
/* nowiki tag INLINE contents */
.CodeMirror-line span.cm-mw-tag-nowiki {
	/* a little corner rounding won't hurt a thing! */
	border-radius: 2px;
}
/* ???? */
.cm-mw-link,
/* ???? */
.cm-mw-link-tosection,
/* header equal signs */
.cm-mw-section-header {
	color: var(--se-cm--wikitext-formatting-color);
}
/* link itself */
.cm-mw-link-pagename,
/* external link itself, without protocol */
.cm-mw-extlink,
/* ???? same as above, maybe? */
.cm-mw-free-extlink,
/* external link protocol (the "https://" part) */
.cm-mw-extlink-protocol,
/* ???? same as above, maybe? */
.cm-mw-free-extlink-protocol {
	color: var(--se-cm--link-color);
}
/* link brackets */
.cm-mw-link-bracket,
/* external link brackets */
.cm-mw-extlink-bracket {
	color: var(--se-cm--link-color);
}
/* link delimiter */
.cm-mw-link-delimiter {
	color: var(--se-cm--cm-mw-link-delimiter);
}
/* link text */
.cm-mw-link-text,
/* external link text */
.cm-mw-extlink-text {
	color: var(--se-cm--link-text-color);
}
/* tables opening "{|" and closing "|}" brackets */
.cm-mw-table-bracket,
/* table row delimiter (doesn't include cols!) */
.cm-mw-table-delimiter {
	color: var(--se-cm--table-punctuation-color);
}
/* the table settings I guess? (like «class="wikitable"») */
.cm-mw-table-definition {
	color: var(--se-cm--table-settings-color);
}
/* ???? idk some kind of formatting errors? */
.cm-error,
.cm-mw-error,
.cm-s-default .cm-error {
	color: var(--se-cm--error-color);
}
.cm-mw-matchingbracket {
	background: var(--se-cm--matching-brackets-bg-color);
	/* disable the default */
	box-shadow: none;
}
/* various inline bg targeting things, idk what each of them target exactly */
.cm-mw-template2-ground,
.cm-mw-template3-ground,
.cm-mw-ext-ground,
.cm-mw-template-ext-ground,
.cm-mw-ext2-ground,
.cm-mw-template-ext2-ground,
.cm-mw-ext3-ground,
.cm-mw-template-ext3-ground,
.cm-mw-link-ground,
.cm-mw-ext-link-ground,
.cm-mw-template-link-ground,
.cm-mw-ext2-link-ground,
.cm-mw-template-ext-link-ground,
.cm-mw-ext3-link-ground,
.cm-mw-template-ext2-link-ground,
.cm-mw-template-ext3-link-ground,
.cm-mw-template2-ext-ground,
.cm-mw-template2-ext2-ground,
.cm-mw-template2-ext3-ground,
.cm-mw-template2-link-ground,
.cm-mw-template2-ext-link-ground,
.cm-mw-template2-ext2-link-ground,
.cm-mw-template2-ext3-link-ground,
.cm-mw-template3-ext-ground,
.cm-mw-template3-ext2-ground,
.cm-mw-template3-ext3-ground,
.cm-mw-template3-link-ground,
.cm-mw-template3-ext-link-ground,
.cm-mw-template3-ext2-link-ground,
.cm-mw-template3-ext3-link-ground {
	/* just disable them */
	background: inherit;
}
/* new code */
.cm-mw-template-ground.cm-mw-template,
.cm-mw-template2-ground.cm-mw-template, 
.cm-mw-template3-ground.cm-mw-template {
	color: var(--se-cm--template-values-color);
}
/* #endregion */

/* ============ */
/* #region DRUID Infoboxes */
/* ============ */

/* DRUID Infobox. */
/* source: https://support.wiki.gg/wiki/MediaWiki:Gadget-druidInfoboxes.css */
/* license: CC BY-SA 4.0 */

/****************************************/
/*******  Start DRUID CSS rules *********/
/****************************************/

/* ---------------------------------  */
/*	Safe to edit ABOVE this line	*/
/* ---------------------------------  */

/* ---------------------------------  */
/*	 Do not edit below this line	*/
/* ---------------------------------  */

.druid-container {
	--druid-border-color: var(--theme-border-color-base);	
	--druid-color-contrast: var(--color-contrast2);
	--druid-color-contrast-darkened: color-mix(in srgb, var(--druid-color-contrast) 15%, rgb(var(--theme-color-darkened--rgb)));
}

.druid-container {
	background: var(--theme-bg-color-200);
	float: right;
	clear: right;
	margin: 0 0 1em 1em;
	max-width: 400px;
	min-width: 300px;
	box-sizing: border-box;
	position: relative;
	z-index: 1;
	border: 1px solid var(--druid-border-color);
	border-radius: 0.2em;
	overflow: auto;
	font-size: 90%;
	border-spacing: 0;
	padding: 2px;
}

@media screen and (max-width: 720px) {
  .druid-container {
	float: none;
	margin: 0.5rem auto;
	min-width: 100%;
  }
}

.druid-main-images-file,
.druid-main-image {
	text-align: center;
}

.druid-infobox .druid-title,
.druid-infobox .druid-section {
	background: var(--druid-color-contrast);
	border-bottom: 2px solid var(--color-darkened-border);
	border-radius: 0.1em;
	padding: 5px;
	text-align: center;
	font-size: 120%;
	font-weight: bold;
}

.druid-infobox .druid-section {
	font-size: 105%;
	background: var(--druid-color-contrast-darkened);
	border-top: 1px solid var(--druid-border-color);
}

.druid-infobox  .druid-collapsible .druid-section {
	flex-grow: 1;
}

.druid-row > .druid-label,
.druid-row > .druid-data {
	padding-inline: 0.5em;
}

.druid-main-image,
.druid-main-images {
	background: var(--theme-bg-color-200);
	border-bottom: 1px solid var(--druid-border-color);
	padding: 2px 0;
}

.mw-body-content .druid-main-image img, 
.mw-body-content .druid-main-images img {
	max-width: 100% !important;
	height: auto !important;
}

.druid-main-images-labels {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin: 0.25em;
	gap: 0.25em;
}

.druid-main-images-label {
	cursor: pointer;
	flex: 1 1 auto;
	text-align: center;
	transition: .1s ease-in;
	outline: 1px solid var(--druid-link-color);
}

.druid-main-images-label.focused {
	background: var(--druid-link-color);
	color: var(--druid-link-label-color);
}

.druid-main-images-label:not(.focused):hover {
	background: var(--druid-link-color); /* fallback */
	background: color-mix(in srgb, var(--druid-link-color) 25%, transparent);
}

.druid-toggleable-data:not(.focused),
.druid-main-images-file:not(.focused),
.druid-toggleable-heading:not(.focused) {
	display: none;
}

.druid-grid {
	display:grid;
	gap: 0.3em;
	padding: 0.35em;
}

.druid-grid-item {
	background: var(--druid-tertiary-background-color);
	padding: 0.25em;
	border: 1px solid var(--druid-border-color); /* fallback */
	border: 1px solid color-mix(in srgb, var(--druid-border-color) 50%, transparent);
	border-radius: 2px;
}

.druid-grid-item .druid-label,
.druid-grid-item .druid-data {
	text-align: center;
}

.druid-data-wide {
	width: 100%;
}

.druid-section-container > .druid-collapsible {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.druid-collapsed {
	display: none !important;
}

.druid-collapsible {
	cursor: pointer;
	position: relative;
}

.druid-collapsible::after {
	content: "";
	display: block;
	position: absolute;
	right: 10px;
	width: 20px;
	height: 20px;
	--mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3E collapse %3C/title%3E%3Cpath d='M1 13.75l1.5 1.5 7.5-7.5 7.5 7.5 1.5-1.5-9-9-9 9z'/%3E%3C/svg%3E") no-repeat;
	-webkit-mask: var(--mask);
	mask: var(--mask);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center center;
	mask-position: center center;
	background: var(--druid-secondary-background-label-color);
}

.druid-collapsible-collapsed::after {
	transform: rotate(180deg);
}

/*****************************************
Table support
*****************************************/

.druid-container tbody tr.data-druid-section:nth-child(3),
.druid-container tbody tr.data-druid-section:nth-child(4) {
	display: none;
}

.druid-container tbody tr.druid-row:nth-child(3) {
	background: var(--theme-bg-color-250) !important;
}

.druid-container tbody tr.druid-row:nth-child(3) th {
	border-right: 1px solid var(--theme-bg-color-200) !important;
}

.druid-container tr:not(.data-druid-section):nth-child(odd) {
	background: var(--theme-bg-color-200);
}

.druid-container tr:not(.data-druid-section):nth-child(even) {
	background: var(--theme-bg-color-250);
}

.druid-container tr:nth-child(even) th:not([colspan]) {
	border-right: 1px solid var(--theme-bg-color-200);
}

.druid-container th, 
.druid-container td, 
.druid-container th .mw-collapsible-toggle {
	padding: 4px;
	font-size: 14px;
}

.druid-container th {
	width: 40%;
	text-align: left;
}

.druid-container ul {
	list-style: none;
	margin: 0;
	margin-left: 10px;
}

.druid-container ul li::before {
	content: "•";
	display: inline-block;
	font-size: 15px;
	margin-left: -10px;
	margin-right: 4px;
}

/********
Custom display classes
*********/

div.druid-stacked.druid-row,
.druid-stacked div.druid-row {
	flex-direction: column;
}

.druid-stacked.druid-row > .druid-data,
.druid-stacked .druid-row > .druid-data {
	padding-left: 0.75em;
}

/* ---------------------------------  */
/*	Do not edit above this line	 */
/* ---------------------------------  */

/* ---------------------------------  */
/* Local overrides go below this line */
/* ---------------------------------  */

.druid-infobox .druid-title {
	--clip: 0.6em;
	clip-path: polygon( 0 0, calc(100% - var(--clip)) 0, 100% var(--clip), 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)) );
	margin: 3px;
}

/****************************************/
/*******  End DRUID CSS rules   *********/
/****************************************/

/* #endregion */

/* Таблица в виде грид сетки для сортировки. Используется вместе с классом .sortable */
.sortable-grid {
	width: 100%;
}

.sortable-grid tbody {
	display: grid;
	gap: 8px 6px;
	grid-template-columns: repeat(auto-fit,minmax(clamp(250px, 50vw, 400px),1fr));
} 

/* Класс для большего количества столбцов */
.sortable-grid--small-column tbody {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.sortable-grid thead tr:first-child {
	grid-column: 1 / -1;
}

.sortable-grid > tr > th,
.sortable-grid > tr > td,
.sortable-grid > * > tr > th,
.sortable-grid > * > tr > td {
	display: block;
	height: 100%;
	box-sizing: border-box;
}

.sortable-grid .headerSort {
	padding: 4px 0;
	text-align: left;
}