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

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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/* Загрузка лого морпехов */
/*.tabs-label {
.second-mw-logo img.mw-logo-icon {
background-color: #19191d !important;
    object-fit: contain;
color: lightgrey;
}
}


img {
/*Химия*/
     image-rendering: pixelated;                 /* Universal support since 2021  */
@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 {
.tooltip{
    display: flex;
  position: relative;
    flex-direction: column;
  display: inline;
    align-items: center;
    gap: 6px;
    text-align: center;
}
}
 
.recipe-item {
.tooltiptext {
     display: flex;
    position: absolute;
     align-items: center;
     display: initial;
     gap: 10px;
     z-index: 99999;
     background: rgba(255,255,255,0.08);
     width: 295px;
     border-radius: 6px;
     left: -120px;
     padding: 8px 12px;
     top: 42px;
     border-left: 4px solid var(--card-accent, #8cf);
     padding: 5px;
     pointer-events: none;
    visibility: hidden;
    opacity: 0;
     white-space: normal;
     white-space: normal;
     text-align: left;
     word-break: break-word;
    transition: all 0.2s;
    border: 1px solid #465298;
    background-color: #27272E;
}
}
 
.chem-reagent-icon,
.tooltip:hover>.tooltiptext {
.chem-beaker {
  visibility: visible;
    width: 36px;
  opacity: 0.98;
    height: 36px;
}*/
    flex-shrink: 0;
 
    object-fit: contain;
/* cyrillic-ext */
@font-face {
  font-family: 'Noto Sans Light';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRPQ_m87A.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
}
/* cyrillic */
.action-sprite .chem-reagent-icon,
@font-face {
.action-sprite .chem-beaker {
  font-family: 'Noto Sans Light';
    width: 46px;
  font-style: normal;
    height: 46px;
  font-weight: 100;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRGQ_m87A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
}
/* latin-ext */
.action-text {
@font-face {
    font-weight: 700;
  font-family: 'Noto Sans Light';
    color: #ffd700;
  font-style: normal;
    font-style: italic;
  font-weight: 100;
    font-size: 15px;
  font-display: swap;
    line-height: 1.3;
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRMQ_m87A.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
}
/* latin */
.chem-effects .chem-effect-line {
@font-face {
    margin-bottom: 10px;
  font-family: 'Noto Sans Light';
    font-size: 14px;
  font-style: normal;
    line-height: 1.45;
  font-weight: 100;
    padding-left: 4px;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}
@font-face {
.chem-desc {
  font-family: 'Oswald';
    margin: 12px 16px;
  font-style: normal;
    padding: 12px;
  font-weight: 400;
    background: rgba(255,255,255,0.03);
  font-display: swap;
    border-radius: 6px;
  src: url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.woff2) format('woff2');
    border-left: 4px solid var(--card-accent, #8cf);
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
    font-size: 14px;
    color: #aaa;
}
}
@font-face {
@media (max-width: 1024px) {
     font-family: 'Boxfont Round';
     .chem-cards-container {
         src: url('/assets/fonts/boxfont-round/f3507eaadc95584e7358703d74e793ea/324a92fc76117885a667ae8af2be25ab/BoxfontRoundRegular.ttf') format('truetype');
         grid-template-columns: repeat(2, 1fr);
    font-weight: normal;
    font-style: normal;
     }
     }
@font-face{
font-family:'noto sans';
font-style:normal;
font-weight:400;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Regular.woff) format('woff')
}
@font-face{font-family:'noto sans';
font-style:italic;
font-weight:400;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Italic.woff) format('woff')
}
@font-face{
font-family:'noto sans';
font-style:normal;
font-weight:700;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Bold.woff) format('woff')
}
@font-face{font-family:'noto sans';
font-style:italic;
font-weight:700;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-BoldItalic.woff) format('woff')
}
/* symbols */
@font-face {
  font-family: 'Noto Sans Symbols';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QA_9Edkw.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F10C, U+1F110-1F16C, U+1F170-1F190, U+1F19B-1F1AC, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F321-1F32C, U+1F336, U+1F378, U+1F37D, U+1F393-1F39F, U+1F3A7, U+1F3AC-1F3AE, U+1F3C2, U+1F3C4, U+1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4DA, U+1F4DF, U+1F4E4-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50A, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F579, U+1F57B-1F594, U+1F597-1F5A3, U+1F5A5-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CB, U+1F6CD-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8B1, U+1F93B, U+1F946, U+1FA00-1FA6F, U+1FA70-1FA74, U+1FA78-1FA7A, U+1FA80-1FA86, U+1FA90-1FAA8, U+1FAB0-1FAB6, U+1FAC0-1FAC2, U+1FAD0-1FAD6, U+1FB00-1FBFF;
}
}
/* latin-ext */
@media (max-width: 768px) {
@font-face {
    .chem-cards-container {
  font-family: 'Noto Sans Symbols';
        grid-template-columns: 1fr;
  font-style: normal;
    }
  font-weight: 400;
    .chem-recipe {
  src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QY_9Edkw.woff2) format('woff2');
        flex-direction: column;
  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;
        align-items: center;
        gap: 16px;
        max-width: 100%;
        padding: 0 12px;
    }
    .recipe-action {
        flex: 0 0 auto;
        min-width: auto;
    }
}
}
/* latin */
/*Химия*/
@font-face {
 
  font-family: 'Noto Sans Symbols';
 
  font-style: normal;
 
  font-weight: 400;
 
  src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8Qbf9E.woff2) format('woff2');
 
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 
 
 
 
 
 
 
 
 
 
/*=Блок лора=*/
/*Хронолония */
.timeline {
    width: 100%;
    margin: 20px 0;
    background-color: transparent;
}
}
cite,
 
