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

Страница интерфейса MediaWiki
Нет описания правки
Метка: отменено
Нет описания правки
 
Строка 1: Строка 1:
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
/*Химия*/
/*.tabs-label {
 
background-color: #19191d !important;
@media (max-width: 1280px) {
color: lightgrey;
    .chem-heading {
        display: none;
    }
}
}


img {
 
     image-rendering: pixelated;                 /* Universal support since 2021  */
.chem-cards-container {
     display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}
}


.tooltip{
.chem-card {
  position: relative;
    display: flex;
  display: inline;
    flex-direction: column;
    background-color: transparent;
    border: 2px solid var(--card-border, #444);
    border-radius: 10px;
    padding: 12px;
    color: var(--card-text, #e0e0e0);
    box-sizing: border-box;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
}


.tooltiptext {
.chem-card h3 {
     position: absolute;
     margin: 0 0 12px 0;
     display: initial;
     color: var(--card-accent, #8cf);
    z-index: 99999;
     font-size: 18px;
    width: 295px;
     font-weight: 600;
    left: -120px;
     text-align: center;
    top: 42px;
     padding-bottom: 8px;
    padding: 5px;
     border-bottom: 1px solid rgba(255,255,255,0.1);
     pointer-events: none;
     visibility: hidden;
    opacity: 0;
    white-space: normal;
     text-align: left;
     transition: all 0.2s;
     border: 1px solid #465298;
    background-color: #27272E;
}
}


.tooltip:hover>.tooltiptext {
.chem-heading {
  visibility: visible;
    display: flex;
  opacity: 0.98;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    color: var(--card-accent, #8cf);
}
}


.wikitable td ul,
.collapsible {
.wikitable td ol,
    overflow: hidden;
.wikitable td dl {
    transition: max-height 0.4s ease, padding 0.3s ease;
text-align: left
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}
}


.wikitable>tr>th,
.collapsible.expanded {
.wikitable>tr>td,
    max-height: 1000px;
.wikitable>*>tr>th,
    padding-top: 8px;
.wikitable>*>tr>td {
    padding-bottom: 8px;
border: 1px solid black;
}
}


.wikitable>*>tr>th {
.chem-recipe-block,
background: #27272e;
.chem-effects-block {
border: 1px solid black;
    margin-top: 8px;
color: white
}
}


.tooltip:hover>.tooltiptext {
.chem-recipe {
  visibility: visible;
    display: grid;
  opacity: 0.98;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: start;
}
}
@media screen and (min-width:851px) {
 
.mobile {
.recipe-inputs,
display: none
.recipe-outputs {
}
    display: flex;
    flex-direction: column;
    gap: 6px;
    word-break: break-word;
    white-space: normal;
}
}


@media screen and (max-width:850px) {
.recipe-action {
.nomobile {
    display: flex;
display: none
    justify-content: center;
}
    align-items: center;
.tooltip{
    text-align: center;
  position: static;
    font-weight: 600;
    color: var(--recipe-action-color, #ffd700);
    font-style: italic;
    word-break: break-word;
    white-space: normal;
}
}
.tooltiptext{
 
box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
.recipe-item {
        position: fixed;
    font-size: 14px;
    width: 80vw;
    line-height: 1.4;
    top: 40vh;
    padding: 4px 8px;
    left: 0;
    background: rgba(255,255,255,0.05);
    margin: 0 auto;
    border-radius: 4px;
    right: 0;
    border-left: 2px solid var(--card-accent, #8cf);
}
    word-break: break-word;
.mobilefont{
    white-space: normal;
font-size: 80%
}
}
}


.hover_img_special {
.chem-effects {
     top: 0;
     max-height: 200px;
     left: 0;
     overflow-y: auto;
     display: none
     padding: 4px 0;
}
}


.img_special:hover .hover_img_special {
.chem-effects ul {
     display: inline;
    margin: 0;
     padding-left: 20px;
}
}


.img_special:hover .img_spec {
.chem-effects li {
     display: none;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
    color: var(--card-text, #e0e0e0);
     word-break: break-word;
}
}


.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
.chem-desc {
border-color: #fc3;
    margin-top: 12px;
background-color: #fef6e7
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
    padding: 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border-left: 3px solid rgba(255,255,255,0.1);
    word-break: break-word;
}
}


html body.mediawiki .mbox-small {
@media (max-width: 1024px) {
clear: right;
    .chem-cards-container {
float: right;
        grid-template-columns: repeat(2, 1fr);
margin: 4px 0 4px 1em;
    }
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em
}
}


.messagebox.small {
@media (max-width: 768px) {
width: 238px;
    .chem-cards-container {
font-size: 85%;
        grid-template-columns: 1fr;
float: right;
        gap: 12px;
clear: both;
    }
margin: 0 0 1em 1em;
   
line-height: 1.25em
    .chem-card {
        padding: 10px;
        min-height: 180px;
    }
   
    .chem-recipe {
        grid-template-columns: 1fr;
        gap: 8px;
    }
   
    .recipe-inputs,
    .recipe-outputs,
    .recipe-action {
        min-width: 100%;
        max-width: 100%;
    }
}
}


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


.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/*Химия*/
float: left;
 
text-align: left
 
}
 
 
 
 
 
 
 
 
 
 
 
 


.infobox {
/*=Блок лора=*/
border: 1px solid #a2a9b1;
/*Хронолония */
border-spacing: 3px;
.timeline {
background-color: #f8f9fa;
    width: 100%;
color: black;
    margin: 20px 0;
margin: 0.5em 0 0.5em 1em;
    background-color: transparent;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em
}
}


.infobox-header,
.timeline-entry {
.infobox-label,
    padding: 10px;
.infobox-above,
    border-bottom: 1px solid #555;
.infobox-full-data,
    background-color: var(--timeline-entry-bg, #333);
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
vertical-align: top
}
}


.infobox-label,
.timeline-header {
.infobox-data,
    font-size: 18px;
.infobox th,
    font-weight: bold;
.infobox td {
    color: var(--timeline-header-color, #fff);
text-align: left
    cursor: pointer;
}
}


.infobox .infobox-above,
.timeline-content {
.infobox .infobox-title,
    padding: 10px;
.infobox caption {
    font-size: 16px;
font-size: 125%;
    color: var(--timeline-content-color, #ddd);
font-weight: bold;
    background-color: var(--timeline-content-bg, #444);
text-align: center
    display: none;
}
}


.infobox-title,
.timeline-entry:nth-child(even) {
.infobox caption {
    background-color: var(--timeline-entry-bg-even, #222);
padding: 0.2em
}
}


.infobox .infobox-header,
.timeline-entry:hover {
.infobox .infobox-subheader,
    background-color: var(--timeline-entry-bg-hover, #555);
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center
}
}


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


.ambox td.mbox-imageright {
.timeline-entry a:hover {
padding: 2px 0.5em 2px 0
    text-decoration: underline;
}
}


.mw-default-size {
/*=Таблица планет=*/
background-color: #21212600 !important;
.planets-table-wrapper {
border-color: black !important;
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
}
}


.mw-default-size img {
.planets-table {
border-color: black !important;
  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;
}
}


.mw-default-size figcaption {
.planets-table th {
background-color: #21212600 !important;
  background-color: #3a3a3a;
border-color: black !important;
  color: #dcdcdc;
}
  text-align: center;
.mw-halign-right {
  padding: 12px;
background-color: #27272E00 !important;
  font-size: 18px;
border-color: black !important;
  font-weight: bold;
  border-bottom: 1px solid #5a5a5a;
}
}


.mw-halign-right img {
.planets-table td {
border-color: black !important;
  text-align: center;
  padding: 12px;
  font-size: 16px;
  border-top: 1px solid #5a5a5a;
}
}


.mw-halign-right figcaption {
.planets-table td img {
background-color: #27272E00 !important;
  border-radius: 50%;
border-color: black !important;
  margin: 10px 0;
}
  width: 80px;
.mw-halign-left {
  height: 80px;
background-color: #27272E00 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
border-color: black !important;
}
}


.mw-halign-left img {
.planets-table tr:first-child th:first-child {
border-color: black !important;
  border-top-left-radius: 12px;
}
}


.mw-halign-left figcaption {
.planets-table tr:first-child th:last-child {
background-color: #27272E00 !important;
  border-top-right-radius: 12px;
border-color: black !important;
}
.mw-halign-center {
background-color: #27272E00 !important;
border-color: black !important;
}
}


.mw-halign-center img {
.planets-table tr:last-child td:first-child {
border-color: black !important;
  border-bottom-left-radius: 12px;
}
}


.mw-halign-center figcaption {
.planets-table tr:last-child td:last-child {
background-color: #27272E00 !important;
  border-bottom-right-radius: 12px;
border-color: black !important;
}
}


th.navbox-group {
.planets-table tr:nth-child(even) {
white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.03);
text-align: right
}
}


.mw-parser-output .mw-collapsible-toggle {
.planets-table tr:nth-child(odd) {
font-weight: normal;
  background-color: rgba(255, 255, 255, 0.06);
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em
}
}


td.mbox-image {
.planets-table th:nth-child(2),
border: none;
.planets-table td:nth-child(2) {
padding: 2px 0 2px 0.9em;
  text-align: center;
text-align: center
}
}


td.mbox-imageright {
.planets-table caption {
border: none;
  margin: 10px 0;
padding: 2px 0.9em 2px 0;
   font-size: 20px;
text-align: center
   font-weight: bold;
} */
   color: #a0a0a0;
/*КОД*/
   text-align: left;
/* 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 */
@font-face {
  font-family: 'Noto Sans Light';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRGQ_m87A.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-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-0OIpQlx3QUlC5A4PNjhgRMQ_m87A.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Noto Sans Light';
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosans/v30/o-0OIpQlx3QUlC5A4PNjhgRCQ_k.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oswald/v40/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUJiZTaR.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Boxfont Round';
        src: url('/assets/fonts/boxfont-round/f3507eaadc95584e7358703d74e793ea/324a92fc76117885a667ae8af2be25ab/BoxfontRoundRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    }
@font-face{
font-family:'noto sans';
font-style:normal;
font-weight:400;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Regular.woff) format('woff')
}
@font-face{font-family:'noto sans';
font-style:italic;
font-weight:400;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Italic.woff) format('woff')
}
@font-face{
font-family:'noto sans';
font-style:normal;
font-weight:700;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-Bold.woff) format('woff')
}
@font-face{font-family:'noto sans';
font-style:italic;
font-weight:700;
src:local('Noto Sans'),url(https://fonts.cdnfonts.com/s/15794/NotoSans-BoldItalic.woff) format('woff')
}
/* 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 */
@font-face {
  font-family: 'Noto Sans Symbols';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/notosanssymbols/v40/rP2up3q65FkAtHfwd-eIS2brbDN6gxP34F9jRRCe4W3gfQ8QY_9Edkw.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* 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;
}
cite,
dfn {
font-style: inherit
}
}


q {
/*=Карточки планет=*/
quotes: '"' '"' "'" "'"
}


code {
.planets-row {
background-color: #303037;  
  display: flex;
border-color: #303037;
  justify-content: space-between;
color: #d3d3d3;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}
}


blockquote {
.planet-card {
overflow: hidden;
  width: 220px;
margin: 1em 0;
  border: 2px solid #555;
padding: 0 40px
  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;
}
}


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


img {
.planet-card h3 {
    image-rendering: pixelated;                 /* Universal support since 2021   */
  font-size: 1.3em;
  margin: 15px 0 10px;
   color: #ffcc00;
  text-transform: uppercase;
  letter-spacing: 1px;
}
}


.mw-body-content sub,
.planet-card p {
.mw-body-content sup,
  font-size: 1em;
span.reference {
  color: #ddd;
font-size: 80%
  margin: 0;
  line-height: 1.5;
  max-height: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
}


.ns-talk .mw-body-content dd {
.planet-card:hover {
margin-top: 0.4em;
  transform: scale(1.05);
margin-bottom: 0.4em
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}
}


#interwiki-completelist {
.planet-card .more-info {
font-weight: bold
  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;
}
}


.biglink {
.planet-card .more-info:hover {
font-family: "Oswald";
  background-color: #ffaa00;
font-style: oblique 10deg;
font-variant-caps: small-caps;
    text-shadow: #1b1b1f 1px 2px, #595959dd 2px 2px 1px
}
}


.client-js .mw-special-Watchlist #watchlist-message,
@media (max-width: 768px) {
.client-js .collapsible:not(.mw-made-collapsible).collapsed>tbody>tr:not(:first-child),
  .planets-row {
#editpage-specialchars {
    justify-content: center;
display: none
  }
}


.mw-rcfilters-enabled .mw-specialpage-summary {
  .planet-card {
margin-top: 1em
    width: 90%;
    max-width: 280px;
  }
}
}


.citation:target {
@media (max-width: 480px) {
background-color: rgba(0, 127, 255, 0.133)
  .planet-card {
    width: 100%;
  }
}
}


.citation {
/*=Меню лора=*/
word-wrap: break-word
: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; } }
}


ol.references {
/*=Блок лора=*/
font-size: 90%;
margin-bottom: 0.5em
}


.hlist dl,
/*=Блок лор Colonial marines=*/
.hlist ol,
.hlist ul {
margin: 0;
padding: 0
}


.hlist dd,
body.page-Лор_СМ #siteSub,
.hlist dt,
body.page-Лор_СМ #contentSub,
.hlist li {
body.page-Лор_СМ h1.firstHeading
margin: 0;
{display:none !important}
display: inline
}


.hlist.inline,
.CMMainFigure {
.hlist.inline dl,
  height: 130px;
.hlist.inline ol,
  width: 575px;
.hlist.inline ul,
  background: #292f2d;
.hlist dl dl,
  border-radius: 6px;
.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 {
.CMMainText {
display: none
  font-family: "Trebuchet MS", Tahoma, sans-serif;
  color: #a1a2a5;
  padding-top: 6px;
  padding-left: 9px;
}
}


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


.hlist dd:after,
.CMMainButton2 {
.hlist li:after {
  transform: translate(190px,-94px);
content: " · ";
  height: 40px;
font-weight: bold
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}
}


.hlist dd:last-child:after,
.CMMainButton3 {
.hlist dt:last-child:after,
  transform: translate(380px,-188px);
.hlist li:last-child:after {
  height: 40px;
content: none
  width: 180px;
  background: #151a22;
  border-radius: 6px;
  margin-top: 7px;
  margin-left: 7px;
}
}


.hlist dd dd:first-child:before,
.CMMainButtonText {
.hlist dd dt:first-child:before,
  display: inline-block;
.hlist dd li:first-child:before,
  width: 100%;
.hlist dt dd:first-child:before,
  height: 100%;
.hlist dt dt:first-child:before,
  text-align: center;
.hlist dt li:first-child:before,
  padding-top: 7px;
.hlist li dd:first-child:before,
  font-family: "Trebuchet MS", Tahoma, sans-serif;
.hlist li dt:first-child:before,
  color: white;
.hlist li li:first-child:before {
  text-decoration: none;
content: " (";
font-weight: normal
}
}


.hlist dd dd:last-child:after,
/*=Блок лора Маршалов CM=*/
.hlist dd dt:last-child:after,
.hlist dd li:last-child:after,
.hlist dt dd:last-child:after,
.hlist dt dt:last-child:after,
.hlist dt li:last-child:after,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
content: ")";
font-weight: normal
}


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


.hlist ol>li {
body.page-Провост_Маршал .citizen-page-container
counter-increment: listitem
{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%);}


.hlist ol>li:before {
.rectangleCM {
content: " " counter(listitem) "\a0"
  width: 250px;
  height: 60px;
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(835px, 20px);
}
}


.hlist dd ol>li:first-child:before,
.rectangleCM2 {
.hlist dt ol>li:first-child:before,
  width: 250px;
.hlist li ol>li:first-child:before {
  height: 60px;
content: " (" counter(listitem) "\a0"
  background: linear-gradient(to right, #05141d 85%, #14181f);
  position: relative;
  transform: translate(835px, 30px);
}
}


.plainlist ol,
.rectangleCM3 {
.plainlist ul {
  width: 800px;
line-height: inherit;
  height: 130px;
list-style: none none;
  background: #590000;
margin: 0
  position: relative;
  transform: translate(0px, -100px);
}
}


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


.navbox {
.rectangleCMTwo {
box-sizing: border-box;
  width: 10px;
border: 1px solid #a2a9b1;
  height: 60px;
width: 100%;
  background: #0087bd;
clear: both;
  position: relative;
font-size: 88%;
  transform: translate(0px, -52px);
text-align: center;
padding: 1px;
margin: 1em auto 0
}
}


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


.navbox+.navbox {
.classifieldCM {
margin-top: -1px
  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-inner,
.classifieldCMRisk {
.navbox-subgroup {
  color: #bebebe;
width: 100%
  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-group,
.rectangleCMTwo3 {
.navbox-title,
  width: 10px;
.navbox-abovebelow {
  height: 130px;
padding: 0.25em 1em;
  background: #ce0000;
line-height: 1.5em;
  position: relative;
text-align: center
  transform: translate(0px, -79px);
}
}


th.navbox-group {
.classifieldCM3 {
white-space: nowrap;
  color: #bebebe;
text-align: right
  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;
}
}


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


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


tr+tr>.navbox-abovebelow,
.MarshalsLogoCM {
tr+tr>.navbox-group,
  right: 0;
tr+tr>.navbox-image,
  bottom: 0;
tr+tr>.navbox-list {
  position: absolute;
border-top: 2px solid #fdfdfd
}
}


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


.navbox-abovebelow,
.second_block {
th.navbox-group,
  display: none;
.navbox-subgroup .navbox-title {
background-color: #ddddff
}
}


.navbox-subgroup .navbox-group,
.imggg {
.navbox-subgroup .navbox-abovebelow {
  float: right ;
background-color: #e6e6ff
}
}


.navbox-even {
.home-card:hover .second_block {
background-color: #f7f7f7
  display: block;
  font-family: "Gill Sans", sans-serif;
}
}


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


.navbox .hlist td dl,
.loreCMwelcom {
.navbox .hlist td ol,
  color: #C6C3B5;
.navbox .hlist td ul,
  opacity: 0.5;
.navbox td.hlist dl,
  text-align: left;
.navbox td.hlist ol,
  font-family: "Gill Sans", sans-serif;
.navbox td.hlist ul {
  font-size: 15px;
padding: 0.125em 0
  font-weight: lighter;
}
}


.mw-parser-output .mw-collapsible-toggle {
.loreCMwelcomWork {
font-weight: normal;
  color: #C6C3B5;
text-align: right;
  opacity: 0.75;
padding-right: 0.2em;
  text-align: left;
padding-left: 0.2em
  font-family: "Gill Sans", sans-serif;
  font-size: 15px;
  font-weight: lighter;
}
}


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


.infobox {
.home-grid {
border: 1px solid #a2a9b1;
display: grid;
border-spacing: 3px;
grid: auto-flow dense/repeat( auto-fit, minmax( 9.375rem, 1fr ) );
background-color: #f8f9fa;
grid-auto-rows: minmax( 3rem, auto );
color: black;
grid-gap: calc(0.5 * 1rem);
margin: 0.5em 0 0.5em 1em;
  font-family: "Gill Sans", sans-serif;
padding: 0.2em;
float: right;
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em
}
}


.infobox-header,
.home-grid--col2 {
.infobox-label,
grid-template-columns: 1fr 1fr;
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
vertical-align: top
}
}


.infobox-label,
.home-grid a.external {
.infobox-data,
background-image: none;
.infobox th,
.infobox td {
text-align: left
}
}


.infobox .infobox-above,
.home-card {
.infobox .infobox-title,
position: relative;
.infobox caption {
padding: 1rem;
font-size: 125%;
background: hsl(220,25%,12%);
font-weight: bold;
border: 1px solid rgba(255,255,255,0.05);
text-align: center
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;
}
}


.infobox-title,
.home-card table.timeline {
.infobox caption {
margin-top: 0.2rem;
padding: 0.2em
}
}


.infobox .infobox-header,
.home-card--col2 {
.infobox .infobox-subheader,
grid-column: span 2;
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center
}
}


.infobox .infobox-navbar {
.home-card--row3 {
text-align: right
grid-row: span 3;
}
}


.wikitable.plainrowheaders th[scope=row] {
.home-card--row4 {
font-weight: normal;
grid-row: span 4;
text-align: left
}
}


.wikitable td ul,
.home-card--row8 {
.wikitable td ol,
grid-row: span 8 / auto;
.wikitable td dl {
text-align: left
}
}


table.mw-hiero-table td {
.home-card__label {
vertical-align: middle
color: #72777d;
font-size: 0.8125rem;
letter-spacing: 0.75px;
}
}


.mw-parser-output a[href$=".pdf"].external,
.home-card__header {
.mw-parser-output a[href*=".pdf?"].external,
color: #202122;
.mw-parser-output a[href*=".pdf#"].external,
font-size: 1rem;
.mw-parser-output a[href$=".PDF"].external,
    font-weight: 600;
.mw-parser-output a[href*=".PDF?"].external,
    line-height: 1.25;
.mw-parser-output a[href*=".PDF#"].external {
background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
padding-right: 18px
}
}


.messagebox {
.home-card__header a {
border: 1px solid #a2a9b1;
display: flex;
background-color: #f8f9fa;
align-items: center;
width: 80%;
justify-content: space-between;
margin: 0 auto 1em auto;
padding: .2em
}
}


.messagebox.merge {
.home-card__header a:after {
border: 1px solid #c0b8cc;
content: '▶';
background-color: #f0e5ff;
font-size: 0.8125rem;
text-align: center
}
}


.messagebox.cleanup {
.home-card__background {
border: 1px solid #9f9fff;
position: absolute;
background-color: #efefff;
top: 0;
text-align: center
right: 0;
bottom: 0;
left: 0;
background: #242a31;
border-radius: 8px;
}
}


.messagebox.standard-talk {
.home-card__background:after {
border: 1px solid #c0c090;
position: absolute;
background-color: #f8eaba;
top: 0;
margin: 4px auto
bottom: 0;
left: 0;
    right: 0;
    display: block;
    background: linear-gradient(to right,#000,transparent);
    content: "";
}
}


.mbox-inside .standard-talk {
.home-card__background picture,
border: 1px solid #c0c090;
.home-card__background img {
background-color: #f8eaba;
width: 100%;
width: 100%;
margin: 2px 0;
height: 100%;
padding: 2px
}
}


.messagebox.small {
.home-card__background img {
width: 238px;
object-fit: cover;
font-size: 85%;
object-position: center;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em
}
}


.messagebox.small-talk {
.home-card__foreground {
width: 238px;
position: absolute;
font-size: 85%;
top: 0;
float: right;
bottom: 0;
clear: both;
left: 0;
margin: 0 0 1em 1em;
right: 0;
line-height: 1.25em;
padding: 1rem;
background-color: #f8eaba
display: flex;
flex-direction: column;
justify-content: center;
gap: calc(0.25 * 1rem);
color: #fff;
line-height: 1.25;
}
}


th.mbox-text,
.home-card__foreground .home-card__header {
td.mbox-text {
color: #fff;
border: none;
padding: 0.25em 0.9em;
width: 100%
}
}


td.mbox-image {
.home-card__foreground .home-card__label {
border: none;
color: #bababa;
padding: 2px 0 2px 0.9em;
text-align: center
}
}


td.mbox-imageright {
.home-card p {
border: none;
/* margin-top: calc(0.5 * 1rem); */
padding: 2px 0.9em 2px 0;
margin-top: calc(0 * 1rem);  
text-align: center
font-size: 0.875rem;
}
}


td.mbox-empty-cell {
.home-card.home-card--button {
border: none;
overflow: hidden;
padding: 0;
padding: 0;
width: 1px
background: #242a31;
border: 0;
}
}


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


table.ambox+table.ambox,
.home-card--button--navigation a {
table.ambox+.mw-empty-elt+table.ambox {
/* display: flex; */
margin-top: -1px
display: contents;
height: 100%;
justify-content: center;
align-items: center;
padding: 0 1rem;
background: transparent;
color: #fff;
font-weight: 500;
}
}


.ambox th.mbox-text,
.home-card--button .home-card__background a {
.ambox td.mbox-text {
padding: 0;
padding: 0.25em 0.5em
}
}


.ambox td.mbox-image {
.home-card--button img {
padding: 2px 0 2px 0.5em
transition: transform 0.2s ease;
}
}


.ambox td.mbox-imageright {
.home-card--button:hover img {
padding: 2px 0.5em 2px 0
transform: scale(1.1);
}
}


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


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


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


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


table.ambox-protection {
.home-card .template-statsbar {
border-left: 10px solid #a2a9b1
margin: 0;
}
}


table.imbox {
.home-footer {
margin: 4px 10%;
font-size: 0.8125rem;
border-collapse: collapse;
font-family: monospace;
border: 3px solid #36c;
text-align: center;
background-color: #fbfbfb;
box-sizing: border-box
}
}


.imbox .mbox-text .imbox {
#home-nav {
margin: 0 -0.5em;
margin-top: 1rem;
display: block
}
}


.mbox-inside .imbox {
#home-nav .home-card__foreground {
margin: 4px
    font-weight: 500;
}
}


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


table.imbox-delete {
/* адаптация под телефоны */
border: 3px solid #b32424
@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.imbox-content {
/*------------------------------------------------Сноска для предметов-----------------------------------------------------------------------------*/
border: 3px solid #f28500
 
 
/*------------------------------------------------Блок вики-----------------------------------------------------------------------------*/
 
.tabber {
    border: 1px solid #20242a !important;
    border-radius: 10px !important; /* Закругление углов у всего таба */
    overflow: hidden; /* Чтобы закругление работало для содержимого */
}
}


table.imbox-style {
.tabber__tab {
border: 3px solid #fc3
    background: #19191d !important;
    padding: 8px 16px;
}
}


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


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


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


table.imbox-featured {
/* Стиль заголовка профессии */
border: 3px solid #cba135
.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.cmbox {
.job_header .header-title {
margin: 3px 10%;
    text-align: center;
border-collapse: collapse;
    padding: 5px 10px;
border: 1px solid #a2a9b1;
    margin: 0;
background-color: #dfe8ff;
    background: linear-gradient(135deg, var(--header-color-start, #465298), var(--header-color-end, #27272e));
box-sizing: border-box
    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.cmbox-notice {
/* Контейнер для изображения профессии */
background-color: #d8e8ff
.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.cmbox-speedy {
.job_header .sprite-container img {
margin-top: 4px;
    /* width: 128px; */
margin-bottom: 4px;
    /* height: auto; */
border: 4px solid #b32424;
    border-radius: 0.2em;
background-color: #ffdbdb
}
}


table.cmbox-delete {
/* Элементы внутри JobHeader */
background-color: #ffdbdb
.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.cmbox-content {
.job_header div:last-child {
background-color: #ffe7ce
    border-bottom: none;
}
}


table.cmbox-style {
.job_header .label {
background-color: #fff9db
    font-weight: bold;
    color: #ddd;
}
}


table.cmbox-move {
.job_header .value {
background-color: #e4d8ff
    color: #bbb;
    font-size: 0.95em;
}
}


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


table.ombox {
.job_collapsible_content {
margin: 4px 10%;
    display: none;
border-collapse: collapse;
    padding: 10px;
border: 1px solid #a2a9b1;
    color: #bbb;
background-color: #f8f9fa;
    transition: transform 0.3s ease, background-color 0.3s ease;
box-sizing: border-box
}
}


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


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


table.ombox-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;
    }
    body {
        overflow-x: hidden;
    }


table.ombox-content {
    #IdJobsTableContainer2 {
border: 1px solid #f28500
        grid-area: sidebar;
        margin-left: -8vw;
    }
}
}


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


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


table.ombox-protection {
#IdJobsTableContainer2 {
border: 2px solid #a2a9b1
    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; /* Плавное изменение свойств */
}
}


table.tmbox {
.JobsTable {
margin: 4px 10%;
    border: 2px solid black;
border-collapse: collapse;
    border-radius: 10px;
border: 1px solid #c0c090;
    margin-bottom: 2px;
background-color: #f8eaba;
    width: auto;
min-width: 80%;
    height: fit-content;
box-sizing: border-box
    background: #28303e;
    transition: background 0.3s ease; /* Плавная смена фона */
}
}


.tmbox.mbox-small {
.JobsTableList li a {
min-width: 0
    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; /* Плавная смена фона и эффект нажатия */
}
}


.mediawiki .mbox-inside .tmbox {
.JobsTableList li a:hover {
margin: 2px 0;
    background: #3b3b3b;
width: 100%
    transform: scale(1.05); /* Эффект увеличения при наведении */
}
}


.mbox-inside .tmbox.mbox-small {
.JobsTableHeadImg {
line-height: 1.5em;
    margin: 0 5px 0 15px;
font-size: 100%
    transition: transform 0.3s ease; /* Плавное изменение трансформации */
}
}


table.tmbox-speedy {
.JobsTableHeadLink {
border: 2px solid #b32424;
    margin-right: auto;
background-color: #fee7e6
    transition: transform 0.3s ease; /* Плавное изменение трансформации */
}
}


table.tmbox-delete {
#IdJobsTableContainer1 {
border: 2px solid #b32424
    display: none;
}
}


table.tmbox-content {
.JobsTable .mw-collapsible-toggle {
border: 2px solid #f28500
    margin-top: -35px;
}
}


table.tmbox-style {
.JobsTable .mw-collapsible-toggle-default:before,
border: 2px solid #fc3
.JobsTable .mw-collapsible-toggle-default:after {
    content: none;
}
}


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


table.tmbox-protection,
.JobsTable .mw-collapsible.mw-made-collapsible.mw-collapsed .mw-collapsible-text {
table.tmbox-notice {
    color: #00ffff9e;
border: 1px solid #c0c090
    box-shadow: 0 0 10px #00b9b978;
}
}


table.fmbox {
.JobsTableList.closed {
clear: both;
    max-height: 0 !important;
margin: 0.2em 0;
    opacity: 0;
width: 100%;
    overflow: hidden;
border: 1px solid #a2a9b1;
    transition: opacity 0.5s ease, max-height 0.5s ease; /* Плавное исчезновение */
background-color: #f8f9fa;
    transition-delay: 1s;
box-sizing: border-box
}
}


table.fmbox-system {
/* Скрытие иконок по умолчанию */
background-color: #191970
.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;
}
}


table.fmbox-warning {
/* === Мобильные стили (до 1440px) === */
border: 1px solid #bb7070;
@media screen and (max-width: 1440px) {
background-color: #ffdbdb
    #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;
    }
}
}


table.fmbox-editnotice {
@media screen and (max-width: 1439px) {
background-color: transparent
    .JobsTable div:first-child {
        padding-left: 15px;
    }
}
}


div.mw-warning-with-logexcerpt,
/* === ПК стили (от 1120px и выше) === */
div.mw-lag-warn-high,
@media screen and (min-width: 1120px) {
div.mw-cascadeprotectedwarning,
    .citizen-toc-enabled .citizen-body-container {
div#mw-protect-cascadeon,
        grid-template-areas:
div.titleblacklist-warning {
            'void header header'
clear: both;
            'sidebar content toc'
margin: 0.2em 0;
            'footer footer footer';
border: 1px solid #bb7070;
        grid-template-columns: 10% 70% 20%;
background-color: #ffdbdb;
        margin-left: 8vw;
padding: 0.25em 0.9em;
    }
box-sizing: border-box
 
    body {
        overflow-x: hidden;
    }
 
    #IdJobsTableContainer2 {
        grid-area: sidebar;
        margin-left: -8vw;
    }
}
}


.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
@media screen and (min-width: 1440px) {
border-color: #fc3;
    .JobsTable .mw-collapsible.mw-collapsed {
background-color: #fef6e7
        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; /* Мгновенно при открытии */
    }
 
}
}


html body.mediawiki .mbox-small {
.JobsTable div:hover ~ .custom-collapsible.hidden,
clear: right;
    .JobsTable .custom-collapsible.hidden:hover {
float: right;
        max-height: 1000px;
margin: 4px 0 4px 1em;
        opacity: 1;
box-sizing: border-box;
        transition-delay: 0s;
width: 238px;
    }
font-size: 88%;
line-height: 1.25em
}
}


html body.mediawiki .mbox-small-left {
 
margin: 4px 1em 4px 0;
#IdJobsTableContainer2::-webkit-scrollbar {
box-sizing: border-box;
    width: 0; /* скрываем скроллбар, установив нулевую ширину */
overflow: hidden;
    background: transparent; /* и фон прозрачным */
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em
}
}


.compact-ambox table .mbox-image,
#IdJobsTableContainer2 {
.compact-ambox table .mbox-imageright,
    z-index: auto;
.compact-ambox table .mbox-empty-cell {
    scrollbar-width: none; /* Для Firefox */
display: none
    -ms-overflow-style: none; /* Для IE и Edge */
}
}


.compact-ambox table.ambox {
.JobsTable .mw-collapsible {
border: none;
    transition: max-height 2s ease, opacity 2s ease;
border-collapse: collapse;
    transition-delay: 1s; /* задержка закрытия */
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 {
.JobsTable:hover .mw-collapsible,
font-size: 100%;
.JobsTable .mw-collapsible:hover {
width: auto;
    transition: max-height 0s ease, opacity 0s ease;
margin: 0
    max-height: 1000px;
    opacity: 1;
}
}


.compact-ambox table .mbox-text {
#IdJobsTableContainer2::-webkit-scrollbar {
padding: 0 !important;
    width: 0; /* скрываем скроллбар, установив нулевую ширину */
margin: 0 !important
    background: transparent; /* и фон прозрачным */
}
}


.compact-ambox table .mbox-text-span {
.JobsTable:hover .mw-collapsible,
display: list-item;
.JobsTable .mw-collapsible:hover {
line-height: 1.5em;
    transition: max-height 0s ease, opacity 0s ease;
list-style-type: square;
    max-height: 1000px;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg)
    opacity: 1;
}
}


.compact-ambox .hide-when-compact {
 
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;
}
}


.nounderlines a,
.citizen-sections-enabled .citizen-section-heading .mw-headline:empty {
.IPA a:link,
    border: unset;
.IPA a:visited {
text-decoration: none !important
}
}


.nowrap,
.citizen-sections-enabled .citizen-section-heading--collapsed .mw-headline {
.nowraplinks a {
    border: unset;
white-space: nowrap
}
}


.wrap,
.mw-ui-icon-wikimedia-collapse:before {
.wraplinks a {
    opacity: unset;
white-space: normal
}
}


#wpUploadDescription {
.citizen-sections-enabled .citizen-section-indicator {
height: 13em
    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;
}
}


.thumbinner {
@media screen and (max-width: 1119px) {
min-width: 100px;
    .citizen-sections-enabled .citizen-section-indicator {
background: #303037;
        margin-left: 0px;
border: solid #37373e
    }
    .citizen-sections-enabled .citizen-section-indicator {
        width: 21px;
        height: 21px;
    }
    .citizen-sections-enabled .citizen-section-heading .mw-headline {
        padding-left: 25px;
    }
}
}


.thumbinner .thumbimage, .thumbborder {
.citizen-sections-enabled .citizen-section-heading--collapsed .citizen-section-indicator {
border: solid 1px #37373e
    background: #000000;
    opacity: 50%;
    box-shadow: unset;
    transition: 0.3s;
}
}


#mw-subcategories,
.citizen-section-collapsible p {
#mw-pages,
    margin-bottom: 1.5em;
#mw-category-media,
    margin-top: 0px;
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both
}
}


.wpb .wpb-header {
/* Begin Заголовки стиль
display: none
Shegare */
 
/* Begin Подзаголовки стиль
Shegare */
 
/*.citizen-section-collapsible > h2, h3, h4, h5, h6 {
    border-bottom: 2px dashed #5d5d5d;
    width: fit-content;
}*/
 
/* Begin Подзаголовки стиль
Shegare */
 
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
 
/* Начальный размер блока лого */
.citizen-header__logo {
    height: 89px;
}
}


.wpbs-inner .wpb .wpb-header {
/* Анимация появления второго лого */
display: table-row
.logo2 img {
  opacity: 0;
  animation: animOpacity 0.5s forwards;
}
@keyframes animOpacity {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
}


.wpbs-inner .wpb-outside {
/* Обводка вокруг лого */
display: none
.logo1:hover, .logo2:hover {
    background: #ffffff26;
    border-radius: 15px;
}
}


.mw-tag-markers {
/* Лого на экранах меньше 1120px */
font-style: italic;
@media screen and (max-width: 1119px) {
font-size: 90%
    .citizen-header__logo {
        display: flex;
        height: auto;
        width: 89px;
    }
    .logo1 {
        margin-right: 3px;
    }
}
@media screen and (min-width: 1120px) {
    .logo1 {
        margin-bottom: 3px;
    }
}
}


.checkuser-show,
/* End Лого стили
.sysop-show,
Shegare */
.abusefilter-show,
/*-----------------------------------------------------------------------------------------------------------------------------------*/
.abusefilter-helper-show,
 
.patroller-show,
/* Begin элементы таблицы "|" не подсвечиваются при наведении
.templateeditor-show,
Shegare */
.extendedmover-show,
 
.extendedconfirmed-show,
:root.skin-citizen-dark {
.autoconfirmed-show,
--background-color-quiet--hover: unset
.user-show {
display: none
}
}


.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
/* End элементы таблицы "|" не подсвечиваются при наведении
.ve-ui-mwNoticesPopupTool-item .mbox-image,
Shegare */
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
/*-----------------------------------------------------------------------------------------------------------------------------------*/
display: none !important
 
/* Begin header не скрывается
Shegare */
 
@media screen and (max-width: 1119px) {
    .citizen-scroll--down .citizen-header {
        transform: unset;
    }
}
}


ul.permissions-errors>li {
/* End header не скрывается
list-style: none none
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin TooltipTable
Shegare */
 
.citizen-overflow--right {
    -webkit-mask-image: unset;
}
}


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


span.texhtml {
@media screen and (max-width:1421px) {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
        .citizen-table-wrapper,
font-size: 118%;
        .citizen-overflow--left.citizen-overflow--right,
line-height: 1;
        .citizen-overflow--left,
white-space: nowrap;
        .citizen-overflow--right {
-moz-font-feature-settings: "lnum", "tnum", "kern" 0;
                -webkit-mask-image: unset;
-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
                overflow: auto;
font-feature-settings: "lnum", "tnum", "kern" 0;
        }
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none
}
}


span.texhtml span.texhtml {
/* End TooltipTable
font-size: 100%
Shegare */
 
/*-----------------------------------------------------------------------------------------------------------------------------------*/
 
/* Begin Отмена пикселизации
Shegare */
 
.citizen-header__logo img, .logo img {
      image-rendering: unset;
}
}
.nopixelated img {
  image-rendering: unset;
}
/* End оформление заголовков
Shegare */
/*-----------------------------------------------------------------------------------------------------------------------------------*/
/* Begin mobile_bigtable
Shegare */


span.mwe-math-mathml-inline {
@media screen and (max-width: 1025px) {
font-size: 118%
    mobile_bigtable {
        font-size: 16px;
    }
}
@media screen and (max-width: 1024px) {
    mobile_bigtable {
        font-size: 10px;
    }
}
}


.mwe-math-fallback-image-display,
/* Begin mobile_bigtable
.mwe-math-mathml-display {
Shegare */
margin-left: 1.6em !important;
 
margin-top: 0.6em;
/*-----------------------------------------------------------------------------------------------------------------------------------*/
margin-bottom: 0.6em
}


.mwe-math-mathml-display math {
/* Begin главное меню
display: inline
Данте ( и немного Shegare >w< )
}
*/


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


.PopUpMediaTransform a .play-btn-large {
/* Скругление углов только у первой и последней ячеек в строке заголовка */
margin: 0;
.standard-link th {
top: auto;
    border-radius: 15px 0 0 15px;
right: auto;
bottom: 0;
left: 0
}
}


@media screen {
/* Форматирование ссылок в заголовках таблицы */
#content .gallerybox div.thumb {
.standard-link th a {
background-color: #f8f9fa
    margin: 7px;
}
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat
}
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img,
.nochecker .gallerybox .thumb img {
background-image: none
}
}
}


