Открыть меню
Переключить меню настроек
Открыть персональное меню
Вы не представились системе
Ваш IP-адрес будет виден всем, если вы внесёте какие-либо изменения.

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

Страница интерфейса MediaWiki
Тест
Метка: отменено
Нет описания правки
 
Строка 1: Строка 1:
/* cyrillic-ext */
/* Загрузка лого морпехов */
@font-face {
.second-mw-logo img.mw-logo-icon {
  font-family: 'Noto Sans Light';
    object-fit: contain;
  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';
@media (max-width: 1280px) {
  font-style: normal;
    .chem-heading {
  font-weight: 100;
        display: none;
  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;
@media screen and (min-width: 1120px) {
    body.page-Тест .citizen-body-container {
        grid-template-areas: 'void header header' 'sidebar content toc' 'footer footer footer';
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
        max-width: none;
    }
}
.chem-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}
.chem-card {
    background-color: #121212;
    border: 3px solid var(--card-border, #444);
    border-radius: 12px;
    padding: 0;
    color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    overflow: hidden;
}
}
/* latin-ext */
.chem-name-header {
@font-face {
    background-color: var(--card-accent);
  font-family: 'Noto Sans Light';
    color: #ffffff;
  font-style: normal;
    font-size: 22px;
  font-weight: 100;
    font-weight: 700;
  font-display: swap;
    padding: 14px 20px;
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRMQ_m87A.woff2) format('woff2');
    text-align: center;
  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;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    margin: 0;
}
}
/* latin */
.chem-heading {
@font-face {
    display: flex;
  font-family: 'Noto Sans Light';
    align-items: center;
  font-style: normal;
    justify-content: space-between;
  font-weight: 100;
    padding: 10px 16px;
  font-display: swap;
    background: rgba(255,255,255,0.06);
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.woff2) format('woff2');
    border-top: 1px solid rgba(255,255,255,0.1);
  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;
    cursor: pointer;
}
}
@font-face {
.chem-heading-content {
  font-family: 'Oswald';
    display: flex;
  font-style: normal;
    width: 100%;
  font-weight: 400;
    justify-content: space-between;
  font-display: swap;
    align-items: center;
  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 {
.heading-text {
     font-family: 'Boxfont Round';
     font-size: 15px;
        src: url('/assets/fonts/boxfont-round/f3507eaadc95584e7358703d74e793ea/324a92fc76117885a667ae8af2be25ab/BoxfontRoundRegular.ttf') format('truetype');
     font-weight: 600;
     font-weight: normal;
     color: var(--card-accent, #8cf);
     font-style: normal;
}
    }
.collapse-btn {
@font-face{
    border: 2px dotted #ffd700;
font-family:'noto sans';
    padding: 2px 12px;
font-style:normal;
    border-radius: 9999px;
font-weight:400;
    font-size: 13px;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Regular.woff) format('woff')
    color: #ffd700;
}
    background: rgba(0,0,0,0.3);
@font-face{font-family:'noto sans';
}
font-style:italic;
.collapsible {
font-weight:400;
    overflow: hidden;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Italic.woff) format('woff')
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
    max-height: 0;
@font-face{
}
font-family:'noto sans';
.collapsible.expanded {
font-style:normal;
    max-height: 3000px;
font-weight:700;
}
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Bold.woff) format('woff')
.chem-recipe-block,
}
.chem-effects-block {
@font-face{font-family:'noto sans';
    text-align: center;
font-style:italic;
}
font-weight:700;
.chem-recipe-steps,
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-BoldItalic.woff) format('woff')
.chem-effects {
}
    padding: 12px 16px 24px;
/* symbols */
}
@font-face {
.recipe-variant-header {
  font-family: 'Noto Sans Symbols';
    font-size: 15px;
  font-style: normal;
    font-weight: 700;
  font-weight: 400;
    color: #ffd700;
  src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QA_9Edkw.woff2) format('woff2');
    text-align: center;
  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;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,215,0,0.3);
    margin-bottom: 12px;
}
.chem-recipe {
    width: 100%;
    max-width: 780px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    box-sizing: border-box;
}
.recipe-inputs,
.recipe-outputs {
    flex: 1 1 280px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.recipe-action {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}
.recipe-action-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.recipe-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 12px;
    border-left: 4px solid var(--card-accent, #8cf);
    white-space: normal;
    word-break: break-word;
}
.chem-reagent-icon,
.chem-beaker {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}
.action-sprite .chem-reagent-icon,
.action-sprite .chem-beaker {
    width: 46px;
    height: 46px;
}
.action-text {
    font-weight: 700;
    color: #ffd700;
    font-style: italic;
    font-size: 15px;
    line-height: 1.3;
}
.chem-effects .chem-effect-line {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.45;
    padding-left: 4px;
}
}
/* latin-ext */
.chem-desc {
@font-face {
    margin: 12px 16px;
  font-family: 'Noto Sans Symbols';
    padding: 12px;
  font-style: normal;
    background: rgba(255,255,255,0.03);
  font-weight: 400;
    border-radius: 6px;
  src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QY_9Edkw.woff2) format('woff2');
    border-left: 4px solid var(--card-accent, #8cf);
  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-size: 14px;
    color: #aaa;
}
}
/* latin */
@media (max-width: 1024px) {
@font-face {
    .chem-cards-container {
  font-family: 'Noto Sans Symbols';
        grid-template-columns: repeat(2, 1fr);
  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;
}
}
cite,
@media (max-width: 768px) {
dfn {
    .chem-cards-container {
font-style: inherit
        grid-template-columns: 1fr;
    }
    .chem-recipe {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        max-width: 100%;
        padding: 0 12px;
    }
    .recipe-action {
        flex: 0 0 auto;
        min-width: auto;
    }
}
}
/*Химия*/


q {
 
quotes: '"' '"' "'" "'"
 
/*=Блок лора=*/
/*Хронолония */
.timeline {
    width: 100%;
    margin: 20px 0;
    background-color: transparent;
}
}


code {
.timeline-entry {
background-color: #303037;  
    padding: 10px;
border-color: #303037;
    border-bottom: 1px solid #555;
color: #d3d3d3;
    background-color: var(--timeline-entry-bg, #333);
}
}


blockquote {
.timeline-header {
overflow: hidden;
    font-size: 18px;
margin: 1em 0;
    font-weight: bold;
padding: 0 40px
    color: var(--timeline-header-color, #fff);
    cursor: pointer;
}
}


small {
.timeline-content {
font-size: 85%
    padding: 10px;
    font-size: 16px;
    color: var(--timeline-content-color, #ddd);
    background-color: var(--timeline-content-bg, #444);
    display: none;
}
}


img {
.timeline-entry:nth-child(even) {
     image-rendering: pixelated;                 /* Universal support since 2021  */
     background-color: var(--timeline-entry-bg-even, #222);
}
}


.mw-body-content sub,
.timeline-entry:hover {
.mw-body-content sup,
    background-color: var(--timeline-entry-bg-hover, #555);
span.reference {
font-size: 80%
}
}


.ns-talk .mw-body-content dd {
.timeline-entry a {
margin-top: 0.4em;
    color: var(--timeline-link-color, #ff9800);
margin-bottom: 0.4em
    text-decoration: none;
}
}


#interwiki-completelist {
.timeline-entry a:hover {
font-weight: bold
    text-decoration: underline;
}
}


.biglink {
/*=Таблица планет=*/
font-family: "Oswald";
.planets-table-wrapper {
font-style: oblique 10deg;
  width: 100%;
font-variant-caps: small-caps;
  overflow-x: auto;
    text-shadow: #1b1b1f 1px 2px, #595959dd 2px 2px 1px
  margin: 0 auto;
}
}


.client-js .mw-special-Watchlist #watchlist-message,
.planets-table {
.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),
  width: 100%;
#editpage-specialchars {
  max-width: 150%;
display: none
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(to bottom, #0d1117, #161b22);
  border: 1px solid #5a5a5a;
  border-radius: 12px;
  color: #b0b0b0;
  overflow: hidden;
}
}


.mw-rcfilters-enabled .mw-specialpage-summary {
.planets-table th {
margin-top: 1em
  background-color: #3a3a3a;
  color: #dcdcdc;
  text-align: center;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #5a5a5a;
}
}


.citation:target {
.planets-table td {
background-color: rgba(0, 127, 255, 0.133)
  text-align: center;
  padding: 12px;
  font-size: 16px;
  border-top: 1px solid #5a5a5a;
}
}


.citation {
.planets-table td img {
word-wrap: break-word
  border-radius: 50%;
  margin: 10px 0;
  width: 80px;
  height: 80px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}
}


ol.references {
.planets-table tr:first-child th:first-child {
font-size: 90%;
  border-top-left-radius: 12px;
margin-bottom: 0.5em
}
}


.hlist dl,
.planets-table tr:first-child th:last-child {
.hlist ol,
  border-top-right-radius: 12px;
.hlist ul {
margin: 0;
padding: 0
}
}


.hlist dd,
.planets-table tr:last-child td:first-child {
.hlist dt,
  border-bottom-left-radius: 12px;
.hlist li {
margin: 0;
display: inline
}
}


.hlist.inline,
.planets-table tr:last-child td:last-child {
.hlist.inline dl,
  border-bottom-right-radius: 12px;
.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 {
.planets-table tr:nth-child(even) {
display: none
  background-color: rgba(255, 255, 255, 0.03);
}
}


.hlist dt:after {
.planets-table tr:nth-child(odd) {
content: ":"
  background-color: rgba(255, 255, 255, 0.06);
}
}


.hlist dd:after,
.planets-table th:nth-child(2),
.hlist li:after {
.planets-table td:nth-child(2) {
content: " · ";
  text-align: center;
font-weight: bold
}
}


.hlist dd:last-child:after,
.planets-table caption {
.hlist dt:last-child:after,
  margin: 10px 0;
.hlist li:last-child:after {
  font-size: 20px;
content: none
  font-weight: bold;
  color: #a0a0a0;
  text-align: left;
}
}


.hlist dd dd:first-child:before,
/*=Карточки планет=*/
.hlist dd dt:first-child:before,
 
.hlist dd li:first-child:before,
.planets-row {
.hlist dt dd:first-child:before,
  display: flex;
.hlist dt dt:first-child:before,
  justify-content: space-between;
.hlist dt li:first-child:before,
  flex-wrap: wrap;
.hlist li dd:first-child:before,
  gap: 20px;
.hlist li dt:first-child:before,
  margin: 20px 0;
.hlist li li:first-child:before {
content: " (";
font-weight: normal
}
}


.hlist dd dd:last-child:after,
.planet-card {
.hlist dd dt:last-child:after,
  width: 220px;
.hlist dd li:last-child:after,
  border: 2px solid #555;
.hlist dt dd:last-child:after,
  border-radius: 15px;
.hlist dt dt:last-child:after,
  overflow: hidden;
.hlist dt li:last-child:after,
  background-color: #333;
.hlist li dd:last-child:after,
  color: #fff;
.hlist li dt:last-child:after,
  text-align: center;
.hlist li li:last-child:after {
  padding: 15px;
content: ")";
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
font-weight: normal
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


.hlist ol {
.planet-card img {
counter-reset: listitem
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #555;
  border-radius: 8px;
}
}


.hlist ol>li {
.planet-card h3 {
counter-increment: listitem
  font-size: 1.3em;
  margin: 15px 0 10px;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
}
}


.hlist ol>li:before {
.planet-card p {
content: " " counter(listitem) "\a0"
  font-size: 1em;
  color: #ddd;
  margin: 0;
  line-height: 1.5;
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
}


.hlist dd ol>li:first-child:before,
.planet-card:hover {
.hlist dt ol>li:first-child:before,
  transform: scale(1.05);
.hlist li ol>li:first-child:before {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
content: " (" counter(listitem) "\a0"
}
}


.plainlist ol,
.planet-card .more-info {
.plainlist ul {
  margin-top: 10px;
line-height: inherit;
  padding: 5px;
list-style: none none;
  background-color: #ffcc00;
margin: 0
  color: #222;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
}


.plainlist ol li,
.planet-card .more-info:hover {
.plainlist ul li {
  background-color: #ffaa00;
margin-bottom: 0
}
}


.navbox {
@media (max-width: 768px) {
box-sizing: border-box;
  .planets-row {
border: 1px solid #a2a9b1;
    justify-content: center;
width: 100%;
  }
clear: both;
 
font-size: 88%;
  .planet-card {
text-align: center;
    width: 90%;
padding: 1px;
    max-width: 280px;
margin: 1em auto 0
  }
}
}


.navbox .navbox {
@media (max-width: 480px) {
margin-top: 0
  .planet-card {
    width: 100%;
  }
}
}


.navbox+.navbox {
/*=Меню лора=*/
margin-top: -1px
:root { --transition-duration: 0.4s; --primary-bg-color: #1c1c1c; --secondary-bg-color: #2c2c2c; --item-bg-color: #2e2e2e; --item-hover-bg-color: #444444; --border-color: #666; --text-color: #dcdcdc; --hover-text-color: #ffffff; --font-family: 'Arial', sans-serif; --menu-border-radius: 25px; --header-padding: 30px; --item-height: 180px; --icon-size: 72px; --text-font-size: 18px; } .custom-lore-menu { max-width: 1200px; margin: 30px auto; padding: 40px; border-radius: var(--menu-border-radius); background: linear-gradient(145deg, #1b1b1b, #252525); display: grid; grid-template-columns: 1fr; gap: 30px; font-family: var(--font-family); box-shadow: 0 10px 30px rgba(0,0,0,0.6); } .custom-header { text-align: center; background-color: var(--secondary-bg-color); padding: var(--header-padding); border-bottom: 2px solid var(--border-color); color: var(--text-color); font-size: 26px; font-weight: bold; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); } .custom-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; padding: 25px; justify-items: center; align-items: stretch; } .custom-item { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: var(--item-height); text-align: center; border: 1px solid var(--border-color); border-radius: 20px; background: linear-gradient(145deg, #2a2a2a, #333333); transition: transform var(--transition-duration), background var(--transition-duration), box-shadow var(--transition-duration); cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); } .custom-item:hover { background: linear-gradient(145deg, #3a3a3a, #555555); transform: scale(1.08); box-shadow: 0 10px 20px rgba(0,0,0,0.5); } .custom-item a { text-decoration: none; color: var(--text-color); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; transition: color var(--transition-duration), text-shadow var(--transition-duration); font-size: var(--text-font-size); font-weight: bold; } .custom-item a:hover { color: var(--hover-text-color); text-shadow: 0 0 8px #fff; } .custom-icon { width: var(--icon-size); height: var(--icon-size); margin-bottom: 12px; flex-shrink: 0; filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.7)); } @media (max-width: 768px) { .custom-lore-menu { padding: 20px; } .custom-links { grid-template-columns: 1fr; } .custom-item { height: auto; padding: 20px 10px; } .custom-item a { font-size: 16px; } }
 
/*=Блок лора=*/
 
/*=Блок лор Colonial marines=*/
 
body.page-Лор_СМ #siteSub,
body.page-Лор_СМ #contentSub,
body.page-Лор_СМ h1.firstHeading
{display:none !important}
 
.CMMainFigure {
  height: 130px;
  width: 575px;
  background: #292f2d;
  border-radius: 6px;
}
}


.navbox-inner,
.CMMainText {
.navbox-subgroup {
  font-family: "Trebuchet MS", Tahoma, sans-serif;
width: 100%
  color: #a1a2a5;
  padding-top: 6px;
  padding-left: 9px;
}
}


.navbox-group,
.CMMainButton {
.navbox-title,
  height: 40px;
.navbox-abovebelow {
  width: 180px;
padding: 0.25em 1em;
  background: #151a22;
line-height: 1.5em;
  border-radius: 6px;
text-align: center
  margin-top: 7px;
  margin-left: 7px;
}
}


th.navbox-group {
.CMMainButton2 {
white-space: nowrap;
  transform: translate(190px,-94px);
text-align: right
  height: 40px;
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}
}


.navbox,
.CMMainButton3 {
.navbox-subgroup {
  transform: translate(380px,-188px);
background-color: #fdfdfd
  height: 40px;
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}
}


.navbox-list {
.CMMainButtonText {
line-height: 1.5em;
  display: inline-block;
border-color: #fdfdfd
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 7px;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  color: white;
  text-decoration: none;
}
}


tr+tr>.navbox-abovebelow,
/*=Блок лора Маршалов CM=*/
tr+tr>.navbox-group,
 
tr+tr>.navbox-image,
body.page-Провост_Маршал .mw-page-title-main,
tr+tr>.navbox-list {
body.page-Провост_Маршал #siteSub,
border-top: 2px solid #fdfdfd
body.page-Провост_Маршал .mw-body-header,
body.page-Провост_Маршал .citizen-header
{display:none !important}
 
body.page-Провост_Маршал .citizen-page-container
{background: rgb(20,24,31);
background: linear-gradient(90deg, rgba(20,24,31,1) 0%, rgba(40,11,15,1) 75%, rgba(82,0,0,1) 100%);}
 
.rectangleCM {
  width: 250px;
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(835px, 20px);
}
}


.navbox th,
.rectangleCM2 {
.navbox-title {
  width: 250px;
background-color: #ccccff
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(835px, 30px);
}
}


.navbox-abovebelow,
.rectangleCM3 {
th.navbox-group,
  width: 800px;
.navbox-subgroup .navbox-title {
  height: 130px;
background-color: #ddddff
  background: #590000;
  position: relative;
  transform: translate(0px, -100px);
}
}


.navbox-subgroup .navbox-group,
.rectangleCM4 {
.navbox-subgroup .navbox-abovebelow {
  width: 1085px;
background-color: #e6e6ff
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(0px, -90px);
}
}


.navbox-even {
.rectangleCMTwo {
background-color: #f7f7f7
  width: 10px;
  height: 60px;
  background: #0087bd;
  position: relative;
  transform: translate(0px, -52px);
}
}


.navbox-odd {
.rectangleCMTwo2 {
background-color: transparent
  width: 10px;
  height: 60px;
  background: #0087bd;
  position: relative;
  transform: translate(0px, -52px);
}
}


.navbox .hlist td dl,
.classifieldCM {
.navbox .hlist td ol,
  color: #bebebe;
.navbox .hlist td ul,
  position: relative;
.navbox td.hlist dl,
  transform: translate(15px, 5px);
.navbox td.hlist ol,
  font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
.navbox td.hlist ul {
  font-size: 0.75em;
padding: 0.125em 0
  font-weight: 500;
}
}


.mw-parser-output .mw-collapsible-toggle {
.classifieldCMRisk {
font-weight: normal;
  color: #bebebe;
text-align: right;
  position: relative;
padding-right: 0.2em;
  transform: translate(17.5px, 6px);
padding-left: 0.2em
  font-family: "Gill Sans", sans-serif;
  font-size: calc(11px +(12 - 8)*((100vw - 400px) /(800 - 400)));
  font-weight: bold;
}
}


.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
.rectangleCMTwo3 {
float: left;
  width: 10px;
text-align: left
  height: 130px;
  background: #ce0000;
  position: relative;
  transform: translate(0px, -79px);
}
}


.infobox {
.classifieldCM3 {
border: 1px solid #a2a9b1;
  color: #bebebe;
border-spacing: 3px;
  position: relative;
background-color: #f8f9fa;
  transform: translate(17.5px, 5px);
color: black;
  font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
margin: 0.5em 0 0.5em 1em;
  font-size: 0.9em;
padding: 0.2em;
  font-weight: 500;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em
}
}


.infobox-header,
.classifieldCMRisk3 {
.infobox-label,
  color: #bebebe;
.infobox-above,
  position: relative;
.infobox-full-data,
  transform: translate(20px, 21px);
.infobox-data,
  font-family: "Gill Sans", sans-serif;
.infobox-below,
  font-size: 35px;
.infobox-subheader,
  font-weight: bold;
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
vertical-align: top
}
}


.infobox-label,
.triangle-bottomrightCM {
.infobox-data,
  width: 450px;
.infobox th,
  height: 0;
.infobox td {
  border-bottom: 130px solid #700;
text-align: left
  border-left: 100px solid transparent;
  position: relative;
  transform: translate(350px,-210px);
}
}


.infobox .infobox-above,
.MarshalsLogoCM {
.infobox .infobox-title,
  right: 0;
.infobox caption {
  bottom: 0;
font-size: 125%;
  position: absolute;
font-weight: bold;
text-align: center
}
}


.infobox-title,
/*=Не лор маршалов=*/
.infobox caption {
.hrCMLore {
padding: 0.2em
  border: none;
  border-top: 1.5px solid #C6C3B5; /* Линия теперь будет красного цвета */
}
}


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


.infobox .infobox-navbar {
.imggg {
text-align: right
  float: right ;
}
}


.wikitable.plainrowheaders th[scope=row] {
.home-card:hover .second_block {
font-weight: normal;
  display: block;
text-align: left
  font-family: "Gill Sans", sans-serif;
}
}


.wikitable td ul,
.divisionis {
.wikitable td ol,
  color: #C6C3B5;
.wikitable td dl {
  opacity: 1;
text-align: left
  text-align: center;
  font-family: system-ui;
  font-size: 30px;
}
}


table.mw-hiero-table td {
.loreCMwelcom {
vertical-align: middle
  color: #C6C3B5;
  opacity: 0.5;
  text-align: left;
  font-family: "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: lighter;
}
}


.mw-parser-output a[href$=".pdf"].external,
.loreCMwelcomWork {
.mw-parser-output a[href*=".pdf?"].external,
  color: #C6C3B5;
.mw-parser-output a[href*=".pdf#"].external,
  opacity: 0.75;
.mw-parser-output a[href$=".PDF"].external,
  text-align: left;
.mw-parser-output a[href*=".PDF?"].external,
  font-family: "Gill Sans", sans-serif;
.mw-parser-output a[href*=".PDF#"].external {
  font-size: 15px;
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
  font-weight: lighter;
padding-right: 18px
}
}


.messagebox {
.loreCMtext {
border: 1px solid #a2a9b1;
  color: white;
background-color: #f8f9fa;
  text-align: left;
width: 80%;
  font-family: system-ui;
margin: 0 auto 1em auto;
  font-size: 30px;
padding: .2em
  font-weight: bold;
}
}


.messagebox.merge {
.home-grid {
border: 1px solid #c0b8cc;
display: grid;
background-color: #f0e5ff;
grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
text-align: center
grid-auto-rows: minmax( 3rem, auto );
grid-gap: calc(0.5 * 1rem);
  font-family: "Gill Sans", sans-serif;
}
}


.messagebox.cleanup {
.home-grid--col2 {
border: 1px solid #9f9fff;
grid-template-columns: 1fr 1fr;
background-color: #efefff;
text-align: center
}
}


.messagebox.standard-talk {
.home-grid a.external {
border: 1px solid #c0c090;
background-image: none;
background-color: #f8eaba;
margin: 4px auto
}
}


.mbox-inside .standard-talk {
.home-card {
border: 1px solid #c0c090;
position: relative;
background-color: #f8eaba;
padding: 1rem;
width: 100%;
background: hsl(220,25%,12%);
margin: 2px 0;
border: 1px solid rgba(255,255,255,0.05);
padding: 2px
border-radius: 8px;
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
font-size: 0.875rem;
}
}


.messagebox.small {
.home-card table.timeline {
width: 238px;
margin-top: 0.2rem;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em
}
}


.messagebox.small-talk {
.home-card--col2 {
width: 238px;
grid-column: span 2;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em;
background-color: #f8eaba
}
}


th.mbox-text,
.home-card--row3 {
td.mbox-text {
grid-row: span 3;
border: none;
padding: 0.25em 0.9em;
width: 100%
}
}


td.mbox-image {
.home-card--row4 {
border: none;
grid-row: span 4;
padding: 2px 0 2px 0.9em;
text-align: center
}
}


td.mbox-imageright {
.home-card--row8 {
border: none;
grid-row: span 8 / auto;
padding: 2px 0.9em 2px 0;
text-align: center
}
}


td.mbox-empty-cell {
.home-card__label {
border: none;
color: #72777d;
padding: 0;
font-size: 0.8125rem;
width: 1px
letter-spacing: 0.75px;
}
}


table.ambox {
.home-card__header {
margin: 0 10%;
color: #202122;
border: 1px solid #a2a9b1;
font-size: 1rem;
border-left: 10px solid #36c;
    font-weight: 600;
background-color: #fbfbfb;
    line-height: 1.25;
box-sizing: border-box
}
}


table.ambox+table.ambox,
.home-card__header a {
table.ambox+.mw-empty-elt+table.ambox {
display: flex;
margin-top: -1px
align-items: center;
justify-content: space-between;
}
}


.ambox th.mbox-text,
.home-card__header a:after {
.ambox td.mbox-text {
content: '▶';
padding: 0.25em 0.5em
font-size: 0.8125rem;
}
}


.ambox td.mbox-image {
.home-card__background {
padding: 2px 0 2px 0.5em
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #242a31;
border-radius: 8px;
}
}


.ambox td.mbox-imageright {
.home-card__background:after {
padding: 2px 0.5em 2px 0
position: absolute;
top: 0;
bottom: 0;
left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
}
}


table.ambox-notice {
.home-card__background picture,
border-left: 10px solid #36c
.home-card__background img {
width: 100%;
height: 100%;
}
}


table.ambox-speedy {
.home-card__background img {
border-left: 10px solid #b32424;
object-fit: cover;
background-color: #fee7e6
object-position: center;
}
}


table.ambox-delete {
.home-card__foreground {
border-left: 10px solid #b32424
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
padding: 1rem;
display: flex;
flex-direction: column;
justify-content: center;
gap: calc(0.25 * 1rem);
color: #fff;
line-height: 1.25;
}
}


table.ambox-content {
.home-card__foreground .home-card__header {
border-left: 10px solid #f28500
color: #fff;
}
}


table.ambox-style {
.home-card__foreground .home-card__label {
border-left: 10px solid #fc3
color: #bababa;
}
}


table.ambox-move {
.home-card p {
border-left: 10px solid #9932cc
/* margin-top: calc(0.5 * 1rem); */
margin-top: calc(0 * 1rem);
font-size: 0.875rem;
}
}


table.ambox-protection {
.home-card.home-card--button {
border-left: 10px solid #a2a9b1
overflow: hidden;
padding: 0;
background: #242a31;
border: 0;
}
}


table.imbox {
 
margin: 4px 10%;
.home-card--button a {
border-collapse: collapse;
display: flex;
border: 3px solid #36c;
height: 100%;
background-color: #fbfbfb;
justify-content: center;
box-sizing: border-box
align-items: center;
padding: 0 1rem;
background: transparent;
color: #fff;
font-weight: 500;
}
}


.imbox .mbox-text .imbox {
.home-card--button--navigation a {
margin: 0 -0.5em;
/* display: flex; */
display: block
display: contents;
height: 100%;
justify-content: center;
align-items: center;
padding: 0 1rem;
background: transparent;
color: #fff;
font-weight: 500;
}
}


.mbox-inside .imbox {
.home-card--button .home-card__background a {
margin: 4px
padding: 0;
}
}


table.imbox-notice {
.home-card--button img {
border: 3px solid #36c
transition: transform 0.2s ease;
}
}


table.imbox-speedy {
.home-card--button:hover img {
border: 3px solid #b32424;
transform: scale(1.1);
background-color: #fee7e6
}
}


table.imbox-delete {
.home-link {
border: 3px solid #b32424
display: grid;
margin-top: calc(0.5 * 1rem);
font-size: 0.875rem;
font-weight: 500;
grid-gap: calc(0.5 * 1rem);
text-align: center;
}
}


table.imbox-content {
.home-link__button {
border: 3px solid #f28500
display: flex;
}
}


table.imbox-style {
.home-link__button a {
border: 3px solid #fc3
flex-grow: 1;
padding: calc(0.5 * 1rem);
border: 1px solid rgba(255,255,255,0.05);
background: hsl(220,25%,15%);
border-radius: 8px;
color: #fff !important;
    line-height: 1.25;
    text-decoration: none !important;
}
}


table.imbox-move {
.home-link__button a:hover {
border: 3px solid #9932cc
background: hsl(220,30%,19%);
}
}


table.imbox-protection {
.home-link__button a:active {
border: 3px solid #a2a9b1
background: hsl(220,30%,11%);
}
}


table.imbox-license {
#home-content {
border: 3px solid #88a;
margin-top: calc(1.25 * 1rem);
background-color: #f7f8ff
}
}


table.imbox-featured {
.home-card .template-statsbar {
border: 3px solid #cba135
margin: 0;
}
}


table.cmbox {
.home-footer {
margin: 3px 10%;
font-size: 0.8125rem;
border-collapse: collapse;
font-family: monospace;
border: 1px solid #a2a9b1;
text-align: center;
background-color: #dfe8ff;
box-sizing: border-box
}
}


table.cmbox-notice {
#home-nav {
background-color: #d8e8ff
margin-top: 1rem;
}
}


table.cmbox-speedy {
#home-nav .home-card__foreground {
margin-top: 4px;
    font-weight: 500;
margin-bottom: 4px;
border: 4px solid #b32424;
background-color: #ffdbdb
}
}


table.cmbox-delete {
/*------------------------------------------------Галерея-----------------------------------------------------------------------------*/
background-color: #ffdbdb
#ss-art-gallery.ss-wrap{ --ss-bg:#0e0f14; --ss-fg:#e9e9e9; --ss-muted:#a9b0bd; --ss-accent:#dca01b; --ss-card:#171a21; --ss-ring:#2b3241; --ss-chip:#1e2330; --ss-shadow:0 10px 28px rgba(0,0,0,.4); background:var(--ss-bg); color:var(--ss-fg); padding:20px; border-radius:18px; font-family:"Segoe UI",sans-serif }
#ss-art-gallery .ss-header{ display:flex; flex-direction:column; gap:10px; margin-bottom:20px; text-align:center }
#ss-art-gallery .ss-title{ font-size:30px; line-height:1.2; font-weight:700; color:var(--ss-accent) }
#ss-art-gallery .ss-sub{ font-size:15px; color:var(--ss-muted) }
#ss-art-gallery .ss-filters{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:10px }
#ss-art-gallery .ss-chip{ user-select:none; cursor:pointer; background:var(--ss-chip); padding:8px 14px; border-radius:999px; border:1px solid var(--ss-ring); box-shadow:var(--ss-shadow); font-size:13px; transition: transform .2s ease }
#ss-art-gallery .ss-chip:hover{ background:var(--ss-accent), background-color .2s ease }
#ss-art-gallery .ss-chip:hover{ background:var(--ss-accent); color:#000 }
#ss-art-gallery .ss-chip-active{ border-color:var(--ss-accent); background:var(--ss-accent); color:#000 }
#ss-art-gallery .ss-section{ margin:28px 0 }
#ss-art-gallery .ss-section-title{ font-size:22px; font-weight:700; margin:10px 0 18px; text-align:left; color:var(--ss-accent) }
#ss-art-gallery .ss-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); gap:24px; margin-top:12px }
#ss-art-gallery .ss-card{ background:var(--ss-card); border:1px solid var(--ss-ring); border-radius:16px; box-shadow:var(--ss-shadow); padding:16px; display:flex; flex-direction:column; gap:10px; transform:translateZ(0); transition:transform .2s ease,border-color .2s ease }
#ss-art-gallery .ss-card:hover{ transform:translateY(-4px); border-color:var(--ss-accent) }
#ss-art-gallery .ss-card-title{ font-size:16px; font-weight:600; color:var(--ss-muted); text-align:center }
#ss-art-gallery .ss-card img{
    width:auto!important;
    height:auto!important;
    max-width:100%;
    border-radius:12px;
    display:block;
    margin:0 auto;
    image-rendering: auto !important; /* убираем пикселизацию — включаем плавное масштабирование спрайтов */
}
}
#ss-art-gallery .ss-hidden{ display:none!important }
#ss-art-gallery .ss-modal{ position:fixed; inset:0; background:rgba(0,0,0,.88); display:none; align-items:center; justify-content:center; z-index:9999 }
#ss-art-gallery .ss-modal.open{display:flex}
#ss-art-gallery .ss-modal-inner{ max-width:92vw; max-height:92vh; animation:ss-fade .25s ease }
#ss-art-gallery .ss-modal-img{
    max-width:90vw;
    max-height:90vh;
    border-radius:14px;
    box-shadow:0 0 24px rgba(0,0,0,.7);
    image-rendering: auto !important; /* убираем пикселизацию в модальном окне */
}
#ss-art-gallery .ss-modal-close{ position:fixed; top:16px; right:18px; background:var(--ss-chip); border:1px solid var(--ss-ring); padding:8px 14px; border-radius:10px; cursor:pointer; transition: transform .2s ease }
#ss-art-gallery .ss-modal-close:hover{ background:var(--ss-accent), background-color .2s ease }
#ss-art-gallery .ss-modal-close:hover{ background:var(--ss-accent); color:#000 }
@keyframes ss-fade{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}


table.cmbox-content {
/*------------------------------------------------Галерея-----------------------------------------------------------------------------*/
background-color: #ffe7ce
/*------------------------------------------------Сноска для предметов-----------------------------------------------------------------------------*/
.nt-card {
  float: right;
  margin: 0 0 12px 12px;
  display: grid;
  gap: 8px;
  width: 220px;
  padding: 10px;
  border: 1px solid rgba(120,120,120,.35);
  border-radius: 10px;
  background: rgba(20,20,20,.05);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  text-align: center;
}
.nt-card .nt-title {
  font-weight: 700;
  font-size: 1rem;
}
.nt-card .nt-sprite {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 6px;
  background: rgba(0,0,0,.04);
}
.nt-card .nt-sprite img {
  image-rendering: pixelated;
  width: 56px;
  height: 56px;
}
.nt-card .nt-desc {
  font-size: .88rem;
  line-height: 1.35;
}
.nt-card .nt-stats {
  display: grid;
  gap: 3px;
  font-size: .85rem;
  margin-top: 4px;
  text-align: left;
}
.nt-card .nt-stat {
  padding: 3px 5px;
  border-radius: 5px;
  background: rgba(0,0,0,.06);
}
.nt-card .nt-src {
  margin-top: 2px;
  font-size: .8rem;
  opacity: .85;
  text-align: left;
}
}


table.cmbox-style {
/* адаптация под телефоны */
background-color: #fff9db
@media (max-width: 600px) {
  .nt-card {
    float: none;
    margin: 12px 0;
    width: auto;
    max-width: 100%;
    display: block;
    text-align: center;
  }
  .nt-card .nt-stats,
  .nt-card .nt-src {
    text-align: center;
  }
}
}


table.cmbox-move {
/*------------------------------------------------Сноска для предметов-----------------------------------------------------------------------------*/
background-color: #e4d8ff
 
 
/*------------------------------------------------Блок вики-----------------------------------------------------------------------------*/
 
.tabber {
    border: 1px solid #20242a !important;
    border-radius: 10px !important; /* Закругление углов у всего таба */
    overflow: hidden; /* Чтобы закругление работало для содержимого */
}
}


table.cmbox-protection {
.tabber__tab {
background-color: #efefe1
    background: #19191d !important;
    padding: 8px 16px;
}
}


table.ombox {
.tabber__panel {
margin: 4px 10%;
    padding: 0 12px;
border-collapse: collapse;
    border-radius: 8px !important; /* Закругление углов для панели */
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
box-sizing: border-box
}
}


table.ombox-notice {
 
border: 1px solid #a2a9b1
/* Все табсы должны быть заменены на табберы! */
.tabs-tabbox {
    background: rgba(255,0,0,0.07) !important;
    border-radius: 8px !important; /* Закругление углов */
}
}


table.ombox-speedy {
 
border: 2px solid #b32424;
 
background-color: #fee7e6
/*------------------------------------------------Tabl-Сейчас 2 версии табл новая и старая, струю не убирать иначе все ломается-----------*/
 
/* Анимация градиента для JobHeader */
@keyframes gradient-animation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
}


table.ombox-delete {
/* Стиль заголовка профессии */
border: 2px solid #b32424
.job_header {
    font-family: Arial, sans-serif;
    border: 3px solid var(--border-color, #465298);
    border-radius: 0.5em;
    background-color: #27272e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0 0 10px 5px;
}
}


table.ombox-content {
.job_header .header-title {
border: 1px solid #f28500
    text-align: center;
    padding: 5px 10px;
    margin: 0;
    background: linear-gradient(135deg, var(--header-color-start, #465298), var(--header-color-end, #27272e));
    background-size: 300% 300%;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: gradient-animation 6s ease infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
}


table.ombox-style {
/* Контейнер для изображения профессии */
border: 1px solid #fc3
.job_header .sprite-container {
    text-align: center;
    padding: 3px 0;
    margin: 0;
    background: linear-gradient(135deg, var(--sprite-color-start, #465298), var(--sprite-color-end, #27272e));
    background-size: 300% 300%;
    animation: gradient-animation 6s ease infinite;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}
}


table.ombox-move {
.job_header .sprite-container img {
border: 1px solid #9932cc
    /* width: 128px; */
    /* height: auto; */
    border-radius: 0.2em;
}
}


table.ombox-protection {
/* Элементы внутри JobHeader */
border: 2px solid #a2a9b1
.job_header div {
    padding: 3px 10px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    transition: background-color 0.3s ease;
}
}


table.tmbox {
.job_header div:last-child {
margin: 4px 10%;
    border-bottom: none;
border-collapse: collapse;
border: 1px solid #c0c090;
background-color: #f8eaba;
min-width: 80%;
box-sizing: border-box
}
}


.tmbox.mbox-small {
.job_header .label {
min-width: 0
    font-weight: bold;
    color: #ddd;
}
}


.mediawiki .mbox-inside .tmbox {
.job_header .value {
margin: 2px 0;
    color: #bbb;
width: 100%
    font-size: 0.95em;
}
}


.mbox-inside .tmbox.mbox-small {
/* Скрываемые элементы для JobHeader */
line-height: 1.5em;
.job_collapsible {
font-size: 100%
    cursor: pointer;
    color: lightblue;
    text-decoration: underline;
    margin-top: 10px;
}
}


table.tmbox-speedy {
.job_collapsible_content {
border: 2px solid #b32424;
    display: none;
background-color: #fee7e6
    padding: 10px;
    color: #bbb;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
}


table.tmbox-delete {
/*-----------------------------------------------------------------------------------------------------------------------------------*/
border: 2px solid #b32424
 
/* Begin стиль для pre (цитатки)
Shegare */
 
pre {
    display: inline-block;
    white-space: pre-wrap;
}
}


table.tmbox-content {
/* End стиль для pre (цитатки)
border: 2px solid #f28500
Shegare */
 
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin ClearUnset
Shegare */
 
span.ClearUnset > figure.mw-halign-right {
    clear: unset;
}
}


table.tmbox-style {
/* End ClearUnset
border: 2px solid #fc3
Shegare */
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin стиль для collapsible button
Shegare */
 
.collapsible_align > tbody > tr > th > span {
    padding: 7px 5px;
}
.mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
    color: #dbdbdb;
    box-shadow: 0 0 5px 0px;
    border: 2px solid;
    padding: 4px;
    border-radius: 10px;
    transition: 0.5s;
}
.mw-collapsible.mw-made-collapsible .mw-collapsible-text {
    color: #ffffff;
    border: 2px dotted;
    padding: 4px;
    border-radius: 10px;
    transition: 0.5s;
}
.mw-collapsible-toggle-default:before {
    content: unset;
}
.mw-collapsible-toggle-default:after {
    content: unset;
}
}


table.tmbox-move {
/* End стиль для collapsible button
border: 2px solid #9932cc
Shegare */
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* ===============================
  Begin стиль для Grid — Shegare
  =============================== */
 
 
 
/* ===============================
  End стиль для Grid — Shegare
  =============================== */
 
 
/* ==================================================
  Begin стиль для JobsTable — Shegare
  ================================================== */
/* === Общие стили === */
.citizen-body {
    margin-left: 10px;
}
}


table.tmbox-protection,
#IdJobsTableContainer2 {
table.tmbox-notice {
    flex-basis: 280px;
border: 1px solid #c0c090
    padding: 0 15px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    z-index: 100;
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Плавное изменение свойств */
}
}


table.fmbox {
.JobsTable {
clear: both;
    border: 2px solid black;
margin: 0.2em 0;
    border-radius: 10px;
width: 100%;
    margin-bottom: 2px;
border: 1px solid #a2a9b1;
    width: auto;
background-color: #f8f9fa;
    height: fit-content;
box-sizing: border-box
    background: #28303e;
    transition: background 0.3s ease; /* Плавная смена фона */
}
}


table.fmbox-system {
.JobsTableList li a {
background-color: #191970
    color: white;
    font-size: 16px;
    background: #232323;
    display: block;
    border: 2px solid black;
    margin-bottom: 5px;
    padding: 3px 5px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease; /* Плавная смена фона и эффект нажатия */
}
}


table.fmbox-warning {
.JobsTableList li a:hover {
border: 1px solid #bb7070;
    background: #3b3b3b;
background-color: #ffdbdb
    transform: scale(1.05); /* Эффект увеличения при наведении */
}
}


table.fmbox-editnotice {
.JobsTableHeadImg {
background-color: transparent
    margin: 0 5px 0 15px;
    transition: transform 0.3s ease; /* Плавное изменение трансформации */
}
}


div.mw-warning-with-logexcerpt,
.JobsTableHeadLink {
div.mw-lag-warn-high,
    margin-right: auto;
div.mw-cascadeprotectedwarning,
    transition: transform 0.3s ease; /* Плавное изменение трансформации */
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 {
#IdJobsTableContainer1 {
border-color: #fc3;
    display: none;
background-color: #fef6e7
}
}


html body.mediawiki .mbox-small {
.JobsTable .mw-collapsible-toggle {
clear: right;
    margin-top: -35px;
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 {
.JobsTable .mw-collapsible-toggle-default:before,
margin: 4px 1em 4px 0;
.JobsTable .mw-collapsible-toggle-default:after {
box-sizing: border-box;
    content: none;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em
}
}


.compact-ambox table .mbox-image,
.JobsTable .mw-collapsible-text {
.compact-ambox table .mbox-imageright,
    background: black;
.compact-ambox table .mbox-empty-cell {
    border: 2px solid;
display: none
    padding: 2px;
    margin-right: 5px;
    font-weight: 700;
    transition: color 0.3s ease, box-shadow 0.3s ease; /* Плавное изменение цвета и тени */
}
}


.compact-ambox table.ambox {
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
border: none;
    color: #00ffff9e;
border-collapse: collapse;
    box-shadow: 0 0 10px #00b9b978;
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 {
.JobsTableList.closed {
font-size: 100%;
    max-height: 0 !important;
width: auto;
    opacity: 0;
margin: 0
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease; /* Плавное исчезновение */
    transition-delay: 1s;
}
}


.compact-ambox table .mbox-text {
/* Скрытие иконок по умолчанию */
padding: 0 !important;
.client-js td.mw-collapsed:not(.mw-made-collapsible):before,
margin: 0 !important
.client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
.client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after,
.client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before,
.client-js ul.mw-collapsible:not(.mw-made-collapsible):before {
    opacity: 0;
}
}


.compact-ambox table .mbox-text-span {
/* === Мобильные стили (до 1440px) === */
display: list-item;
@media screen and (max-width: 1440px) {
line-height: 1.5em;
    #IdJobsTableContainer2 {
list-style-type: square;
        display: none;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg)
    }
 
    #IdJobsTableContainer1 {
        display: block;
    }
 
    .JobsTableHeadImg {
        margin-left: 0;
    }
 
    .JobsTableHeadLink {
        margin-right: 55px;
    }
 
    /* Отображение иконок сворачивания */
    .client-js td.mw-collapsed:not(.mw-made-collapsible):before,
    .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
    .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after,
    .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
    .client-js ol.mw-collapsible:not(.mw-made-collapsible):before,
    .client-js ul.mw-collapsible:not(.mw-made-collapsible):before {
        opacity: 1;
    }
}
}


.compact-ambox .hide-when-compact {
@media screen and (max-width: 1439px) {
display: none
    .JobsTable div:first-child {
        padding-left: 15px;
    }
}
}


.nounderlines a,
/* === ПК стили (от 1120px и выше) === */
.IPA a:link,
 
.IPA a:visited {
 
text-decoration: none !important
@media screen and (min-width: 1440px) {
    .JobsTable .mw-collapsible.mw-collapsed {
        display: block;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 2s ease, opacity 2s ease;
        transition-delay: 1s; /* Задержка при закрытии */
    }
 
    .JobsTable div:hover ~ .mw-collapsible.mw-collapsed,
    .JobsTable .mw-collapsible.mw-collapsed:hover {
        max-height: 1000px;
        opacity: 1;
        transition-delay: 0s; /* Мгновенно при открытии */
    }
 
}
}


.nowrap,
.JobsTable div:hover ~ .custom-collapsible.hidden,
.nowraplinks a {
    .JobsTable .custom-collapsible.hidden:hover {
white-space: nowrap
        max-height: 1000px;
        opacity: 1;
        transition-delay: 0s;
    }
}
}


.wrap,
 
.wraplinks a {
#IdJobsTableContainer2::-webkit-scrollbar {
white-space: normal
    width: 0;  /* скрываем скроллбар, установив нулевую ширину */
    background: transparent; /* и фон прозрачным */
}
}


#wpUploadDescription {
#IdJobsTableContainer2 {
height: 13em
    z-index: auto;
    scrollbar-width: none; /* Для Firefox */
    -ms-overflow-style: none; /* Для IE и Edge */
}
}


.thumbinner {
.JobsTable .mw-collapsible {
min-width: 100px;
    transition: max-height 2s ease, opacity 2s ease;
background: #303037;
    transition-delay: 1s; /* задержка закрытия */
border: solid #37373e
}
}


.thumbinner .thumbimage, .thumbborder {
.JobsTable:hover .mw-collapsible,
border: solid 1px #37373e
.JobsTable .mw-collapsible:hover {
    transition: max-height 0s ease, opacity 0s ease;
    max-height: 1000px;
    opacity: 1;
}
}


#mw-subcategories,
#IdJobsTableContainer2::-webkit-scrollbar {
#mw-pages,
    width: 0;  /* скрываем скроллбар, установив нулевую ширину */
#mw-category-media,
    background: transparent; /* и фон прозрачным */
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both
}
}


.wpb .wpb-header {
.JobsTable:hover .mw-collapsible,
display: none
.JobsTable .mw-collapsible:hover {
    transition: max-height 0s ease, opacity 0s ease;
    max-height: 1000px;
    opacity: 1;
}
}


.wpbs-inner .wpb .wpb-header {
 
display: table-row
 
/* ==================================================
  End стиль для JobsTable — Shegare
  ================================================== */
 
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin Заголовки стиль
Shegare */
 
.citizen-sections-enabled .citizen-section-heading .mw-headline {
    border-bottom: 2px solid;
    border-image: linear-gradient(to right top, #5d5d5d, #272727);
    border-image-slice: 1;
}
}


.wpbs-inner .wpb-outside {
.citizen-sections-enabled .citizen-section-heading .mw-headline:empty {
display: none
    border: unset;
}
}


.mw-tag-markers {
.citizen-sections-enabled .citizen-section-heading--collapsed .mw-headline {
font-style: italic;
    border: unset;
font-size: 90%
}
}


.checkuser-show,
.mw-ui-icon-wikimedia-collapse:before {
.sysop-show,
    opacity: unset;
.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,
.citizen-sections-enabled .citizen-section-indicator {
.ve-ui-mwNoticesPopupTool-item .mbox-image,
    width: 25px;
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
    height: 25px;
display: none !important
    position: absolute;
    padding: 3px;
    background: rgb(162 162 162 / 60%);
    box-shadow: 0 0 20px 0px rgb(162 162 162 / 20%);
    border: 1px solid #000000;
    border-radius: 50%;
    transition: 0.3s;
    margin-left: -30px;
    margin-right: 5px;
}
}


ul.permissions-errors>li {
@media screen and (max-width: 1119px) {
list-style: none none
    .citizen-sections-enabled .citizen-section-indicator {
        margin-left: 0px;
    }
    .citizen-sections-enabled .citizen-section-indicator {
        width: 21px;
        height: 21px;
    }
    .citizen-sections-enabled .citizen-section-heading .mw-headline {
        padding-left: 25px;
    }
}
}


ul.permissions-errors {
.citizen-sections-enabled .citizen-section-heading--collapsed .citizen-section-indicator {
margin: 0
    background: #000000;
    opacity: 50%;
    box-shadow: unset;
    transition: 0.3s;
}
}


span.texhtml {
.citizen-section-collapsible p {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
    margin-bottom: 1.5em;
font-size: 118%;
    margin-top: 0px;
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 {
/* Begin Заголовки стиль
font-size: 100%
Shegare */
 
/* Begin Подзаголовки стиль
Shegare */
 
/*.citizen-section-collapsible > h2, h3, h4, h5, h6 {
    border-bottom: 2px dashed #5d5d5d;
    width: fit-content;
}*/
 
/* Begin Подзаголовки стиль
Shegare */
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin элементы таблицы "|" не подсвечиваются при наведении
Shegare */
 
:root.skin-citizen-dark {
--background-color-quiet--hover: unset
}
}


span.mwe-math-mathml-inline {
/* End элементы таблицы "|" не подсвечиваются при наведении
font-size: 118%
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin header не скрывается
Shegare */
 
@media screen and (max-width: 1119px) {
    .citizen-scroll--down .citizen-header {
        transform: unset;
    }
}
}


.mwe-math-fallback-image-display,
/* End header не скрывается
.mwe-math-mathml-display {
Shegare */
margin-left: 1.6em !important;
/*-----------------------------------------------------------------------------------------------------------------------------------*/
margin-top: 0.6em;
 
margin-bottom: 0.6em
/* Begin TooltipTable
Shegare */
 
.citizen-overflow--right {
    -webkit-mask-image: unset;
}
}


.mwe-math-mathml-display math {
@media screen and (min-width: 1421px) {
display: inline
    .citizen-table-wrapper {
        overflow: unset;
    }
}
}


.k-player .k-attribution {
@media screen and (max-width:1421px) {
visibility: hidden
        .citizen-table-wrapper,
        .citizen-overflow--left.citizen-overflow--right,
        .citizen-overflow--left,
        .citizen-overflow--right {
                -webkit-mask-image: unset;
                overflow: auto;
        }
}
}


.PopUpMediaTransform a .play-btn-large {
/* End TooltipTable
margin: 0;
Shegare */
top: auto;
 
right: auto;
/*-----------------------------------------------------------------------------------------------------------------------------------*/
bottom: 0;
 
left: 0
/* Begin Отмена пикселизации
Shegare */
 
.citizen-header__logo img, .logo img {
      image-rendering: unset;
}
.nopixelated img {
  image-rendering: unset;
}
}


@media screen {
/* End оформление заголовков
#content .gallerybox div.thumb {
Shegare */
background-color: #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,
/* Begin mobile_bigtable
.flaggedrevs_stable_synced,
Shegare */
#t-upload,
.mw-special-Book #coll-downloadbox {
display: none
}


#site-tools {
@media screen and (max-width: 1025px) {
display: none !important;
    mobile_bigtable {
        font-size: 16px;
    }
}
}
 
@media screen and (max-width: 1024px) {
span.comment {
    mobile_bigtable {
overflow-wrap: break-word
        font-size: 10px;
    }
}
}


#mw-page-base {
/* Begin mobile_bigtable
background: #1b1b1f;
Shegare */
color: lightgrey;
border: #1b1b1f
}


.mediawiki,
/*-----------------------------------------------------------------------------------------------------------------------------------*/
.mw-page-container {
background: #1b1b1f;
color: lightgrey;
border: #1b1b1f
}


.mw-body {
/* Begin главное меню
background: #212126;
Данте ( и немного Shegare >w< )
color: lightgrey;
*/
border: black
}


#mw-panel {
/* Общее форматирование ячеек таблицы */
background: #1b1b1f;
.standard-link th,
color: lightgrey;
.standard-link td {
border: #1b1b1f
    vertical-align: middle;
    border: 2px solid black;
    background-color: #212126;
}
}


#mw-content-container,
/* Скругление углов только у первой и последней ячеек в строке заголовка */
#mw-header-container,
.standard-link th {
#mw-content-wrapper,
    border-radius: 15px 0 0 15px;
#mw-content,
#p-logo {
background: #1b1b1f;
color: lightgrey;
border: #1b1b1f
}
}


.mw-code {
/* Форматирование ссылок в заголовках таблицы */
background: #212126;
.standard-link th a {
color: lightgrey
    margin: 7px;
}
}


footer,
/* Форматирование ссылок в ячейках таблицы */
#footer-info-lastmod,
.standard-link td a {
#footer-info-copyright {
    margin: 5px 10px;
color: lightgrey
    padding: 17px;
}
}


p,
/* Общие стили для всех ссылок */
h1,
.standard-link a {
h2,
    text-decoration: none;
h3,
    font: small-caps bold 25px sans-serif;
h4,
    color: #ffffff;
h5,
    border: 2px solid black;
h6,
    display: flex;
li {
    align-items: center;
color: lightgrey
    background-color: #141417;
    transition: background-color 1.0s ease, border-color 1.0s ease, color 1.0s ease;
}
}


/** Новые цвета ссылок (одинаковый цвет, независимо от посещения **/
/* Стили для мобильных устройств */
a,
@media screen and (max-width:850px) {
.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,
    .standard-link a {
body.skin--responsive #p-cactions li a,
        transition: none;
a:visited,
    }
.vector-menu-portal .vector-menu-content li a:visited,
    .standard-link td {
.vector-menu-tabs li a:visited,
    border-radius: 0px 15px 15px 0px;
body.skin--responsive #p-cactions li a:visited  {
     }
     color: #77c1d9
}
}


