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

Страница интерфейса MediaWiki
(Откат правок Perl (обсуждение) к последней версии Reach7)
Метка: откат
(Тестовый вариант CSS SunRise(test 1 of all))
Метка: отменено
Строка 1: Строка 1:
/* cyrillic-ext */
/* ============================================
  CSS CUSTOM PROPERTIES (CSS VARIABLES)
  ============================================ */
:root {
  /* Main color palette */
  --bg-primary: #1b1b1f;
  --bg-secondary: #212126;
  --bg-tertiary: #27272e;
  --bg-quaternary: #303037;
 
  --border-primary: #37373e;
  --border-secondary: #40404b;
  --border-tertiary: #4a4a57;
 
  --text-primary: #d3d3d3;
  --text-secondary: #e0e0e0;
  --text-muted: #999999;
 
  --link-color: #77c1d9;
  --link-external: #3377aa;
  --link-hover: #ffffff;
 
  --accent-blue: #36c;
  --accent-green: #1b5929;
  --accent-red: #b32424;
  --accent-orange: #f28500;
  --accent-yellow: #fc3;
  --accent-purple: #9932cc;
 
  /* Spacing */
  --spacing-xs: 0.25em;
  --spacing-sm: 0.5em;
  --spacing-md: 1em;
  --spacing-lg: 1.5em;
  --spacing-xl: 2em;
 
  /* Border radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 8px;
 
  /* Shadows */
  --shadow-sm: 0 1px 2px 1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 4px 2px rgba(0, 0, 0, 0.15);
 
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
}
 
/* ============================================
  FONT DEFINITIONS
  ============================================ */
 
/* Cyrillic Extended */
@font-face {
@font-face {
   font-family: 'Noto Sans Light';
   font-family: 'Noto Sans Light';
Строка 8: Строка 63:
   unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
   unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
}
/* cyrillic */
 
/* Cyrillic */
@font-face {
@font-face {
   font-family: 'Noto Sans Light';
   font-family: 'Noto Sans Light';
Строка 17: Строка 73:
   unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
   unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
}
/* latin-ext */
 
/* Latin Extended */
@font-face {
@font-face {
   font-family: 'Noto Sans Light';
   font-family: 'Noto Sans Light';
Строка 26: Строка 83:
   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;
   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;
}
}
/* latin */
 
/* Latin */
@font-face {
@font-face {
   font-family: 'Noto Sans Light';
   font-family: 'Noto Sans Light';
Строка 35: Строка 93:
   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;
   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-face {
   font-family: 'Oswald';
   font-family: 'Oswald';
Строка 43: Строка 102:
   unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
   unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
}
@font-face {
@font-face {
    font-family: 'Boxfont Round';
  font-family: 'Boxfont Round';
        src: url('/assets/fonts/boxfont-round/f3507eaadc95584e7358703d74e793ea/324a92fc76117885a667ae8af2be25ab/BoxfontRoundRegular.ttf') format('truetype');
  src: url('/assets/fonts/boxfont-round/f3507eaadc95584e7358703d74e793ea/324a92fc76117885a667ae8af2be25ab/BoxfontRoundRegular.ttf') format('truetype');
    font-weight: normal;
  font-weight: normal;
    font-style: 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')
}
/* symbols */
@font-face {
@font-face {
   font-family: 'Noto Sans Symbols';
   font-family: 'noto sans';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 400;
   src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QA_9Edkw.woff2) format('woff2');
   src: local('Noto Sans'), url(https://fonts.cdnfonts.com/s/15794/NotoSans-Regular.woff) format('woff');
  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;
}
}
/* latin-ext */
 
@font-face {
@font-face {
   font-family: 'Noto Sans Symbols';
   font-family: 'noto sans';
   font-style: normal;
   font-style: italic;
   font-weight: 400;
   font-weight: 400;
   src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QY_9Edkw.woff2) format('woff2');
   src: local('Noto Sans'), url(https://fonts.cdnfonts.com/s/15794/NotoSans-Italic.woff) format('woff');
  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;
}
}
/* latin */
 
@font-face {
@font-face {
   font-family: 'Noto Sans Symbols';
   font-family: 'noto sans';
   font-style: normal;
   font-style: normal;
   font-weight: 400;
   font-weight: 700;
   src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8Qbf9E.woff2) format('woff2');
   src: local('Noto Sans'), url(https://fonts.cdnfonts.com/s/15794/NotoSans-Bold.woff) format('woff');
   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: 'noto sans';
  font-style: italic;
  font-weight: 700;
  src: local('Noto Sans'), url(https://fonts.cdnfonts.com/s/15794/NotoSans-BoldItalic.woff) format('woff');
}
}
/* ============================================
  BASE STYLES
  ============================================ */
/* Basic element styles */
cite,
cite,
dfn {
dfn {
font-style: inherit
  font-style: inherit;
}
}


q {
q {
quotes: '"' '"' "'" "'"
  quotes: '"' '"' "'" "'";
}
}


code {
code {
background-color: #303037;  
  background-color: var(--bg-quaternary);
border-color: #303037;
  border: 1px solid var(--border-primary);
color: #d3d3d3;
  color: var(--text-primary);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', Courier, monospace;
}
}


blockquote {
blockquote {
overflow: hidden;
  overflow: hidden;
margin: 1em 0;
  margin: var(--spacing-md) 0;
padding: 0 40px
  padding: 0 40px;
  border-left: 3px solid var(--accent-blue);
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}
}


small {
small {
font-size: 85%
  font-size: 85%;
}
}


/* Image rendering optimization */
img {
img {
    image-rendering: optimizeSpeed;
  image-rendering: optimizeSpeed;
    image-rendering: -webkit-optimize-contrast;
  image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
  image-rendering: optimize-contrast;
    image-rendering: -moz-crisp-edges;
  image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
  image-rendering: -o-crisp-edges;
    image-rendering: crisp-edges;
  image-rendering: crisp-edges;
    image-rendering: pixelated;
  image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
  -ms-interpolation-mode: nearest-neighbor;
}
}


.mw-body-content sub,
/* ============================================
.mw-body-content sup,
  LINKS AND NAVIGATION
span.reference {
  ============================================ */
font-size: 80%
}


.ns-talk .mw-body-content dd {
/* Link styles with consistent colors */
margin-top: 0.4em;
a,
margin-bottom: 0.4em
.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(--link-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}
}


#interwiki-completelist {
a:hover,
font-weight: bold
a:visited:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
}


.biglink {
/* External links */
font-family: "Oswald";
a.extiw:visited,
font-style: oblique 10deg;
a.external:visited,
font-variant-caps: small-caps;
.mw-parser-output a.extiw:visited,
    text-shadow: #1b1b1f 1px 2px, #595959dd 2px 2px 1px
.mw-parser-output a.external:visited,
}
body.skin--responsive #p-cactions li a.external:visited {
 
  color: var(--link-external);
.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-color: 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
}
 
.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 {
font-weight: normal;
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em
}
 
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
float: left;
text-align: left
}
 
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #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
}
 
.messagebox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em
}
 