.flaggedrevs_draft_synced,
/* Форматирование ссылок в ячейках таблицы */
.flaggedrevs_stable_synced,
.standard-link td a {
#t-upload,
    margin: 5px 10px;
.mw-special-Book #coll-downloadbox {
    padding: 17px;
display: none
}
}


#site-tools {
/* Общие стили для всех ссылок */
display: none !important;
.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;
}
}


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


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


.mediawiki,
/* End главное меню
.mw-page-container {
Данте ( и немного Shegare >w< )
background: #1b1b1f;
*/
color: lightgrey;
/*-----------------------------------------------------------------------------------------------------------------------------------*/
border: #1b1b1f
}


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


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


#mw-content-container,
/* Индивидуальные цвета для секций */
#mw-header-container,
.marines-section {
#mw-content-wrapper,
    background-color: #222424;
#mw-content,
#p-logo {
background: #1b1b1f;
color: lightgrey;
border: #1b1b1f
}
}


.mw-code {
.xenos-section {
background: #212126;
    background-color: #2b2e44;
color: lightgrey
}
}


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


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


/** Новые цвета ссылок (одинаковый цвет, независимо от посещения **/
/* Стили для списка */
a,
.menu-section ul {
.vector-menu-portal .vector-menu-content li a,.vector-menu-tabs li a,
    list-style-type: none;
body.skin--responsive #p-cactions li a,
    padding: 0;
a:visited,
     margin: 10px 0 0 0;
.vector-menu-portal .vector-menu-content li a:visited,
.vector-menu-tabs li a:visited,
body.skin--responsive #p-cactions li a:visited  {
     color: #77c1d9
}
}