/** Старые цвета ссылок
/* Стили при наведении курсора на строку таблицы */
a,
.standard-link tr:hover a {
.vector-menu-portal .vector-menu-content li a,
    background-color: black;
.vector-menu-tabs li a,
    color: #fff;
body.skin--responsive #p-cactions li a {
    border-color: #e23229;
color: lightblue
}
}


a:visited,
/* End главное меню
.vector-menu-portal .vector-menu-content li a:visited,
Данте ( и немного Shegare >w< )
.vector-menu-tabs li a:visited,
*/
body.skin--responsive #p-cactions li a:visited {
/*-----------------------------------------------------------------------------------------------------------------------------------*/
color: #007FFF
} **/


a:hover,
/* Данте Морпехи */
a:visited:hover {
/* Основные стили для контейнера меню */
     color: white;
.main-container {
    display: flex;
    flex-wrap: wrap;
     justify-content: space-between;
}
}


body.skin--responsive #p-cactions li a {
/* Общие стили для секций меню */
background: #27272e
.menu-section {
    flex-basis: 23%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background-color: #14171f; /* Фон не покрашенных блоков */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Уменьшенная белая обводка для блоков */
}
}


.mw-prefs-buttons {
/* Индивидуальные цвета для секций */
background: #27272e
.marines-section {
    background-color: #222424;
}
}