.messagebox.merge {
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center
}
 
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center
}
 
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
margin: 4px auto
}
 
.mbox-inside .standard-talk {
border: 1px solid #c0c090;
background-color: #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-color: #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 #36c;
background-color: #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 #36c
}
 
table.ambox-speedy {
border-left: 10px solid #b32424;
background-color: #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 #36c;
background-color: #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 #36c
}
 
table.imbox-speedy {
border: 3px solid #b32424;
background-color: #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-color: #f7f8ff
}
 
table.imbox-featured {
border: 3px solid #cba135
}
 
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background-color: #dfe8ff;
box-sizing: border-box
}
 
table.cmbox-notice {
background-color: #d8e8ff
}
 
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b32424;
background-color: #ffdbdb
}
 
table.cmbox-delete {
background-color: #ffdbdb
}
 
table.cmbox-content {
background-color: #ffe7ce
}
 
table.cmbox-style {
background-color: #fff9db
}
 
table.cmbox-move {
background-color: #e4d8ff
}
 
table.cmbox-protection {
background-color: #efefe1
}
 
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
box-sizing: border-box
}
 
table.ombox-notice {
border: 1px solid #a2a9b1
}
 
table.ombox-speedy {
border: 2px solid #b32424;
background-color: #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-color: #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-color: #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-color: #f8f9fa;
box-sizing: border-box
}
 
table.fmbox-system {
background-color: #191970
}
 
table.fmbox-warning {
border: 1px solid #bb7070;
background-color: #ffdbdb
}
 
table.fmbox-editnotice {
background-color: 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-color: #ffdbdb;
padding: 0.25em 0.9em;
box-sizing: border-box
}
 
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
border-color: #fc3;
background-color: #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-color: 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
}
}


/* Special link styles */
.nounderlines a,
.nounderlines a,
.IPA a:link,
.IPA a:link,
.IPA a:visited {
.IPA a:visited {
text-decoration: none !important
  text-decoration: none;
}
 
.nowrap,
.nowraplinks a {
white-space: nowrap
}
}


.wrap,
/* ============================================
.wraplinks a {
  LAYOUT CONTAINERS
white-space: normal
  ============================================ */
}


#wpUploadDescription {
/* Main page containers */
height: 13em
#mw-page-base,
#mw-panel,
#mw-content-container,
#mw-header-container,
#mw-content-wrapper,
#mw-content {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--bg-primary);
}
}


.thumbinner {
.mw-body {
min-width: 100px;
  background: var(--bg-secondary);
background: #303037;
  color: var(--text-primary);
border: solid #37373e
  border-color: var(--border-primary);
  padding: var(--spacing-sm);
}
}


.thumbinner .thumbimage, .thumbborder {
/* ============================================
border: solid 1px #37373e
  NAVIGATION ELEMENTS
}
  ============================================ */


#mw-subcategories,
/* Vector menu tabs */
#mw-pages,
.vector-menu-tabs li {
#mw-category-media,
  background: var(--bg-secondary);
#filehistory,
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
#wikiPreview,
  transition: background-color var(--transition-fast);
#wikiDiff {
clear: both
}
}


.wpb .wpb-header {
.vector-menu-tabs li:hover {
display: none
  background: var(--bg-tertiary);
}
}


.wpbs-inner .wpb .wpb-header {
.vector-menu-tabs .selected {
display: table-row
  background: var(--bg-primary);
}
}


.wpbs-inner .wpb-outside {
.vector-menu-tabs .selected a,
display: none
.vector-menu-tabs .selected a:visited {
  color: var(--text-primary);
  font-weight: bold;
}
}


.mw-tag-markers {
/* Sidebar elements */
font-style: italic;
#mw-site-navigation .sidebar-chunk,
font-size: 90%
#mw-related-navigation .sidebar-chunk,
body.skin--responsive .portlet,
body.skin--responsive .pBody {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
}
}


.checkuser-show,
/* ============================================
.sysop-show,
  SEARCH FUNCTIONALITY
.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,
#simpleSearch {
.ve-ui-mwNoticesPopupTool-item .mbox-image,
  background: var(--bg-tertiary);
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
  border: 1px solid var(--border-primary);
display: none !important
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}
}


ul.permissions-errors>li {
#simpleSearch:focus-within {
list-style: none none
  border-color: var(--accent-blue);
}
}


ul.permissions-errors {
#searchInput {
margin: 0
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: 8px 12px;
}
}


span.texhtml {
#searchInput::placeholder {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
  color: var(--text-muted);
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%
  TABLES AND DATA DISPLAY
}
  ============================================ */