dfn {
.timeline-entry {
font-style: inherit
    padding: 10px;
    border-bottom: 1px solid #555;
    background-color: var(--timeline-entry-bg, #333);
}
}


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


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


blockquote {
.timeline-entry:nth-child(even) {
overflow: hidden;
    background-color: var(--timeline-entry-bg-even, #222);
margin: 1em 0;
padding: 0 40px
}
}


small {
.timeline-entry:hover {
font-size: 85%
    background-color: var(--timeline-entry-bg-hover, #555);
}
}


img {
.timeline-entry a {
     image-rendering: pixelated;                 /* Universal support since 2021  */
     color: var(--timeline-link-color, #ff9800);
    text-decoration: none;
}
}


.mw-body-content sub,
.timeline-entry a:hover {
.mw-body-content sup,
    text-decoration: underline;
span.reference {
font-size: 80%
}
}


.ns-talk .mw-body-content dd {
/*=Таблица планет=*/
margin-top: 0.4em;
.planets-table-wrapper {
margin-bottom: 0.4em
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
}
}


#interwiki-completelist {
.planets-table {
font-weight: bold
  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;
}
}


.biglink {
.planets-table th {
font-family: "Oswald";
  background-color: #3a3a3a;
font-style: oblique 10deg;
  color: #dcdcdc;
font-variant-caps: small-caps;
  text-align: center;
    text-shadow: #1b1b1f 1px 2px, #595959dd 2px 2px 1px
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #5a5a5a;
}
}


.client-js .mw-special-Watchlist #watchlist-message,
.planets-table td {
.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),
  text-align: center;
#editpage-specialchars {
  padding: 12px;
display: none
  font-size: 16px;
  border-top: 1px solid #5a5a5a;
}
}


.mw-rcfilters-enabled .mw-specialpage-summary {
.planets-table td img {
margin-top: 1em
  border-radius: 50%;
  margin: 10px 0;
  width: 80px;
  height: 80px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}
}


.citation:target {
.planets-table tr:first-child th:first-child {
background-color: rgba(0, 127, 255, 0.133)
  border-top-left-radius: 12px;
}
}


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


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


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


.hlist dd,
.planets-table tr:nth-child(even) {
.hlist dt,
  background-color: rgba(255, 255, 255, 0.03);
.hlist li {
margin: 0;
display: inline
}
}


.hlist.inline,
.planets-table tr:nth-child(odd) {
.hlist.inline dl,
  background-color: rgba(255, 255, 255, 0.06);
.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 th:nth-child(2),
display: none
.planets-table td:nth-child(2) {
  text-align: center;
}
}


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


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


.hlist dd:last-child:after,
.planet-card {
.hlist dt:last-child:after,
  width: 220px;
.hlist li:last-child:after {
  border: 2px solid #555;
content: none
  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;
}
}


.hlist dd dd:first-child:before,
.planet-card img {
.hlist dd dt:first-child:before,
  width: 100%;
.hlist dd li:first-child:before,
  height: 180px;
.hlist dt dd:first-child:before,
  object-fit: cover;
.hlist dt dt:first-child:before,
  border-bottom: 2px solid #555;
.hlist dt li:first-child:before,
  border-radius: 8px;
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
content: " (";
font-weight: normal
}
}


.hlist dd dd:last-child:after,
.planet-card h3 {
.hlist dd dt:last-child:after,
  font-size: 1.3em;
.hlist dd li:last-child:after,
  margin: 15px 0 10px;
.hlist dt dd:last-child:after,
  color: #ffcc00;
.hlist dt dt:last-child:after,
  text-transform: uppercase;
.hlist dt li:last-child:after,
  letter-spacing: 1px;
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
content: ")";
font-weight: normal
}
}


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


.hlist ol>li {
.planet-card:hover {
counter-increment: listitem
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}
}


.hlist ol>li:before {
.planet-card .more-info {
content: " " counter(listitem) "\a0"
  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;
}
}


.hlist dd ol>li:first-child:before,
.planet-card .more-info:hover {
.hlist dt ol>li:first-child:before,
  background-color: #ffaa00;
.hlist li ol>li:first-child:before {
content: " (" counter(listitem) "\a0"
}
}


.plainlist ol,
@media (max-width: 768px) {
.plainlist ul {
  .planets-row {
line-height: inherit;
    justify-content: center;
list-style: none none;
  }
margin: 0
 
  .planet-card {
    width: 90%;
    max-width: 280px;
  }
}
}


.plainlist ol li,
@media (max-width: 480px) {
.plainlist ul li {
  .planet-card {
margin-bottom: 0
    width: 100%;
  }
}
}


.navbox {
/*=Меню лора=*/
box-sizing: border-box;
: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; } }
border: 1px solid #a2a9b1;
 
width: 100%;
/*=Блок лора=*/
clear: both;
 
font-size: 88%;
/*=Блок лор Colonial marines=*/
text-align: center;
 
padding: 1px;
body.page-Лор_СМ #siteSub,
margin: 1em auto 0
body.page-Лор_СМ #contentSub,
body.page-Лор_СМ h1.firstHeading
{display:none !important}
 
.CMMainFigure {
  height: 130px;
  width: 575px;
  background: #292f2d;
  border-radius: 6px;
}
}


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


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


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


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


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


.navbox,
/*=Блок лора Маршалов CM=*/
.navbox-subgroup {
 
background-color: #fdfdfd
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);
}
}


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


tr+tr>.navbox-abovebelow,
.rectangleCM3 {
tr+tr>.navbox-group,
  width: 800px;
tr+tr>.navbox-image,
  height: 130px;
tr+tr>.navbox-list {
  background: #590000;
border-top: 2px solid #fdfdfd
  position: relative;
  transform: translate(0px, -100px);
}
}


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


.navbox-abovebelow,
.rectangleCMTwo {
th.navbox-group,
  width: 10px;
.navbox-subgroup .navbox-title {
  height: 60px;
background-color: #ddddff
  background: #0087bd;
  position: relative;
  transform: translate(0px, -52px);
}
}


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


.navbox-even {
.classifieldCM {
background-color: #f7f7f7
  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;
}
}


.navbox-odd {
.classifieldCMRisk {
background-color: transparent
  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;
}
}