a.extiw:visited,
.xenos-section {
a.external:visited,
    background-color: #2b2e44;
.mw-parser-output a.extiw:visited,
.mw-parser-output a.external:visited,
body.skin--responsive #p-cactions li a.external:visited {
/**Старый цвет
color: #8a2be2 **/
color: #3377aa
}
}


.vector-menu-tabs .selected a,
.other-section {
.vector-menu-tabs .selected a:visited,
    background-color: #341d1d; /* Цвет для блока "Другие фракции" */
body.skin--responsive #p-cactions li.selected a {
color: lightgrey;
font-weight: bold
}
}


body.skin--responsive #p-cactions li.selected a {
/* Стили для заголовков секций */
background: #27272e
.menu-section h3 {
    padding: 5px;
    margin: 0;
    font-size: 18px;
    text-align: center;
    color: #fff;
}
}


.vector-menu-tabs li {
/* Стили для списка */
background: #212126
.menu-section ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
}
}


#mw-site-navigation .sidebar-chunk,
/* Стили для элементов списка */
#mw-site-navigation .sidebar-chunk,
.menu-section ul li {
#mw-related-navigation .sidebar-chunk,
    margin: 10px 0;
body.skin--responsive .portlet,
    text-align: center;
body.skin--responsive .pBody {
background: #212126;
color: lightgrey;
border-color: #1b1b1f
}
}


#p-logo-text a {
/* Стили для кнопок (ссылок) */
color: lightgrey
.menu-section ul li a {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    background-color: #1a1e29; /* Цвет фона кнопок */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
}


#ca-nstab-mediawiki.a {
.menu-section ul li a:hover {
color: lightgrey
    background-color: #666;
    border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}
}


#mw-changeslist-links {
/* Стили для секции с картами */
background: #212126;
.maps-section {
color: lightgrey
    color: white; /* Устанавливаем белый цвет текста для всей секции */
}
}


#simpleSearch {
.maps-section ul {
background: #27272e;
    display: flex;
border: 1px solid #37373e;
    flex-wrap: wrap;
color: lightgrey
    gap: 10px; /* Отступы между картами */
    padding: 0;
    margin: 0;
}
}


#searchInput {
/* Стили для секции с картами */
color: white
.maps-section {
    color: white !important; /* Добавление !important */
}
}


#pt-createaccount {
.maps-section ul {
     visibility: hidden;
     display: flex;
     display: none;
    flex-wrap: wrap;
     gap: 10px; /* Отступы между картами */
    padding: 0;
    margin: 0;
}
}


.vector-user-links .vector-user-menu-more .vector-menu-content-list li a,
/* Стили для элементов списка в секции карт */
#personal .dropdown {
.maps-section ul li {
background: #27272e;
    flex-basis: 48%; /* Уменьшаем до 48%, чтобы уместить 2 карты в ряд с отступами */
border: 1px solid #37373e;
    list-style: none; /* Убираем маркеры списка */
color: lightgrey
}
}


body.skin--responsive #p-cactions li.selected {
/* Стили для ссылок в секции карт */
border: #37373e
.maps-section ul li a {
    display: block;
    padding: 10px;
    background-color: #1a1e29; /* Цвет фона кнопок в секции карт */
    color: white !important; /* Устанавливаем белый цвет текста */
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
}


.vector-menu-tabs .selected {
.maps-section ul li a:hover {
background: #1b1b1f
    background-color: #666; /* Цвет фона при наведении на ссылку в секции карт */
    border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}
}


#pagehistory li.selected {
/* Убираем иконку внешней ссылки в блоке карт */
background: #1B4D3E;
.maps-section ul li a::after {
font-weight: bold
    content: none !important; /* Убираем псевдоэлемент */
}
}


div.mw-warning-with-logexcerpt,
 
div.mw-lag-warn-high,
 
div.mw-cascadeprotectedwarning,
/* Стили для контейнера заголовка */
div#mw-protect-cascadeon,
.header-container {
div.titleblacklist-warning {
    display: flex;
background: #7C0A02;
    align-items: center;
border: 1px solid #bb7070
    background-color: #1b1e26;
    padding: 20px 30px;
    border-radius: 8px;
}
}


.wikitable {
/* Стили для логотипа */
background: #303037;
.logo img {
border: 1px solid #37373e;
    border-radius: 50%;
color: white
    width: 100px;
    height: auto;
}
}
/* класс wikitableKZ является костылем, ведь фиксить wikitable мне было впадлу. Из-за wikitable тултипы обрезаются. Не бейте*/
 
.wikitableKZ {
/* Стили для текста заголовка */
     border-collapse: collapse
.title-text {
     margin-left: 30px;
    color: #ffffff;
}
}


.wikitableKZ>tr>th,
.title-text h1 {
.wikitableKZ>tr>td,
    margin: 0;
.wikitableKZ>*>tr>th,
    font-size: 32px;
.wikitableKZ>*>tr>td {
    font-weight: bold;
border: 1px solid black;
}
}


.toc {
.title-text p {
background: #27272E;
    margin: 5px 0 0;
border: 1px solid black;
    font-size: 18px;
color: white
}
}


.mw-content-ltr .tocnumber {
/* Стили для разделителя */
color: grey
.separator {
    border-bottom: 2px solid #A9A9A9;
    margin: 10px 0 20px;
}
}


.wikitable>tr>th,
/* Адаптивные стили для мобильных устройств */
.wikitable>tr>td,
@media (max-width: 599px) {
.wikitable>*>tr>th,
    .main-container {
.wikitable>*>tr>td {
        flex-direction: column;
border: 1px solid black;
        align-items: stretch;
    }
 
    .menu-section {
        flex-basis: 100%;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
 
    .menu-section ul {
        flex-grow: 1;
        justify-content: space-between;
        padding: 0;
    }
 
    .menu-section ul li {
        flex-grow: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px; /* Отступы между элементами */
    }
 
    .menu-section ul li a {
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
 
    .maps-section ul {
        flex-wrap: wrap;
        gap: 10px;
    }
 
    .maps-section ul li {
        flex-basis: 48%; /* Карты будут располагаться по 2 на ряд */
        margin-bottom: 10px; /* Отступы между картами */
    }
 
    .header-container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }
 
    .logo img {
        width: 80px;
    }
 
    .title-text {
        margin-left: 0;
        margin-top: 10px;
    }
 
    .title-text h1 {
        font-size: 24px;
    }
 
    .title-text p {
        font-size: 16px;
    }
}
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/


.wikitable>*>tr>th {
/* код оформление для Командование и тд Данте! */
background: #27272e;
/* Контейнер для карточек */
border: 1px solid black;
.command-wrapper {
color: white
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}
}


.quickbox {
/* Основные стили карточек */
border: 1px solid #303038;
.card {
background: #27272e
    background-color: #2b2b2b; /* Темный фон карточки */
    border-radius: 10px;
    width: 220px;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Элементы начинают сверху */
    align-items: center;
    padding: 8px; /* Уменьшаем padding */
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid transparent;
    color: #ffffff; /* Белый текст */
    overflow: hidden; /* Скрываем все, что выходит за пределы карточки */
}
}


.quickboxhead {
/* Цветные обводки для разных ролей */
border-bottom: 1px solid #303038;
.card.Captain {
background: #1b1b1f;
    border-color: #B0B7C3; /* Серебристый для Капитана */
text-align: center
}
.card.HeadOfSecurity {
    border-color: #FF0000; /* Красный для Главы Безопасности */
}
.card.HeadOfPersonnel {
    border-color: #00FF00; /* Зеленый для Главы Персонала */
}
.card.Engineer {
    border-color: #FFA500; /* Оранжевый для Старшего Инженера */
}
}
 
.card.Scientist {
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
    border-color: #800080; /* Фиолетовый для Научного Руководителя */
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
background: #27272e;
border: 1px solid #303038;
color: white
}
}
 
.card.Doctor {
.oo-ui-buttonElement-framed.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
    border-color: #127BB7; /* Синий для Главного Врача */
background: #27272e;
border: 1px solid #303038;
color: white
}
}
 
.card.Quartermaster {
.oo-ui-popupWidget-popup {
    border-color: #FFD700; /* Золотой для Квартирмейстера */
background: #303037;
border: 1px solid #37373e;
color: white
}
}


.mw-editform #wpTextbox1,
/* Стили для текста и заголовков */
textarea {
.card .role-name {
background: #303037;
    font-weight: bold;
border: 1px solid #37373e;
    font-size: 1.4em;
color: white
    color: #ffffff; /* Белый текст */
    margin-bottom: 3px;
    white-space: normal; /* Разрешить перенос слов */
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center; /* Центрирование текста */
    word-wrap: break-word; /* Перенос слов при необходимости */
    display: grid;
    grid-template-columns: 212px;
    grid-template-rows: 75px;
}
}
 
.role-name a {
.wikiEditor-ui-toolbar {
    color: #ccc;
background: #27272e;
color: white
}
}


.wikiEditor-ui-toolbar .group {
/* Стили для изображения */
border: 1px solid #37373e;
.card img {
color: white
    max-width: 160px;
    max-height: 160px;
    margin-bottom: 3px; /* Уменьшаем отступ снизу */
}
}


.wikiEditor-ui-toolbar .group .label {
/* Стили для описания роли */
color: white
.card .role-description {
    font-size: 0.9em;
    flex-grow: 1;
    margin: 3px 0; /* Минимальные отступы сверху и снизу */
    color: #dcdcdc; /* Более светлый текст */
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Текст переносится */
}
}


.wikiEditor-ui-toolbar .tabs span.tab a.current,
/* Ссылка на СРП */
.wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
.card .role-guide {
color: #151518;
    font-size: 0.85em;
font-weight: bold
    margin-top: 3px; /* Минимальный отступ сверху */
    text-align: center; /* Центрируем текст */
}
}


.wikiEditor-ui .wikiEditor-ui-top {
.card .role-guide a {
border-bottom: 1px solid #37373e
    color: #00bfff; /* Цвет ссылки */
    text-decoration: none;
}
}


.wikiEditor-ui .wikiEditor-ui-view {
.card .role-guide a:hover {
border: 1px solid #37373e
    text-decoration: underline;
}
}


.editOptions,
/* Hover эффект для карточек */
.mw-editform .editOptions {
.card:hover {
background: #212126;
    transform: scale(1.05);
border: 1px solid #37373e;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
color: white
}
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/


@media screen {
* { font-family: Arial }
.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 {
body {
color: #00FF00;
    color: #FAFAFA;
font-weight: bold
}
}


.negative {
color: #FF0000;
font-weight: bold
}


.anglerect {
img {
--angle-rect-clip-size: 16px;
    image-rendering: pixelated;
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 {
.flex-container {
display: flex
    display: flex;
    align-items: flex-start;
}
}


 
.flex-image {
 
    flex-shrink: 0;
.mw-body {
    margin-right: 20px;
padding: 0.5em
}
}


.mw-body dd {
.flex-image-description {
margin: 0.2em;
    flex-grow: 1;
margin-left: 1.6em
}
}


.tabs-label {
.uplinkbuybutton {
background-color: #19191d !important;
    background: #464966;
color: lightgrey;
    width: 62px;
    height: 27px;
    color: white;
    text-align: center;
    font-weight: bolder;
    float: right;
    padding-top: 4px;
    clip-path: polygon(0px 0px, 0px 18px, 9px 27px, 62px 27px, 62px 10px, 53px 0px);
}
}


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


Строка 1391: Строка 2048:
     white-space: normal;
     white-space: normal;
     text-align: left;
     text-align: left;
     transition: all 0.2s;
     transition: transform 0.2s, background-color 0.2s;
     border: 1px solid #465298;
     border: 1px solid #b80000;
     background-color: #27272E;
    border-radius: 10px;
     background-color: #24242a;
    box-shadow: 0 0 5px #b80000;
}
}


.tooltip:hover>.tooltiptext {
.tooltip:hover > .tooltiptext {
  visibility: visible;
    visibility: visible;
  opacity: 0.98;
    opacity: 0.98;
}
}
@media screen and (min-width:851px) {
 
.mobile {
.wikitable td ul,
display: none
.wikitable td ol,
}
.wikitable td dl {
    text-align: left;
}
}


@media screen and (max-width:850px) {
.wikitable > tr > th,
.nomobile {
.wikitable > tr > td,
display: none
.wikitable > * > tr > th,
}
.wikitable > * > tr > td {
.tooltip{
    border: 1px solid black;
  position: static;
}
 
.wikitable > * > tr > th {
    background: #27272e;
    color: white;
}
 
@media screen and (min-width: 851px) {
    .mobile {
        display: none;
    }
 
    .job_header {
        float: right;
        width: 25%;
    }
}
}
.tooltiptext{
 
box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
@media screen and (max-width: 1420px) {
    .tooltiptext {
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
         position: fixed;
         position: fixed;
    width: 80vw;
        width: 80vw;
    top: 40vh;
        top: 40vh;
    left: 0;
        left: 0;
    margin: 0 auto;
        margin: 0 auto;
    right: 0;
        right: 0;
}
    }
.mobilefont{
}
font-size: 80%
 
}
@media screen and (max-width: 850px) {
    .nomobile {
        display: none;
    }
    .mobilefont {
        font-size: 80%;
    }
    .mobile_sprite,
    .mobile_text {
        transform: scale(0.75);
    }
}
 
.hover_img_special {
    top: 0;
    left: 0;
    display: none;
}
 
.img_special:hover .hover_img_special {
    display: inline;
}
 
.img_special:hover .img_spec {
    display: none;
}
}


/** MultimediaViewer tweaks **/
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
/* MMV text colors */
    border-color: #fc3;
.mw-mmv-above-fold,
    background-color: #fef6e7;
.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;
}
}
/* MMV file info */
 
.mw-mmv-above-fold {
html body.mediawiki .mbox-small {
background: #222;
    clear: right;
border-top: 1px solid #333;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
}
.mw-mmv-image-metadata {
 
background-color: #111;
.messagebox.small {
border-color: #333;
    width: 238px;
    font-size: 85%;
    float: right;
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
}
/* MMV options popup */
 
.mw-mmv-dialog {
.messagebox.small-talk {
border: 1px solid #333;
    width: 238px;
background: #222;
    font-size: 85%;
box-shadow: none;
    float: right;
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background-color: #f8eaba;
}
}
.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
 
background: #222;
.infobox {
border-bottom: 1px solid #333;
    border: 1px solid #a2a9b1;
border-right: 1px solid #333;
    background-color: #f8f9fa;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: right;
    font-size: 88%;
    line-height: 1.5em;
    width: 22em;
}
}
.mw-mmv-options-enable-alert {
 
background: #333;
.infobox-header,
color: #e0e0e0;
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
    vertical-align: top;
}
}
/* MMV buttons on file page */
 
.mw-mmv-filepage-buttons .mw-ui-button {
.infobox-label,
background: #36c;
.infobox-data,
color: #e0e0e0;
.infobox th,
border-color: #1d4699;
.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;
}
}


.mw-default-size {
.mw-default-size {
background-color: #21212600 !important;
    background-color: #21212600 !important;
border-color: black !important;
    border-color: black !important;
}
}


.mw-default-size img {
.mw-default-size img {
border-color: black !important;
    border-color: black !important;
}
}


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


.mw-halign-right img {
.mw-halign-right img {
border-color: black !important;
    border-color: black !important;
}
}


.mw-halign-right figcaption {
.mw-halign-right figcaption {
background-color: #27272E00 !important;
    background-color: #27272E00 !important;
border-color: black !important;
    border-color: black !important;
}
}
.mw-halign-left {
.mw-halign-left {
background-color: #27272E00 !important;
    background-color: #27272E00 !important;
border-color: black !important;
    border-color: black !important;
}
}


.mw-halign-left img {
.mw-halign-left img {
border-color: black !important;
    border-color: black !important;
}
}


.mw-halign-left figcaption {
.mw-halign-left figcaption {
background-color: #27272E00 !important;
    background-color: #27272E00 !important;
border-color: black !important;
    border-color: black !important;
}
}
.mw-halign-center {
.mw-halign-center {
background-color: #27272E00 !important;
    background-color: #27272E00 !important;
border-color: black !important;
    border-color: black !important;
}
}


.mw-halign-center img {
.mw-halign-center img {
border-color: black !important;
    border-color: black !important;
}
}


.mw-halign-center figcaption {
.mw-halign-center figcaption {
background-color: #27272E00 !important;
    background-color: #27272E00 !important;
border-color: black !important;
    border-color: black !important;
}
 
th.navbox-group {
    white-space: nowrap;
    text-align: right;
}
 
.mw-parser-output .mw-collapsible-toggle {
    font-weight: normal;
    text-align: right;
}
 
td.mbox-image {
    border: none;
    padding: 2px 0 2px 0.9em;
    text-align: center;
}
}
/* Фон референсов. Теперь НЕ белые при нажатии */
 
.reference {
td.mbox-imageright {
background-color: #27272E00 !important;
    border: none;
    padding: 2px 0.9em 2px 0;
    text-align: center;
}
}
ol.references li:target,sup.reference:target {
 
     background-color: #303037 !important;
#p-namespaces {
    float: left;
     width: 100%;
}
}
.oo-ui-inputWidget-input {
 
background-color: #27272e !important;
p {
border: #37373e !important;
    margin-bottom: 1.5em;
color: #ffffff !important;
}
 
.infobox-table {
    z-index: 3 !important;
    width: 400px;
    max-width: 100%;
    margin-bottom: 1rem;
    padding-bottom: 20px !important;
    background: hsl(205, 25%, 15%);
    border-radius: 8px;
    border-spacing: 0;
    font-size: 0.875rem;
    text-align: left;
}
 
.infobox-table tr:not(#infobox-table-img-bg) {
    display: flex;
    margin-top: 10px;
}
 
.infobox-table th,
.infobox-table td {
    padding: 0 15px !important;
}
 
.infobox-table th,
th.infobox-table-name {
    color: hsl(205, 80%, 95%);
}
 
.infobox-table th {
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    text-align: left !important;
}
}
.mw-search-profile-tabs {
 
background-color: #27272e !important;
th.infobox-table-name {
border: #37373e !important;
    padding-top: 0 !important;
    border: 0 !important;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.4rem !important;
    line-height: 1.4;
}
}
.search-types .current a {
 
     color: #d3d3d3 !important;
.infobox-table-img img {
     cursor: default !important;
     max-width: 100%;
     height: auto !important;
}
}
.mw-message-box-error {
 
     background-color: #7b1919 !important;
.infobox-table-img img[src$='.svg'] {
    border-color: #af2424 !important;
     background: #eaecf0;
}
}
.mw-message-box-warning {
 
     background-color: #7b6919 !important;
.infobox-table .image:hover img {
    border-color: #af9a24 !important;
     transform: scale(1.1);
}
}
#mw-header-nav-hack {
 
    border-top: solid 2px #212126 !important;