.mwe-math-fallback-image-display,
/* Main wiki table styling */
.mwe-math-mathml-display {
.wikitable,
margin-left: 1.6em !important;
.mw_metadata,
margin-top: 0.6em;
.mw-datatable {
margin-bottom: 0.6em
  background: var(--bg-quaternary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  border-collapse: collapse;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: var(--spacing-md) 0;
  width: 100%;
}
}


.mwe-math-mathml-display math {
.wikitable > tr > th,
display: inline
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td,
.mw_metadata > tr > th,
.mw_metadata > tr > td,
.mw_metadata > * > tr > th,
.mw_metadata > * > tr > td,
.mw-datatable > tr > th,
.mw-datatable > tr > td,
.mw-datatable > * > tr > th,
.mw-datatable > * > tr > td {
  border: 1px solid var(--border-primary);
  padding: 8px 12px;
  text-align: left;
}
}


.k-player .k-attribution {
.wikitable > * > tr > th,
visibility: hidden
.mw_metadata > * > tr > th,
.mw-datatable > * > tr > th {
  background: var(--bg-tertiary);
  font-weight: 600;
  color: var(--text-secondary);
}
}


.PopUpMediaTransform a .play-btn-large {
.mw-datatable tr:hover td {
margin: 0;
  background-color: var(--bg-secondary);
top: auto;
  transition: background-color var(--transition-fast);
right: auto;
bottom: 0;
left: 0
}
}


.gallerybox .thumb img {
/* Table of Contents */
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat
.toc,
}
.toccolours {
.ns-0 .gallerybox .thumb img,
  background: var(--bg-tertiary);
.ns-2 .gallerybox .thumb img,
  border: 1px solid var(--border-primary);
.ns-100 .gallerybox .thumb img,
  border-radius: var(--radius-md);
.nochecker .gallerybox .thumb img {
  color: var(--text-secondary);
background-image: none
  padding: var(--spacing-md);
}
  margin: var(--spacing-md) 0;
  box-shadow: var(--shadow-sm);
}
}


.flaggedrevs_draft_synced,
.mw-content-ltr .tocnumber {
.flaggedrevs_stable_synced,
  color: var(--text-muted);
#t-upload,
  font-weight: 500;
.mw-special-Book #coll-downloadbox {
display: none
}
}


#site-tools {
/* ============================================
display: none !important;
  FORMS AND INPUT ELEMENTS
}
  ============================================ */


span.comment {
/* Text inputs and textareas */
overflow-wrap: break-word
.mw-editform #wpTextbox1,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
  background: var(--bg-quaternary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}
}


#mw-page-base {
.mw-editform #wpTextbox1:focus,
background: #1b1b1f;
textarea:focus,
color: lightgrey;
input[type="text"]:focus,
border: #1b1b1f
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus {
  border-color: var(--accent-blue);
  background: var(--bg-tertiary);
  outline: none;
}
}


/** Хуета ебаная сука блядь
/* Buttons */
.mediawiki,
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
.mw-page-container {
button,
background: #1b1b1f;
input[type="submit"],
color: lightgrey;
input[type="button"] {
border: #1b1b1f
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
}


.mw-body {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover,
background: #212126;
button:hover,
color: lightgrey;
input[type="submit"]:hover,
border: black
input[type="button"]:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-blue);
}
}


#mw-panel {
/* Edit options */
background: #1b1b1f;
.editOptions,
color: lightgrey;
.mw-editform .editOptions {
border: #1b1b1f
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
}
}


#mw-content-container,
/* ============================================
#mw-header-container,
  EDITOR INTERFACE
#mw-content-wrapper,
  ============================================ */
#mw-content,
#p-logo {
background: #1b1b1f;
color: lightgrey;
border: #1b1b1f
}


.mw-code {
/* WikiEditor toolbar */
background: #212126;
.wikiEditor-ui-toolbar {
color: lightgrey
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-primary);
}
}


footer,
.wikiEditor-ui-toolbar .group {
#footer-info-lastmod,
  border: 1px solid var(--border-primary);
#footer-info-copyright {
  border-radius: var(--radius-sm);
color: lightgrey
  margin: 2px;
}
}


p,
.wikiEditor-ui-toolbar .group .label {
h1,
  color: var(--text-secondary);
h2,
  font-size: 11px;
h3,
h4,
h5,
h6,
li {
color: lightgrey
}
}
**/


/** Новые цвета ссылок (одинаковый цвет, независимо от посещения **/
.wikiEditor-ui-toolbar .tabs span.tab a.current,
a,
.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,
  color: var(--bg-primary);
body.skin--responsive #p-cactions li a,
  font-weight: bold;
a:visited,
  background: var(--text-secondary);
.vector-menu-portal .vector-menu-content li a:visited,
  border-radius: var(--radius-sm);
.vector-menu-tabs li a:visited,
body.skin--responsive #p-cactions li a:visited  {
    color: #77c1d9
}
}


/** Старые цвета ссылок
.wikiEditor-ui .wikiEditor-ui-top {
a,
  border-bottom: 1px solid var(--border-primary);
.vector-menu-portal .vector-menu-content li a,
.vector-menu-tabs li a,
body.skin--responsive #p-cactions li a {
color: lightblue
}
}


a:visited,
.wikiEditor-ui .wikiEditor-ui-view {
.vector-menu-portal .vector-menu-content li a:visited,
  border: 1px solid var(--border-primary);
.vector-menu-tabs li a:visited,
  border-radius: 0 0 var(--radius-md) var(--radius-md);
body.skin--responsive #p-cactions li a:visited {
color: #007FFF
} **/
 
a:hover,
a:visited:hover {
    color: white;
}
}


body.skin--responsive #p-cactions li a {
/* ============================================
background: #27272e
  MESSAGE BOXES AND ALERTS
}
  ============================================ */


.mw-prefs-buttons {
/* Base message box styling */
background: #27272e
.messagebox {
}
  border: 1px solid var(--border-primary);
 
  background-color: var(--bg-tertiary);
a.extiw:visited,
  border-radius: var(--radius-md);
a.external:visited,
  margin: var(--spacing-md) auto;
.mw-parser-output a.extiw:visited,
  padding: var(--spacing-sm);
.mw-parser-output a.external:visited,
  box-shadow: var(--shadow-sm);
body.skin--responsive #p-cactions li a.external:visited {
/**Старый цвет
color: #8a2be2 **/
color: #3377aa
}
 
.vector-menu-tabs .selected a,
.vector-menu-tabs .selected a:visited,
body.skin--responsive #p-cactions li.selected a {
color: lightgrey;
font-weight: bold
}
 
body.skin--responsive #p-cactions li.selected a {
background: #27272e
}
 
.vector-menu-tabs li {
background: #212126
}
 
#mw-site-navigation .sidebar-chunk,
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk,
body.skin--responsive .portlet,
body.skin--responsive .pBody {
background: #212126;
color: lightgrey;
border-color: #1b1b1f
}
 