/** Старые цвета ссылок
/* Стили для элементов списка */
a,
.menu-section ul li {
.vector-menu-portal .vector-menu-content li a,
    margin: 10px 0;
.vector-menu-tabs li a,
    text-align: center;
body.skin--responsive #p-cactions li a {
color: lightblue
}
}


a:visited,
/* Стили для кнопок (ссылок) */
.vector-menu-portal .vector-menu-content li a:visited,
.menu-section ul li a {
.vector-menu-tabs li a:visited,
    display: block;
body.skin--responsive #p-cactions li a:visited {
    width: 100%;
color: #007FFF
    padding: 10px;
} **/
    border-radius: 8px;
 
    text-align: center;
a:hover,
    background-color: #1a1e29; /* Цвет фона кнопок */
a:visited:hover {
     color: white;
     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;
}
}


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


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


a.extiw:visited,
.maps-section ul {
a.external:visited,
    display: flex;
.mw-parser-output a.extiw:visited,
    flex-wrap: wrap;
.mw-parser-output a.external:visited,
    gap: 10px; /* Отступы между картами */
body.skin--responsive #p-cactions li a.external:visited {
    padding: 0;
/**Старый цвет
    margin: 0;
color: #8a2be2 **/
color: #3377aa
}
}


.vector-menu-tabs .selected a,
/* Стили для секции с картами */
.vector-menu-tabs .selected a:visited,
.maps-section {
body.skin--responsive #p-cactions li.selected a {
    color: white !important; /* Добавление !important */
color: lightgrey;
font-weight: bold
}
}