.navbox .hlist td dl,
.rectangleCMTwo3 {
.navbox .hlist td ol,
  width: 10px;
.navbox .hlist td ul,
  height: 130px;
.navbox td.hlist dl,
  background: #ce0000;
.navbox td.hlist ol,
  position: relative;
.navbox td.hlist ul {
  transform: translate(0px, -79px);
padding: 0.125em 0
}
}


.mw-parser-output .mw-collapsible-toggle {
.classifieldCM3 {
font-weight: normal;
  color: #bebebe;
text-align: right;
  position: relative;
padding-right: 0.2em;
  transform: translate(17.5px, 5px);
padding-left: 0.2em
  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;
}
}


.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
.classifieldCMRisk3 {
float: left;
  color: #bebebe;
text-align: left
  position: relative;
  transform: translate(20px, 21px);
  font-family: "Gill Sans", sans-serif;
  font-size: 35px;
  font-weight: bold;
}
}


.infobox {
.triangle-bottomrightCM {
border: 1px solid #a2a9b1;
  width: 450px;
border-spacing: 3px;
  height: 0;
background-color: #f8f9fa;
  border-bottom: 130px solid #700;
color: black;
  border-left: 100px solid transparent;
margin: 0.5em 0 0.5em 1em;
  position: relative;
padding: 0.2em;
  transform: translate(350px,-210px);
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em
}
}


.infobox-header,
.MarshalsLogoCM {
.infobox-label,
  right: 0;
.infobox-above,
  bottom: 0;
.infobox-full-data,
  position: absolute;
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
vertical-align: top
}
}


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


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


.infobox-title,
.imggg {
.infobox caption {
  float: right ;
padding: 0.2em
}
}


.infobox .infobox-header,
.home-card:hover .second_block {
.infobox .infobox-subheader,
  display: block;
.infobox .infobox-image,
  font-family: "Gill Sans", sans-serif;
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center
}
}


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


.wikitable.plainrowheaders th[scope=row] {
.loreCMwelcom {
font-weight: normal;
  color: #C6C3B5;
text-align: left
  opacity: 0.5;
  text-align: left;
  font-family: "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: lighter;
}
}


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


table.mw-hiero-table td {
.loreCMtext {
vertical-align: middle
  color: white;
  text-align: left;
  font-family: system-ui;
  font-size: 30px;
  font-weight: bold;
}
}


.mw-parser-output a[href$=".pdf"].external,
.home-grid {
.mw-parser-output a[href*=".pdf?"].external,
display: grid;
.mw-parser-output a[href*=".pdf#"].external,
grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
.mw-parser-output a[href$=".PDF"].external,
grid-auto-rows: minmax( 3rem, auto );
.mw-parser-output a[href*=".PDF?"].external,
grid-gap: calc(0.5 * 1rem);
.mw-parser-output a[href*=".PDF#"].external {
  font-family: "Gill Sans", sans-serif;
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
padding-right: 18px
}
}


.messagebox {
.home-grid--col2 {
border: 1px solid #a2a9b1;
grid-template-columns: 1fr 1fr;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em
}
}


.messagebox.merge {
.home-grid a.external {
border: 1px solid #c0b8cc;
background-image: none;
background-color: #f0e5ff;
text-align: center
}
}


.messagebox.cleanup {
.home-card {
border: 1px solid #9f9fff;
position: relative;
background-color: #efefff;
padding: 1rem;
text-align: center
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;
}
}


.messagebox.standard-talk {
.home-card table.timeline {
border: 1px solid #c0c090;
margin-top: 0.2rem;
background-color: #f8eaba;
margin: 4px auto
}
}


.mbox-inside .standard-talk {
.home-card--col2 {
border: 1px solid #c0c090;
grid-column: span 2;
background-color: #f8eaba;
width: 100%;
margin: 2px 0;
padding: 2px
}
}


.messagebox.small {
.home-card--row3 {
width: 238px;
grid-row: span 3;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em
}
}


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


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


td.mbox-image {
.home-card__label {
border: none;
color: #72777d;
padding: 2px 0 2px 0.9em;
font-size: 0.8125rem;
text-align: center
letter-spacing: 0.75px;
}
}


td.mbox-imageright {
.home-card__header {
border: none;
color: #202122;
padding: 2px 0.9em 2px 0;
font-size: 1rem;
text-align: center
    font-weight: 600;
    line-height: 1.25;
}
}


td.mbox-empty-cell {
.home-card__header a {
border: none;
display: flex;
padding: 0;
align-items: center;
width: 1px
justify-content: space-between;
}
}


table.ambox {
.home-card__header a:after {
margin: 0 10%;
content: '▶';
border: 1px solid #a2a9b1;
font-size: 0.8125rem;
border-left: 10px solid #36c;
background-color: #fbfbfb;
box-sizing: border-box
}
}


table.ambox+table.ambox,
.home-card__background {
table.ambox+.mw-empty-elt+table.ambox {
position: absolute;
margin-top: -1px
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #242a31;
border-radius: 8px;
}
}


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


.ambox td.mbox-image {
.home-card__background picture,
padding: 2px 0 2px 0.5em
.home-card__background img {
width: 100%;
height: 100%;
}
}


.ambox td.mbox-imageright {
.home-card__background img {
padding: 2px 0.5em 2px 0
object-fit: cover;
object-position: center;
}
}