.infobox-button {
     display: block;
     display: block;
    width: 100%;
}
.infobox-button > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media only screen and (max-width: 720px) {
    .infobox-table {
        margin-right: auto;
        margin-left: auto;
    }
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/*Данте страница*/
body.page-Участник_Дantes {
    font-family: 'Consolas', 'Courier New', monospace;
    background-color: #0f0f0f;
    color: #e0e0e0;
    overflow-x: hidden;
}
.glitch-text {
    position: relative;
    color: #ffcc00;
    text-align: center;
    animation: glitch 1.5s infinite;
    font-size: 1.8em;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
@keyframes glitch {
    0% { text-shadow: 2px 2px #ff0000, -2px -2px #00ffff; }
    25% { text-shadow: -2px 2px #00ff00, 2px -2px #ff00ff; }
    50% { text-shadow: 2px -2px #ff0000, -2px 2px #00ffff; }
    75% { text-shadow: -2px -2px #ff00ff, 2px 2px #00ff00; }
    100% { text-shadow: 2px 2px #ff0000, -2px -2px #00ffff; }
}
.nt-dossier {
    margin: 20px auto;
    max-width: 600px;
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border: 1px solid #ffcc00;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255,204,0,0.4);
    position: relative;
    padding-bottom: 20px;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}
.nt-dossier-table {
    width: 100%;
    border-collapse: collapse;
}
.nt-dossier-table th, .nt-dossier-table td {
    padding: 12px;
    border-bottom: 1px solid #444;
}
.nt-dossier-table th {
    background: #2c2c2c;
    color: #ffcc00;
    width: 40%;
    text-align: left;
    transition: background 0.3s;
}
.nt-dossier-table th:hover {
    background: #333;
}
.scan-row {
    opacity: 0;
    transform: translateX(-20px);
    transition: transform 0.6s ease-out, background-color 0.6s ease-out;
}
.scan-row.visible {
    opacity: 1;
    transform: translateX(0);
}
.threat {
    color: #ff4444;
    font-weight: bold;
    animation: blink 1s infinite alternate;
    text-transform: uppercase;
}
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
.status-indicator {
    width: 16px;
    height: 16px;
    background: #ff4444;
    border-radius: 50%;
     position: absolute;
     position: absolute;
     z-index: 98;
     bottom: 12px;
     background: #212126 !important;
    right: 12px;
     width: 100%;
    animation: pulse 1.5s infinite;
}
 
@keyframes pulse {
    0% { box-shadow: 0 0 5px #ff4444; transform: scale(1); }
     50% { box-shadow: 0 0 15px #ff0000; transform: scale(1.3); }
     100% { box-shadow: 0 0 5px #ff4444; transform: scale(1); }
}
 
.nt-tabs {
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    animation: fadeIn 1.2s forwards;
    opacity: 0;
}
}
.ui-widget-overlay {
 
     background: #000000 !important;
.nt-tab {
     opacity: .3 !important;
    display: inline-block;
     background: #2c2c2c;
    border: 1px solid #444;
    color: #ffcc00;
    padding: 10px 16px;
    cursor: pointer;
     margin: 0 6px;
    border-radius: 6px;
    user-select: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
}
.ui-widget-content {
 
     border: 1px solid #4a4a57 !important;
.nt-tab.active {
     background: #212126 !important;
     background: #444;
     color: #e0e0e0 !important;
     border-color: #ffcc00;
     box-shadow: 0 0 10px #ffcc00 inset;
}
}
.ui-widget-header {
 
    border: 1px solid #4a4a57 !important;
.nt-tab:hover {
     background: #212126 !important;
     background: #555;
     color: #e0e0e0 !important;
     transform: scale(1.05);
    font-weight: bold !important;
}
}
#wikieditor-toolbar-file-target,
 
#wikieditor-toolbar-file-caption,
.nt-tab-content {
#wikieditor-toolbar-file-alt {
    display: none;
     width: 100% !important;
    max-width: 600px;
     background-color: #27272e !important;
    margin: 15px auto;
     color: #e0e0e0 !important;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 10px;
    animation: fadeIn 0.5s forwards;
    opacity: 0;
}
 
.nt-tab-content.active {
     display: block;
     opacity: 1;
}
 
@keyframes fadeIn {
     to { opacity: 1; }
}
}
.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
 
    box-sizing: border-box !important;
@media (prefers-reduced-motion: reduce) {
    background-color: #27272e !important;
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
     color: #e0e0e0 !important;
  .job_header .header-title,
  .job_header .sprite-container {
     animation: none !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;
:root{
  --cf-federation-color:#6e0e0e;
  --cf-confederation-color:#0c0361;
  --cf-sssp-color:#801828;
  --cf-minor-color:#07520b;
  --cf-corp-color:#0e2847;
  --cf-bg-card:#1e1e1e;
  --cf-text-light:#f0f0f0;
  --cf-text-muted:#a0a0a0;
}
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
 
    border: 1px solid #4a4a57 !important;
/* Структура карточек фракций (префикс cf- чтобы не ломать сайт) */
    background: #27272e !important;
.cf-page-header{ text-align:center; margin-bottom:20px; padding:6px 10px; }
    font-weight: normal !important;
.cf-factions-wrapper{ display:flex; flex-direction:column; gap:18px; max-width:1400px; margin:0 auto; padding:6px; box-sizing:border-box; }
    color: #e0e0e0 !important;
 
.cf-faction-category{ width:100%; }
.cf-category-title{ font-size:1.6rem; margin:6px 0 12px; padding-bottom:6px; border-bottom:2px solid; text-align:center; }
 
.cf-cards-row{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
 
.cf-faction-card{ background-color:var(--cf-bg-card); border-radius:10px; overflow:hidden; width:100%; max-width:520px; box-shadow:0 6px 14px rgba(0,0,0,0.45); transition:transform .22s ease, box-shadow .22s ease; }
.cf-faction-card:hover{ transform:translateY(-6px); box-shadow:0 14px 26px rgba(0,0,0,0.6); }
 
.cf-card-header{ padding:14px 16px; text-align:center; position:relative; }
.cf-card-header::after{ content:''; position:absolute; bottom:6px; left:8%; width:84%; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.08),transparent); }
 
.cf-card-logo{ display:block; margin:0 auto 10px; max-width:240px; max-height:120px; }
.cf-card-title{ font-size:1.25rem; margin:0; font-weight:700; color:var(--cf-text-light); }
 
.cf-card-content{ padding:14px 16px; color:var(--cf-text-light); }
.cf-faction-desc{ font-size:0.95rem; color:var(--cf-text-muted); line-height:1.45; }
 
/* Цвета для типов */
.cf-federation{ border-top:5px solid var(--cf-federation-color); }
.cf-federation .cf-card-header{ background:linear-gradient(90deg,#6e0e0e 0%, #470303 100%); }
 
.cf-confederation{ border-top:5px solid var(--cf-confederation-color); }
.cf-confederation .cf-card-header{ background:linear-gradient(90deg,#0c0361 0%, #0a034a 100%); }
 
.cf-sssp{ border-top:5px solid var(--cf-sssp-color); }
.cf-sssp .cf-card-header{ background:linear-gradient(90deg,#801828 0%, #4f121b 100%); }
 
.cf-minor-states{ border-top:5px solid var(--cf-minor-color); }
.cf-minor-states .cf-card-header{ background:linear-gradient(90deg,#07520b 0%, #032b05 100%); }
 
.cf-corporations{ border-top:5px solid var(--cf-corp-color); }
.cf-corporations .cf-card-header{ background:linear-gradient(90deg,#0e2847 0%, #081524 100%); }
 
/* Адаптивность */
@media (max-width:900px){
  .cf-card-logo{ max-width:180px; max-height:100px; }
  .cf-faction-card{ max-width:100%; }
  .cf-cards-row{ gap:10px; }
}
}
.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;
.wikitable.mw-collapsible th {
    font-weight: normal !important;
  width: 100vw;
    color: #e0e0e0 !important;
}
}
body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
 
right: 0.9em !important;
/* СМ:Главная - начало ---------------------------------------------------------- */
background: #4c4c59 !important;
.scmc-page {
    max-width: 1180px;
    margin: 0 auto;
}
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
 
padding: 0 !important;
.scmc-hero {
background: #6c6c80 !important;
    text-align: center;
    padding: 34px 18px 28px;
}
}
ul#filetoc,.toc,.toccolours,.mw-warning {
 
        display: table !important;
.scmc-hero-row {
        background-color: #27272e !important;
    display: flex;
        border: solid #37373e !important;
    align-items: center;
        border-width: 1px 1px 0.2em !important;
    justify-content: center;
        box-shadow: 0 1px 2px 1px rgb(0 0 0 / 2%) !important;
    gap: 18px;
        padding: 1.25em 1.75em !important;
    max-width: 880px;
        margin-top: 1em !important;
    margin: 0 auto 14px;
        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;
.scmc-logo {
     background-color: #1b1b1f !important;
    display: flex;
     border-color: #1b1b1f !important;
    align-items: center;
     color: white !important;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
     margin: 0;
     padding: 0;
     border: 0;
    background: transparent;
     box-shadow: none;
}
}
.diff-deletedline .diffchange {
 
     background: #4c3c16 !important;
.scmc-logo img {
     max-width: 86px;
    max-height: 86px;
    height: auto;
}
}
.diff-addedline .diffchange {
 
     background: #16324d !important;
.scmc-title {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
     background: transparent;
    box-shadow: none;
    color: #f2f4f7;
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 4px #000;
}
}
.mw-json th,.mw-json td {
 
     border: 1px solid #000000;
.scmc-subtitle {
    max-width: 780px;
    margin: 0 auto;
     color: #c7ced8;
     font-size: 16px;
     font-size: 16px;
     padding: 0.5em 1em
     line-height: 1.65;
}
}


.mw-json tr {
.scmc-divider {
     background-color: #212126;
    border-bottom: 2px solid rgba(169,169,169,.65);
     margin-bottom: 0.5em
    margin: 20px 0 26px;
}
 
.scmc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
 
.scmc-wide {
    display: grid;
    grid-template-columns: 1.25fr .9fr 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}
 
.scmc-card {
    border: 1px solid rgba(120,140,155,.22);
    border-radius: 10px;
    background: rgba(12,16,21,.78);
    overflow: hidden;
    min-height: 0;
}
 
.scmc-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(120,140,155,.18);
     background: rgba(24,29,36,.72);
    color: #f2f4f7;
    font-size: 17px;
    font-weight: 800;
}
 
.scmc-card-body {
    padding: 14px;
    color: #c7ced8;
    line-height: 1.6;
    min-height: 0;
}
 
.scmc-card-body p {
    margin: 0 0 12px;
}
 
.scmc-card-body p:last-child {
     margin-bottom: 0;
}
 
.scmc-card-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}
 
.scmc-card-icon img {
    max-width: 28px;
    max-height: 28px;
}
 
.scmc-link-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}
 
.scmc-link-list li {
    margin: 0;
}
 
.scmc-link-list a,
.scmc-link-list a:visited {
    display: block;
    padding: 8px 10px;
    border: 1px solid rgba(120,140,155,.16);
    border-radius: 7px;
    background: rgba(18,23,29,.58);
    color: #dce8f2 !important;
    font-weight: 650;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease;
}
 
.scmc-link-list a:hover {
    background: rgba(28,36,45,.78);
    border-color: rgba(128,178,210,.38);
    text-decoration: none !important;
}
 
.scmc-note {
    margin-top: 10px;
    border-left: 3px solid rgba(128,178,210,.62);
    background: rgba(18,28,36,.54);
    border-radius: 7px;
    padding: 10px 12px;
    color: #d4dde6;
}
 
.scmc-muted {
    color: #9faab6;
    font-size: 14px;
}
 
.scmc-card-marines {
    border-color: rgba(130,155,95,.34);
}
 
.scmc-card-marines .scmc-card-head {
    background: linear-gradient(90deg, rgba(38,52,31,.92), rgba(22,29,20,.78));
    border-bottom-color: rgba(130,155,95,.35);
}
 
.scmc-card-marines .scmc-link-list a {
    border-left: 4px solid #8c9b63;
    background: rgba(28,40,24,.58);
}
 
.scmc-card-marines .scmc-link-list a:hover {
    background: rgba(38,54,31,.78);
    border-color: rgba(140,155,99,.50);
}
 
.scmc-card-xenos {
    border-color: rgba(154,99,176,.34);
}
 
.scmc-card-xenos .scmc-card-head {
    background: linear-gradient(90deg, rgba(58,36,66,.92), rgba(26,20,31,.78));
    border-bottom-color: rgba(154,99,176,.35);
}
 
.scmc-card-xenos .scmc-link-list a {
    border-left: 4px solid #9a63b0;
    background: rgba(42,23,52,.58);
}
 
.scmc-card-xenos .scmc-link-list a:hover {
    background: rgba(55,31,68,.78);
    border-color: rgba(154,99,176,.50);
}
 
.scmc-card-rules .scmc-card-head {
    background: linear-gradient(90deg, rgba(46,50,58,.90), rgba(24,28,34,.78));
}
 
.scmc-card-reference .scmc-card-head {
    background: linear-gradient(90deg, rgba(35,45,56,.90), rgba(20,25,31,.78));
}
 
.scmc-card-lore .scmc-card-head {
    background: linear-gradient(90deg, rgba(46,38,31,.90), rgba(24,21,18,.78));
}
 
.scmc-card-about .scmc-card-head {
    background: linear-gradient(90deg, rgba(28,31,36,.90), rgba(18,20,24,.78));
}
 
.scmc-card-rules .scmc-link-list a,
.scmc-card-reference .scmc-link-list a,
.scmc-card-lore .scmc-link-list a {
    white-space: nowrap;
}
 
.scmc-footerline {
    margin-top: 22px;
    padding-top: 12px;
    border-top: 1px solid rgba(120,140,155,.18);
    color: #98a6b5;
    font-size: 13px;
    text-align: center;
}
}


.mw-json th {
.scmc-page a.external {
     background-color: #303037;
     background-image: none !important;
     font-weight: normal;
     padding-right: 0 !important;
    vertical-align: top;
    color:#d3d3d3;
}
}


.mw-json th span {
.scmc-page a.external::after {
     -webkit-position: sticky;
     content: none !important;
    position: sticky;
    top: 0.5em
}
}


.mw-json-value,.mw-json-single-value {
@media screen and (max-width: 1050px) {
     background-color: #1b5929;
    .scmc-grid {
     font-family: monospace,monospace;
        grid-template-columns: repeat(2, minmax(0, 1fr));
     white-space: pre-wrap;
    }
     color:#d3d3d3;
 
    .scmc-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
 
     .scmc-card-rules .scmc-link-list a,
     .scmc-card-reference .scmc-link-list a,
     .scmc-card-lore .scmc-link-list a {
        white-space: normal;
     }
}
}
.mw-json-empty {
 
     background-color: #1b5929;
@media screen and (max-width: 700px) {
     font-style: italic;
    .scmc-page {
     color:#d3d3d3;
        max-width: 100%;
    }
 
    .scmc-hero {
        padding: 24px 10px 22px;
    }
 
    .scmc-hero-row {
        gap: 10px;
        max-width: 100%;
    }
 
    .scmc-logo img {
        max-width: 54px;
        max-height: 54px;
    }
 
     .scmc-title {
        font-size: 34px;
        letter-spacing: .06em;
     }
 
    .scmc-subtitle {
        font-size: 14px;
        line-height: 1.55;
     }
 
    .scmc-grid,
    .scmc-wide {
        grid-template-columns: 1fr;
    }
 
    .scmc-card-head {
        font-size: 16px;
    }
}
}
.hover_img_special {
 
     top: 0;
.scmc-guide-grid {
     left: 0;
     display: grid;
     display: none
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
     gap: 12px;
     align-items: stretch;
}
}


.img_special:hover .hover_img_special {
.scmc-guide-grid > p {
     display: inline;
     display: contents;
}
}


.img_special:hover .img_spec {
.scmc-guide-grid a,
     display: none;
.scmc-guide-grid a:visited {
     display: block;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}
}
.ace-tm .ace_gutter {
 
  background: #212126;
.scmc-guide-button {
  color: #333;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    min-height: 150px;
    padding: 14px;
    border: 1px solid rgba(120,140,155,.22);
    border-radius: 8px;
    background: rgba(12,16,21,.78);
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}
}


.ace-tm .ace_print-margin {
.scmc-guide-button:hover {
  width: 1px;
    transform: translateY(-3px);
  background-color: #1b1b1f;
    background: rgba(18,24,31,.92);
    text-decoration: none !important;
}
}
.ace-tm {
 
  background-color: #1b1b1f;
.scmc-guide-title {
  color: lightgrey;
    display: block;
    margin-bottom: 10px;
    color: #dce3ea;
    font-size: 18px;
    font-weight: 800;
}
}
.ace-tm .ace_cursor {
 
  color: white;
.scmc-guide-desc {
    display: block;
    color: #c7ced8;
    font-size: 15px;
    line-height: 1.55;
}
}
.ace-tm .ace_storage,
 
.ace-tm .ace_keyword {
.scmc-guide-button:hover .scmc-guide-desc {
  color: rgb(153, 153, 255);
    color: #e1e7ee;
}
}


.ace-tm .ace_constant.ace_numeric {
.scmc-guides-start .scmc-guide-title {
  color: rgb(153, 153, 205);
    color: #dce3ea;
}
}
.ace-tm .ace_constant {
 
  color: rgb(241, 89, 92);
.scmc-guides-start .scmc-guide-button:hover {
    border-color: rgba(170,185,198,.48);
    box-shadow: 0 0 14px rgba(170,185,198,.16);
}
}
.ace-tm .ace_support.ace_function {
 
  color: rgb(68, 118, 235);
.scmc-guides-engineer .scmc-card-head {
    background: linear-gradient(90deg, rgba(66,56,26,.92), rgba(34,29,18,.78));
}
}
.ace-tm .ace_support.ace_constant {
 
  color: rgb(23, 202, 33);
.scmc-guides-engineer .scmc-guide-title {
    color: #e6c65a;
}
}
.ace-tm .ace_support.ace_type,
 
.ace-tm .ace_support.ace_class {
.scmc-guides-engineer .scmc-guide-button:hover {
  color: rgb(182, 187, 236);
    border-color: rgba(230,198,90,.52);
    box-shadow: 0 0 14px rgba(230,198,90,.18);
}
}
.ace-tm .ace_string {
 
  color: rgb(6, 142, 13);
.scmc-guides-support .scmc-card-head {
    background: linear-gradient(90deg, rgba(68,38,28,.92), rgba(32,24,21,.78));
}
}
.ace-tm .ace_comment {
 
  color: rgb(103, 193, 150);
.scmc-guides-support .scmc-guide-title {
    color: #e28b5b;
}
}
.ace-tm .ace_constant.ace_numeric {
 
  color: rgb(153, 153, 255);
.scmc-guides-support .scmc-guide-button:hover {
    border-color: rgba(226,139,91,.52);
    box-shadow: 0 0 14px rgba(226,139,91,.18);
}
}
.ace-tm .ace_marker-layer .ace_selection {
 
  background: rgb(28, 45, 68);
.scmc-guides-medical .scmc-card-head {
    background: linear-gradient(90deg, rgba(28,50,68,.92), rgba(19,29,38,.78));
}
}
.ace-tm .ace_marker-layer .ace_bracket {
 
  margin: -1px 0 0 -1px;
.scmc-guides-medical .scmc-guide-title {
  border: 1px solid rgb(94, 94, 94);
    color: #69b9df;
}
}
.ace-tm .ace_marker-layer .ace_active-line {
 
  background: rgb(153, 153, 183, 7%);
.scmc-guides-medical .scmc-guide-button:hover {
    border-color: rgba(105,185,223,.52);
    box-shadow: 0 0 14px rgba(105,185,223,.18);
}
}


.ace-tm .ace_gutter-active-line {
.scmc-map-grid {
     background-color: rgb(44,44,51)
     display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}
}
.ace-tm .ace_marker-layer .ace_selected-word {
 
  background: rgb(37, 59, 89);
.scmc-map-grid > p {
  border: 1px solid rgb(36, 36, 42);
    display: contents;
}
}
.codeEditor-status {
 
     clear: both;
.scmc-map-grid a,
.scmc-map-grid a:visited,
.scmc-map-grid a.external,
.scmc-map-grid a.external:visited {
     display: block;
     width: 100%;
     width: 100%;
     background-color: #212126;
    height: 205px;
     border-top: 1px solid #40404b;
    box-sizing: border-box;
     display: table;
    color: inherit !important;
    text-decoration: none !important;
     background-image: none !important;
     padding-right: 0 !important;
}
 
.scmc-map-grid a.external::after {
     content: none !important;
}
}
.codeEditor-status-message {
 
     border-left: 1px solid #40404b;
.scmc-map-card {
     border-right: 1px solid #40404b;
     position: relative;
     padding: 0 0.3em;
     display: flex;
     align-items: flex-end;
     width: 100%;
     width: 100%;
     display: table-cell;
     height: 205px;
    overflow: hidden;
    border: 1px solid rgba(120,140,155,.24);
    border-radius: 9px;
    background: rgba(12,16,21,.88);
    box-sizing: border-box;
    transition:
        border-color .22s ease,
        box-shadow .22s ease;
}
 
.scmc-map-card:hover {
    border-color: rgba(128,178,210,.55);
    box-shadow: 0 0 16px rgba(80,145,190,.22);
}
}
.ace_search {
 
     background-color: #212126;
.scmc-map-card::after {
     color: #d3d3d3;
     content: "";
     border: 1px solid #383843;
    position: absolute;
     border-top: 0 none;
     inset: 0;
     z-index: 1;
     border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.78)),
        linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.16));
    pointer-events: none;
    transition: background .22s ease;
}
 
.scmc-map-card:hover::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.88)),
        linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.24));
}
 
.scmc-map-card .mw-file-description,
.scmc-map-card .mw-file-element {
    display: block;
     overflow: hidden;
     overflow: hidden;
     margin: 0;
    border-radius: 9px;
     padding: 4px 6px 0 4px;
}
 
.scmc-map-card img.scmc-map-bg,
.scmc-map-card .scmc-map-bg img,
.scmc-map-card .scmc-map-bg .mw-file-element {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center center;
    border-radius: 9px;
    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        filter .22s ease;
}
 
.scmc-map-card:hover img.scmc-map-bg,
.scmc-map-card:hover .scmc-map-bg img,
.scmc-map-card:hover .scmc-map-bg .mw-file-element {
    transform: scale(1.025);
    filter: brightness(.88) saturate(1.06);
}
 
.scmc-map-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    width: 100%;
    padding: 14px;
    color: #f2f4f7;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 4px #000;
    box-sizing: border-box;
}
 
.scmc-map-subtitle {
    display: block;
    margin-top: 4px;
    color: #c7ced8;
    font-size: 13px;
    font-weight: 600;
}
 
.scmc-map-lore {
    position: fixed !important;
    top: 92px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2147483647 !important;
    display: none !important;
    width: min(1100px, calc(100vw - 80px)) !important;
    min-height: 42px;
    max-height: none !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    box-sizing: border-box;
    border: 1px solid rgba(128,178,210,.75);
    border-radius: 9px;
    background: rgba(25,28,35,.97);
    box-shadow: 0 0 32px rgba(0,0,0,.65);
    color: #eef3f8 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    text-align: left !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
}
 
.scmc-map-card:hover .scmc-map-lore {
    display: block !important;
}
 
@media screen and (max-width: 1050px) {
    .scmc-map-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
 
@media screen and (max-width: 700px) {
    .scmc-map-grid {
        grid-template-columns: 1fr;
    }
 
    .scmc-map-grid a,
    .scmc-map-grid a:visited,
    .scmc-map-grid a.external,
    .scmc-map-grid a.external:visited {
        height: 190px;
    }
 
    .scmc-map-card {
        height: 190px;
    }
 
    .scmc-map-lore {
        top: 72px !important;
        width: calc(100vw - 28px) !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
    }
}
 
.scmc-role-page {
     margin-top: 12px;
}
 
.scmc-role-lead {
    margin: 10px 0 14px 0;
     padding: 10px 12px;
    border-left: 4px solid #619CCD;
    background: rgba(18,23,29,.45);
    color: #dce8f2;
    line-height: 1.55;
    box-sizing: border-box;
}
 
.scmc-role-note {
    margin: 10px 0;
    padding: 9px 11px;
    border: 1px solid rgba(128,178,210,.22);
    border-radius: 8px;
    background: rgba(24,31,39,.52);
    color: #cbd6e2;
    box-sizing: border-box;
}
 
.scmc-role-warning {
    margin: 10px 0;
    padding: 9px 11px;
    border: 1px solid rgba(220,90,90,.25);
    border-radius: 8px;
    background: rgba(90,28,28,.18);
    color: #e7d6d6;
    box-sizing: border-box;
}
 
.scmc-role-gear {
    position: relative;
    z-index: 2;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}
 
.scmc-role-gear .nomobile {
    max-width: 100%;
}
 
.scmc-role-gear table {
    max-width: 100%;
}
 
.scmc-role-gear img {
    max-width: none;
}
 
.scmc-role-skills {
    max-width: 420px;
}
 
.scmc-role-skills th {
    background: #467843;
}
 
.scmc-role-skills td:last-child {
    width: 90px;
    text-align: center;
    font-weight: 700;
}
 
@media screen and (max-width: 700px) {
    .scmc-role-lead,
    .scmc-role-note,
    .scmc-role-warning {
        padding: 8px 10px;
    }
 
    .scmc-role-gear {
        overflow-x: auto;
    }
 
    .scmc-role-skills {
        width: auto;
        max-width: 100%;
    }
}
.scmc-hub {
    display: grid;
    gap: 14px;
    scroll-behavior: smooth;
}
 
.scmc-hub-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    clear: both !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 10px !important;
    border: 1px solid rgba(120,140,155,.16);
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 0%, rgba(128,178,210,.08), transparent 34%),
        linear-gradient(135deg, rgba(128,178,210,.04), transparent 56%),
        rgba(8,11,16,.50);
    box-shadow:
        inset 0 0 20px rgba(0,0,0,.18),
        0 10px 28px rgba(0,0,0,.12);
    box-sizing: border-box !important;
}
 
.scmc-hub-nav-item {
    --nav-accent: #8fc7ef;
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
 
.scmc-hub-nav-item a,
.scmc-hub-nav-item a:visited {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid color-mix(in srgb, var(--nav-accent) 34%, rgba(120,140,155,.18));
    border-radius: 10px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--nav-accent) 16%, transparent), transparent 72%),
        rgba(18,23,29,.70);
    color: #dce8f2 !important;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    box-shadow:
        inset 0 0 12px color-mix(in srgb, var(--nav-accent) 8%, transparent),
        0 0 0 rgba(0,0,0,0);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease,
        color .16s ease;
    box-sizing: border-box !important;
}
 
.scmc-hub-nav-item a::before {
    content: "";
    width: 7px;
    height: 7px;
    min-width: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--nav-accent);
    box-shadow: 0 0 8px color-mix(in srgb, var(--nav-accent) 70%, transparent);
}
 
.scmc-hub-nav-item a:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--nav-accent) 68%, rgba(128,178,210,.52));
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--nav-accent) 27%, transparent), transparent 76%),
        rgba(28,36,45,.94);
    color: #f2f4f7 !important;
    box-shadow:
        inset 0 0 14px color-mix(in srgb, var(--nav-accent) 12%, transparent),
        0 0 14px color-mix(in srgb, var(--nav-accent) 18%, transparent);
    text-decoration: none !important;
}
 
.scmc-hub-nav-command {
    --nav-accent: #5967bd;
}
 
.scmc-hub-nav-support {
    --nav-accent: #db7e53;
}
 
.scmc-hub-nav-engineering {
    --nav-accent: #e6c65a;
}
 
.scmc-hub-nav-medical {
    --nav-accent: #69b9df;
}
 
.scmc-hub-nav-police {
    --nav-accent: #ff5964;
}
 
.scmc-hub-nav-cargo {
    --nav-accent: #db7e53;
}
 
.scmc-hub-nav-marines {
    --nav-accent: #8c9b63;
}
 
.scmc-hub-nav-other,
.scmc-hub-nav-respondent {
    --nav-accent: #9faab6;
}
 
@media screen and (max-width: 900px) {
    .scmc-hub-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
 
@media screen and (max-width: 520px) {
    .scmc-hub-nav {
        grid-template-columns: 1fr !important;
        padding: 8px !important;
    }
 
    .scmc-hub-nav-item a,
    .scmc-hub-nav-item a:visited {
        min-height: 32px;
        font-size: 12px;
    }
}
 
.scmc-hub-dept {
    --hub-accent: #8c9b63;
    position: relative;
    border: 1px solid rgba(120,140,155,.22);
    border-left: 4px solid var(--hub-accent);
    border-radius: 12px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hub-accent) 12%, transparent), transparent 38%),
        rgba(12,16,21,.78);
    overflow: visible;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    scroll-margin-top: 16px;
}
 
.scmc-hub-dept::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    background:
        radial-gradient(circle at 16px 14px, color-mix(in srgb, var(--hub-accent) 22%, transparent), transparent 34%),
        linear-gradient(90deg, color-mix(in srgb, var(--hub-accent) 10%, transparent), transparent 42%);
    opacity: .75;
}
 
.scmc-hub-command {
    --hub-accent: #5967bd;
}
 
.scmc-hub-support,
.scmc-hub-cargo {
    --hub-accent: #db7e53;
}
 
.scmc-hub-engineering {
    --hub-accent: #e6c65a;
}
 
.scmc-hub-medical {
    --hub-accent: #69b9df;
}
 
.scmc-hub-police {
    --hub-accent: #ff5964;
}
 
.scmc-hub-marines {
    --hub-accent: #8c9b63;
}
 
.scmc-hub-other,
.scmc-hub-respondent {
    --hub-accent: #9faab6;
}
 
.scmc-hub-dept-head,
.scmc-hub-role-grid,
.scmc-guide-pack,
.scmc-hub-guide-split {
    position: relative;
    z-index: 1;
}
 
.scmc-hub-dept-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(120,140,155,.18);
    border-radius: 12px 12px 0 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--hub-accent) 24%, rgba(24,29,36,.92)), rgba(18,23,29,.78));
}
 
.scmc-hub-dept-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    min-width: 86px;
    height: 86px;
    border: 1px solid color-mix(in srgb, var(--hub-accent) 32%, rgba(120,140,155,.18));
    border-radius: 10px;
    background: rgba(8,11,16,.42);
    box-shadow: inset 0 0 18px color-mix(in srgb, var(--hub-accent) 14%, transparent);
}
 
.scmc-hub-dept-icon img {
    max-width: 86px;
    max-height: 86px;
    image-rendering: pixelated;
}
 
.scmc-hub-dept-info {
    min-width: 0;
}
 
.scmc-hub-dept-title {
    color: #f2f4f7;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 2px 4px #000;
}
 
.scmc-hub-dept-title a,
.scmc-hub-dept-title a:visited {
    color: #f2f4f7 !important;
    text-decoration: none !important;
}
 
.scmc-hub-dept-title a:hover {
    color: #8fc7ef !important;
}
 