body.skin--responsive #p-cactions li.selected a {
.maps-section ul {
background: #27272e
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Отступы между картами */
    padding: 0;
    margin: 0;
}
}


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


#mw-site-navigation .sidebar-chunk,
/* Стили для ссылок в секции карт */
#mw-site-navigation .sidebar-chunk,
.maps-section ul li a {
#mw-related-navigation .sidebar-chunk,
    display: block;
body.skin--responsive .portlet,
    padding: 10px;
body.skin--responsive .pBody {
    background-color: #1a1e29; /* Цвет фона кнопок в секции карт */
background: #212126;
    color: white !important; /* Устанавливаем белый цвет текста */
color: lightgrey;
    border-radius: 8px;
border-color: #1b1b1f
    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;
}
}


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


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


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


#simpleSearch {
/* Стили для логотипа */
background: #27272e;
.logo img {
border: 1px solid #37373e;
    border-radius: 50%;
color: lightgrey
    width: 100px;
    height: auto;
}
}


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


#pt-createaccount {
.title-text h1 {
     visibility: hidden;
     margin: 0;
     display: none;
     font-size: 32px;
    font-weight: bold;
}
}


.vector-user-links .vector-user-menu-more .vector-menu-content-list li a,
.title-text p {
#personal .dropdown {
    margin: 5px 0 0;
background: #27272e;
    font-size: 18px;
border: 1px solid #37373e;
color: lightgrey
}
}