#p-logo-text a {
color: lightgrey
}
 
#ca-nstab-mediawiki.a {
color: lightgrey
}
 
#mw-changeslist-links {
background: #212126;
color: lightgrey
}
 
#simpleSearch {
background: #27272e;
border: 1px solid #37373e;
color: lightgrey
}
 
#searchInput {
color: white
}
 
#pt-createaccount {
    visibility: hidden;
    display: none;
}
 
.vector-user-links .vector-user-menu-more .vector-menu-content-list li a,
#personal .dropdown {
background: #27272e;
border: 1px solid #37373e;
color: lightgrey
}
 
body.skin--responsive #p-cactions li.selected {
border: #37373e
}
 
.vector-menu-tabs .selected {
background: #1b1b1f
}
 
#pagehistory li.selected {
background: #1B4D3E;
font-weight: bold
}
}


/* Warning messages */
div.mw-warning-with-logexcerpt,
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div#mw-protect-cascadeon,
div.titleblacklist-warning {
div.titleblacklist-warning,
background: #7C0A02;
.mw-message-box-error {
border: 1px solid #bb7070
  background: color-mix(in srgb, var(--accent-red), var(--bg-tertiary) 70%);
  border: 1px solid var(--accent-red);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-sm) 0;
}
}


.wikitable {
.mw-message-box-warning {
background: #303037;
  background: color-mix(in srgb, var(--accent-orange), var(--bg-tertiary) 70%);
border: 1px solid #37373e;
  border: 1px solid var(--accent-orange);
color: white
  border-radius: var(--radius-md);
}
  color: var(--text-secondary);
/* класс wikitableKZ является костылем, ведь фиксить wikitable мне было впадлу. Из-за wikitable тултипы обрезаются. Не бейте*/
.wikitableKZ {
    border-collapse: collapse
}
}


.wikitableKZ>tr>th,
.wikitableKZ>tr>td,
.wikitableKZ>*>tr>th,
.wikitableKZ>*>tr>td {
border: 1px solid black;
}


.toc {
/* ============================================
background: #27272E;
  TOOLTIPS
border: 1px solid black;
  ============================================ */
color: white
}


.mw-content-ltr .tocnumber {
.tooltip {
color: grey
  position: relative;
  display: inline;
}
}


.wikitable>tr>th,
.tooltiptext {
.wikitable>tr>td,
  position: absolute;
.wikitable>*>tr>th,
  z-index: 99999;
.wikitable>*>tr>td {
  width: 295px;
border: 1px solid black;
  left: -120px;
  top: 42px;
  padding: var(--spacing-sm);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all var(--transition-normal);
  border: 1px solid var(--accent-blue);
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
}


.wikitable>*>tr>th {
.tooltip:hover > .tooltiptext {
background: #27272e;
  visibility: visible;
border: 1px solid black;
  opacity: 0.98;
color: white
}
}


.quickbox {
/* ============================================
border: 1px solid #303038;
  CUSTOM SCROLLBARS
background: #27272e
  ============================================ */
}


.quickboxhead {
::-webkit-scrollbar {
border-bottom: 1px solid #303038;
  width: 12px;
background: #1b1b1f;
  height: 12px;
text-align: center
  background-color: var(--bg-tertiary);
}
}


.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
::-webkit-scrollbar-thumb {
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
  background-color: var(--border-tertiary);
background: #27272e;
  border: 2px solid var(--bg-tertiary);
border: 1px solid #303038;
  border-radius: var(--radius-md);
color: white
  transition: background-color var(--transition-fast);
}
}


.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
::-webkit-scrollbar-thumb:hover {
background: #27272e;
  background-color: var(--text-muted);
border: 1px solid #303038;
color: white
}
}


.oo-ui-popupWidget-popup {
::-webkit-scrollbar-thumb:active {
background: #303037;
  background-color: var(--text-secondary);
border: 1px solid #37373e;
color: white
}
}


.mw-editform #wpTextbox1,
::-webkit-scrollbar-corner {
textarea {
  background-color: var(--bg-tertiary);
background: #303037;
border: 1px solid #37373e;
color: white
}
}


.wikiEditor-ui-toolbar {
/* ============================================
background: #27272e;
  GALLERY AND MEDIA
color: white
  ============================================ */
}


.wikiEditor-ui-toolbar .group {
/* Thumbnail styling */
border: 1px solid #37373e;
.thumbinner {
color: white
  min-width: 100px;
  background: var(--bg-quaternary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  padding: 4px;
}
}


.wikiEditor-ui-toolbar .group .label {
.thumbinner .thumbimage,
color: white
.thumbborder {
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
}
}


.wikiEditor-ui-toolbar .tabs span.tab a.current,
/* Gallery boxes */
.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
.gallerybox .thumb img {
color: #151518;
  background: transparent;
font-weight: bold
}
}


.wikiEditor-ui .wikiEditor-ui-top {
.gallerytext {
border-bottom: 1px solid #37373e
  overflow: hidden;
  font-size: 94%;
  padding: 2px 4px;
  word-wrap: break-word;
  text-align: center;
  color: var(--text-primary);
}
}


.wikiEditor-ui .wikiEditor-ui-view {
.mw-gallery-slideshow .gallerybox.slideshow-current {
border: 1px solid #37373e
  background: var(--bg-tertiary);
}
  border-radius: var(--radius-sm);
 
.editOptions,
.mw-editform .editOptions {
background: #212126;
border: 1px solid #37373e;
color: white
}
}


/* ============================================
  UTILITY CLASSES
  ============================================ */


/* Text utilities */
.positive {
.positive {
color: #00FF00;
  color: var(--accent-green);
font-weight: bold
  font-weight: bold;
}
}


.negative {
.negative {
color: #FF0000;
  color: var(--accent-red);
font-weight: bold
  font-weight: bold;
}
}


.anglerect {
.nowrap,
--angle-rect-clip-size: 16px;
.nowraplinks a {
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)))
  white-space: nowrap;
}
}


.flex {
.wrap,
display: flex
.wraplinks a {
  white-space: normal;
}
}


 
/* Layout utilities */
 
.flex {
.mw-body {
  display: flex;
padding: 0.5em
}
}