table.ambox-notice {
.home-card__foreground {
border-left: 10px solid #36c
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-speedy {
.home-card__foreground .home-card__header {
border-left: 10px solid #b32424;
color: #fff;
background-color: #fee7e6
}
}


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


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


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


table.ambox-move {
 
border-left: 10px solid #9932cc
.home-card--button a {
display: flex;
height: 100%;
justify-content: center;
align-items: center;
padding: 0 1rem;
background: transparent;
color: #fff;
font-weight: 500;
}
}


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


table.imbox {
.home-card--button .home-card__background a {
margin: 4px 10%;
padding: 0;
border-collapse: collapse;
border: 3px solid #36c;
background-color: #fbfbfb;
box-sizing: border-box
}
}


.imbox .mbox-text .imbox {
.home-card--button img {
margin: 0 -0.5em;
transition: transform 0.2s ease;
display: block
}
}


.mbox-inside .imbox {
.home-card--button:hover img {
margin: 4px
transform: scale(1.1);
}
}


table.imbox-notice {
.home-link {
border: 3px solid #36c
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-speedy {
.home-link__button {
border: 3px solid #b32424;
display: flex;
background-color: #fee7e6
}
}


table.imbox-delete {
.home-link__button a {
border: 3px solid #b32424
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-content {
.home-link__button a:hover {
border: 3px solid #f28500
background: hsl(220,30%,19%);
}
}


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


table.imbox-move {
#home-content {
border: 3px solid #9932cc
margin-top: calc(1.25 * 1rem);
}
}


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


table.imbox-license {
.home-footer {
border: 3px solid #88a;
font-size: 0.8125rem;
background-color: #f7f8ff
font-family: monospace;
text-align: center;
}
}


table.imbox-featured {
#home-nav {
border: 3px solid #cba135
margin-top: 1rem;
}
}


table.cmbox {
#home-nav .home-card__foreground {
margin: 3px 10%;
    font-weight: 500;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background-color: #dfe8ff;
box-sizing: border-box
}
}


table.cmbox-notice {
/*------------------------------------------------Галерея-----------------------------------------------------------------------------*/
background-color: #d8e8ff
#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-speedy {
/*------------------------------------------------Галерея-----------------------------------------------------------------------------*/
margin-top: 4px;
/*------------------------------------------------Сноска для предметов-----------------------------------------------------------------------------*/
margin-bottom: 4px;
.nt-card {
border: 4px solid #b32424;
  float: right;
background-color: #ffdbdb
  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-delete {
/* адаптация под телефоны */
background-color: #ffdbdb
@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-content {
/*------------------------------------------------Сноска для предметов-----------------------------------------------------------------------------*/
background-color: #ffe7ce
 
 
/*------------------------------------------------Блок вики-----------------------------------------------------------------------------*/
 
.tabber {
    border: 1px solid #20242a !important;
    border-radius: 10px !important; /* Закругление углов у всего таба */
    overflow: hidden; /* Чтобы закругление работало для содержимого */
}
}


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


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


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


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


table.ombox-notice {
/* Стиль заголовка профессии */
border: 1px solid #a2a9b1
.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-speedy {
.job_header .header-title {
border: 2px solid #b32424;
    text-align: center;
background-color: #fee7e6
    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-delete {
/* Контейнер для изображения профессии */
border: 2px solid #b32424
.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-content {
.job_header .sprite-container img {
border: 1px solid #f28500
    /* width: 128px; */
    /* height: auto; */
    border-radius: 0.2em;
}
}


table.ombox-style {
/* Элементы внутри JobHeader */
border: 1px solid #fc3
.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.ombox-move {
.job_header div:last-child {
border: 1px solid #9932cc
    border-bottom: none;
}
}


table.ombox-protection {
.job_header .label {
border: 2px solid #a2a9b1
    font-weight: bold;
    color: #ddd;
}
}


table.tmbox {
.job_header .value {
margin: 4px 10%;
    color: #bbb;
border-collapse: collapse;
    font-size: 0.95em;
border: 1px solid #c0c090;
background-color: #f8eaba;
min-width: 80%;
box-sizing: border-box
}
}


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


.mediawiki .mbox-inside .tmbox {
.job_collapsible_content {
margin: 2px 0;
    display: none;
width: 100%
    padding: 10px;
    color: #bbb;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
}


.mbox-inside .tmbox.mbox-small {
/*-----------------------------------------------------------------------------------------------------------------------------------*/
line-height: 1.5em;
 
font-size: 100%
/* Begin стиль для pre (цитатки)
Shegare */
 
pre {
    display: inline-block;
    white-space: pre-wrap;
}
}


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


table.tmbox-delete {
/* End ClearUnset
border: 2px solid #b32424
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
  =============================== */
@media screen and (min-width: 1120px) {
    .citizen-toc-enabled .citizen-body-container {
        grid-template-areas:
            'void header header'
            'sidebar content toc'
            'footer footer footer';
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
    }


table.tmbox-content {
    body {
border: 2px solid #f28500
        overflow-x: hidden;
    }
 
    #IdJobsTableContainer2 {
        grid-area: sidebar;
        margin-left: -8vw;
    }
}
}


table.tmbox-style {
.citizen-body {
border: 2px solid #fc3
    margin-left: 10px;
}
}


table.tmbox-move {
 
border: 2px solid #9932cc
/* ===============================
  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,
@media screen and (min-width: 1120px) {
.IPA a:visited {
    .citizen-toc-enabled .citizen-body-container {
text-decoration: none !important
        grid-template-areas:
            'void header header'
            'sidebar content toc'
            'footer footer footer';
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
    }
 
    body {
        overflow-x: hidden;
    }
 
    #IdJobsTableContainer2 {
        grid-area: sidebar;
        margin-left: -8vw;
    }
}
}


.nowrap,
@media screen and (min-width: 1440px) {
.nowraplinks a {
    .JobsTable .mw-collapsible.mw-collapsed {
white-space: nowrap
        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; /* Мгновенно при открытии */
    }
 
}
}


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


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


.thumbinner {
#IdJobsTableContainer2 {
min-width: 100px;
    z-index: auto;
background: #303037;
    scrollbar-width: none; /* Для Firefox */
border: solid #37373e
    -ms-overflow-style: none; /* Для IE и Edge */
}
}


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


#mw-subcategories,
.JobsTable:hover .mw-collapsible,
#mw-pages,
.JobsTable .mw-collapsible:hover {
#mw-category-media,
    transition: max-height 0s ease, opacity 0s ease;
#filehistory,
    max-height: 1000px;
#wikiPreview,
    opacity: 1;
#wikiDiff {
clear: both
}
}


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


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


.wpbs-inner .wpb-outside {
 
display: none
 
/* ==================================================
  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;
}
}


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


.checkuser-show,
.citizen-sections-enabled .citizen-section-heading--collapsed .mw-headline {
.sysop-show,
    border: 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,
.mw-ui-icon-wikimedia-collapse:before {
.ve-ui-mwNoticesPopupTool-item .mbox-image,
    opacity: unset;
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important
}
}


ul.permissions-errors>li {
.citizen-sections-enabled .citizen-section-indicator {
list-style: none none
    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;
}
}


ul.permissions-errors {
@media screen and (max-width: 1119px) {
margin: 0
    .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;
    }
}
}


span.texhtml {
.citizen-sections-enabled .citizen-section-heading--collapsed .citizen-section-indicator {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
    background: #000000;
font-size: 118%;
    opacity: 50%;
line-height: 1;
    box-shadow: unset;
white-space: nowrap;
    transition: 0.3s;
-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 {
.citizen-section-collapsible p {
font-size: 100%
    margin-bottom: 1.5em;
    margin-top: 0px;
}
}


span.mwe-math-mathml-inline {
/* Begin Заголовки стиль
font-size: 118%
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
}
}


.mwe-math-fallback-image-display,
/* End элементы таблицы "|" не подсвечиваются при наведении
.mwe-math-mathml-display {
Shegare */
margin-left: 1.6em !important;
/*-----------------------------------------------------------------------------------------------------------------------------------*/
margin-top: 0.6em;
 
margin-bottom: 0.6em
/* Begin header не скрывается
Shegare */
 
@media screen and (max-width: 1119px) {
    .citizen-scroll--down .citizen-header {
        transform: unset;
    }
}
}


.mwe-math-mathml-display math {
/* End header не скрывается
display: inline
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin TooltipTable
Shegare */
 
.citizen-overflow--right {
    -webkit-mask-image: unset;
}
}


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


.PopUpMediaTransform a .play-btn-large {
@media screen and (max-width:1421px) {
margin: 0;
        .citizen-table-wrapper,
top: auto;
        .citizen-overflow--left.citizen-overflow--right,
right: auto;
        .citizen-overflow--left,
bottom: 0;
        .citizen-overflow--right {
left: 0
                -webkit-mask-image: unset;
                overflow: auto;
        }
}
}


@media screen {
/* End TooltipTable
#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
/* Begin Отмена пикселизации
}
Shegare */
.ns-0 .gallerybox .thumb img,
 
.ns-2 .gallerybox .thumb img,
.citizen-header__logo img, .logo img {
.ns-100 .gallerybox .thumb img,
      image-rendering: unset;
.nochecker .gallerybox .thumb img {
}
background-image: none
.nopixelated img {
}
  image-rendering: unset;
}
}


.flaggedrevs_draft_synced,
/* End оформление заголовков
.flaggedrevs_stable_synced,
Shegare */
#t-upload,
 
.mw-special-Book #coll-downloadbox {
/*-----------------------------------------------------------------------------------------------------------------------------------*/
display: none
 
}
/* Begin mobile_bigtable
Shegare */


#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 {
.mw-rcfilters-ui-filterTagMultiselectWidget.oo-ui-widget-enabled .oo-ui-tagMultiselectWidget-handle,
    border-color: #FF0000; /* Красный для Главы Безопасности */
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
}
background: #27272e;
.card.HeadOfPersonnel {
border: 1px solid #303038;
    border-color: #00FF00; /* Зеленый для Главы Персонала */
color: white
}
.card.Engineer {
    border-color: #FFA500; /* Оранжевый для Старшего Инженера */
}
.card.Scientist {
    border-color: #800080; /* Фиолетовый для Научного Руководителя */
}
}
 
.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;
}
}


Строка 1429: Строка 2089:
     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%
}
}
}