.scmc-hub-dept-meta {
    margin-top: 6px;
    color: #c7ced8;
    font-size: 14px;
    line-height: 1.45;
}
 
.scmc-hub-role-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    align-items: stretch;
}
 
.scmc-hub-role-grid-2 .scmc-hub-role-card {
    flex-basis: 330px;
}
 
.scmc-hub-role-grid-3 .scmc-hub-role-card {
    flex-basis: 260px;
}
 
.scmc-hub-role-grid-4 .scmc-hub-role-card {
    flex-basis: 210px;
}
 
.scmc-hub-role-grid-5 .scmc-hub-role-card {
    flex-basis: 185px;
}
 
.scmc-hub-role-card {
    --card-glow: color-mix(in srgb, var(--hub-accent) 18%, transparent);
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: 150px auto;
    gap: 8px;
    flex-grow: 1;
    min-width: 175px;
    min-height: 100%;
    padding: 10px;
    border: 1px solid rgba(120,140,155,.18);
    border-radius: 10px;
    background: rgba(18,23,29,.62);
    box-sizing: border-box;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}
 
.scmc-hub-role-card:hover {
    z-index: 999999;
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--hub-accent) 58%, rgba(128,178,210,.42));
    background: rgba(24,31,39,.86);
    box-shadow: 0 0 18px var(--card-glow);
}
 
.scmc-hub-role-card[data-desc]:hover::after {
    content: attr(data-desc);
     position: absolute;
     position: absolute;
     top: 0;
    left: 50%;
     z-index: 99;
     top: calc(100% + 8px);
    transform: translateX(-50%);
     z-index: 2147483647;
    width: max-content;
    max-width: min(310px, calc(100vw - 40px));
    padding: 9px 11px;
    border: 1px solid color-mix(in srgb, var(--hub-accent) 55%, rgba(128,178,210,.45));
    border-radius: 8px;
    background: rgba(18,23,29,.98);
    color: #dce8f2;
    box-shadow: 0 14px 36px rgba(0,0,0,.62);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    pointer-events: none;
     white-space: normal;
     white-space: normal;
}
}
.ace_search_form.ace_nomatch {
 
     outline: 1px solid #922626;
.scmc-hub-role-card[data-desc]:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% + 3px);
    transform: translateX(-50%) rotate(45deg);
    z-index: 2147483647;
    width: 10px;
    height: 10px;
    background: rgba(18,23,29,.98);
    border-left: 1px solid color-mix(in srgb, var(--hub-accent) 55%, rgba(128,178,210,.45));
     border-top: 1px solid color-mix(in srgb, var(--hub-accent) 55%, rgba(128,178,210,.45));
    pointer-events: none;
}
 
.scmc-hub-role-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}
}
.ace_search_field {
 
     border-radius: 3px 0 0 3px;
.scmc-hub-role-image img {
     background-color: #27272e;
    max-width: 150px;
     color: #d3d3d3;
    max-height: 150px;
     border: 1px solid #383843;
    image-rendering: pixelated;
     border-right: 0 none;
    transition: transform .16s ease;
     outline: 0;
}
 
.scmc-hub-role-card:hover .scmc-hub-role-image img {
     transform: scale(1.035);
}
 
.scmc-hub-role-name {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dce8f2;
    font-weight: 850;
    line-height: 1.25;
     text-align: center;
}
 
.scmc-hub-role-name a,
.scmc-hub-role-name a:visited {
    color: #dce8f2 !important;
    text-decoration: none !important;
}
 
.scmc-hub-role-name a:hover {
     color: #8fc7ef !important;
}
 
.scmc-hub-role-desc {
    display: none !important;
}
 
.scmc-guide-pack {
    display: grid;
    gap: 7px;
    margin-top: 10px;
    padding: 10px;
     border: 1px solid color-mix(in srgb, var(--hub-accent) 20%, rgba(120,140,155,.16));
    border-radius: 10px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hub-accent) 9%, transparent), transparent 60%),
        rgba(8,11,16,.28);
}
 
.scmc-guide-pack-wide {
    margin: 0 12px 12px;
}
 
.scmc-guide-pack-title {
    color: #dce8f2;
    font-size: 13px;
    font-weight: 900;
     text-transform: uppercase;
    letter-spacing: .06em;
}
 
.scmc-guide-pack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
 
.scmc-guide-pack-list li {
     margin: 0;
     padding: 0;
     padding: 0;
     font-size: inherit;
}
 
.scmc-guide-pack-list a,
.scmc-guide-pack-list a:visited {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 8px;
    border: 1px solid rgba(120,140,155,.16);
    border-radius: 999px;
    background: rgba(18,23,29,.58);
    color: #cbd6e2 !important;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
}
 
.scmc-guide-pack-list a:hover {
    border-color: color-mix(in srgb, var(--hub-accent) 50%, rgba(128,178,210,.44));
    background: rgba(28,36,45,.82);
    color: #f2f4f7 !important;
    text-decoration: none !important;
}
 
.scmc-guide-pack-empty {
    color: #7f8d9b;
    font-size: 12px;
}
 
@media screen and (max-width: 760px) {
    .scmc-hub-dept-head {
        align-items: flex-start;
        padding: 12px;
    }
 
    .scmc-hub-dept-icon {
        width: 62px;
        min-width: 62px;
        height: 62px;
    }
 
    .scmc-hub-dept-icon img {
        max-width: 62px;
        max-height: 62px;
    }
 
    .scmc-hub-dept-title {
        font-size: 22px;
    }
 
    .scmc-hub-role-grid {
        padding: 10px;
    }
 
    .scmc-hub-role-card {
        grid-template-rows: 126px auto;
        min-width: 145px;
        flex-basis: 150px !important;
    }
 
    .scmc-hub-role-image {
        min-height: 126px;
    }
 
    .scmc-hub-role-image img {
        max-width: 126px;
        max-height: 126px;
    }
 
    .scmc-guide-pack-wide {
        margin: 0 10px 10px;
    }
}
 
@media screen and (max-width: 460px) {
    .scmc-hub-role-card {
        min-width: 100%;
        flex-basis: 100% !important;
    }
}
.scmc-hub,
.scmc-hub-dept,
.scmc-hub-role-grid {
    overflow: visible !important;
}
 
.scmc-hub-dept:hover {
    z-index: 9999;
}
 
.scmc-hub-role-grid {
    position: relative;
    z-index: 5;
}
 
.scmc-hub-role-card:hover {
    z-index: 1000000;
}
 
.scmc-hub-role-card[data-desc]:hover::after,
.scmc-hub-role-card[data-desc]:hover::before {
    z-index: 2147483647 !important;
}
 
.scmc-hub-role-image img,
.scmc-hub-role-image .mw-file-element {
    width: auto !important;
    height: 150px !important;
    max-width: 100% !important;
    max-height: 150px !important;
    object-fit: contain !important;
    image-rendering: pixelated;
}
 
/* Marine Corps Role Page Standard - начало */
 
.mcr-page {
    --mcr-bg: #0b0e13;
    --mcr-bg-soft: #10151d;
    --mcr-bg-head: #1e232b;
    --mcr-border: #2a3039;
    --mcr-border-soft: #202630;
    --mcr-text: #d6d6d6;
    --mcr-text-strong: #eeeeee;
    --mcr-text-muted: #aeb8c4;
    --mcr-link: #8fc7ef;
    max-width: 1180px;
    margin: 0 auto;
    color: var(--mcr-text);
     font-size: 15px;
    line-height: 1.6;
}
 
.mcr-page *,
.mcr-page *::before,
.mcr-page *::after {
    box-sizing: border-box;
}
 
.mcr-page a,
.mcr-page a:visited {
    color: var(--mcr-link);
}
 
.mcr-top-row {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 18px;
}
 
.mcr-main {
    flex: 1 1 auto;
    min-width: 0;
}
 
.mcr-role-card {
    float: none;
    clear: none;
    flex: 0 0 300px;
    width: 300px;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--mcr-border);
    border-radius: 6px;
    background: var(--mcr-bg);
}
 
.mcr-role-card-title,
.mcr-info-head,
.mcr-block-title {
     margin: 0;
     margin: 0;
     line-height: inherit;
    padding: 10px 12px;
     padding: 0 6px;
    border-bottom: 1px solid var(--mcr-border);
     min-width: 17em;
    background: var(--mcr-bg-head);
    color: var(--mcr-text-strong);
    font-weight: 600;
     line-height: 1.3;
}
 
.mcr-role-card-title {
    font-size: 17px;
    text-align: center;
}
 
.mcr-info-head,
.mcr-block-title {
    min-height: 43px;
     padding-right: 105px;
    font-size: 16px;
}
 
.mcr-role-card-image {
    display: grid;
     min-height: 155px;
    padding: 14px;
    place-items: center;
    background: #090c10;
}
 
.mcr-role-card-image img,
.mcr-role-card-image .mw-file-element {
    width: auto !important;
    height: auto !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: contain;
    image-rendering: pixelated;
}
 
.mcr-role-card-table,
.mcr-gear-table,
.mcr-skills-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: var(--mcr-bg);
}
 