.mw-body dd {
.flex-wrap {
margin: 0.2em;
  flex-wrap: wrap;
margin-left: 1.6em
}
}


.tabs-label {
.flex-center {
background-color: #19191d !important;
  justify-content: center;
color: lightgrey;
  align-items: center;
}
}


.tooltip{
/* Spacing utilities */
  position: relative;
.mb-0 { margin-bottom: 0; }
  display: inline;
.mb-1 { margin-bottom: var(--spacing-xs); }
}
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }


.tooltiptext {
.mt-0 { margin-top: 0; }
    position: absolute;
.mt-1 { margin-top: var(--spacing-xs); }
    display: initial;
.mt-2 { margin-top: var(--spacing-sm); }
    z-index: 99999;
.mt-3 { margin-top: var(--spacing-md); }
    width: 295px;
.mt-4 { margin-top: var(--spacing-lg); }
    left: -120px;
    top: 42px;
    padding: 5px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    white-space: normal;
    text-align: left;
    transition: all 0.2s;
    border: 1px solid #465298;
    background-color: #27272E;
}


.tooltip:hover>.tooltiptext {
.p-1 { padding: var(--spacing-xs); }
  visibility: visible;
.p-2 { padding: var(--spacing-sm); }
  opacity: 0.98;
.p-3 { padding: var(--spacing-md); }
}
.p-4 { padding: var(--spacing-lg); }


.tooltip{
/* ============================================
  position: static;
  SPECIAL COMPONENTS
}
  ============================================ */
.tooltiptext{
box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
        position: fixed;
    width: 80vw;
    top: 40vh;
    left: 0;
    margin: 0 auto;
    right: 0;
}


/* Angled rectangles */
.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))
  );
}
}


/** MultimediaViewer tweaks **/
/* Big link styling */
/* MMV text colors */
.biglink {
.mw-mmv-above-fold,
  font-family: "Oswald", sans-serif;
.mw-mmv-dialog,
  font-style: oblique 10deg;
.mw-mmv-image-links li,
  font-variant-caps: small-caps;
.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,
  text-shadow: var(--bg-primary) 1px 2px, rgba(89, 89, 89, 0.87) 2px 2px 1px;
.mw-mmv-options-dialog-header,
.mw-mmv-options-text-header {
color: #e0e0e0;
}
/* MMV file info */
.mw-mmv-above-fold {
background: #222;
border-top: 1px solid #333;
}
.mw-mmv-image-metadata {
background-color: #111;
border-color: #333;
}
/* MMV options popup */
.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;
}
/* MMV buttons on file page */
.mw-mmv-filepage-buttons .mw-ui-button {
background: #36c;
color: #e0e0e0;
border-color: #1d4699;
}
}


.mw-default-size {
/* Quick boxes */
background-color: #21212600 !important;
.quickbox {
border-color: black !important;
  border: 1px solid var(--border-primary);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin: var(--spacing-sm) 0;
}
}


.mw-default-size img {
.quickboxhead {
border-color: black !important;
  border-bottom: 1px solid var(--border-primary);
  background: var(--bg-primary);
  text-align: center;
  padding: var(--spacing-sm);
  font-weight: 600;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
}


.mw-default-size figcaption {
/* ============================================
background-color: #21212600 !important;
  RESPONSIVE DESIGN
border-color: black !important;
  ============================================ */
}
.mw-halign-right {
background-color: #27272E00 !important;
border-color: black !important;
}


.mw-halign-right img {
/* Large screens optimization */
border-color: black !important;
@media screen and (min-width: 1800px) {
}
  body {
    font-size: 90%;
    font-family: 'Citizen', sans-serif;
  }


.mw-halign-right figcaption {
  .mw-body {
background-color: #27272E00 !important;
    max-width: 1600px;
border-color: black !important;
    margin: 0 auto;
}
  }
.mw-halign-left {
background-color: #27272E00 !important;
border-color: black !important;
}
}


.mw-halign-left img {
/* Mobile adaptations */
border-color: black !important;
@media screen and (max-width: 768px) {
}
  .tooltip {
    position: static;
  }


.mw-halign-left figcaption {
  .tooltiptext {
background-color: #27272E00 !important;
    box-shadow: 0px 0px 100vw 100vh rgba(0, 0, 0, 0.6);
border-color: black !important;
    position: fixed;
}
    width: 80vw;
.mw-halign-center {
    top: 40vh;
background-color: #27272E00 !important;
    left: 0;
border-color: black !important;
    margin: 0 auto;
}
    right: 0;
  }


.mw-halign-center img {
  .mw-body {
border-color: black !important;
    padding: var(--spacing-xs);
}
  }


.mw-halign-center figcaption {
  .wikitable {
background-color: #27272E00 !important;
     font-size: 90%;
border-color: black !important;
  }
}
/* Фон референсов. Теперь НЕ белые при нажатии */
.reference {
background-color: #27272E00 !important;
}
ol.references li:target,sup.reference:target {
    background-color: #303037 !important;
}
.oo-ui-inputWidget-input {
background-color: #27272e !important;
border: #37373e !important;
color: #ffffff !important;
}
.mw-search-profile-tabs {
background-color: #27272e !important;
border: #37373e !important;
}
.search-types .current a {
    color: #d3d3d3 !important;
    cursor: default !important;
}
.mw-message-box-error {
    background-color: #7b1919 !important;
    border-color: #af2424 !important;
}
.mw-message-box-warning {
    background-color: #7b6919 !important;
    border-color: #af9a24 !important;
}
#mw-header-nav-hack {
    border-top: solid 2px #212126 !important;
    display: block;
    position: absolute;
    z-index: 98;
    background: #212126 !important;
    width: 100%;
}
.ui-widget-overlay {
    background: #000000 !important;
    opacity: .3 !important;
}
.ui-widget-content {
    border: 1px solid #4a4a57 !important;
    background: #212126 !important;
    color: #e0e0e0 !important;
}
.ui-widget-header {
    border: 1px solid #4a4a57 !important;
    background: #212126 !important;
    color: #e0e0e0 !important;
     font-weight: bold !important;
}
#wikieditor-toolbar-file-target,
#wikieditor-toolbar-file-caption,
#wikieditor-toolbar-file-alt {
    width: 100% !important;
    background-color: #27272e !important;
    color: #e0e0e0 !important;
}
.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
    box-sizing: border-box !important;
    background-color: #27272e !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-color: #27272e !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: #27272e !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;
}
ul#filetoc,.toc,.toccolours,.mw-warning {
        display: table !important;
        background-color: #27272e !important;
        border: solid #37373e !important;
        border-width: 1px 1px 0.2em !important;
        box-shadow: 0 1px 2px 1px rgb(0 0 0 / 2%) !important;
        padding: 1.25em 1.75em !important;
        margin-top: 1em !important;
        margin-bottom: 1em !important;
        min-width: 15em !important;
        font-size: 100% !important;
}
.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
    font-family: monospace,monospace !important;
    background-color: #1b1b1f !important;
    border-color: #1b1b1f !important;
    color: white !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 {
/* High contrast mode support */
     background-color: #212126;
@media (prefers-contrast: high) {
     margin-bottom: 0.5em
  :root {
    --border-primary: #666666;
    --text-primary: #ffffff;
     --bg-primary: #000000;
     --bg-secondary: #111111;
  }
}
}