/** MultimediaViewer tweaks **/
@media screen and (max-width: 850px) {
/* MMV text colors */
    .nomobile {
.mw-mmv-above-fold,
        display: none;
.mw-mmv-dialog,
    }
.mw-mmv-image-links li,
    .mobilefont {
.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,
        font-size: 80%;
.mw-mmv-options-dialog-header,
    }
.mw-mmv-options-text-header {
    .mobile_sprite,
color: #e0e0e0;
    .mobile_text {
        transform: scale(0.75);
    }
}
}
/* MMV file info */
 
.mw-mmv-above-fold {
.hover_img_special {
background: #222;
    top: 0;
border-top: 1px solid #333;
    left: 0;
    display: none;
}
 
.img_special:hover .hover_img_special {
    display: inline;
}
}
.mw-mmv-image-metadata {
 
background-color: #111;
.img_special:hover .img_spec {
border-color: #333;
    display: none;
}
}
/* MMV options popup */
 
.mw-mmv-dialog {
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
border: 1px solid #333;
    border-color: #fc3;
background: #222;
    background-color: #fef6e7;
box-shadow: none;
}
}
.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
 
background: #222;
html body.mediawiki .mbox-small {
border-bottom: 1px solid #333;
    clear: right;
border-right: 1px solid #333;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
}
.mw-mmv-options-enable-alert {
 
background: #333;
.messagebox.small {
color: #e0e0e0;
    width: 238px;
    font-size: 85%;
    float: right;
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
}
/* MMV buttons on file page */
 
.mw-mmv-filepage-buttons .mw-ui-button {
.messagebox.small-talk {
background: #36c;
    width: 238px;
color: #e0e0e0;
    font-size: 85%;
border-color: #1d4699;
    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 {
.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;
}
}
/* Фон референсов. Теперь НЕ белые при нажатии */
 
.reference {
th.navbox-group {
background-color: #27272E00 !important;
    white-space: nowrap;
    text-align: right;
}
}
ol.references li:target,sup.reference:target {
 
     background-color: #303037 !important;
.mw-parser-output .mw-collapsible-toggle {
    font-weight: normal;
     text-align: right;
}
}
.oo-ui-inputWidget-input {
 
background-color: #27272e !important;
td.mbox-image {
border: #37373e !important;
    border: none;
color: #ffffff !important;
    padding: 2px 0 2px 0.9em;
    text-align: center;
}
}
.mw-search-profile-tabs {
 
background-color: #27272e !important;
td.mbox-imageright {
border: #37373e !important;
    border: none;
    padding: 2px 0.9em 2px 0;
    text-align: center;
}
}
.search-types .current a {
 
    color: #d3d3d3 !important;
#p-namespaces {
    cursor: default !important;
     float: left;
}
.mw-message-box-error {
    background-color: #7b1919 !important;
    border-color: #af2424 !important;
}
.mw-message-box-warning {
    background-color: #7b6919 !important;
    border-color: #af9a24 !important;
}
#mw-header-nav-hack {
     border-top: solid 2px #212126 !important;
    display: block;
    position: absolute;
    z-index: 98;
    background: #212126 !important;
     width: 100%;
     width: 100%;
}
}
.ui-widget-overlay {
 
     background: #000000 !important;
p {
    opacity: .3 !important;
     margin-bottom: 1.5em;
}
}
.ui-widget-content {
 
     border: 1px solid #4a4a57 !important;
.infobox-table {
     background: #212126 !important;
     z-index: 3 !important;
     color: #e0e0e0 !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;
}
}
.ui-widget-header {
 
     border: 1px solid #4a4a57 !important;
.infobox-table tr:not(#infobox-table-img-bg) {
    background: #212126 !important;
     display: flex;
    color: #e0e0e0 !important;
     margin-top: 10px;
     font-weight: bold !important;
}
}
#wikieditor-toolbar-file-target,
 