body.skin--responsive #p-cactions li.selected {
/* Стили для разделителя */
border: #37373e
.separator {
    border-bottom: 2px solid #A9A9A9;
    margin: 10px 0 20px;
}
}


.vector-menu-tabs .selected {
/* Адаптивные стили для мобильных устройств */
background: #1b1b1f
@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;
    }


#pagehistory li.selected {
    .logo img {
background: #1B4D3E;
        width: 80px;
font-weight: bold
    }
}


div.mw-warning-with-logexcerpt,
    .title-text {
div.mw-lag-warn-high,
        margin-left: 0;
div.mw-cascadeprotectedwarning,
        margin-top: 10px;
div#mw-protect-cascadeon,
    }
div.titleblacklist-warning {
background: #7C0A02;
border: 1px solid #bb7070
}


.wikitable {
    .title-text h1 {
background: #303037;
        font-size: 24px;
border: 1px solid #37373e;
     }
color: white
}
/* класс wikitableKZ является костылем, ведь фиксить wikitable мне было впадлу. Из-за wikitable тултипы обрезаются. Не бейте*/
.wikitableKZ {
     border-collapse: collapse
}


.wikitableKZ>tr>th,
    .title-text p {
.wikitableKZ>tr>td,
        font-size: 16px;
.wikitableKZ>*>tr>th,
    }