.mw-json th {
/* Reduced motion support */
     background-color: #303037;
@media (prefers-reduced-motion: reduce) {
     font-weight: normal;
  * {
     vertical-align: top;
     animation-duration: 0.01ms !important;
    color:#d3d3d3;
     animation-iteration-count: 1 !important;
     transition-duration: 0.01ms !important;
  }
}
}


.mw-json th span {
/* ============================================
    -webkit-position: sticky;
  ACCESSIBILITY IMPROVEMENTS
    position: sticky;
  ============================================ */
    top: 0.5em
}


.mw-json-value,.mw-json-single-value {
/* Focus indicators */
    background-color: #1b5929;
*:focus {
    font-family: monospace,monospace;
  outline: 2px solid var(--accent-blue);
    white-space: pre-wrap;
  outline-offset: 2px;
    color:#d3d3d3;
}
.mw-json-empty {
    background-color: #1b5929;
    font-style: italic;
    color:#d3d3d3;
}
.hover_img_special {
    top: 0;
    left: 0;
    display: none
}
}


.img_special:hover .hover_img_special {
/* Skip links */
    display: inline;
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 100000;
}
}


.img_special:hover .img_spec {
.skip-link:focus {
    display: none;
   top: 6px;
}
.ace-tm .ace_gutter {
   background: #212126;
  color: #333;
}
}


.ace-tm .ace_print-margin {
/* Screen reader only content */
.sr-only {
  position: absolute;
   width: 1px;
   width: 1px;
   background-color: #1b1b1f;
   height: 1px;
}
   padding: 0;
.ace-tm {
   margin: -1px;
   background-color: #1b1b1f;
   overflow: hidden;
   color: lightgrey;
   clip: rect(0, 0, 0, 0);
}
   white-space: nowrap;
.ace-tm .ace_cursor {
   border: 0;
  color: white;
}
.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-color: rgb(44,44,51)
  PRINT STYLES
}
   ============================================ */
.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-color: #212126;
    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;
}
.ace_search {
    background-color: #212126;
    color: #d3d3d3;
    border: 1px solid #383843;
    border-top: 0 none;
    overflow: hidden;
    margin: 0;
    padding: 4px 6px 0 4px;
    position: absolute;
    top: 0;
    z-index: 99;
    white-space: normal;
}
.ace_search_form.ace_nomatch {
    outline: 1px solid #922626;
}
.ace_search_field {
    border-radius: 3px 0 0 3px;
    background-color: #27272e;
    color: #d3d3d3;
    border: 1px solid #383843;
    border-right: 0 none;
    outline: 0;
    padding: 0;
    font-size: inherit;
    margin: 0;
    line-height: inherit;
    padding: 0 6px;
    min-width: 17em;
    vertical-align: top;
    min-height: 1.8em;
    box-sizing: content-box;
}
.ace_searchbtn {
    border: 1px solid #383843;
    line-height: inherit;
    display: inline-block;
    padding: 0 6px;
    background: #27272e;
    border-right: 0 none;
    border-left: 1px solid #383843;
    cursor: pointer;
    margin: 0;
    position: relative;
    color: #d3d3d3;
}
.ace_searchbtn:last-child {
    border-radius: 0 3px 3px 0;
    border-right: 1px solid #383843;
}
.ace_searchbtn:hover {
    background-color: #1b1b1f;
}
.ace_searchbtn.prev:after{
    content: "";
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width:  2px 0 0 2px;
    display:inline-block;
    transform: rotate(-45deg);
}
.ace_searchbtn.next:after{
    content: "";
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width:  2px 0 0 2px;
    display:inline-block;
    transform: rotate(135deg);
}
.ace_button {
    margin-left: 2px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    opacity: 0.7;
    border: 1px solid rgb(56, 56, 68);
    padding: 1px;
    box-sizing:   border-box!important;
    color: #d3d3d3;
    background-color: #27272e
}
.ace_button:hover {
    background-color: #1b1b1f;
    opacity:1;
}
.ace_button:active {
    background-color: #101013;
}


/* Скроллбар */
@media print {
::-webkit-scrollbar {
  :root {
     background-color:#424242;
     --bg-primary: #ffffff;
}
    --bg-secondary: #ffffff;
::-webkit-scrollbar-thumb {
     --bg-tertiary: #f8f9fa;
    background-color: #686868;
     --text-primary: #000000;
     border: 2px solid #424242;
    --text-secondary: #000000;
     border-radius: 4px;
  }
}
::-webkit-scrollbar-thumb:hover {
    background-color: #7b7b7b;
}
::-webkit-scrollbar-thumb:active {
    background-color: #a1a1a1;
}


/* Списки */
  .tooltip,
.style-for-sub-numbered-lists ol {
  .mw-editsection,
   counter-reset: item
   #mw-navigation,
}
  #footer {
.style-for-sub-numbered-lists li {
    display: none;
  display: block
   }
}
.style-for-sub-numbered-lists li:before {
  content: counters(item, ".") ". ";
   counter-increment: item;
}