#wikieditor-toolbar-file-caption,
.infobox-table th,
#wikieditor-toolbar-file-alt {
.infobox-table td {
     width: 100% !important;
     padding: 0 15px !important;
    background-color: #27272e !important;
    color: #e0e0e0 !important;
}
}
.wikiEditor-toolbar-dialog .ui-dialog-content input[type='text'] {
 
    box-sizing: border-box !important;
.infobox-table th,
    background-color: #27272e !important;
th.infobox-table-name {
     color: #e0e0e0 !important;
     color: hsl(205, 80%, 95%);
}
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
 
     font-family: Verdana,Arial,sans-serif !important;
.infobox-table th {
     font-size: 1em !important;
     padding-top: 15px !important;
     background-color: #27272e !important;
     border-top: 1px solid rgba(255, 255, 255, 0.05);
     color: #e0e0e0 !important;
     font-size: 1rem;
     text-align: left !important;
}
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
 
     border: 1px solid #4a4a57 !important;
th.infobox-table-name {
     background: #27272e !important;
     padding-top: 0 !important;
     font-weight: normal !important;
     border: 0 !important;
     color: #e0e0e0 !important;
    margin-top: 10px;
    margin-bottom: 5px;
     font-size: 1.4rem !important;
     line-height: 1.4;
}
}
.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;
.infobox-table-img img {
    background: #4c4c59 !important;
     max-width: 100%;
     font-weight: normal !important;
     height: auto !important;
     color: #e0e0e0 !important;
}
}
body .wikiEditor-toolbar-dialog .ui-dialog-titlebar-close {
 
right: 0.9em !important;
.infobox-table-img img[src$='.svg'] {
background: #4c4c59 !important;
    background: #eaecf0;
}
}
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus {
 
padding: 0 !important;
.infobox-table .image:hover img {
background: #6c6c80 !important;
    transform: scale(1.1);
}
}
ul#filetoc,.toc,.toccolours,.mw-warning {
 
        display: table !important;
.infobox-button {
        background-color: #27272e !important;
    display: block;
        border: solid #37373e !important;
    width: 100%;
        border-width: 1px 1px 0.2em !important;
        box-shadow: 0 1px 2px 1px rgb(0 0 0 / 2%) !important;
        padding: 1.25em 1.75em !important;
        margin-top: 1em !important;
        margin-bottom: 1em !important;
        min-width: 15em !important;
        font-size: 100% !important;
}
}
.diff-editfont-monospace .diff-addedline,.diff-editfont-monospace .diff-deletedline,.diff-editfont-monospace .diff-context {
 
     font-family: monospace,monospace !important;
.infobox-button > div {
     background-color: #1b1b1f !important;
     display: flex;
     border-color: #1b1b1f !important;
     flex-wrap: wrap;
    color: white !important;
     justify-content: space-between;
}
}
.diff-deletedline .diffchange {
 
    background: #4c3c16 !important;
@media only screen and (max-width: 720px) {
    .infobox-table {
        margin-right: auto;
        margin-left: auto;
    }
}
}
.diff-addedline .diffchange {
 
     background: #16324d !important;
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/*Данте страница*/
body.page-Участник_Дantes {
    font-family: 'Consolas', 'Courier New', monospace;
     background-color: #0f0f0f;
    color: #e0e0e0;
    overflow-x: hidden;
}
}
.mw-json th,.mw-json td {
 
     border: 1px solid #000000;
.glitch-text {
     font-size: 16px;
     position: relative;
     padding: 0.5em 1em
    color: #ffcc00;
    text-align: center;
    animation: glitch 1.5s infinite;
     font-size: 1.8em;
    letter-spacing: 1px;
     margin-bottom: 12px;
}
}


.mw-json tr {
@keyframes glitch {
     background-color: #212126;
    0% { text-shadow: 2px 2px #ff0000, -2px -2px #00ffff; }
     margin-bottom: 0.5em
    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; }
}
}