.wikitableKZ>*>tr>td {
border: 1px solid black;
}
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/


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


.mw-content-ltr .tocnumber {
/* Основные стили карточек */
color: grey
.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; /* Скрываем все, что выходит за пределы карточки */
}
}


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


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


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


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


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


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


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


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


@media screen {
* { font-family: Arial }
.mw-body-content .recipeimg a>img {
padding: 0;
margin: 0;
border: 0;
width: 32px !important;
max-width: 32px !important;
height: 32px !important;
max-height: 32px !important
}
}


.positive {
body {
color: #00FF00;
    color: #FAFAFA;
font-weight: bold
}
}


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


.anglerect {
img {
--angle-rect-clip-size: 16px;
    image-rendering: pixelated;
clip-path: polygon(0 0, calc(100% - var(--angle-rect-clip-size)) 0, 100% var(--angle-rect-clip-size), 100% 100%, var(--angle-rect-clip-size) 100%, 0 calc(100% - var(--angle-rect-clip-size)))
}
}


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


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


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


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


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


Строка 1674: Строка 2226:
     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 {
    visibility: visible;
    opacity: 0.98;
}
 
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
    text-align: left;
}
}


.tooltip:hover>.tooltiptext {
.wikitable > tr > th,
  visibility: visible;
.wikitable > tr > td,
  opacity: 0.98;
.wikitable > * > tr > th,
.wikitable > * > tr > td {
    border: 1px solid black;
}
}
@media screen and (min-width:851px) {
 
.mobile {
.wikitable > * > tr > th {
display: none
    background: #27272e;
}
    color: white;
}
}