/* Flex table */
  a {
.section {
    color: #000000;
  display: flex;
    text-decoration: underline;
  flex-wrap: wrap;
  }
}
}


.section .col {
/* ============================================
  flex: 1 1 auto;
  LEGACY BROWSER FALLBACKS
}
  ============================================ */


.section .line-break {
/* Fallback colors for browsers that don't support CSS custom properties */
   flex-basis: 100%;
@supports not (color: var(--bg-primary)) {
  width: 0px;  
   body {
  height: 0px;
    background: #1b1b1f;
  overflow: hidden;
}
 
.mw-body .mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend,.mw-changeslist-legend,.mw-body .mw-search-profile-tabs,.mw-body fieldset#mw-searchoptions,.mw_metadata,.mw-datatable {
     color: #d3d3d3;
     color: #d3d3d3;
    background: #303037;
  }
    border: solid #000000;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02)
}
.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: 1px solid #000000;
    padding: 0.4em 0.5em
}


.mw-datatable th {
  .mw-body {
     background: #212126;
     background: #212126;
}
    color: #d3d3d3;
  }


.mw-datatable td {
  .wikitable {
    background-color: #303037;
}
 
.mw-datatable tr:hover td {
    background-color: #3f3f48
}
 
.pretoclip-copy-button {
    float: right;
}
.mw-scribunto-console-fieldset {
color: #d3d3d3;
background: none;
border: 3px solid #27272e;
}
.mw-scribunto-message {
    color: #008000;
    background:none;
}
#mw-scribunto-input {
    width: 100%;
    border: 0;
    overflow: auto;
     background: #303037;
     background: #303037;
}
     border-color: #37373e;
 
  }
.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:5px 15px 5px 15px;
  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-color: #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;
}
 
/* Установка ширины страницы по умолчанию в 1800px */
@media screen and (min-width: 1800px) {
    body {
        font-size: 90%;
        font-family: Citizen, sans-serif;
    }
}
}

Версия от 22:05, 28 июля 2025

/* ============================================
   CSS CUSTOM PROPERTIES (CSS VARIABLES)
   ============================================ */
:root {
  /* Main color palette */
  --bg-primary: #1b1b1f;
  --bg-secondary: #212126;
  --bg-tertiary: #27272e;
  --bg-quaternary: #303037;

  --border-primary: #37373e;
  --border-secondary: #40404b;
  --border-tertiary: #4a4a57;

  --text-primary: #d3d3d3;
  --text-secondary: #e0e0e0;
  --text-muted: #999999;

  --link-color: #77c1d9;
  --link-external: #3377aa;
  --link-hover: #ffffff;

  --accent-blue: #36c;
  --accent-green: #1b5929;
  --accent-red: #b32424;
  --accent-orange: #f28500;
  --accent-yellow: #fc3;
  --accent-purple: #9932cc;

  /* Spacing */
  --spacing-xs: 0.25em;
  --spacing-sm: 0.5em;
  --spacing-md: 1em;
  --spacing-lg: 1.5em;
  --spacing-xl: 2em;

  /* Border radius */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 4px 2px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* ============================================
   FONT DEFINITIONS
   ============================================ */

/* Cyrillic Extended */
@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;
}

/* Cyrillic */
@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;
}

/* Latin Extended */
@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;
}

/* Latin */
@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: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@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');
}


/* ============================================
   BASE STYLES
   ============================================ */

/* Basic element styles */
cite,
dfn {
  font-style: inherit;
}

q {
  quotes: '"' '"' "'" "'";
}

code {
  background-color: var(--bg-quaternary);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', Courier, monospace;
}

blockquote {
  overflow: hidden;
  margin: var(--spacing-md) 0;
  padding: 0 40px;
  border-left: 3px solid var(--accent-blue);
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

small {
  font-size: 85%;
}

/* Image rendering optimization */
img {
  image-rendering: optimizeSpeed;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}

/* ============================================
   LINKS AND NAVIGATION
   ============================================ */

/* Link styles with consistent colors */
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(--link-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:visited:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* External links */
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(--link-external);
}

/* Special link styles */
.nounderlines a,
.IPA a:link,
.IPA a:visited {
  text-decoration: none;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

/* Main page containers */
#mw-page-base,
#mw-panel,
#mw-content-container,
#mw-header-container,
#mw-content-wrapper,
#mw-content {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--bg-primary);
}

.mw-body {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-primary);
  padding: var(--spacing-sm);
}

/* ============================================
   NAVIGATION ELEMENTS
   ============================================ */

/* Vector menu tabs */
.vector-menu-tabs li {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: background-color var(--transition-fast);
}

.vector-menu-tabs li:hover {
  background: var(--bg-tertiary);
}

.vector-menu-tabs .selected {
  background: var(--bg-primary);
}

.vector-menu-tabs .selected a,
.vector-menu-tabs .selected a:visited {
  color: var(--text-primary);
  font-weight: bold;
}

/* Sidebar elements */
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk,
body.skin--responsive .portlet,
body.skin--responsive .pBody {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   SEARCH FUNCTIONALITY
   ============================================ */

#simpleSearch {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

#simpleSearch:focus-within {
  border-color: var(--accent-blue);
}

#searchInput {
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: 8px 12px;
}

#searchInput::placeholder {
  color: var(--text-muted);
}


/* ============================================
   TABLES AND DATA DISPLAY
   ============================================ */