.mcr-role-card-table th,
.mcr-role-card-table td {
    padding: 7px 9px;
    border-top: 1px solid var(--mcr-border-soft);
     vertical-align: top;
     vertical-align: top;
     min-height: 1.8em;
     font-size: 13px;
     box-sizing: content-box;
     line-height: 1.4;
}
}
.ace_searchbtn {
 
     border: 1px solid #383843;
.mcr-role-card-table th {
     line-height: inherit;
     width: 38%;
     display: inline-block;
     background: #141920;
     padding: 0 6px;
     color: var(--mcr-text-muted);
     background: #27272e;
     font-size: 12px;
     border-right: 0 none;
     font-weight: 600;
    border-left: 1px solid #383843;
     text-align: left;
    cursor: pointer;
}
    margin: 0;
 
    position: relative;
.mcr-role-card-table td {
     color: #d3d3d3;
     color: var(--mcr-text-strong);
}
}
.ace_searchbtn:last-child {
 
     border-radius: 0 3px 3px 0;
.mcr-quote {
     border-right: 1px solid #383843;
    display: block;
    overflow: hidden;
    margin: 8px 0 18px;
    padding: 10px 12px;
     border-left: 3px solid #536b8e;
     border-radius: 8px;
    background: var(--mcr-bg-soft);
    color: #d8dee9;
    font-style: italic;
}
}
.ace_searchbtn:hover {
 
     background-color: #1b1b1f;
.mcr-info-box,
.mcr-block {
    position: relative;
    clear: both;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid var(--mcr-border);
    border-radius: 6px;
     background: var(--mcr-bg);
}
}
.ace_searchbtn.prev:after{
 
    content: "";
.mcr-info-content {
    border: solid 2px #d3d3d3;
    padding: 14px;
    width: 0.5em;
    background: var(--mcr-bg);
    height: 0.5em;
    color: var(--mcr-text);
    border-width:  2px 0 0 2px;
    display:inline-block;
    transform: rotate(-45deg);
}
}
.ace_searchbtn.next:after{
 
    content: "";
.mcr-toggle-block {
    border: solid 2px #d3d3d3;
    position: relative;
    width: 0.5em;
    clear: both;
    height: 0.5em;
    margin: 18px 0;
    border-width:  2px 0 0 2px;
    overflow: hidden;
    display:inline-block;
    border: 1px solid var(--mcr-border);
    transform: rotate(135deg);
    border-radius: 6px;
    background: var(--mcr-bg);
}
}
.ace_button {
 
     margin-left: 2px;
.mcr-toggle-button {
     display: block;
    position: relative;
     cursor: pointer;
     cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
     user-select: none;
     user-select: none;
    text-decoration: none !important;
    padding-right: 86px;
}
.mcr-toggle-button h2,
.mcr-toggle-button .mw-headline {
    display: block;
    margin: 0 !important;
    padding: 0;
    border: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
    white-space: nowrap;
     overflow: hidden;
     overflow: hidden;
     opacity: 0.7;
     text-overflow: ellipsis;
    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;
.mcr-toggle-button .mw-editsection {
     opacity:1;
    position: absolute;
    top: 10px;
    right: 34px;
     margin: 0;
     font-size: 12px;
}
}
.ace_button:active {
 
     background-color: #101013;
.mcr-toggle-button::after {
     content: "▾";
    position: absolute;
    top: 11px;
    right: 10px;
    color: var(--mcr-text-muted);
    font-size: 14px;
    line-height: 1;
}
}


/* Скроллбар */
.mcr-toggle-content {
::-webkit-scrollbar {
    display: none;
     background-color:#424242;
}
 
.mcr-toggle-block.is-open .mcr-toggle-content {
    display: block;
}
 
.mcr-toggle-block.is-open .mcr-toggle-button::after {
    content: "▴";
}
 
.mcr-info-box.mw-collapsible .mcr-block-title,
.mcr-block .mcr-block-title {
    padding-right: 104px;
}
 
.mcr-info-box .mw-collapsible-toggle {
     position: absolute;
    top: 9px;
    right: 10px;
    z-index: 2;
    float: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
}
}
::-webkit-scrollbar-thumb {
 
     background-color: #686868;
.mcr-info-box .mw-collapsible-toggle a,
     border: 2px solid #424242;
.mcr-info-box .mw-collapsible-toggle a:visited {
     display: inline-block;
    padding: 3px 8px;
     border: 1px solid #3a424f;
     border-radius: 4px;
     border-radius: 4px;
    background: #11161d;
    color: var(--mcr-text-muted) !important;
    text-decoration: none !important;
}
}
::-webkit-scrollbar-thumb:hover {
 
     background-color: #7b7b7b;
.mcr-info-box .mw-collapsible-toggle a:hover,
.mcr-info-box .mw-collapsible-toggle a:focus {
     border-color: #566171;
    background: #171d26;
    color: var(--mcr-text-strong) !important;
}
}
::-webkit-scrollbar-thumb:active {
 
     background-color: #a1a1a1;
.mcr-info-subtitle {
    margin: 14px 0 7px;
    color: var(--mcr-text-strong);
    font-size: 17px;
     font-weight: 600;
}
}


/* Списки */
.mcr-gear-wrap,
.style-for-sub-numbered-lists ol {
.mcr-skills-wrap {
  counter-reset: item
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
}
}
.style-for-sub-numbered-lists li {
 
  display: block
.mcr-gear-table {
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
}
}
.style-for-sub-numbered-lists li:before {
 
  content: counters(item, ".") ". ";
.mcr-gear-table th,
  counter-increment: item;
.mcr-gear-table td,
.mcr-skills-table th,
.mcr-skills-table td {
    padding: 9px 10px;
    border: 1px solid var(--mcr-border-soft);
    vertical-align: middle;
    line-height: 1.45;
}
}


/* Flex table */
.mcr-gear-table th,
.section {
.mcr-skills-table th {
  display: flex;
    color: var(--mcr-text-strong) !important;
  flex-wrap: wrap;
    font-weight: 600;
    text-align: left;
}
}


.section .col {
.mcr-gear-table th {
  flex: 1 1 auto;
    background: #222630 !important;
}
}


.section .line-break {
.mcr-skills-table th {
  flex-basis: 100%;
    background: #314f34 !important;
  width: 0px;
  height: 0px;
  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 {
.mcr-gear-table td,
    color: #d3d3d3;
.mcr-skills-table td {
     background: #303037;
     background: var(--mcr-bg);
     border: solid #000000;
     color: var(--mcr-text);
     border-width: 1px 1px 0.2em;
     font-size: 14px;
    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;
.mcr-gear-table th:first-child,
     padding: 0.4em 0.5em
.mcr-gear-table td:first-child {
     width: 16%;
     text-align: center;
}
}


.mw-datatable th {
.mcr-gear-table th:nth-child(2),
     background: #212126;
.mcr-gear-table td:nth-child(2) {
     width: 44%;
}
}


.mw-datatable td {
.mcr-gear-table th:nth-child(3),
     background-color: #303037;
.mcr-gear-table td:nth-child(3) {
     width: 40%;
}
}


.mw-datatable tr:hover td {
.mcr-gear-table tr:nth-child(even) td,
     background-color: #3f3f48
.mcr-skills-table tr:nth-child(even) td {
     background: rgba(255, 255, 255, .025);
}
}


.pretoclip-copy-button {
.mcr-item {
     float: right;
    display: grid;
    gap: 6px;
    justify-items: center;
    color: var(--mcr-text-strong);
    font-weight: 400;
    line-height: 1.25;
     text-align: center;
}
}
.mw-scribunto-console-fieldset {
 
color: #d3d3d3;
.mcr-item img,
background: none;
.mcr-item .mw-file-element,
border: 3px solid #27272e;
.mcr-gear-table .sprite img,
.mcr-gear-table .sprite .mw-file-element {
    width: auto !important;
    height: auto !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain;
    image-rendering: pixelated;
}
}
.mw-scribunto-message {
 
     color: #008000;
.mcr-skills-block {
     background:none;
     width: 100%;
     max-width: 100%;
}
}
#mw-scribunto-input {
 
.mcr-skills-grid {
    display: block;
     width: 100%;
     width: 100%;
    border: 0;
    overflow: auto;
    background: #303037;
}
}


.mw-scribunto-input {
.mcr-skills-table {
     color: #d3d3d3;
     min-width: 0;
    font: inherit;
     width: 100%;
     font-weight: bold;
     table-layout: fixed;
     margin-top: 0.5em;
}
}


/*Блок ролей на странице "Роли"*/
.mcr-skills-block .mcr-info-content {
.table-flex {
    padding: 0;
display:flex;
flex-direction:row;
flex-wrap:wrap;
justify-content:space-evenly;
}
}
.boxes-flex {
 
  padding:0;
.mcr-gear-block .mcr-info-content {
  margin:5px 15px 5px 15px;
    padding: 0;
  text-align:center;
}
}
.role-big-title {
 
margin:0px;
.mcr-skills-table th:first-child,
text-align: center;
.mcr-skills-table td:first-child {
font-size: 40px;
    width: auto;
line-height:50px;
border-radius: 8px;
}
}
.role-block-radius {
 
border-radius: 8px
.mcr-skills-table td:last-child {
    width: 70px;
    color: var(--mcr-text-strong);
    text-align: center;
}
}
.role-block-name {
 
padding:2px;
/* Utility class for rows hidden explicitly in page markup. */
border-radius:.3em;
.mcr-skill-hidden {
margin-bottom:.2em;
    display: none !important;
}
}
.story-text {
 
text-indent: 19px;
.mcr-dash,
text-align: justify;
.mcr-neutral {
    color: #9aa4af;
}
}
.story-dialogue {
 
line-height:1.2
.mcr-good,
.mcr-armor {
    color: #5fd66f;
}
}
.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
 
     display: block;
.mcr-bad,
    position: relative;
.mcr-damage {
    margin: 0px 25%;
     color: #ff6464;
}
}
.mw-gallery-slideshow .gallerybox.slideshow-current {
 
     background: #28282e;
.mcr-warn,
.mcr-speed {
     color: #ffd166;
}
}
.gallerytext {
 
    overflow: hidden;
.mcr-info,
    font-size: 94%;
.mcr-note {
    padding: 2px 4px;
     color: #8fc7ef;
    word-wrap: break-word;
     text-align: center;
}
}
#content .gallerybox div.thumb {
 
     background-color: #f8f9fa00;
/* MediaWiki inserts this control directly into a collapsible container. */
.mcr-page .mw-collapsible-toggle {
     position: absolute;
    top: 9px;
    right: 10px;
    z-index: 2;
    float: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
}
}
.mw-body li.gallerybox div.thumb {
 
     background: #f8f9fa00;
.mcr-page .mw-collapsible-toggle a,
     border: solid #28282e;
.mcr-page .mw-collapsible-toggle a:visited {
     border-width: 1px 1px 0.2em;
     display: inline-block;
     padding: 1.25em 1.75em;
    padding: 3px 8px;
     box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
     border: 1px solid #3a424f;
     padding: 0;
     border-radius: 4px;
     background: #11161d;
     color: var(--mcr-text-muted) !important;
     text-decoration: none !important;
}
}
.title-no-bottom-border {
 
border-bottom: none !important
.mcr-page .mw-collapsible-toggle a:hover,
.mcr-page .mw-collapsible-toggle a:focus {
    border-color: #566171;
    background: #171d26;
    color: var(--mcr-text-strong) !important;
}
}
.title-top-border {
 
border-top: solid 2px #c8ccd1;
@media screen and (max-width: 760px) {
    .mcr-page {
        font-size: 14px;
    }
 
    .mcr-top-row {
        display: block;
    }
 
    .mcr-role-card {
        width: 100%;
        margin: 18px 0 0;
    }
 
    .mcr-role-card-image {
        min-height: 125px;
    }
 
    .mcr-role-card-image img,
    .mcr-role-card-image .mw-file-element {
        max-width: 125px !important;
        max-height: 125px !important;
    }
 
    .mcr-skills-block {
        width: 100%;
    }
 
    .mcr-info-head,
    .mcr-block-title {
        padding-right: 96px;
    }
}
}
/* Marine Corps Role Page Standard - конец */
/* СМ:Главаная - конец */

Текущая версия от 15:50, 19 июня 2026

/* Загрузка лого морпехов */
.second-mw-logo img.mw-logo-icon {
    object-fit: contain;
}

/*Химия*/
@media (max-width: 1280px) {
    .chem-heading {
        display: none;
    }
}
@media screen and (min-width: 1120px) {
    body.page-Тест .citizen-body-container {
        grid-template-areas: 'void header header' 'sidebar content toc' 'footer footer footer';
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
        max-width: none;
    }
}
.chem-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}
.chem-card {
    background-color: #121212;
    border: 3px solid var(--card-border, #444);
    border-radius: 12px;
    padding: 0;
    color: #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    overflow: hidden;
}
.chem-name-header {
    background-color: var(--card-accent);
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    padding: 14px 20px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    margin: 0;
}
.chem-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255,255,255,0.06);
    border-top: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
}
.chem-heading-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.heading-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--card-accent, #8cf);
}
.collapse-btn {
    border: 2px dotted #ffd700;
    padding: 2px 12px;
    border-radius: 9999px;
    font-size: 13px;
    color: #ffd700;
    background: rgba(0,0,0,0.3);
}
.collapsible {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
}
.collapsible.expanded {
    max-height: 3000px;
}
.chem-recipe-block,
.chem-effects-block {
    text-align: center;
}
.chem-recipe-steps,
.chem-effects {
    padding: 12px 16px 24px;
}
.recipe-variant-header {
    font-size: 15px;
    font-weight: 700;
    color: #ffd700;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,215,0,0.3);
    margin-bottom: 12px;
}
.chem-recipe {
    width: 100%;
    max-width: 780px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    box-sizing: border-box;
}
.recipe-inputs,
.recipe-outputs {
    flex: 1 1 280px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.recipe-action {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}
.recipe-action-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.recipe-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 12px;
    border-left: 4px solid var(--card-accent, #8cf);
    white-space: normal;
    word-break: break-word;
}
.chem-reagent-icon,
.chem-beaker {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}
.action-sprite .chem-reagent-icon,
.action-sprite .chem-beaker {
    width: 46px;
    height: 46px;
}
.action-text {
    font-weight: 700;
    color: #ffd700;
    font-style: italic;
    font-size: 15px;
    line-height: 1.3;
}
.chem-effects .chem-effect-line {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.45;
    padding-left: 4px;
}
.chem-desc {
    margin: 12px 16px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border-left: 4px solid var(--card-accent, #8cf);
    font-size: 14px;
    color: #aaa;
}
@media (max-width: 1024px) {
    .chem-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .chem-cards-container {
        grid-template-columns: 1fr;
    }
    .chem-recipe {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        max-width: 100%;
        padding: 0 12px;
    }
    .recipe-action {
        flex: 0 0 auto;
        min-width: auto;
    }
}
/*Химия*/















/*=Блок лора=*/
/*Хронолония */
.timeline {
    width: 100%;
    margin: 20px 0;
    background-color: transparent;
}

.timeline-entry {
    padding: 10px;
    border-bottom: 1px solid #555;
    background-color: var(--timeline-entry-bg, #333);
}

.timeline-header {
    font-size: 18px;
    font-weight: bold;
    color: var(--timeline-header-color, #fff);
    cursor: pointer;
}

.timeline-content {
    padding: 10px;
    font-size: 16px;
    color: var(--timeline-content-color, #ddd);
    background-color: var(--timeline-content-bg, #444);
    display: none;
}

.timeline-entry:nth-child(even) {
    background-color: var(--timeline-entry-bg-even, #222);
}

.timeline-entry:hover {
    background-color: var(--timeline-entry-bg-hover, #555);
}

.timeline-entry a {
    color: var(--timeline-link-color, #ff9800);
    text-decoration: none;
}

.timeline-entry a:hover {
    text-decoration: underline;
}

/*=Таблица планет=*/
.planets-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
}

.planets-table {
  width: 100%; 
  max-width: 150%; 
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(to bottom, #0d1117, #161b22);
  border: 1px solid #5a5a5a;
  border-radius: 12px;
  color: #b0b0b0;
  overflow: hidden;
}

.planets-table th {
  background-color: #3a3a3a;
  color: #dcdcdc;
  text-align: center;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #5a5a5a;
}

.planets-table td {
  text-align: center;
  padding: 12px;
  font-size: 16px;
  border-top: 1px solid #5a5a5a;
}

.planets-table td img {
  border-radius: 50%;
  margin: 10px 0;
  width: 80px;
  height: 80px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.planets-table tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

.planets-table tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

.planets-table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.planets-table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.planets-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

.planets-table tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.06);
}

.planets-table th:nth-child(2),
.planets-table td:nth-child(2) {
  text-align: center;
}

.planets-table caption {
  margin: 10px 0;
  font-size: 20px;
  font-weight: bold;
  color: #a0a0a0;
  text-align: left;
}

/*=Карточки планет=*/

.planets-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.planet-card {
  width: 220px;
  border: 2px solid #555;
  border-radius: 15px;
  overflow: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.planet-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #555;
  border-radius: 8px;
}

.planet-card h3 {
  font-size: 1.3em;
  margin: 15px 0 10px;
  color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.planet-card p {
  font-size: 1em;
  color: #ddd;
  margin: 0;
  line-height: 1.5;
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.planet-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

.planet-card .more-info {
  margin-top: 10px;
  padding: 5px;
  background-color: #ffcc00;
  color: #222;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.planet-card .more-info:hover {
  background-color: #ffaa00;
}

@media (max-width: 768px) {
  .planets-row {
    justify-content: center;
  }

  .planet-card {
    width: 90%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .planet-card {
    width: 100%;
  }
}

/*=Меню лора=*/
:root { --transition-duration: 0.4s; --primary-bg-color: #1c1c1c; --secondary-bg-color: #2c2c2c; --item-bg-color: #2e2e2e; --item-hover-bg-color: #444444; --border-color: #666; --text-color: #dcdcdc; --hover-text-color: #ffffff; --font-family: 'Arial', sans-serif; --menu-border-radius: 25px; --header-padding: 30px; --item-height: 180px; --icon-size: 72px; --text-font-size: 18px; } .custom-lore-menu { max-width: 1200px; margin: 30px auto; padding: 40px; border-radius: var(--menu-border-radius); background: linear-gradient(145deg, #1b1b1b, #252525); display: grid; grid-template-columns: 1fr; gap: 30px; font-family: var(--font-family); box-shadow: 0 10px 30px rgba(0,0,0,0.6); } .custom-header { text-align: center; background-color: var(--secondary-bg-color); padding: var(--header-padding); border-bottom: 2px solid var(--border-color); color: var(--text-color); font-size: 26px; font-weight: bold; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); } .custom-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; padding: 25px; justify-items: center; align-items: stretch; } .custom-item { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: var(--item-height); text-align: center; border: 1px solid var(--border-color); border-radius: 20px; background: linear-gradient(145deg, #2a2a2a, #333333); transition: transform var(--transition-duration), background var(--transition-duration), box-shadow var(--transition-duration); cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); } .custom-item:hover { background: linear-gradient(145deg, #3a3a3a, #555555); transform: scale(1.08); box-shadow: 0 10px 20px rgba(0,0,0,0.5); } .custom-item a { text-decoration: none; color: var(--text-color); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; transition: color var(--transition-duration), text-shadow var(--transition-duration); font-size: var(--text-font-size); font-weight: bold; } .custom-item a:hover { color: var(--hover-text-color); text-shadow: 0 0 8px #fff; } .custom-icon { width: var(--icon-size); height: var(--icon-size); margin-bottom: 12px; flex-shrink: 0; filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.7)); } @media (max-width: 768px) { .custom-lore-menu { padding: 20px; } .custom-links { grid-template-columns: 1fr; } .custom-item { height: auto; padding: 20px 10px; } .custom-item a { font-size: 16px; } }

/*=Блок лора=*/

/*=Блок лор Colonial marines=*/

body.page-Лор_СМ #siteSub,
body.page-Лор_СМ #contentSub,
body.page-Лор_СМ h1.firstHeading
{display:none !important}

.CMMainFigure {
  height: 130px;
  width: 575px;
  background: #292f2d;
  border-radius: 6px;
}

.CMMainText {
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  color: #a1a2a5;
  padding-top: 6px;
  padding-left: 9px;
}

.CMMainButton {
  height: 40px;
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}

.CMMainButton2 {
  transform: translate(190px,-94px);
  height: 40px;
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}

.CMMainButton3 {
  transform: translate(380px,-188px);
  height: 40px;
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}

.CMMainButtonText {
  display: inline-block;
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 7px;
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  color: white;
  text-decoration: none;
}

/*=Блок лора Маршалов CM=*/

body.page-Провост_Маршал .mw-page-title-main,
body.page-Провост_Маршал #siteSub,
body.page-Провост_Маршал .mw-body-header,
body.page-Провост_Маршал .citizen-header
{display:none !important}

body.page-Провост_Маршал .citizen-page-container
{background: rgb(20,24,31);
background: linear-gradient(90deg, rgba(20,24,31,1) 0%, rgba(40,11,15,1) 75%, rgba(82,0,0,1) 100%);}

.rectangleCM {
  width: 250px;
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(835px, 20px);
}

.rectangleCM2 {
  width: 250px;
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(835px, 30px);
}

.rectangleCM3 {
  width: 800px;
  height: 130px;
  background: #590000;
  position: relative;
  transform: translate(0px, -100px);
}

.rectangleCM4 {
  width: 1085px;
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(0px, -90px);
}

.rectangleCMTwo {
  width: 10px;
  height: 60px;
  background: #0087bd;
  position: relative;
  transform: translate(0px, -52px);
}

.rectangleCMTwo2 {
  width: 10px;
  height: 60px;
  background: #0087bd;
  position: relative;
  transform: translate(0px, -52px);
}

.classifieldCM {
  color: #bebebe;
  position: relative;
  transform: translate(15px, 5px);
  font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 0.75em;
  font-weight: 500;
}

.classifieldCMRisk {
  color: #bebebe;
  position: relative;
  transform: translate(17.5px, 6px);
  font-family: "Gill Sans", sans-serif;
  font-size: calc(11px +(12 - 8)*((100vw - 400px) /(800 - 400)));
  font-weight: bold;
}

.rectangleCMTwo3 {
  width: 10px;
  height: 130px;
  background: #ce0000;
  position: relative;
  transform: translate(0px, -79px);
}

.classifieldCM3 {
  color: #bebebe;
  position: relative;
  transform: translate(17.5px, 5px);
  font-family: Inter, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 0.9em;
  font-weight: 500;
}

.classifieldCMRisk3 {
  color: #bebebe;
  position: relative;
  transform: translate(20px, 21px);
  font-family: "Gill Sans", sans-serif; 
  font-size: 35px;
  font-weight: bold;
}

.triangle-bottomrightCM {
  width: 450px;
  height: 0;
  border-bottom: 130px solid #700;
  border-left: 100px solid transparent;
  position: relative;
  transform: translate(350px,-210px);
}

.MarshalsLogoCM {
  right: 0;
  bottom: 0;
  position: absolute;
}

/*=Не лор маршалов=*/
.hrCMLore {
  border: none;
  border-top: 1.5px solid #C6C3B5; /* Линия теперь будет красного цвета */
}

.second_block {
  display: none;
}

.imggg {
  float: right ;
}

.home-card:hover .second_block {
  display: block;
  font-family: "Gill Sans", sans-serif;
}

.divisionis {
  color: #C6C3B5;
  opacity: 1;
  text-align: center;
  font-family: system-ui;
  font-size: 30px;
}

.loreCMwelcom {
  color: #C6C3B5;
  opacity: 0.5;
  text-align: left;
  font-family: "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: lighter;
}

.loreCMwelcomWork {
  color: #C6C3B5;
  opacity: 0.75;
  text-align: left;
  font-family: "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: lighter;
}

.loreCMtext {
  color: white;
  text-align: left;
  font-family: system-ui;
  font-size: 30px;
  font-weight: bold;
}

.home-grid {
	display: grid;
	grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
	grid-auto-rows: minmax( 3rem, auto );
	grid-gap: calc(0.5 * 1rem);
  font-family: "Gill Sans", sans-serif;
}

.home-grid--col2 {
	grid-template-columns: 1fr 1fr;
}

.home-grid a.external {
	background-image: none;
}

.home-card {
	position: relative;
	padding: 1rem;
	background: hsl(220,25%,12%);
	border: 1px solid rgba(255,255,255,0.05);
	border-radius: 8px;
	box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.04 ), 0 3px 6px rgba( 0, 0, 0, 0.0575 );
	font-size: 0.875rem;
}

.home-card table.timeline {
	margin-top: 0.2rem;
}

.home-card--col2 {
	grid-column: span 2;
}

.home-card--row3 {
	grid-row: span 3;
}

.home-card--row4 {
	grid-row: span 4;
}

.home-card--row8 {
	grid-row: span 8 / auto;
}

.home-card__label {
	color: #72777d;
	font-size: 0.8125rem;
	letter-spacing: 0.75px;
}

.home-card__header {
	color: #202122;
	font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.home-card__header a {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.home-card__header a:after {
	content: '▶';
	font-size: 0.8125rem;
}

.home-card__background {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #242a31;
	border-radius: 8px;
}

.home-card__background:after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
}

.home-card__background picture,
.home-card__background img {
	width: 100%;
	height: 100%;
}

.home-card__background img {
	object-fit: cover;
	object-position: center;
}

.home-card__foreground {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: calc(0.25 * 1rem);
	color: #fff;
	line-height: 1.25;
}

.home-card__foreground .home-card__header {
	color: #fff;
}

.home-card__foreground .home-card__label {
	color: #bababa;
}

.home-card p {
	/* margin-top: calc(0.5 * 1rem); */
	margin-top: calc(0 * 1rem); 
	font-size: 0.875rem;
}

.home-card.home-card--button {
	overflow: hidden;
	padding: 0;
	background: #242a31;
	border: 0;
}


.home-card--button a {
	display: flex;
	height: 100%;
	justify-content: center;
	align-items: center;
	padding: 0 1rem;
	background: transparent;
	color: #fff;
	font-weight: 500;
}

.home-card--button--navigation a {
	/* display: flex; */
	display: contents;
	height: 100%;
	justify-content: center;
	align-items: center;
	padding: 0 1rem;
	background: transparent;
	color: #fff;
	font-weight: 500;
}

.home-card--button .home-card__background a {
	padding: 0;
}

.home-card--button img {
	transition: transform 0.2s ease;
}

.home-card--button:hover img {
	transform: scale(1.1);
}

.home-link {
	display: grid;
	margin-top: calc(0.5 * 1rem);
	font-size: 0.875rem;
	font-weight: 500;
	grid-gap: calc(0.5 * 1rem);
	text-align: center;
}

.home-link__button {
	display: flex;
}

.home-link__button a {
	flex-grow: 1;
	padding: calc(0.5 * 1rem);
	border: 1px solid rgba(255,255,255,0.05);
	background: hsl(220,25%,15%);
	border-radius: 8px;
	color: #fff !important;
    line-height: 1.25;
    text-decoration: none !important;
}

.home-link__button a:hover {
	background: hsl(220,30%,19%);
}

.home-link__button a:active {
	background: hsl(220,30%,11%);
}

#home-content {
	margin-top: calc(1.25 * 1rem);
}

.home-card .template-statsbar {
	margin: 0;
}

.home-footer {
	font-size: 0.8125rem;
	font-family: monospace;
	text-align: center;
}

#home-nav {
	margin-top: 1rem;
}

#home-nav .home-card__foreground {
    font-weight: 500;
}

/*------------------------------------------------Галерея-----------------------------------------------------------------------------*/
#ss-art-gallery.ss-wrap{ --ss-bg:#0e0f14; --ss-fg:#e9e9e9; --ss-muted:#a9b0bd; --ss-accent:#dca01b; --ss-card:#171a21; --ss-ring:#2b3241; --ss-chip:#1e2330; --ss-shadow:0 10px 28px rgba(0,0,0,.4); background:var(--ss-bg); color:var(--ss-fg); padding:20px; border-radius:18px; font-family:"Segoe UI",sans-serif }
#ss-art-gallery .ss-header{ display:flex; flex-direction:column; gap:10px; margin-bottom:20px; text-align:center }
#ss-art-gallery .ss-title{ font-size:30px; line-height:1.2; font-weight:700; color:var(--ss-accent) }
#ss-art-gallery .ss-sub{ font-size:15px; color:var(--ss-muted) }
#ss-art-gallery .ss-filters{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:10px }
#ss-art-gallery .ss-chip{ user-select:none; cursor:pointer; background:var(--ss-chip); padding:8px 14px; border-radius:999px; border:1px solid var(--ss-ring); box-shadow:var(--ss-shadow); font-size:13px; transition: transform .2s ease }
#ss-art-gallery .ss-chip:hover{ background:var(--ss-accent), background-color .2s ease }
#ss-art-gallery .ss-chip:hover{ background:var(--ss-accent); color:#000 }
#ss-art-gallery .ss-chip-active{ border-color:var(--ss-accent); background:var(--ss-accent); color:#000 }
#ss-art-gallery .ss-section{ margin:28px 0 }
#ss-art-gallery .ss-section-title{ font-size:22px; font-weight:700; margin:10px 0 18px; text-align:left; color:var(--ss-accent) }
#ss-art-gallery .ss-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(360px,1fr)); gap:24px; margin-top:12px }
#ss-art-gallery .ss-card{ background:var(--ss-card); border:1px solid var(--ss-ring); border-radius:16px; box-shadow:var(--ss-shadow); padding:16px; display:flex; flex-direction:column; gap:10px; transform:translateZ(0); transition:transform .2s ease,border-color .2s ease }
#ss-art-gallery .ss-card:hover{ transform:translateY(-4px); border-color:var(--ss-accent) }
#ss-art-gallery .ss-card-title{ font-size:16px; font-weight:600; color:var(--ss-muted); text-align:center }
#ss-art-gallery .ss-card img{ 
    width:auto!important; 
    height:auto!important; 
    max-width:100%; 
    border-radius:12px; 
    display:block; 
    margin:0 auto; 
    image-rendering: auto !important; /* убираем пикселизацию — включаем плавное масштабирование спрайтов */
}
#ss-art-gallery .ss-hidden{ display:none!important }
#ss-art-gallery .ss-modal{ position:fixed; inset:0; background:rgba(0,0,0,.88); display:none; align-items:center; justify-content:center; z-index:9999 }
#ss-art-gallery .ss-modal.open{display:flex}
#ss-art-gallery .ss-modal-inner{ max-width:92vw; max-height:92vh; animation:ss-fade .25s ease }
#ss-art-gallery .ss-modal-img{ 
    max-width:90vw; 
    max-height:90vh; 
    border-radius:14px; 
    box-shadow:0 0 24px rgba(0,0,0,.7); 
    image-rendering: auto !important; /* убираем пикселизацию в модальном окне */
}
#ss-art-gallery .ss-modal-close{ position:fixed; top:16px; right:18px; background:var(--ss-chip); border:1px solid var(--ss-ring); padding:8px 14px; border-radius:10px; cursor:pointer; transition: transform .2s ease }
#ss-art-gallery .ss-modal-close:hover{ background:var(--ss-accent), background-color .2s ease }
#ss-art-gallery .ss-modal-close:hover{ background:var(--ss-accent); color:#000 }
@keyframes ss-fade{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}

/*------------------------------------------------Галерея-----------------------------------------------------------------------------*/
/*------------------------------------------------Сноска для предметов-----------------------------------------------------------------------------*/
.nt-card {
  float: right;
  margin: 0 0 12px 12px;
  display: grid;
  gap: 8px;
  width: 220px;
  padding: 10px;
  border: 1px solid rgba(120,120,120,.35);
  border-radius: 10px;
  background: rgba(20,20,20,.05);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  text-align: center;
}
.nt-card .nt-title {
  font-weight: 700;
  font-size: 1rem;
}
.nt-card .nt-sprite {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 6px;
  background: rgba(0,0,0,.04);
}
.nt-card .nt-sprite img {
  image-rendering: pixelated;
  width: 56px;
  height: 56px;
}
.nt-card .nt-desc {
  font-size: .88rem;
  line-height: 1.35;
}
.nt-card .nt-stats {
  display: grid;
  gap: 3px;
  font-size: .85rem;
  margin-top: 4px;
  text-align: left;
}
.nt-card .nt-stat {
  padding: 3px 5px;
  border-radius: 5px;
  background: rgba(0,0,0,.06);
}
.nt-card .nt-src {
  margin-top: 2px;
  font-size: .8rem;
  opacity: .85;
  text-align: left;
}

/* адаптация под телефоны */
@media (max-width: 600px) {
  .nt-card {
    float: none;
    margin: 12px 0;
    width: auto;
    max-width: 100%;
    display: block;
    text-align: center;
  }
  .nt-card .nt-stats,
  .nt-card .nt-src {
    text-align: center;
  }
}

/*------------------------------------------------Сноска для предметов-----------------------------------------------------------------------------*/


/*------------------------------------------------Блок вики-----------------------------------------------------------------------------*/

.tabber {
    border: 1px solid #20242a !important;
    border-radius: 10px !important; /* Закругление углов у всего таба */
    overflow: hidden; /* Чтобы закругление работало для содержимого */
}

.tabber__tab {
    background: #19191d !important;
    padding: 8px 16px;
}

.tabber__panel {
    padding: 0 12px;
    border-radius: 8px !important; /* Закругление углов для панели */
}


/* Все табсы должны быть заменены на табберы! */
.tabs-tabbox {
    background: rgba(255,0,0,0.07) !important;
    border-radius: 8px !important; /* Закругление углов */
}



/*------------------------------------------------Tabl-Сейчас 2 версии табл новая и старая, струю не убирать иначе все ломается-----------*/

/* Анимация градиента для JobHeader */
@keyframes gradient-animation {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Стиль заголовка профессии */
.job_header {
    font-family: Arial, sans-serif;
    border: 3px solid var(--border-color, #465298);
    border-radius: 0.5em;
    background-color: #27272e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0 0 10px 5px;
}

.job_header .header-title {
    text-align: center;
    padding: 5px 10px;
    margin: 0;
    background: linear-gradient(135deg, var(--header-color-start, #465298), var(--header-color-end, #27272e));
    background-size: 300% 300%;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: gradient-animation 6s ease infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Контейнер для изображения профессии */
.job_header .sprite-container {
    text-align: center;
    padding: 3px 0;
    margin: 0;
    background: linear-gradient(135deg, var(--sprite-color-start, #465298), var(--sprite-color-end, #27272e));
    background-size: 300% 300%;
    animation: gradient-animation 6s ease infinite;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.job_header .sprite-container img {
    /* width: 128px; */
    /* height: auto; */
    border-radius: 0.2em;
}

/* Элементы внутри JobHeader */
.job_header div {
    padding: 3px 10px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    transition: background-color 0.3s ease;
}

.job_header div:last-child {
    border-bottom: none;
}

.job_header .label {
    font-weight: bold;
    color: #ddd;
}

.job_header .value {
    color: #bbb;
    font-size: 0.95em;
}

/* Скрываемые элементы для JobHeader */
.job_collapsible {
    cursor: pointer;
    color: lightblue;
    text-decoration: underline;
    margin-top: 10px;
}

.job_collapsible_content {
    display: none;
    padding: 10px;
    color: #bbb;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin стиль для pre (цитатки)
Shegare */

pre {
    display: inline-block;
    white-space: pre-wrap;
}

/* End стиль для pre (цитатки)
Shegare */


/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin ClearUnset 
Shegare */

span.ClearUnset > figure.mw-halign-right {
    clear: unset;
}

/* End ClearUnset 
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin стиль для collapsible button
Shegare */

.collapsible_align > tbody > tr > th > span {
    padding: 7px 5px;
}
.mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
    color: #dbdbdb;
    box-shadow: 0 0 5px 0px;
    border: 2px solid;
    padding: 4px;
    border-radius: 10px;
    transition: 0.5s;
}
.mw-collapsible.mw-made-collapsible .mw-collapsible-text {
    color: #ffffff;
    border: 2px dotted;
    padding: 4px;
    border-radius: 10px;
    transition: 0.5s;
}
.mw-collapsible-toggle-default:before {
    content: unset;
}
.mw-collapsible-toggle-default:after {
    content: unset;
}

/* End стиль для collapsible button
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* ===============================
   Begin стиль для Grid — Shegare
   =============================== */



/* ===============================
   End стиль для Grid — Shegare
   =============================== */


/* ==================================================
   Begin стиль для JobsTable — Shegare
   ================================================== */
/* === Общие стили === */
.citizen-body {
    margin-left: 10px;
}

#IdJobsTableContainer2 {
    flex-basis: 280px;
    padding: 0 15px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    z-index: 100;
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out; /* Плавное изменение свойств */
}

.JobsTable {
    border: 2px solid black;
    border-radius: 10px;
    margin-bottom: 2px;
    width: auto;
    height: fit-content;
    background: #28303e;
    transition: background 0.3s ease; /* Плавная смена фона */
}

.JobsTableList li a {
    color: white;
    font-size: 16px;
    background: #232323;
    display: block;
    border: 2px solid black;
    margin-bottom: 5px;
    padding: 3px 5px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease; /* Плавная смена фона и эффект нажатия */
}

.JobsTableList li a:hover {
    background: #3b3b3b;
    transform: scale(1.05); /* Эффект увеличения при наведении */
}

.JobsTableHeadImg {
    margin: 0 5px 0 15px;
    transition: transform 0.3s ease; /* Плавное изменение трансформации */
}

.JobsTableHeadLink {
    margin-right: auto;
    transition: transform 0.3s ease; /* Плавное изменение трансформации */
}

#IdJobsTableContainer1 {
    display: none;
}

.JobsTable .mw-collapsible-toggle {
    margin-top: -35px;
}

.JobsTable .mw-collapsible-toggle-default:before,
.JobsTable .mw-collapsible-toggle-default:after {
    content: none;
}

.JobsTable .mw-collapsible-text {
    background: black;
    border: 2px solid;
    padding: 2px;
    margin-right: 5px;
    font-weight: 700;
    transition: color 0.3s ease, box-shadow 0.3s ease; /* Плавное изменение цвета и тени */
}

.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
    color: #00ffff9e;
    box-shadow: 0 0 10px #00b9b978;
}

.JobsTableList.closed {
    max-height: 0 !important;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease; /* Плавное исчезновение */
    transition-delay: 1s;
}

/* Скрытие иконок по умолчанию */
.client-js td.mw-collapsed:not(.mw-made-collapsible):before,
.client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
.client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after,
.client-js div.mw-collapsed:not(.mw-made-collapsible):before,
.client-js ol.mw-collapsible:not(.mw-made-collapsible):before,
.client-js ul.mw-collapsible:not(.mw-made-collapsible):before {
    opacity: 0;
}

/* === Мобильные стили (до 1440px) === */
@media screen and (max-width: 1440px) {
    #IdJobsTableContainer2 {
        display: none;
    }

    #IdJobsTableContainer1 {
        display: block;
    }

    .JobsTableHeadImg {
        margin-left: 0;
    }

    .JobsTableHeadLink {
        margin-right: 55px;
    }

    /* Отображение иконок сворачивания */
    .client-js td.mw-collapsed:not(.mw-made-collapsible):before,
    .client-js table.mw-collapsed:not(.mw-made-collapsible) :first-child tr:first-child th:last-child:before,
    .client-js table.mw-collapsed:not(.mw-made-collapsible) > caption:first-child:after,
    .client-js div.mw-collapsed:not(.mw-made-collapsible):before,
    .client-js ol.mw-collapsible:not(.mw-made-collapsible):before,
    .client-js ul.mw-collapsible:not(.mw-made-collapsible):before {
        opacity: 1;
    }
}

@media screen and (max-width: 1439px) {
    .JobsTable div:first-child {
        padding-left: 15px;
    }
}

/* === ПК стили (от 1120px и выше) === */


@media screen and (min-width: 1440px) {
    .JobsTable .mw-collapsible.mw-collapsed {
        display: block;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 2s ease, opacity 2s ease;
        transition-delay: 1s; /* Задержка при закрытии */
    }

    .JobsTable div:hover ~ .mw-collapsible.mw-collapsed,
    .JobsTable .mw-collapsible.mw-collapsed:hover {
        max-height: 1000px;
        opacity: 1;
        transition-delay: 0s; /* Мгновенно при открытии */
    }

}

.JobsTable div:hover ~ .custom-collapsible.hidden,
    .JobsTable .custom-collapsible.hidden:hover {
        max-height: 1000px;
        opacity: 1;
        transition-delay: 0s;
    }
}


#IdJobsTableContainer2::-webkit-scrollbar {
    width: 0;  /* скрываем скроллбар, установив нулевую ширину */
    background: transparent; /* и фон прозрачным */
}

#IdJobsTableContainer2 {
    z-index: auto;
    scrollbar-width: none; /* Для Firefox */
    -ms-overflow-style: none; /* Для IE и Edge */
}

.JobsTable .mw-collapsible {
    transition: max-height 2s ease, opacity 2s ease;
    transition-delay: 1s; /* задержка закрытия */
}

.JobsTable:hover .mw-collapsible,
.JobsTable .mw-collapsible:hover {
    transition: max-height 0s ease, opacity 0s ease;
    max-height: 1000px;
    opacity: 1;
}

#IdJobsTableContainer2::-webkit-scrollbar {
    width: 0;  /* скрываем скроллбар, установив нулевую ширину */
    background: transparent; /* и фон прозрачным */
}

.JobsTable:hover .mw-collapsible,
.JobsTable .mw-collapsible:hover {
    transition: max-height 0s ease, opacity 0s ease;
    max-height: 1000px;
    opacity: 1;
}



/* ==================================================
   End стиль для JobsTable — Shegare
   ================================================== */


/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin Заголовки стиль
Shegare */

.citizen-sections-enabled .citizen-section-heading .mw-headline {
    border-bottom: 2px solid;
    border-image: linear-gradient(to right top, #5d5d5d, #272727);
    border-image-slice: 1;
}

.citizen-sections-enabled .citizen-section-heading .mw-headline:empty {
    border: unset;
}

.citizen-sections-enabled .citizen-section-heading--collapsed .mw-headline {
    border: unset;
}

.mw-ui-icon-wikimedia-collapse:before {
    opacity: unset;
}

.citizen-sections-enabled .citizen-section-indicator {
    width: 25px;
    height: 25px;
    position: absolute;
    padding: 3px;
    background: rgb(162 162 162 / 60%);
    box-shadow: 0 0 20px 0px rgb(162 162 162 / 20%);
    border: 1px solid #000000;
    border-radius: 50%;
    transition: 0.3s;
    margin-left: -30px;
    margin-right: 5px;
}

@media screen and (max-width: 1119px) {
    .citizen-sections-enabled .citizen-section-indicator {
        margin-left: 0px;
    }
    .citizen-sections-enabled .citizen-section-indicator {
        width: 21px;
        height: 21px;
    }
    .citizen-sections-enabled .citizen-section-heading .mw-headline {
        padding-left: 25px;
    }
}

.citizen-sections-enabled .citizen-section-heading--collapsed .citizen-section-indicator {
    background: #000000;
    opacity: 50%;
    box-shadow: unset;
    transition: 0.3s;
}

.citizen-section-collapsible p {
    margin-bottom: 1.5em;
    margin-top: 0px;
}

/* Begin Заголовки стиль
Shegare */

/* Begin Подзаголовки стиль
Shegare */

/*.citizen-section-collapsible > h2, h3, h4, h5, h6 {
    border-bottom: 2px dashed #5d5d5d;
    width: fit-content;
}*/

/* Begin Подзаголовки стиль
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin элементы таблицы "|" не подсвечиваются при наведении
Shegare */

:root.skin-citizen-dark {
	--background-color-quiet--hover: unset
}

/* End элементы таблицы "|" не подсвечиваются при наведении
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin header не скрывается
Shegare */

@media screen and (max-width: 1119px) {
    .citizen-scroll--down .citizen-header {
        transform: unset;
    }
}

/* End header не скрывается
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin TooltipTable
Shegare */

.citizen-overflow--right {
    -webkit-mask-image: unset;
}

@media screen and (min-width: 1421px) {
    .citizen-table-wrapper {
        overflow: unset;
    }
}

@media screen and (max-width:1421px) {
        .citizen-table-wrapper,
        .citizen-overflow--left.citizen-overflow--right,
        .citizen-overflow--left,
        .citizen-overflow--right {
                -webkit-mask-image: unset;
                overflow: auto;
        }
}

/* End TooltipTable
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin Отмена пикселизации
Shegare */

.citizen-header__logo img, .logo img {
      image-rendering: unset;
}
.nopixelated img {
  image-rendering: unset;
}

/* End оформление заголовков
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin mobile_bigtable
Shegare */

@media screen and (max-width: 1025px) {
    mobile_bigtable {
        font-size: 16px;
    }
}
@media screen and (max-width: 1024px) {
    mobile_bigtable {
        font-size: 10px;
    }
}

/* Begin mobile_bigtable
Shegare */

/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Begin главное меню
Данте ( и немного Shegare >w< )
*/

/* Общее форматирование ячеек таблицы */
.standard-link th,
.standard-link td {
    vertical-align: middle;
    border: 2px solid black;
    background-color: #212126;
}

/* Скругление углов только у первой и последней ячеек в строке заголовка */
.standard-link th {
    border-radius: 15px 0 0 15px;
}

/* Форматирование ссылок в заголовках таблицы */
.standard-link th a {
    margin: 7px;
}

/* Форматирование ссылок в ячейках таблицы */
.standard-link td a {
    margin: 5px 10px;
    padding: 17px;
}

/* Общие стили для всех ссылок */
.standard-link a {
    text-decoration: none;
    font: small-caps bold 25px sans-serif;
    color: #ffffff;
    border: 2px solid black;
    display: flex;
    align-items: center;
    background-color: #141417;
    transition: background-color 1.0s ease, border-color 1.0s ease, color 1.0s ease;
}

/* Стили для мобильных устройств */
@media screen and (max-width:850px) {
    .standard-link a {
        transition: none;
    }
    .standard-link td {
    border-radius: 0px 15px 15px 0px;
    }
}

/* Стили при наведении курсора на строку таблицы */
.standard-link tr:hover a {
    background-color: black;
    color: #fff;
    border-color: #e23229;
}

/* End главное меню
Данте ( и немного Shegare >w< )
*/
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* Данте Морпехи */
/* Основные стили для контейнера меню */
.main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Общие стили для секций меню */
.menu-section {
    flex-basis: 23%;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background-color: #14171f; /* Фон не покрашенных блоков */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Уменьшенная белая обводка для блоков */
}

/* Индивидуальные цвета для секций */
.marines-section {
    background-color: #222424;
}

.xenos-section {
    background-color: #2b2e44;
}

.other-section {
    background-color: #341d1d; /* Цвет для блока "Другие фракции" */
}

/* Стили для заголовков секций */
.menu-section h3 {
    padding: 5px;
    margin: 0;
    font-size: 18px;
    text-align: center;
    color: #fff;
}

/* Стили для списка */
.menu-section ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
}

/* Стили для элементов списка */
.menu-section ul li {
    margin: 10px 0;
    text-align: center;
}

/* Стили для кнопок (ссылок) */
.menu-section ul li a {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    background-color: #1a1e29; /* Цвет фона кнопок */
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.menu-section ul li a:hover {
    background-color: #666;
    border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}

/* Стили для секции с картами */
.maps-section {
    color: white; /* Устанавливаем белый цвет текста для всей секции */
}

.maps-section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Отступы между картами */
    padding: 0;
    margin: 0;
}

/* Стили для секции с картами */
.maps-section {
    color: white !important; /* Добавление !important */
}

.maps-section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Отступы между картами */
    padding: 0;
    margin: 0;
}

/* Стили для элементов списка в секции карт */
.maps-section ul li {
    flex-basis: 48%; /* Уменьшаем до 48%, чтобы уместить 2 карты в ряд с отступами */
    list-style: none; /* Убираем маркеры списка */
}

/* Стили для ссылок в секции карт */
.maps-section ul li a {
    display: block;
    padding: 10px;
    background-color: #1a1e29; /* Цвет фона кнопок в секции карт */
    color: white !important; /* Устанавливаем белый цвет текста */
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Обводка для кнопок */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.maps-section ul li a:hover {
    background-color: #666; /* Цвет фона при наведении на ссылку в секции карт */
    border-color: rgba(255, 255, 255, 0.5); /* Обводка при наведении */
}

/* Убираем иконку внешней ссылки в блоке карт */
.maps-section ul li a::after {
    content: none !important; /* Убираем псевдоэлемент */
}



/* Стили для контейнера заголовка */
.header-container {
    display: flex;
    align-items: center;
    background-color: #1b1e26;
    padding: 20px 30px;
    border-radius: 8px;
}

/* Стили для логотипа */
.logo img {
    border-radius: 50%;
    width: 100px;
    height: auto;
}

/* Стили для текста заголовка */
.title-text {
    margin-left: 30px;
    color: #ffffff;
}

.title-text h1 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}

.title-text p {
    margin: 5px 0 0;
    font-size: 18px;
}

/* Стили для разделителя */
.separator {
    border-bottom: 2px solid #A9A9A9;
    margin: 10px 0 20px;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 599px) {
    .main-container {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-section {
        flex-basis: 100%;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .menu-section ul {
        flex-grow: 1;
        justify-content: space-between;
        padding: 0;
    }

    .menu-section ul li {
        flex-grow: 1;
        width: 100%;
        text-align: center;
        margin-bottom: 10px; /* Отступы между элементами */
    }

    .menu-section ul li a {
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .maps-section ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .maps-section ul li {
        flex-basis: 48%; /* Карты будут располагаться по 2 на ряд */
        margin-bottom: 10px; /* Отступы между картами */
    }

    .header-container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .logo img {
        width: 80px;
    }

    .title-text {
        margin-left: 0;
        margin-top: 10px;
    }

    .title-text h1 {
        font-size: 24px;
    }

    .title-text p {
        font-size: 16px;
    }
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/

/* код оформление для Командование и тд Данте! */
/* Контейнер для карточек */
.command-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Основные стили карточек */
.card {
    background-color: #2b2b2b; /* Темный фон карточки */
    border-radius: 10px;
    width: 220px;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Элементы начинают сверху */
    align-items: center;
    padding: 8px; /* Уменьшаем padding */
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid transparent;
    color: #ffffff; /* Белый текст */
    overflow: hidden; /* Скрываем все, что выходит за пределы карточки */
}

/* Цветные обводки для разных ролей */
.card.Captain {
    border-color: #B0B7C3; /* Серебристый для Капитана */
}
.card.HeadOfSecurity {
    border-color: #FF0000; /* Красный для Главы Безопасности */
}
.card.HeadOfPersonnel {
    border-color: #00FF00; /* Зеленый для Главы Персонала */
}
.card.Engineer {
    border-color: #FFA500; /* Оранжевый для Старшего Инженера */
}
.card.Scientist {
    border-color: #800080; /* Фиолетовый для Научного Руководителя */
}
.card.Doctor {
    border-color: #127BB7; /* Синий для Главного Врача */
}
.card.Quartermaster {
    border-color: #FFD700; /* Золотой для Квартирмейстера */
}

/* Стили для текста и заголовков */
.card .role-name {
    font-weight: bold;
    font-size: 1.4em;
    color: #ffffff; /* Белый текст */
    margin-bottom: 3px;
    white-space: normal; /* Разрешить перенос слов */
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center; /* Центрирование текста */
    word-wrap: break-word; /* Перенос слов при необходимости */
    display: grid;
    grid-template-columns: 212px;
    grid-template-rows: 75px;
}
.role-name a {
    color: #ccc;
}

/* Стили для изображения */
.card img {
    max-width: 160px;
    max-height: 160px;
    margin-bottom: 3px; /* Уменьшаем отступ снизу */
}

/* Стили для описания роли */
.card .role-description {
    font-size: 0.9em;
    flex-grow: 1;
    margin: 3px 0; /* Минимальные отступы сверху и снизу */
    color: #dcdcdc; /* Более светлый текст */
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Текст переносится */
}

/* Ссылка на СРП */
.card .role-guide {
    font-size: 0.85em;
    margin-top: 3px; /* Минимальный отступ сверху */
    text-align: center; /* Центрируем текст */
}

.card .role-guide a {
    color: #00bfff; /* Цвет ссылки */
    text-decoration: none;
}

.card .role-guide a:hover {
    text-decoration: underline;
}

/* Hover эффект для карточек */
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/

* { font-family: Arial }

body {
    color: #FAFAFA;
}


img {
    image-rendering: pixelated;
}

.flex-container {
    display: flex;
    align-items: flex-start;
}

.flex-image {
    flex-shrink: 0;
    margin-right: 20px;
}

.flex-image-description {
    flex-grow: 1;
}

.uplinkbuybutton {
    background: #464966;
    width: 62px;
    height: 27px;
    color: white;
    text-align: center;
    font-weight: bolder;
    float: right;
    padding-top: 4px;
    clip-path: polygon(0px 0px, 0px 18px, 9px 27px, 62px 27px, 62px 10px, 53px 0px);
}

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

.tooltiptext {
    position: absolute;
    display: initial;
    z-index: 99999;
    width: 295px;
    left: -120px;
    top: 42px;
    padding: 5px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    white-space: normal;
    text-align: left;
    transition: transform 0.2s, background-color 0.2s;
    border: 1px solid #b80000;
    border-radius: 10px;
    background-color: #24242a;
    box-shadow: 0 0 5px #b80000;
}

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

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

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

.wikitable > * > tr > th {
    background: #27272e;
    color: white;
}

@media screen and (min-width: 851px) {
    .mobile {
        display: none;
    }

    .job_header {
        float: right;
        width: 25%;
    }
}

@media screen and (max-width: 1420px) {
    .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;
    }
}

@media screen and (max-width: 850px) {
    .nomobile {
        display: none;
    }
    .mobilefont {
        font-size: 80%;
    }
    .mobile_sprite,
    .mobile_text {
        transform: scale(0.75);
    }
}

.hover_img_special {
    top: 0;
    left: 0;
    display: none;
}

.img_special:hover .hover_img_special {
    display: inline;
}

.img_special:hover .img_spec {
    display: none;
}

.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;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}

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

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

.infobox {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    color: black;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    float: 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;
}

.mw-default-size {
    background-color: #21212600 !important;
    border-color: black !important;
}

.mw-default-size img {
    border-color: black !important;
}

.mw-default-size figcaption {
    background-color: #21212600 !important;
    border-color: black !important;
}

.mw-halign-right {
    background-color: #27272E00 !important;
    border-color: black !important;
}

.mw-halign-right img {
    border-color: black !important;
}

.mw-halign-right figcaption {
    background-color: #27272E00 !important;
    border-color: black !important;
}

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

.mw-halign-left img {
    border-color: black !important;
}

.mw-halign-left figcaption {
    background-color: #27272E00 !important;
    border-color: black !important;
}

.mw-halign-center {
    background-color: #27272E00 !important;
    border-color: black !important;
}

.mw-halign-center img {
    border-color: black !important;
}

.mw-halign-center figcaption {
    background-color: #27272E00 !important;
    border-color: black !important;
}

th.navbox-group {
    white-space: nowrap;
    text-align: right;
}

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

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;
}

#p-namespaces {
    float: left;
    width: 100%;
}

p {
    margin-bottom: 1.5em;
}

.infobox-table {
    z-index: 3 !important;
    width: 400px;
    max-width: 100%;
    margin-bottom: 1rem;
    padding-bottom: 20px !important;
    background: hsl(205, 25%, 15%);
    border-radius: 8px;
    border-spacing: 0;
    font-size: 0.875rem;
    text-align: left;
}

.infobox-table tr:not(#infobox-table-img-bg) {
    display: flex;
    margin-top: 10px;
}

.infobox-table th,
.infobox-table td {
    padding: 0 15px !important;
}

.infobox-table th,
th.infobox-table-name {
    color: hsl(205, 80%, 95%);
}

.infobox-table th {
    padding-top: 15px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    text-align: left !important;
}

th.infobox-table-name {
    padding-top: 0 !important;
    border: 0 !important;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.4rem !important;
    line-height: 1.4;
}

.infobox-table-img img {
    max-width: 100%;
    height: auto !important;
}

.infobox-table-img img[src$='.svg'] {
    background: #eaecf0;
}

.infobox-table .image:hover img {
    transform: scale(1.1);
}

.infobox-button {
    display: block;
    width: 100%;
}

.infobox-button > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media only screen and (max-width: 720px) {
    .infobox-table {
        margin-right: auto;
        margin-left: auto;
    }
}


/*-----------------------------------------------------------------------------------------------------------------------------------*/
/*Данте страница*/
body.page-Участник_Дantes {
    font-family: 'Consolas', 'Courier New', monospace;
    background-color: #0f0f0f;
    color: #e0e0e0;
    overflow-x: hidden;
}

.glitch-text {
    position: relative;
    color: #ffcc00;
    text-align: center;
    animation: glitch 1.5s infinite;
    font-size: 1.8em;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

@keyframes glitch {
    0% { text-shadow: 2px 2px #ff0000, -2px -2px #00ffff; }
    25% { text-shadow: -2px 2px #00ff00, 2px -2px #ff00ff; }
    50% { text-shadow: 2px -2px #ff0000, -2px 2px #00ffff; }
    75% { text-shadow: -2px -2px #ff00ff, 2px 2px #00ff00; }
    100% { text-shadow: 2px 2px #ff0000, -2px -2px #00ffff; }
}

.nt-dossier {
    margin: 20px auto;
    max-width: 600px;
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border: 1px solid #ffcc00;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255,204,0,0.4);
    position: relative;
    padding-bottom: 20px;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}

.nt-dossier-table {
    width: 100%;
    border-collapse: collapse;
}

.nt-dossier-table th, .nt-dossier-table td {
    padding: 12px;
    border-bottom: 1px solid #444;
}

.nt-dossier-table th {
    background: #2c2c2c;
    color: #ffcc00;
    width: 40%;
    text-align: left;
    transition: background 0.3s;
}

.nt-dossier-table th:hover {
    background: #333;
}

.scan-row {
    opacity: 0;
    transform: translateX(-20px);
    transition: transform 0.6s ease-out, background-color 0.6s ease-out;
}

.scan-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.threat {
    color: #ff4444;
    font-weight: bold;
    animation: blink 1s infinite alternate;
    text-transform: uppercase;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.status-indicator {
    width: 16px;
    height: 16px;
    background: #ff4444;
    border-radius: 50%;
    position: absolute;
    bottom: 12px;
    right: 12px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 5px #ff4444; transform: scale(1); }
    50% { box-shadow: 0 0 15px #ff0000; transform: scale(1.3); }
    100% { box-shadow: 0 0 5px #ff4444; transform: scale(1); }
}

.nt-tabs {
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    animation: fadeIn 1.2s forwards;
    opacity: 0;
}

.nt-tab {
    display: inline-block;
    background: #2c2c2c;
    border: 1px solid #444;
    color: #ffcc00;
    padding: 10px 16px;
    cursor: pointer;
    margin: 0 6px;
    border-radius: 6px;
    user-select: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.nt-tab.active {
    background: #444;
    border-color: #ffcc00;
    box-shadow: 0 0 10px #ffcc00 inset;
}

.nt-tab:hover {
    background: #555;
    transform: scale(1.05);
}

.nt-tab-content {
    display: none;
    max-width: 600px;
    margin: 15px auto;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 10px;
    animation: fadeIn 0.5s forwards;
    opacity: 0;
}

.nt-tab-content.active {
    display: block;
    opacity: 1;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .job_header .header-title,
  .job_header .sprite-container {
    animation: none !important;
  }
}



/*МИНИ часть блока лора что бы не ломать вики государств*/
:root{
  --cf-federation-color:#6e0e0e;
  --cf-confederation-color:#0c0361;
  --cf-sssp-color:#801828;
  --cf-minor-color:#07520b;
  --cf-corp-color:#0e2847;
  --cf-bg-card:#1e1e1e;
  --cf-text-light:#f0f0f0;
  --cf-text-muted:#a0a0a0;
}

/* Структура карточек фракций (префикс cf- чтобы не ломать сайт) */
.cf-page-header{ text-align:center; margin-bottom:20px; padding:6px 10px; }
.cf-factions-wrapper{ display:flex; flex-direction:column; gap:18px; max-width:1400px; margin:0 auto; padding:6px; box-sizing:border-box; }

.cf-faction-category{ width:100%; }
.cf-category-title{ font-size:1.6rem; margin:6px 0 12px; padding-bottom:6px; border-bottom:2px solid; text-align:center; }

.cf-cards-row{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }

.cf-faction-card{ background-color:var(--cf-bg-card); border-radius:10px; overflow:hidden; width:100%; max-width:520px; box-shadow:0 6px 14px rgba(0,0,0,0.45); transition:transform .22s ease, box-shadow .22s ease; }
.cf-faction-card:hover{ transform:translateY(-6px); box-shadow:0 14px 26px rgba(0,0,0,0.6); }

.cf-card-header{ padding:14px 16px; text-align:center; position:relative; }
.cf-card-header::after{ content:''; position:absolute; bottom:6px; left:8%; width:84%; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,0.08),transparent); }

.cf-card-logo{ display:block; margin:0 auto 10px; max-width:240px; max-height:120px; }
.cf-card-title{ font-size:1.25rem; margin:0; font-weight:700; color:var(--cf-text-light); }

.cf-card-content{ padding:14px 16px; color:var(--cf-text-light); }
.cf-faction-desc{ font-size:0.95rem; color:var(--cf-text-muted); line-height:1.45; }

/* Цвета для типов */
.cf-federation{ border-top:5px solid var(--cf-federation-color); }
.cf-federation .cf-card-header{ background:linear-gradient(90deg,#6e0e0e 0%, #470303 100%); }

.cf-confederation{ border-top:5px solid var(--cf-confederation-color); }
.cf-confederation .cf-card-header{ background:linear-gradient(90deg,#0c0361 0%, #0a034a 100%); }

.cf-sssp{ border-top:5px solid var(--cf-sssp-color); }
.cf-sssp .cf-card-header{ background:linear-gradient(90deg,#801828 0%, #4f121b 100%); }

.cf-minor-states{ border-top:5px solid var(--cf-minor-color); }
.cf-minor-states .cf-card-header{ background:linear-gradient(90deg,#07520b 0%, #032b05 100%); }

.cf-corporations{ border-top:5px solid var(--cf-corp-color); }
.cf-corporations .cf-card-header{ background:linear-gradient(90deg,#0e2847 0%, #081524 100%); }

/* Адаптивность */
@media (max-width:900px){
  .cf-card-logo{ max-width:180px; max-height:100px; }
  .cf-faction-card{ max-width:100%; }
  .cf-cards-row{ gap:10px; }
}

/*починка таблицы ТН */
.wikitable.mw-collapsible th {
  width: 100vw;
}

/* СМ:Главная - начало ---------------------------------------------------------- */
.scmc-page {
    max-width: 1180px;
    margin: 0 auto;
}

.scmc-hero {
    text-align: center;
    padding: 34px 18px 28px;
}

.scmc-hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 880px;
    margin: 0 auto 14px;
}

.scmc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.scmc-logo img {
    max-width: 86px;
    max-height: 86px;
    height: auto;
}

.scmc-title {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #f2f4f7;
    font-size: 64px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 2px 4px #000;
}

.scmc-subtitle {
    max-width: 780px;
    margin: 0 auto;
    color: #c7ced8;
    font-size: 16px;
    line-height: 1.65;
}

.scmc-divider {
    border-bottom: 2px solid rgba(169,169,169,.65);
    margin: 20px 0 26px;
}

.scmc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.scmc-wide {
    display: grid;
    grid-template-columns: 1.25fr .9fr 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.scmc-card {
    border: 1px solid rgba(120,140,155,.22);
    border-radius: 10px;
    background: rgba(12,16,21,.78);
    overflow: hidden;
    min-height: 0;
}

.scmc-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(120,140,155,.18);
    background: rgba(24,29,36,.72);
    color: #f2f4f7;
    font-size: 17px;
    font-weight: 800;
}

.scmc-card-body {
    padding: 14px;
    color: #c7ced8;
    line-height: 1.6;
    min-height: 0;
}

.scmc-card-body p {
    margin: 0 0 12px;
}

.scmc-card-body p:last-child {
    margin-bottom: 0;
}

.scmc-card-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}

.scmc-card-icon img {
    max-width: 28px;
    max-height: 28px;
}

.scmc-link-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.scmc-link-list li {
    margin: 0;
}

.scmc-link-list a,
.scmc-link-list a:visited {
    display: block;
    padding: 8px 10px;
    border: 1px solid rgba(120,140,155,.16);
    border-radius: 7px;
    background: rgba(18,23,29,.58);
    color: #dce8f2 !important;
    font-weight: 650;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease;
}

.scmc-link-list a:hover {
    background: rgba(28,36,45,.78);
    border-color: rgba(128,178,210,.38);
    text-decoration: none !important;
}

.scmc-note {
    margin-top: 10px;
    border-left: 3px solid rgba(128,178,210,.62);
    background: rgba(18,28,36,.54);
    border-radius: 7px;
    padding: 10px 12px;
    color: #d4dde6;
}

.scmc-muted {
    color: #9faab6;
    font-size: 14px;
}

.scmc-card-marines {
    border-color: rgba(130,155,95,.34);
}

.scmc-card-marines .scmc-card-head {
    background: linear-gradient(90deg, rgba(38,52,31,.92), rgba(22,29,20,.78));
    border-bottom-color: rgba(130,155,95,.35);
}

.scmc-card-marines .scmc-link-list a {
    border-left: 4px solid #8c9b63;
    background: rgba(28,40,24,.58);
}

.scmc-card-marines .scmc-link-list a:hover {
    background: rgba(38,54,31,.78);
    border-color: rgba(140,155,99,.50);
}

.scmc-card-xenos {
    border-color: rgba(154,99,176,.34);
}

.scmc-card-xenos .scmc-card-head {
    background: linear-gradient(90deg, rgba(58,36,66,.92), rgba(26,20,31,.78));
    border-bottom-color: rgba(154,99,176,.35);
}

.scmc-card-xenos .scmc-link-list a {
    border-left: 4px solid #9a63b0;
    background: rgba(42,23,52,.58);
}

.scmc-card-xenos .scmc-link-list a:hover {
    background: rgba(55,31,68,.78);
    border-color: rgba(154,99,176,.50);
}

.scmc-card-rules .scmc-card-head {
    background: linear-gradient(90deg, rgba(46,50,58,.90), rgba(24,28,34,.78));
}

.scmc-card-reference .scmc-card-head {
    background: linear-gradient(90deg, rgba(35,45,56,.90), rgba(20,25,31,.78));
}

.scmc-card-lore .scmc-card-head {
    background: linear-gradient(90deg, rgba(46,38,31,.90), rgba(24,21,18,.78));
}

.scmc-card-about .scmc-card-head {
    background: linear-gradient(90deg, rgba(28,31,36,.90), rgba(18,20,24,.78));
}

.scmc-card-rules .scmc-link-list a,
.scmc-card-reference .scmc-link-list a,
.scmc-card-lore .scmc-link-list a {
    white-space: nowrap;
}

.scmc-footerline {
    margin-top: 22px;
    padding-top: 12px;
    border-top: 1px solid rgba(120,140,155,.18);
    color: #98a6b5;
    font-size: 13px;
    text-align: center;
}

.scmc-page a.external {
    background-image: none !important;
    padding-right: 0 !important;
}

.scmc-page a.external::after {
    content: none !important;
}

@media screen and (max-width: 1050px) {
    .scmc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .scmc-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .scmc-card-rules .scmc-link-list a,
    .scmc-card-reference .scmc-link-list a,
    .scmc-card-lore .scmc-link-list a {
        white-space: normal;
    }
}

@media screen and (max-width: 700px) {
    .scmc-page {
        max-width: 100%;
    }

    .scmc-hero {
        padding: 24px 10px 22px;
    }

    .scmc-hero-row {
        gap: 10px;
        max-width: 100%;
    }

    .scmc-logo img {
        max-width: 54px;
        max-height: 54px;
    }

    .scmc-title {
        font-size: 34px;
        letter-spacing: .06em;
    }

    .scmc-subtitle {
        font-size: 14px;
        line-height: 1.55;
    }

    .scmc-grid,
    .scmc-wide {
        grid-template-columns: 1fr;
    }

    .scmc-card-head {
        font-size: 16px;
    }
}

.scmc-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.scmc-guide-grid > p {
    display: contents;
}

.scmc-guide-grid a,
.scmc-guide-grid a:visited {
    display: block;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}

.scmc-guide-button {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    min-height: 150px;
    padding: 14px;
    border: 1px solid rgba(120,140,155,.22);
    border-radius: 8px;
    background: rgba(12,16,21,.78);
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.scmc-guide-button:hover {
    transform: translateY(-3px);
    background: rgba(18,24,31,.92);
    text-decoration: none !important;
}

.scmc-guide-title {
    display: block;
    margin-bottom: 10px;
    color: #dce3ea;
    font-size: 18px;
    font-weight: 800;
}

.scmc-guide-desc {
    display: block;
    color: #c7ced8;
    font-size: 15px;
    line-height: 1.55;
}

.scmc-guide-button:hover .scmc-guide-desc {
    color: #e1e7ee;
}

.scmc-guides-start .scmc-guide-title {
    color: #dce3ea;
}

.scmc-guides-start .scmc-guide-button:hover {
    border-color: rgba(170,185,198,.48);
    box-shadow: 0 0 14px rgba(170,185,198,.16);
}

.scmc-guides-engineer .scmc-card-head {
    background: linear-gradient(90deg, rgba(66,56,26,.92), rgba(34,29,18,.78));
}

.scmc-guides-engineer .scmc-guide-title {
    color: #e6c65a;
}

.scmc-guides-engineer .scmc-guide-button:hover {
    border-color: rgba(230,198,90,.52);
    box-shadow: 0 0 14px rgba(230,198,90,.18);
}

.scmc-guides-support .scmc-card-head {
    background: linear-gradient(90deg, rgba(68,38,28,.92), rgba(32,24,21,.78));
}

.scmc-guides-support .scmc-guide-title {
    color: #e28b5b;
}

.scmc-guides-support .scmc-guide-button:hover {
    border-color: rgba(226,139,91,.52);
    box-shadow: 0 0 14px rgba(226,139,91,.18);
}

.scmc-guides-medical .scmc-card-head {
    background: linear-gradient(90deg, rgba(28,50,68,.92), rgba(19,29,38,.78));
}

.scmc-guides-medical .scmc-guide-title {
    color: #69b9df;
}

.scmc-guides-medical .scmc-guide-button:hover {
    border-color: rgba(105,185,223,.52);
    box-shadow: 0 0 14px rgba(105,185,223,.18);
}

.scmc-map-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.scmc-map-grid > p {
    display: contents;
}

.scmc-map-grid a,
.scmc-map-grid a:visited,
.scmc-map-grid a.external,
.scmc-map-grid a.external:visited {
    display: block;
    width: 100%;
    height: 205px;
    box-sizing: border-box;
    color: inherit !important;
    text-decoration: none !important;
    background-image: none !important;
    padding-right: 0 !important;
}

.scmc-map-grid a.external::after {
    content: none !important;
}

.scmc-map-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 205px;
    overflow: hidden;
    border: 1px solid rgba(120,140,155,.24);
    border-radius: 9px;
    background: rgba(12,16,21,.88);
    box-sizing: border-box;
    transition:
        border-color .22s ease,
        box-shadow .22s ease;
}

.scmc-map-card:hover {
    border-color: rgba(128,178,210,.55);
    box-shadow: 0 0 16px rgba(80,145,190,.22);
}

.scmc-map-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 9px;
    background:
        linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,.78)),
        linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.16));
    pointer-events: none;
    transition: background .22s ease;
}

.scmc-map-card:hover::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.88)),
        linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.24));
}

.scmc-map-card .mw-file-description,
.scmc-map-card .mw-file-element {
    display: block;
    overflow: hidden;
    border-radius: 9px;
}

.scmc-map-card img.scmc-map-bg,
.scmc-map-card .scmc-map-bg img,
.scmc-map-card .scmc-map-bg .mw-file-element {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center center;
    border-radius: 9px;
    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        filter .22s ease;
}

.scmc-map-card:hover img.scmc-map-bg,
.scmc-map-card:hover .scmc-map-bg img,
.scmc-map-card:hover .scmc-map-bg .mw-file-element {
    transform: scale(1.025);
    filter: brightness(.88) saturate(1.06);
}

.scmc-map-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    width: 100%;
    padding: 14px;
    color: #f2f4f7;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 4px #000;
    box-sizing: border-box;
}

.scmc-map-subtitle {
    display: block;
    margin-top: 4px;
    color: #c7ced8;
    font-size: 13px;
    font-weight: 600;
}

.scmc-map-lore {
    position: fixed !important;
    top: 92px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2147483647 !important;
    display: none !important;
    width: min(1100px, calc(100vw - 80px)) !important;
    min-height: 42px;
    max-height: none !important;
    margin: 0 !important;
    padding: 14px 18px !important;
    box-sizing: border-box;
    border: 1px solid rgba(128,178,210,.75);
    border-radius: 9px;
    background: rgba(25,28,35,.97);
    box-shadow: 0 0 32px rgba(0,0,0,.65);
    color: #eef3f8 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
    text-align: left !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    pointer-events: none !important;
    transform: translateX(-50%) !important;
}

.scmc-map-card:hover .scmc-map-lore {
    display: block !important;
}

@media screen and (max-width: 1050px) {
    .scmc-map-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 700px) {
    .scmc-map-grid {
        grid-template-columns: 1fr;
    }

    .scmc-map-grid a,
    .scmc-map-grid a:visited,
    .scmc-map-grid a.external,
    .scmc-map-grid a.external:visited {
        height: 190px;
    }

    .scmc-map-card {
        height: 190px;
    }

    .scmc-map-lore {
        top: 72px !important;
        width: calc(100vw - 28px) !important;
        padding: 12px 14px !important;
        font-size: 13px !important;
    }
}

.scmc-role-page {
    margin-top: 12px;
}

.scmc-role-lead {
    margin: 10px 0 14px 0;
    padding: 10px 12px;
    border-left: 4px solid #619CCD;
    background: rgba(18,23,29,.45);
    color: #dce8f2;
    line-height: 1.55;
    box-sizing: border-box;
}

.scmc-role-note {
    margin: 10px 0;
    padding: 9px 11px;
    border: 1px solid rgba(128,178,210,.22);
    border-radius: 8px;
    background: rgba(24,31,39,.52);
    color: #cbd6e2;
    box-sizing: border-box;
}

.scmc-role-warning {
    margin: 10px 0;
    padding: 9px 11px;
    border: 1px solid rgba(220,90,90,.25);
    border-radius: 8px;
    background: rgba(90,28,28,.18);
    color: #e7d6d6;
    box-sizing: border-box;
}

.scmc-role-gear {
    position: relative;
    z-index: 2;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

.scmc-role-gear .nomobile {
    max-width: 100%;
}

.scmc-role-gear table {
    max-width: 100%;
}

.scmc-role-gear img {
    max-width: none;
}

.scmc-role-skills {
    max-width: 420px;
}

.scmc-role-skills th {
    background: #467843;
}

.scmc-role-skills td:last-child {
    width: 90px;
    text-align: center;
    font-weight: 700;
}

@media screen and (max-width: 700px) {
    .scmc-role-lead,
    .scmc-role-note,
    .scmc-role-warning {
        padding: 8px 10px;
    }

    .scmc-role-gear {
        overflow-x: auto;
    }

    .scmc-role-skills {
        width: auto;
        max-width: 100%;
    }
}
.scmc-hub {
    display: grid;
    gap: 14px;
    scroll-behavior: smooth;
}

.scmc-hub-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    clear: both !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 10px !important;
    border: 1px solid rgba(120,140,155,.16);
    border-radius: 14px;
    background:
        radial-gradient(circle at 12% 0%, rgba(128,178,210,.08), transparent 34%),
        linear-gradient(135deg, rgba(128,178,210,.04), transparent 56%),
        rgba(8,11,16,.50);
    box-shadow:
        inset 0 0 20px rgba(0,0,0,.18),
        0 10px 28px rgba(0,0,0,.12);
    box-sizing: border-box !important;
}

.scmc-hub-nav-item {
    --nav-accent: #8fc7ef;
    display: block !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.scmc-hub-nav-item a,
.scmc-hub-nav-item a:visited {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid color-mix(in srgb, var(--nav-accent) 34%, rgba(120,140,155,.18));
    border-radius: 10px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--nav-accent) 16%, transparent), transparent 72%),
        rgba(18,23,29,.70);
    color: #dce8f2 !important;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    box-shadow:
        inset 0 0 12px color-mix(in srgb, var(--nav-accent) 8%, transparent),
        0 0 0 rgba(0,0,0,0);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease,
        color .16s ease;
    box-sizing: border-box !important;
}

.scmc-hub-nav-item a::before {
    content: "";
    width: 7px;
    height: 7px;
    min-width: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--nav-accent);
    box-shadow: 0 0 8px color-mix(in srgb, var(--nav-accent) 70%, transparent);
}

.scmc-hub-nav-item a:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--nav-accent) 68%, rgba(128,178,210,.52));
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--nav-accent) 27%, transparent), transparent 76%),
        rgba(28,36,45,.94);
    color: #f2f4f7 !important;
    box-shadow:
        inset 0 0 14px color-mix(in srgb, var(--nav-accent) 12%, transparent),
        0 0 14px color-mix(in srgb, var(--nav-accent) 18%, transparent);
    text-decoration: none !important;
}

.scmc-hub-nav-command {
    --nav-accent: #5967bd;
}

.scmc-hub-nav-support {
    --nav-accent: #db7e53;
}

.scmc-hub-nav-engineering {
    --nav-accent: #e6c65a;
}

.scmc-hub-nav-medical {
    --nav-accent: #69b9df;
}

.scmc-hub-nav-police {
    --nav-accent: #ff5964;
}

.scmc-hub-nav-cargo {
    --nav-accent: #db7e53;
}

.scmc-hub-nav-marines {
    --nav-accent: #8c9b63;
}

.scmc-hub-nav-other,
.scmc-hub-nav-respondent {
    --nav-accent: #9faab6;
}

@media screen and (max-width: 900px) {
    .scmc-hub-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media screen and (max-width: 520px) {
    .scmc-hub-nav {
        grid-template-columns: 1fr !important;
        padding: 8px !important;
    }

    .scmc-hub-nav-item a,
    .scmc-hub-nav-item a:visited {
        min-height: 32px;
        font-size: 12px;
    }
}

.scmc-hub-dept {
    --hub-accent: #8c9b63;
    position: relative;
    border: 1px solid rgba(120,140,155,.22);
    border-left: 4px solid var(--hub-accent);
    border-radius: 12px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hub-accent) 12%, transparent), transparent 38%),
        rgba(12,16,21,.78);
    overflow: visible;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    scroll-margin-top: 16px;
}