@media screen and (max-width:850px) {
@media screen and (min-width: 851px) {
.nomobile {
    .mobile {
display: none
        display: none;
}
    }
.tooltip{
 
  position: static;
    .job_header {
        float: right;
        width: 25%;
    }
}
}
.tooltiptext{
 
box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
@media screen and (max-width: 1420px) {
    .tooltiptext {
        box-shadow: 0px 0px 100vw 100vh rgb(0 0 0 / 60%);
         position: fixed;
         position: fixed;
    width: 80vw;
        width: 80vw;
    top: 40vh;
        top: 40vh;
    left: 0;
        left: 0;
    margin: 0 auto;
        margin: 0 auto;
    right: 0;
        right: 0;
}
    }
.mobilefont{
}
font-size: 80%
 
}
@media screen and (max-width: 850px) {
    .nomobile {
        display: none;
    }
    .mobilefont {
        font-size: 80%;
    }
    .mobile_sprite,
    .mobile_text {
        transform: scale(0.75);
    }
}
 
.hover_img_special {
    top: 0;
    left: 0;
    display: none;
}
 
.img_special:hover .hover_img_special {
    display: inline;
}
 
.img_special:hover .img_spec {
    display: none;
}
 
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
    border-color: #fc3;
    background-color: #fef6e7;
}
}