/* Main wiki table styling */
.wikitable,
.mw_metadata,
.mw-datatable {
  background: var(--bg-quaternary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  border-collapse: collapse;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: var(--spacing-md) 0;
  width: 100%;
}

.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td,
.mw_metadata > tr > th,
.mw_metadata > tr > td,
.mw_metadata > * > tr > th,
.mw_metadata > * > tr > td,
.mw-datatable > tr > th,
.mw-datatable > tr > td,
.mw-datatable > * > tr > th,
.mw-datatable > * > tr > td {
  border: 1px solid var(--border-primary);
  padding: 8px 12px;
  text-align: left;
}

.wikitable > * > tr > th,
.mw_metadata > * > tr > th,
.mw-datatable > * > tr > th {
  background: var(--bg-tertiary);
  font-weight: 600;
  color: var(--text-secondary);
}

.mw-datatable tr:hover td {
  background-color: var(--bg-secondary);
  transition: background-color var(--transition-fast);
}

/* Table of Contents */
.toc,
.toccolours {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
  box-shadow: var(--shadow-sm);
}

.mw-content-ltr .tocnumber {
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   FORMS AND INPUT ELEMENTS
   ============================================ */

/* Text inputs and textareas */
.mw-editform #wpTextbox1,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
  background: var(--bg-quaternary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.mw-editform #wpTextbox1:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus {
  border-color: var(--accent-blue);
  background: var(--bg-tertiary);
  outline: none;
}

/* Buttons */
.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button,
button,
input[type="submit"],
input[type="button"] {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-blue);
}

/* Edit options */
.editOptions,
.mw-editform .editOptions {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
}

/* ============================================
   EDITOR INTERFACE
   ============================================ */

/* WikiEditor toolbar */
.wikiEditor-ui-toolbar {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-primary);
}

.wikiEditor-ui-toolbar .group {
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  margin: 2px;
}

.wikiEditor-ui-toolbar .group .label {
  color: var(--text-secondary);
  font-size: 11px;
}

.wikiEditor-ui-toolbar .tabs span.tab a.current,
.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
  color: var(--bg-primary);
  font-weight: bold;
  background: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.wikiEditor-ui .wikiEditor-ui-top {
  border-bottom: 1px solid var(--border-primary);
}

.wikiEditor-ui .wikiEditor-ui-view {
  border: 1px solid var(--border-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ============================================
   MESSAGE BOXES AND ALERTS
   ============================================ */

/* Base message box styling */
.messagebox {
  border: 1px solid var(--border-primary);
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin: var(--spacing-md) auto;
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
}

/* Warning messages */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning,
.mw-message-box-error {
  background: color-mix(in srgb, var(--accent-red), var(--bg-tertiary) 70%);
  border: 1px solid var(--accent-red);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-sm) 0;
}

.mw-message-box-warning {
  background: color-mix(in srgb, var(--accent-orange), var(--bg-tertiary) 70%);
  border: 1px solid var(--accent-orange);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}


/* ============================================
   TOOLTIPS
   ============================================ */

.tooltip {
  position: relative;
  display: inline;
}

.tooltiptext {
  position: absolute;
  z-index: 99999;
  width: 295px;
  left: -120px;
  top: 42px;
  padding: var(--spacing-sm);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  white-space: normal;
  text-align: left;
  transition: all var(--transition-normal);
  border: 1px solid var(--accent-blue);
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.tooltip:hover > .tooltiptext {
  visibility: visible;
  opacity: 0.98;
}

/* ============================================
   CUSTOM SCROLLBARS
   ============================================ */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background-color: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
  background-color: var(--border-tertiary);
  border: 2px solid var(--bg-tertiary);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-muted);
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--text-secondary);
}

::-webkit-scrollbar-corner {
  background-color: var(--bg-tertiary);
}

/* ============================================
   GALLERY AND MEDIA
   ============================================ */

/* Thumbnail styling */
.thumbinner {
  min-width: 100px;
  background: var(--bg-quaternary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.thumbinner .thumbimage,
.thumbborder {
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
}

/* Gallery boxes */
.gallerybox .thumb img {
  background: transparent;
}

.gallerytext {
  overflow: hidden;
  font-size: 94%;
  padding: 2px 4px;
  word-wrap: break-word;
  text-align: center;
  color: var(--text-primary);
}

.mw-gallery-slideshow .gallerybox.slideshow-current {
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Text utilities */
.positive {
  color: var(--accent-green);
  font-weight: bold;
}

.negative {
  color: var(--accent-red);
  font-weight: bold;
}

.nowrap,
.nowraplinks a {
  white-space: nowrap;
}

.wrap,
.wraplinks a {
  white-space: normal;
}

/* Layout utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

/* ============================================
   SPECIAL COMPONENTS
   ============================================ */

/* Angled rectangles */
.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))
  );
}

/* Big link styling */
.biglink {
  font-family: "Oswald", sans-serif;
  font-style: oblique 10deg;
  font-variant-caps: small-caps;
  text-shadow: var(--bg-primary) 1px 2px, rgba(89, 89, 89, 0.87) 2px 2px 1px;
}

/* Quick boxes */
.quickbox {
  border: 1px solid var(--border-primary);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin: var(--spacing-sm) 0;
}

.quickboxhead {
  border-bottom: 1px solid var(--border-primary);
  background: var(--bg-primary);
  text-align: center;
  padding: var(--spacing-sm);
  font-weight: 600;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large screens optimization */
@media screen and (min-width: 1800px) {
  body {
    font-size: 90%;
    font-family: 'Citizen', sans-serif;
  }

  .mw-body {
    max-width: 1600px;
    margin: 0 auto;
  }
}

/* Mobile adaptations */
@media screen and (max-width: 768px) {
  .tooltip {
    position: static;
  }

  .tooltiptext {
    box-shadow: 0px 0px 100vw 100vh rgba(0, 0, 0, 0.6);
    position: fixed;
    width: 80vw;
    top: 40vh;
    left: 0;
    margin: 0 auto;
    right: 0;
  }

  .mw-body {
    padding: var(--spacing-xs);
  }

  .wikitable {
    font-size: 90%;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-primary: #666666;
    --text-primary: #ffffff;
    --bg-primary: #000000;
    --bg-secondary: #111111;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* Focus indicators */
*:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* Skip links */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  padding: 8px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 100000;
}

.skip-link:focus {
  top: 6px;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  :root {
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f8f9fa;
    --text-primary: #000000;
    --text-secondary: #000000;
  }

  .tooltip,
  .mw-editsection,
  #mw-navigation,
  #footer {
    display: none;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}

/* ============================================
   LEGACY BROWSER FALLBACKS
   ============================================ */

/* Fallback colors for browsers that don't support CSS custom properties */
@supports not (color: var(--bg-primary)) {
  body {
    background: #1b1b1f;
    color: #d3d3d3;
  }

  .mw-body {
    background: #212126;
    color: #d3d3d3;
  }

  .wikitable {
    background: #303037;
    border-color: #37373e;
  }
}