.scmc-hub-dept::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    background:
        radial-gradient(circle at 16px 14px, color-mix(in srgb, var(--hub-accent) 22%, transparent), transparent 34%),
        linear-gradient(90deg, color-mix(in srgb, var(--hub-accent) 10%, transparent), transparent 42%);
    opacity: .75;
}

.scmc-hub-command {
    --hub-accent: #5967bd;
}

.scmc-hub-support,
.scmc-hub-cargo {
    --hub-accent: #db7e53;
}

.scmc-hub-engineering {
    --hub-accent: #e6c65a;
}

.scmc-hub-medical {
    --hub-accent: #69b9df;
}

.scmc-hub-police {
    --hub-accent: #ff5964;
}

.scmc-hub-marines {
    --hub-accent: #8c9b63;
}

.scmc-hub-other,
.scmc-hub-respondent {
    --hub-accent: #9faab6;
}

.scmc-hub-dept-head,
.scmc-hub-role-grid,
.scmc-guide-pack,
.scmc-hub-guide-split {
    position: relative;
    z-index: 1;
}

.scmc-hub-dept-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(120,140,155,.18);
    border-radius: 12px 12px 0 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--hub-accent) 24%, rgba(24,29,36,.92)), rgba(18,23,29,.78));
}

.scmc-hub-dept-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    min-width: 86px;
    height: 86px;
    border: 1px solid color-mix(in srgb, var(--hub-accent) 32%, rgba(120,140,155,.18));
    border-radius: 10px;
    background: rgba(8,11,16,.42);
    box-shadow: inset 0 0 18px color-mix(in srgb, var(--hub-accent) 14%, transparent);
}