/** MultimediaViewer tweaks **/
html body.mediawiki .mbox-small {
/* MMV text colors */
    clear: right;
.mw-mmv-above-fold,
    float: right;
.mw-mmv-dialog,
    margin: 4px 0 4px 1em;
.mw-mmv-image-links li,
    width: 238px;
.mw-mmv-options-cancel-button.mw-ui-button.mw-ui-quiet,
    font-size: 88%;
.mw-mmv-options-dialog-header,
    line-height: 1.25em;
.mw-mmv-options-text-header {
color: #e0e0e0;
}
}
/* MMV file info */
 
.mw-mmv-above-fold {
.messagebox.small {
background: #222;
    width: 238px;
border-top: 1px solid #333;
    font-size: 85%;
    float: right;
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
}
.mw-mmv-image-metadata {
 
background-color: #111;
.messagebox.small-talk {
border-color: #333;
    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;
}
}
/* MMV options popup */
 
.mw-mmv-dialog {
.infobox-header,
border: 1px solid #333;
.infobox-label,
background: #222;
.infobox-above,
box-shadow: none;
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
.infobox th,
.infobox td {
    vertical-align: top;
}
}
.mw-mmv-dialog .mw-mmv-dialog-down-arrow {
 
background: #222;
.infobox-label,
border-bottom: 1px solid #333;
.infobox-data,
border-right: 1px solid #333;
.infobox th,
.infobox td {
    text-align: left;
}
}
.mw-mmv-options-enable-alert {
 
background: #333;
.infobox .infobox-above,
color: #e0e0e0;
.infobox .infobox-title,
.infobox caption {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
}
}
/* MMV buttons on file page */
 
.mw-mmv-filepage-buttons .mw-ui-button {
.infobox-title,
background: #36c;
.infobox caption {
color: #e0e0e0;
    padding: 0.2em;
border-color: #1d4699;
}
 
.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); }


.section .col {
.cf-card-header{ padding:14px 16px; text-align:center; position:relative; }
  flex: 1 1 auto;
.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 .line-break {
.cf-card-logo{ display:block; margin:0 auto 10px; max-width:240px; max-height:120px; }
  flex-basis: 100%;
.cf-card-title{ font-size:1.25rem; margin:0; font-weight:700; color:var(--cf-text-light); }
  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 {
.cf-card-content{ padding:14px 16px; color:var(--cf-text-light); }
    color: #d3d3d3;
.cf-faction-desc{ font-size:0.95rem; color:var(--cf-text-muted); line-height:1.45; }
    background: #303037;
    border: solid #000000;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02)
}
.mw_metadata > tr > th,.mw-datatable > tr > th,.wikitable > tr > th,.mw_metadata > tr > td,.mw-datatable > tr > td,.wikitable > tr > td,.mw_metadata > * > tr > th,.mw-datatable > * > tr > th,.wikitable > * > tr > th,.mw_metadata > * > tr > td,.mw-datatable > * > tr > td,.wikitable > * > tr > td {
    border: 1px solid #000000;
    padding: 0.4em 0.5em
}


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


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


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


.pretoclip-copy-button {
.cf-minor-states{ border-top:5px solid var(--cf-minor-color); }
    float: right;
.cf-minor-states .cf-card-header{ background:linear-gradient(90deg,#07520b 0%, #032b05 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 {
.cf-corporations{ border-top:5px solid var(--cf-corp-color); }
    color: #d3d3d3;
.cf-corporations .cf-card-header{ background:linear-gradient(90deg,#0e2847 0%, #081524 100%); }
    font: inherit;
    font-weight: bold;
    margin-top: 0.5em;
}


/*Блок ролей на странице "Роли"*/
/* Адаптивность */
.table-flex {
@media (max-width:900px){
display:flex;
   .cf-card-logo{ max-width:180px; max-height:100px; }
flex-direction:row;
  .cf-faction-card{ max-width:100%; }
flex-wrap:wrap;
  .cf-cards-row{ gap:10px; }
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;
}
}

Текущая версия от 09:15, 21 ноября 2025

/*Химия*/

@media (max-width: 1280px) {
    .chem-heading {
        display: none;
    }
}


.chem-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.chem-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: 2px solid var(--card-border, #444);
    border-radius: 10px;
    padding: 12px;
    color: var(--card-text, #e0e0e0);
    box-sizing: border-box;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chem-card h3 {
    margin: 0 0 12px 0;
    color: var(--card-accent, #8cf);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chem-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    color: var(--card-accent, #8cf);
}

.collapsible {
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.collapsible.expanded {
    max-height: 1000px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.chem-recipe-block,
.chem-effects-block {
    margin-top: 8px;
}

.chem-recipe {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: start;
}

.recipe-inputs,
.recipe-outputs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    word-break: break-word;
    white-space: normal;
}

.recipe-action {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 600;
    color: var(--recipe-action-color, #ffd700);
    font-style: italic;
    word-break: break-word;
    white-space: normal;
}

.recipe-item {
    font-size: 14px;
    line-height: 1.4;
    padding: 4px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    border-left: 2px solid var(--card-accent, #8cf);
    word-break: break-word;
    white-space: normal;
}

.chem-effects {
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
}

.chem-effects ul {
    margin: 0;
    padding-left: 20px;
}

.chem-effects li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
    color: var(--card-text, #e0e0e0);
    word-break: break-word;
}

.chem-desc {
    margin-top: 12px;
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
    padding: 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    border-left: 3px solid rgba(255,255,255,0.1);
    word-break: break-word;
}

@media (max-width: 1024px) {
    .chem-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .chem-cards-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .chem-card {
        padding: 10px;
        min-height: 180px;
    }
    
    .chem-recipe {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .recipe-inputs,
    .recipe-outputs,
    .recipe-action {
        min-width: 100%;
        max-width: 100%;
    }
}


/*Химия*/















/*=Блок лора=*/
/*Хронолония */
.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;
}
#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)
}
#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 */


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


/* Начальный размер блока лого */
.citizen-header__logo {
    height: 89px;
}

/* Анимация появления второго лого */
.logo2 img {
  opacity: 0;
  animation: animOpacity 0.5s forwards;
}
@keyframes animOpacity {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

/* Обводка вокруг лого */
.logo1:hover, .logo2:hover {
    background: #ffffff26;
    border-radius: 15px;
}

/* Лого на экранах меньше 1120px */
@media screen and (max-width: 1119px) {
    .citizen-header__logo {
        display: flex;
        height: auto;
        width: 89px;
    }
    .logo1 {
        margin-right: 3px;
    }
}
@media screen and (min-width: 1120px) {
    .logo1 {
        margin-bottom: 3px;
    }
}

/* End Лого стили
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; }
}