.mw-json th {
.nt-dossier {
     background-color: #303037;
    margin: 20px auto;
     font-weight: normal;
    max-width: 600px;
     vertical-align: top;
     background: linear-gradient(145deg, #1a1a1a, #111111);
     color:#d3d3d3;
    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;
}
}


.mw-json th span {
.nt-dossier-table {
     -webkit-position: sticky;
     width: 100%;
     position: sticky;
     border-collapse: collapse;
    top: 0.5em
}
}


.mw-json-value,.mw-json-single-value {
.nt-dossier-table th, .nt-dossier-table td {
     background-color: #1b5929;
     padding: 12px;
    font-family: monospace,monospace;
     border-bottom: 1px solid #444;
     white-space: pre-wrap;
    color:#d3d3d3;
}
}
.mw-json-empty {
 
     background-color: #1b5929;
.nt-dossier-table th {
     font-style: italic;
     background: #2c2c2c;
     color:#d3d3d3;
    color: #ffcc00;
     width: 40%;
    text-align: left;
     transition: background 0.3s;
}
}
.hover_img_special {
 
     top: 0;
.nt-dossier-table th:hover {
    left: 0;
     background: #333;
    display: none
}
}


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


.img_special:hover .img_spec {
.scan-row.visible {
     display: none;
     opacity: 1;
}
    transform: translateX(0);
.ace-tm .ace_gutter {
  background: #212126;
  color: #333;
}
}


.ace-tm .ace_print-margin {
.threat {
  width: 1px;
    color: #ff4444;
  background-color: #1b1b1f;
    font-weight: bold;
}
    animation: blink 1s infinite alternate;
.ace-tm {
    text-transform: uppercase;
  background-color: #1b1b1f;
  color: lightgrey;
}
.ace-tm .ace_cursor {
  color: white;
}
.ace-tm .ace_storage,
.ace-tm .ace_keyword {
  color: rgb(153, 153, 255);
}
}


.ace-tm .ace_constant.ace_numeric {
@keyframes blink {
  color: rgb(153, 153, 205);
    0% { opacity: 1; }
}
    50% { opacity: 0.3; }
.ace-tm .ace_constant {
    100% { opacity: 1; }
  color: rgb(241, 89, 92);
}
.ace-tm .ace_support.ace_function {
  color: rgb(68, 118, 235);
}
.ace-tm .ace_support.ace_constant {
  color: rgb(23, 202, 33);
}
.ace-tm .ace_support.ace_type,
.ace-tm .ace_support.ace_class {
  color: rgb(182, 187, 236);
}
.ace-tm .ace_string {
  color: rgb(6, 142, 13);
}
.ace-tm .ace_comment {
  color: rgb(103, 193, 150);
}
.ace-tm .ace_constant.ace_numeric {
  color: rgb(153, 153, 255);
}
.ace-tm .ace_marker-layer .ace_selection {
  background: rgb(28, 45, 68);
}
.ace-tm .ace_marker-layer .ace_bracket {
  margin: -1px 0 0 -1px;
  border: 1px solid rgb(94, 94, 94);
}
.ace-tm .ace_marker-layer .ace_active-line {
  background: rgb(153, 153, 183, 7%);
}
}


.ace-tm .ace_gutter-active-line {
.status-indicator {
    background-color: rgb(44,44,51)
     width: 16px;
}
     height: 16px;
.ace-tm .ace_marker-layer .ace_selected-word {
     background: #ff4444;
  background: rgb(37, 59, 89);
     border-radius: 50%;
  border: 1px solid rgb(36, 36, 42);
}
.codeEditor-status {
    clear: both;
    width: 100%;
    background-color: #212126;
    border-top: 1px solid #40404b;
    display: table;
}
.codeEditor-status-message {
    border-left: 1px solid #40404b;
    border-right: 1px solid #40404b;
    padding: 0 0.3em;
     width: 100%;
     display: table-cell;
}
.ace_search {
     background-color: #212126;
    color: #d3d3d3;
    border: 1px solid #383843;
     border-top: 0 none;
    overflow: hidden;
    margin: 0;
    padding: 4px 6px 0 4px;
     position: absolute;
     position: absolute;
     top: 0;
     bottom: 12px;
     z-index: 99;
     right: 12px;
     white-space: normal;
     animation: pulse 1.5s infinite;
}
}
.ace_search_form.ace_nomatch {
 
     outline: 1px solid #922626;
@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); }
}
}
.ace_search_field {
 
    border-radius: 3px 0 0 3px;
.nt-tabs {
    background-color: #27272e;
     margin: 20px auto;
    color: #d3d3d3;
     max-width: 600px;
    border: 1px solid #383843;
     text-align: center;
    border-right: 0 none;
     animation: fadeIn 1.2s forwards;
    outline: 0;
     opacity: 0;
    padding: 0;
    font-size: inherit;
     margin: 0;
     line-height: inherit;
    padding: 0 6px;
    min-width: 17em;
     vertical-align: top;
     min-height: 1.8em;
     box-sizing: content-box;
}
}
.ace_searchbtn {
 
    border: 1px solid #383843;
.nt-tab {
    line-height: inherit;
     display: inline-block;
     display: inline-block;
     padding: 0 6px;
     background: #2c2c2c;
     background: #27272e;
     border: 1px solid #444;
     border-right: 0 none;
     color: #ffcc00;
     border-left: 1px solid #383843;
     padding: 10px 16px;
     cursor: pointer;
     cursor: pointer;
     margin: 0;
     margin: 0 6px;
    position: relative;
     border-radius: 6px;
    color: #d3d3d3;
}
.ace_searchbtn:last-child {
     border-radius: 0 3px 3px 0;
    border-right: 1px solid #383843;
}
.ace_searchbtn:hover {
    background-color: #1b1b1f;
}
.ace_searchbtn.prev:after{
    content: "";
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width:  2px 0 0 2px;
    display:inline-block;
    transform: rotate(-45deg);
}
.ace_searchbtn.next:after{
    content: "";
    border: solid 2px #d3d3d3;
    width: 0.5em;
    height: 0.5em;
    border-width:  2px 0 0 2px;
    display:inline-block;
    transform: rotate(135deg);
}
.ace_button {
    margin-left: 2px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
     user-select: none;
     user-select: none;
     overflow: hidden;
     transition: transform 0.3s ease, background-color 0.3s ease;
    opacity: 0.7;
    border: 1px solid rgb(56, 56, 68);
    padding: 1px;
    box-sizing:    border-box!important;
    color: #d3d3d3;
    background-color: #27272e
}
}
.ace_button:hover {
 
     background-color: #1b1b1f;
.nt-tab.active {
     opacity:1;
     background: #444;
    border-color: #ffcc00;
     box-shadow: 0 0 10px #ffcc00 inset;
}
}
.ace_button:active {
 
     background-color: #101013;
.nt-tab:hover {
     background: #555;
    transform: scale(1.05);
}
}