.scmc-hub-dept-icon img {
    max-width: 86px;
    max-height: 86px;
    image-rendering: pixelated;
}

.scmc-hub-dept-info {
    min-width: 0;
}

.scmc-hub-dept-title {
    color: #f2f4f7;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 2px 4px #000;
}

.scmc-hub-dept-title a,
.scmc-hub-dept-title a:visited {
    color: #f2f4f7 !important;
    text-decoration: none !important;
}

.scmc-hub-dept-title a:hover {
    color: #8fc7ef !important;
}

.scmc-hub-dept-meta {
    margin-top: 6px;
    color: #c7ced8;
    font-size: 14px;
    line-height: 1.45;
}

.scmc-hub-role-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    align-items: stretch;
}

.scmc-hub-role-grid-2 .scmc-hub-role-card {
    flex-basis: 330px;
}

.scmc-hub-role-grid-3 .scmc-hub-role-card {
    flex-basis: 260px;
}

.scmc-hub-role-grid-4 .scmc-hub-role-card {
    flex-basis: 210px;
}

.scmc-hub-role-grid-5 .scmc-hub-role-card {
    flex-basis: 185px;
}

.scmc-hub-role-card {
    --card-glow: color-mix(in srgb, var(--hub-accent) 18%, transparent);
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: 150px auto;
    gap: 8px;
    flex-grow: 1;
    min-width: 175px;
    min-height: 100%;
    padding: 10px;
    border: 1px solid rgba(120,140,155,.18);
    border-radius: 10px;
    background: rgba(18,23,29,.62);
    box-sizing: border-box;
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.scmc-hub-role-card:hover {
    z-index: 999999;
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--hub-accent) 58%, rgba(128,178,210,.42));
    background: rgba(24,31,39,.86);
    box-shadow: 0 0 18px var(--card-glow);
}

.scmc-hub-role-card[data-desc]:hover::after {
    content: attr(data-desc);
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    z-index: 2147483647;
    width: max-content;
    max-width: min(310px, calc(100vw - 40px));
    padding: 9px 11px;
    border: 1px solid color-mix(in srgb, var(--hub-accent) 55%, rgba(128,178,210,.45));
    border-radius: 8px;
    background: rgba(18,23,29,.98);
    color: #dce8f2;
    box-shadow: 0 14px 36px rgba(0,0,0,.62);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    pointer-events: none;
    white-space: normal;
}

.scmc-hub-role-card[data-desc]:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% + 3px);
    transform: translateX(-50%) rotate(45deg);
    z-index: 2147483647;
    width: 10px;
    height: 10px;
    background: rgba(18,23,29,.98);
    border-left: 1px solid color-mix(in srgb, var(--hub-accent) 55%, rgba(128,178,210,.45));
    border-top: 1px solid color-mix(in srgb, var(--hub-accent) 55%, rgba(128,178,210,.45));
    pointer-events: none;
}

.scmc-hub-role-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.scmc-hub-role-image img {
    max-width: 150px;
    max-height: 150px;
    image-rendering: pixelated;
    transition: transform .16s ease;
}

.scmc-hub-role-card:hover .scmc-hub-role-image img {
    transform: scale(1.035);
}

.scmc-hub-role-name {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dce8f2;
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
}

.scmc-hub-role-name a,
.scmc-hub-role-name a:visited {
    color: #dce8f2 !important;
    text-decoration: none !important;
}

.scmc-hub-role-name a:hover {
    color: #8fc7ef !important;
}

.scmc-hub-role-desc {
    display: none !important;
}

.scmc-guide-pack {
    display: grid;
    gap: 7px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid color-mix(in srgb, var(--hub-accent) 20%, rgba(120,140,155,.16));
    border-radius: 10px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--hub-accent) 9%, transparent), transparent 60%),
        rgba(8,11,16,.28);
}

.scmc-guide-pack-wide {
    margin: 0 12px 12px;
}

.scmc-guide-pack-title {
    color: #dce8f2;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.scmc-guide-pack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.scmc-guide-pack-list li {
    margin: 0;
    padding: 0;
}

.scmc-guide-pack-list a,
.scmc-guide-pack-list a:visited {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 8px;
    border: 1px solid rgba(120,140,155,.16);
    border-radius: 999px;
    background: rgba(18,23,29,.58);
    color: #cbd6e2 !important;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none !important;
}

.scmc-guide-pack-list a:hover {
    border-color: color-mix(in srgb, var(--hub-accent) 50%, rgba(128,178,210,.44));
    background: rgba(28,36,45,.82);
    color: #f2f4f7 !important;
    text-decoration: none !important;
}

.scmc-guide-pack-empty {
    color: #7f8d9b;
    font-size: 12px;
}

@media screen and (max-width: 760px) {
    .scmc-hub-dept-head {
        align-items: flex-start;
        padding: 12px;
    }

    .scmc-hub-dept-icon {
        width: 62px;
        min-width: 62px;
        height: 62px;
    }

    .scmc-hub-dept-icon img {
        max-width: 62px;
        max-height: 62px;
    }

    .scmc-hub-dept-title {
        font-size: 22px;
    }

    .scmc-hub-role-grid {
        padding: 10px;
    }

    .scmc-hub-role-card {
        grid-template-rows: 126px auto;
        min-width: 145px;
        flex-basis: 150px !important;
    }

    .scmc-hub-role-image {
        min-height: 126px;
    }

    .scmc-hub-role-image img {
        max-width: 126px;
        max-height: 126px;
    }

    .scmc-guide-pack-wide {
        margin: 0 10px 10px;
    }
}

@media screen and (max-width: 460px) {
    .scmc-hub-role-card {
        min-width: 100%;
        flex-basis: 100% !important;
    }
}
.scmc-hub,
.scmc-hub-dept,
.scmc-hub-role-grid {
    overflow: visible !important;
}

.scmc-hub-dept:hover {
    z-index: 9999;
}

.scmc-hub-role-grid {
    position: relative;
    z-index: 5;
}

.scmc-hub-role-card:hover {
    z-index: 1000000;
}

.scmc-hub-role-card[data-desc]:hover::after,
.scmc-hub-role-card[data-desc]:hover::before {
    z-index: 2147483647 !important;
}

.scmc-hub-role-image img,
.scmc-hub-role-image .mw-file-element {
    width: auto !important;
    height: 150px !important;
    max-width: 100% !important;
    max-height: 150px !important;
    object-fit: contain !important;
    image-rendering: pixelated;
}

/* Marine Corps Role Page Standard - начало */

.mcr-page {
    --mcr-bg: #0b0e13;
    --mcr-bg-soft: #10151d;
    --mcr-bg-head: #1e232b;
    --mcr-border: #2a3039;
    --mcr-border-soft: #202630;
    --mcr-text: #d6d6d6;
    --mcr-text-strong: #eeeeee;
    --mcr-text-muted: #aeb8c4;
    --mcr-link: #8fc7ef;
    max-width: 1180px;
    margin: 0 auto;
    color: var(--mcr-text);
    font-size: 15px;
    line-height: 1.6;
}

.mcr-page *,
.mcr-page *::before,
.mcr-page *::after {
    box-sizing: border-box;
}

.mcr-page a,
.mcr-page a:visited {
    color: var(--mcr-link);
}

.mcr-top-row {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.mcr-main {
    flex: 1 1 auto;
    min-width: 0;
}

.mcr-role-card {
    float: none;
    clear: none;
    flex: 0 0 300px;
    width: 300px;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--mcr-border);
    border-radius: 6px;
    background: var(--mcr-bg);
}

.mcr-role-card-title,
.mcr-info-head,
.mcr-block-title {
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid var(--mcr-border);
    background: var(--mcr-bg-head);
    color: var(--mcr-text-strong);
    font-weight: 600;
    line-height: 1.3;
}

.mcr-role-card-title {
    font-size: 17px;
    text-align: center;
}

.mcr-info-head,
.mcr-block-title {
    min-height: 43px;
    padding-right: 105px;
    font-size: 16px;
}

.mcr-role-card-image {
    display: grid;
    min-height: 155px;
    padding: 14px;
    place-items: center;
    background: #090c10;
}

.mcr-role-card-image img,
.mcr-role-card-image .mw-file-element {
    width: auto !important;
    height: auto !important;
    max-width: 150px !important;
    max-height: 150px !important;
    object-fit: contain;
    image-rendering: pixelated;
}

.mcr-role-card-table,
.mcr-gear-table,
.mcr-skills-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: var(--mcr-bg);
}

.mcr-role-card-table th,
.mcr-role-card-table td {
    padding: 7px 9px;
    border-top: 1px solid var(--mcr-border-soft);
    vertical-align: top;
    font-size: 13px;
    line-height: 1.4;
}

.mcr-role-card-table th {
    width: 38%;
    background: #141920;
    color: var(--mcr-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
}

.mcr-role-card-table td {
    color: var(--mcr-text-strong);
}

.mcr-quote {
    display: block;
    overflow: hidden;
    margin: 8px 0 18px;
    padding: 10px 12px;
    border-left: 3px solid #536b8e;
    border-radius: 8px;
    background: var(--mcr-bg-soft);
    color: #d8dee9;
    font-style: italic;
}

.mcr-info-box,
.mcr-block {
    position: relative;
    clear: both;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid var(--mcr-border);
    border-radius: 6px;
    background: var(--mcr-bg);
}

.mcr-info-content {
    padding: 14px;
    background: var(--mcr-bg);
    color: var(--mcr-text);
}

.mcr-toggle-block {
    position: relative;
    clear: both;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid var(--mcr-border);
    border-radius: 6px;
    background: var(--mcr-bg);
}

.mcr-toggle-button {
    display: block;
    position: relative;
    cursor: pointer;
    user-select: none;
    text-decoration: none !important;
    padding-right: 86px;
}

.mcr-toggle-button h2,
.mcr-toggle-button .mw-headline {
    display: block;
    margin: 0 !important;
    padding: 0;
    border: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mcr-toggle-button .mw-editsection {
    position: absolute;
    top: 10px;
    right: 34px;
    margin: 0;
    font-size: 12px;
}

.mcr-toggle-button::after {
    content: "▾";
    position: absolute;
    top: 11px;
    right: 10px;
    color: var(--mcr-text-muted);
    font-size: 14px;
    line-height: 1;
}

.mcr-toggle-content {
    display: none;
}

.mcr-toggle-block.is-open .mcr-toggle-content {
    display: block;
}

.mcr-toggle-block.is-open .mcr-toggle-button::after {
    content: "▴";
}

.mcr-info-box.mw-collapsible .mcr-block-title,
.mcr-block .mcr-block-title {
    padding-right: 104px;
}

.mcr-info-box .mw-collapsible-toggle {
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 2;
    float: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
}

.mcr-info-box .mw-collapsible-toggle a,
.mcr-info-box .mw-collapsible-toggle a:visited {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #3a424f;
    border-radius: 4px;
    background: #11161d;
    color: var(--mcr-text-muted) !important;
    text-decoration: none !important;
}

.mcr-info-box .mw-collapsible-toggle a:hover,
.mcr-info-box .mw-collapsible-toggle a:focus {
    border-color: #566171;
    background: #171d26;
    color: var(--mcr-text-strong) !important;
}

.mcr-info-subtitle {
    margin: 14px 0 7px;
    color: var(--mcr-text-strong);
    font-size: 17px;
    font-weight: 600;
}

.mcr-gear-wrap,
.mcr-skills-wrap {
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
}

.mcr-gear-table {
    width: 100%;
    min-width: 720px;
    table-layout: fixed;
}

.mcr-gear-table th,
.mcr-gear-table td,
.mcr-skills-table th,
.mcr-skills-table td {
    padding: 9px 10px;
    border: 1px solid var(--mcr-border-soft);
    vertical-align: middle;
    line-height: 1.45;
}

.mcr-gear-table th,
.mcr-skills-table th {
    color: var(--mcr-text-strong) !important;
    font-weight: 600;
    text-align: left;
}

.mcr-gear-table th {
    background: #222630 !important;
}

.mcr-skills-table th {
    background: #314f34 !important;
}

.mcr-gear-table td,
.mcr-skills-table td {
    background: var(--mcr-bg);
    color: var(--mcr-text);
    font-size: 14px;
}

.mcr-gear-table th:first-child,
.mcr-gear-table td:first-child {
    width: 16%;
    text-align: center;
}

.mcr-gear-table th:nth-child(2),
.mcr-gear-table td:nth-child(2) {
    width: 44%;
}

.mcr-gear-table th:nth-child(3),
.mcr-gear-table td:nth-child(3) {
    width: 40%;
}

.mcr-gear-table tr:nth-child(even) td,
.mcr-skills-table tr:nth-child(even) td {
    background: rgba(255, 255, 255, .025);
}

.mcr-item {
    display: grid;
    gap: 6px;
    justify-items: center;
    color: var(--mcr-text-strong);
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
}

.mcr-item img,
.mcr-item .mw-file-element,
.mcr-gear-table .sprite img,
.mcr-gear-table .sprite .mw-file-element {
    width: auto !important;
    height: auto !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain;
    image-rendering: pixelated;
}

.mcr-skills-block {
    width: 100%;
    max-width: 100%;
}

.mcr-skills-grid {
    display: block;
    width: 100%;
}

.mcr-skills-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
}

.mcr-skills-block .mcr-info-content {
    padding: 0;
}

.mcr-gear-block .mcr-info-content {
    padding: 0;
}

.mcr-skills-table th:first-child,
.mcr-skills-table td:first-child {
    width: auto;
}

.mcr-skills-table td:last-child {
    width: 70px;
    color: var(--mcr-text-strong);
    text-align: center;
}

/* Utility class for rows hidden explicitly in page markup. */
.mcr-skill-hidden {
    display: none !important;
}

.mcr-dash,
.mcr-neutral {
    color: #9aa4af;
}

.mcr-good,
.mcr-armor {
    color: #5fd66f;
}

.mcr-bad,
.mcr-damage {
    color: #ff6464;
}

.mcr-warn,
.mcr-speed {
    color: #ffd166;
}

.mcr-info,
.mcr-note {
    color: #8fc7ef;
}

/* MediaWiki inserts this control directly into a collapsible container. */
.mcr-page .mw-collapsible-toggle {
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 2;
    float: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
}

.mcr-page .mw-collapsible-toggle a,
.mcr-page .mw-collapsible-toggle a:visited {
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid #3a424f;
    border-radius: 4px;
    background: #11161d;
    color: var(--mcr-text-muted) !important;
    text-decoration: none !important;
}

.mcr-page .mw-collapsible-toggle a:hover,
.mcr-page .mw-collapsible-toggle a:focus {
    border-color: #566171;
    background: #171d26;
    color: var(--mcr-text-strong) !important;
}

@media screen and (max-width: 760px) {
    .mcr-page {
        font-size: 14px;
    }

    .mcr-top-row {
        display: block;
    }

    .mcr-role-card {
        width: 100%;
        margin: 18px 0 0;
    }

    .mcr-role-card-image {
        min-height: 125px;
    }

    .mcr-role-card-image img,
    .mcr-role-card-image .mw-file-element {
        max-width: 125px !important;
        max-height: 125px !important;
    }

    .mcr-skills-block {
        width: 100%;
    }

    .mcr-info-head,
    .mcr-block-title {
        padding-right: 96px;
    }
}

/* Marine Corps Role Page Standard - конец */

/* СМ:Главаная - конец */