/* Скроллбар */
.nt-tab-content {
::-webkit-scrollbar {
    display: none;
     background-color:#424242;
    max-width: 600px;
    margin: 15px auto;
    padding: 15px;
     background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 10px;
    animation: fadeIn 0.5s forwards;
    opacity: 0;
}
}
::-webkit-scrollbar-thumb {
 
     background-color: #686868;
.nt-tab-content.active {
    border: 2px solid #424242;
     display: block;
     border-radius: 4px;
     opacity: 1;
}
}
::-webkit-scrollbar-thumb:hover {
 
     background-color: #7b7b7b;
@keyframes fadeIn {
     to { opacity: 1; }
}
}
::-webkit-scrollbar-thumb:active {
 
     background-color: #a1a1a1;
@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;
  }
}
}


/* Списки */
 
.style-for-sub-numbered-lists ol {
 
   counter-reset: item
/*МИНИ часть блока лора что бы не ломать вики государств*/
}
:root{
.style-for-sub-numbered-lists li {
  --cf-federation-color:#6e0e0e;
   display: block
   --cf-confederation-color:#0c0361;
}
  --cf-sssp-color:#801828;
.style-for-sub-numbered-lists li:before {
  --cf-minor-color:#07520b;
   content: counters(item, ".") ". ";
   --cf-corp-color:#0e2847;
   counter-increment: item;
  --cf-bg-card:#1e1e1e;
   --cf-text-light:#f0f0f0;
   --cf-text-muted:#a0a0a0;
}
}


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


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


.section .line-break {
.cf-card-content{ padding:14px 16px; color:var(--cf-text-light); }
  flex-basis: 100%;
.cf-faction-desc{ font-size:0.95rem; color:var(--cf-text-muted); line-height:1.45; }
  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 {
/* Цвета для типов */
    color: #d3d3d3;
.cf-federation{ border-top:5px solid var(--cf-federation-color); }
    background: #303037;
.cf-federation .cf-card-header{ background:linear-gradient(90deg,#6e0e0e 0%, #470303 100%); }
    border: solid #000000;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02)
}
.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
    border: 1px solid #000000;
    padding: 0.4em 0.5em
}


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


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


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


.pretoclip-copy-button {
.cf-corporations{ border-top:5px solid var(--cf-corp-color); }
    float: right;
.cf-corporations .cf-card-header{ background:linear-gradient(90deg,#0e2847 0%, #081524 100%); }
}
.mw-scribunto-console-fieldset {
color: #d3d3d3;
background: none;
border: 3px solid #27272e;
}
.mw-scribunto-message {
    color: #008000;
    background:none;
}
#mw-scribunto-input {
    width: 100%;
    border: 0;
    overflow: auto;
    background: #303037;
}


.mw-scribunto-input {
/* Адаптивность */
    color: #d3d3d3;
@media (max-width:900px){
    font: inherit;
  .cf-card-logo{ max-width:180px; max-height:100px; }
    font-weight: bold;
  .cf-faction-card{ max-width:100%; }
    margin-top: 0.5em;
  .cf-cards-row{ gap:10px; }
}
}


/*Блок ролей на странице "Роли"*/
/*починка таблицы ТН */
.table-flex {
.wikitable.mw-collapsible th {
display:flex;
   width: 100vw;
flex-direction:row;
flex-wrap:wrap;
justify-content:space-evenly;
}
.boxes-flex {
   padding:0;
  margin:5px 15px 5px 15px;
  text-align:center;
}
.role-big-title {
margin:0px;
text-align: center;
font-size: 40px;
line-height:50px;
border-radius: 8px;
}
.role-block-radius {
border-radius: 8px
}
.role-block-name {
padding:2px;
border-radius:.3em;
margin-bottom:.2em;
}
.story-text {
text-indent: 19px;
text-align: justify;
}
.story-dialogue {
line-height:1.2
}
.oo-ui-stackLayout-continuous > .oo-ui-panelLayout {
    display: block;
    position: relative;
    margin: 0px 25%;
}
.mw-gallery-slideshow .gallerybox.slideshow-current {
    background: #28282e;
}
.gallerytext {
    overflow: hidden;
    font-size: 94%;
    padding: 2px 4px;
    word-wrap: break-word;
    text-align: center;
}
#content .gallerybox div.thumb {
    background-color: #f8f9fa00;
}
.mw-body li.gallerybox div.thumb {
    background: #f8f9fa00;
    border: solid #28282e;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
    padding: 0;
}
.title-no-bottom-border {
border-bottom: none !important
}
.title-top-border {
border-top: solid 2px #c8ccd1;
}
}

Текущая версия от 19:17, 29 апреля 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
   =============================== */

@media screen and (min-width: 1120px) {
    .citizen-toc-enabled .citizen-body-container {
        grid-template-areas:
            'void header header'
            'sidebar content toc'
            'footer footer footer';
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
    }

    body {
        overflow-x: hidden;
    }

    #IdJobsTableContainer2 {
        grid-area: sidebar;
        margin-left: -8vw;
    }
}

.citizen-body {
    margin-left: 10px;
}


/* ===============================
   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: 1120px) {
    .citizen-toc-enabled .citizen-body-container {
        grid-template-areas:
            'void header header'
            'sidebar content toc'
            'footer footer footer';
        grid-template-columns: 10% 70% 20%;
        margin-left: 8vw;
    }

    body {
        overflow-x: hidden;
    }

    #IdJobsTableContainer2 {
        grid-area: sidebar;
        margin-left: -8vw;
    }
}

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