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

Нет описания правки
Нет описания правки
 
Строка 1: Строка 1:
/* ================================================================
/* Hide noscript only elements */
  МЕДИАВИКИ:COMMON.CSS — ГЛОБАЛЬНЫЕ СТИЛИ ДЛЯ ВИКИ TGMC
.client-js *.noscript, .invisible {
  ================================================================
  display: none;
  Этот файл управляет внешним видом всей вики.
}
  Все изменения здесь применяются ко всем страницам.
  ================================================================ */


/* ================================================================
/**
  1. БАЗОВЫЕ ПЕРЕМЕННЫЕ (ЦВЕТА, ТЕНИ, СКРУГЛЕНИЯ)
* MARK: MainPage/Content
  ================================================================ */
*/
:root {
.wiki-mainpage {
/* ---------- Основные цвета ---------- */
display: flex;
--color-primary: #0E1724;        /* Тёмно-синий (фон шапки) */
flex-wrap: wrap;
--color-second: #1a2636;          /* Тёмно-синий (вторичный фон) */
gap: 0.75em;
--color-white: #ffffff;          /* Белый (текст на тёмном) */
}
--color-black: #000000;           /* Чёрный */
--color-text: #222222;           /* Основной цвет текста (светлая тема) */
--color-text-semi-translucent: rgba(255, 255, 255, 0.7); /* Полупрозрачный белый */
--color-border: #999999;          /* Цвет границ */
--color-bg-hover: rgba(255, 255, 255, 0.1); /* Фон при наведении */


/* ---------- Цвета урона (для статей) ---------- */
.wiki-mainpage-column {
--color-red: #e74c3c;
display: flex;
--color-orange: #e67e22;
flex-direction: column;
--color-blue: #3498db;
flex: 1 1 20rem;
--color-green: #2ecc71;
gap: 0.75em;
--color-purple: #9b59b6;
}
--color-teal: #1abc9c;


/* ---------- Скругления, тени, анимации ---------- */
/**
--border-radius-small: 4px;
* MARK: MainPage/Splash
--border-radius-medium: 8px;
*/
--border-radius-large: 12px;
.paradise-logo {
--border-classic: 1px solid #999999;
  display: flex;
--blur-default: blur(8px);
  flex-direction: column;
--transition-time: 0.2s;
  align-items: center;
--template-shadow--small: 0 0 0.3em #999;
  max-width: 900px;
--template-shadow--medium: 0 0 0.5em #666;
  background-color: var(--color-second);
  border: var(--border-classic);
  border-radius: var(--border-radius-large);
  backdrop-filter: var(--blur-default);
}
}


/* ================================================================
.paradise-logo a img {
  2. ЦВЕТОВАЯ ПАЛИТРА ДЛЯ ДЕПАРТАМЕНТОВ (ИЗ SS220)
  width: 100%;
  ================================================================
  height: auto;
  Используется в шаблонах через классы .colors-XXX
}
  Пример: <div class="colors-Marine">...</div>
  ================================================================ */


/* ---------- Гражданский ---------- */
.paradise-welcome {
.colors-Civilian, .colors-civilian {
  display: inline-flex;
--bg: var(--civilian-light);
  text-align: center;
--border: var(--civilian-secondary);
  font-weight: bold;
--th-bg: var(--civilian-primary);
  padding: 0 1em;
--th-border: var(--civilian-opaque);
  margin: -1.5em 0.5em 0.5em 0.5em;
--td-bg: var(--civilian-transparent);
  background-color: var(--color-primary);
--cap-bg: var(--civilian-light);
  color: var(--color-white);
--cap-color: var(--color-text);
  border-radius: var(--border-radius-large);
--cap-border: var(--civilian-opaque);
}
}
/* ---------- Медицинский ---------- */
 
.colors-Medical, .colors-medical {
.paradise-info {
--bg: var(--medical-light);
  display: flex;
--border: var(--medical-secondary);
  flex-direction: column;
--th-bg: var(--medical-primary);
  align-items: center;
--th-border: var(--medical-opaque);
  text-align: center;
--td-bg: var(--medical-transparent);
--cap-bg: var(--medical-light);
--cap-color: var(--color-text);
--cap-border: var(--medical-opaque);
}
}
/* ---------- Снабжение ---------- */
 
.colors-Supply, .colors-supply {
.paradise-info-string {
--bg: var(--supply-light);
  overflow: hidden;
--border: var(--supply-secondary);
  display: flex;
--th-bg: var(--supply-primary);
  max-width: 90%;
--th-border: var(--supply-opaque);
  margin-bottom: 0.25em;
--td-bg: var(--supply-transparent);
  background-color: var(--color-second);
--cap-bg: var(--supply-light);
  border: var(--border-classic);
--cap-color: var(--color-text);
  border-top: 0;
--cap-border: var(--supply-opaque);
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.2);
  backdrop-filter: var(--blur-default);
}
}
/* ---------- Наука ---------- */
 
.colors-Science, .colors-science {
.paradise-info-string span:not([class]) {
--bg: var(--science-light);
  padding: 0.5em 0.75em;
--border: var(--science-secondary);
  border-right: var(--border-classic);
--th-bg: var(--science-primary);
  border-left: var(--border-classic);
--th-border: var(--science-opaque);
 
--td-bg: var(--science-transparent);
  @media (max-width: 719px) {
--cap-bg: var(--science-light);
    display: none;
--cap-color: var(--color-text);
  }
--cap-border: var(--science-opaque);
}
}
/* ---------- Инженерия ---------- */
 
.colors-Engineering, .colors-engineering {
.paradise-info-string .paradise-info-link {
--bg: var(--engineer-light);
  min-width: 3em;
--border: var(--engineer-secondary);
 
--th-bg: var(--engineer-primary);
  @media (max-width: 719px) {
--th-border: var(--engineer-opaque);
    min-width: 10em;
--td-bg: var(--engineer-transparent);
    height: 2.5em;
--cap-bg: var(--engineer-light);
  }
--cap-color: var(--color-text);
--cap-border: var(--engineer-opaque);
}
}
/* ---------- Безопасность ---------- */
 
.colors-Security, .colors-security {
.paradise-info-string .paradise-info-link:first-of-type {
--bg: var(--security-light);
  @media (max-width: 719px) {
--border: var(--security-secondary);
    border-right: var(--border-classic);
--th-bg: var(--security-primary);
  }
--th-border: var(--security-opaque);
--td-bg: var(--security-transparent);
--cap-bg: var(--security-light);
--cap-color: var(--color-text);
--cap-border: var(--security-opaque);
}
}
/* ---------- Антагонисты ---------- */
 
.colors-Antagonist, .colors-antag {
.paradise-info-string .paradise-info-link a {
--bg: var(--antag-light);
  display: inline-flex;
--border: var(--antag-secondary);
  align-items: center;
--th-bg: var(--antag-primary);
  justify-content: center;
--th-border: var(--antag-opaque);
  width: 100%;
--td-bg: var(--antag-transparent);
  height: 100%;
--cap-bg: var(--antag-light);
  color: var(--color-text-semi-translucent) !important;
--cap-color: var(--color-red);
  transition: color var(--transition-time), background-color var(--transition-time);
--cap-border: var(--antag-opaque);
}
}
/* ---------- Командование ---------- */
 
.colors-Command, .colors-command {
.paradise-info-string .paradise-info-link a:hover {
--bg: var(--command-light);
  background-color: var(--color-bg-hover);
--border: var(--command-secondary);
  color: var(--color-text) !important;
--th-bg: var(--command-primary);
--th-border: var(--command-opaque);
--td-bg: var(--command-transparent);
--cap-bg: var(--command-light);
--cap-color: var(--color-white);
--cap-border: var(--command-opaque);
}
}
/* ---------- Синтетики ---------- */
 
.colors-Synthetic, .colors-synthetic {
.paradise-info-string .paradise-info-link a:after {
--bg: var(--synthetic-light);
  content: "";
--border: var(--synthetic-secondary);
  font: unset;
--th-bg: var(--synthetic-primary);
 
--th-border: var(--synthetic-opaque);
  @media (min-width: 720px) {
--td-bg: var(--synthetic-transparent);
    display: none;
--cap-bg: var(--synthetic-light);
  }
--cap-color: var(--color-white);
--cap-border: var(--synthetic-opaque);
}
}
/* ---------- ЦентКом ---------- */
 
.colors-CentCom, .colors-centcom {
.paradise-info-string .paradise-info-link:first-of-type a:after {
--bg: var(--centcom-light);
  @media (max-width: 719px) {
--border: var(--centcom-secondary);
    content: "Discord";
--th-bg: var(--centcom-primary);
    margin-left: 1em;
--th-border: var(--centcom-opaque);
  }
--td-bg: var(--centcom-transparent);
--cap-bg: var(--centcom-light);
--cap-color: var(--color-text);
--cap-border: var(--centcom-opaque);
}
}
/* ---------- Специальный ---------- */
 
.colors-Special, .colors-special {
.paradise-info-string .paradise-info-link:last-of-type a:before {
--bg: var(--special-light);
  @media (max-width: 719px) {
--border: var(--special-secondary);
    content: "GitHub";
--th-bg: var(--special-primary);
    margin-right: 1em;
--th-border: var(--special-opaque);
  }
--td-bg: var(--special-transparent);
--cap-bg: var(--special-light);
--cap-color: var(--color-white);
--cap-border: var(--special-opaque);
}
}
/* ---------- Ксеноморфы (Marine) ---------- */
 
.colors-Marine, .colors-marine {
.paradise-info-string .paradise-info-link a i {
--bg: var(--centcom-light);
  font-size: 1.25em;
--border: var(--centcom-secondary);
}
--th-bg: var(--centcom-primary);
 
--th-border: var(--centcom-opaque);
/**
--td-bg: var(--centcom-transparent);
* MARK: Типы урона
--cap-bg: var(--centcom-light);
*/
--cap-color: var(--color-text);
.brute {
--cap-border: var(--centcom-opaque);
  color: var(--color-red);
  font-weight: bold;
}
}
/* ---------- Ксеноморфы (Xenomorph) ---------- */
 
.colors-Xenomorph, .colors-xenomorph {
.burn {
--bg: var(--special-light);
  color: var(--color-orange);
--border: var(--special-secondary);
  font-weight: bold;
--th-bg: var(--special-primary);
--th-border: var(--special-opaque);
--td-bg: var(--special-transparent);
--cap-bg: var(--special-light);
--cap-color: var(--color-white);
--cap-border: var(--special-opaque);
}
}
/* ---------- Культисты ---------- */
 
.colors-Cultist, .colors-cult {
.oxygen {
--bg: var(--cult-light);
  color: var(--color-blue);
--border: var(--cult-secondary);
  font-weight: bold;
--th-bg: var(--cult-primary);
--th-border: var(--cult-opaque);
--td-bg: var(--cult-transparent);
--cap-bg: var(--cult-light);
--cap-color: var(--color-red);
--cap-border: var(--cult-opaque);
}
}
/* ---------- Ратвар ---------- */
 
.colors-Ratvar, .colors-ratvar {
.toxic {
--bg: var(--ratvar-light);
  color: var(--color-green);
--border: var(--ratvar-secondary);
  font-weight: bold;
--th-bg: var(--ratvar-primary);
--th-border: var(--ratvar-opaque);
--td-bg: var(--ratvar-transparent);
--cap-bg: var(--ratvar-light);
--cap-color: var(--color-white);
--cap-border: var(--ratvar-opaque);
}
}
/* ---------- Волшебники ---------- */
 
.colors-Wizard, .colors-wizard {
.gene {
--bg: var(--wizard-light);
  color: var(--color-purple);
--border: var(--wizard-secondary);
  font-weight: bold;
--th-bg: var(--wizard-primary);
--th-border: var(--wizard-opaque);
--td-bg: var(--wizard-transparent);
--cap-bg: var(--wizard-light);
--cap-color: var(--color-text);
--cap-border: var(--wizard-opaque);
}
}
/* ---------- Похитители ---------- */
 
.colors-Abductor, .colors-abductor {
.electric {
--bg: var(--gray-light);
  color: var(--color-teal);
--border: var(--gray-secondary);
  font-weight: bold;
--th-bg: var(--gray-primary);
--th-border: var(--gray-opaque);
--td-bg: var(--gray-transparent);
--cap-bg: var(--gray-light);
--cap-color: var(--color-text);
--cap-border: var(--gray-opaque);
}
}


/* ================================================================
/**
  3. СТИЛИ ДЛЯ ТАБЛИЦ (из SS220)
* MARK: JSLink
  ================================================================ */
*/
.jslink {
  cursor: pointer;
  user-select: none;
  font-size: 0.66em;
  padding: 0.25em 0.5em;
  margin-left: 0.5em;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}
 
.jslink:hover {
  background-color: var(--color-primary-light);
}
 
/* Стиль таблиц с предметами и т.п. */
.items-table {
.items-table {
width: 100%;
  width: 100%;
border: var(--border-classic);
  border: var(--border-classic);
border-radius: var(--border-radius-medium);
  border-radius: var(--border-radius-medium);
background-color: var(--color-second-fill);
  background-color: var(--color-second-fill);
}
}
.items-table th {
.items-table th {
border: 0.2em double var(--color-border);
  border: 0.2em double var(--color-border);
border-radius: var(--border-radius-small);
  border-radius: var(--border-radius-small);
background-color: var(--color-second);
  background-color: var(--color-second);
color: var(--color-text);
  color: var(--color-text);
padding: 0.2em;
  padding: 0.2em;
}
}
.items-table td {
.items-table td {
background-color: var(--color-second);
  background-color: var(--color-second);
color: var(--color-text);
  color: var(--color-text);
padding: 0.2em;
  padding: 0.2em;
}
}
.items-table:not(.regular) td:not(.regular):first-of-type,
.items-table:not(.regular) td:not(.regular):first-of-type,
td.capital {
td.capital {
background-color: var(--color-second);
  background-color: var(--color-second);
font-weight: bold;
  font-weight: bold;
color: var(--color-text);
  color: var(--color-text);
border: var(--border-classic);
  border: var(--border-classic);
border-radius: var(--border-radius-small);
  border-radius: var(--border-radius-small);
text-align: center;
  text-align: center;
}
}


/* ---------- Стили для таблиц оружия и брони ---------- */
/* Цвета охранного отдела */
.weapon-table td,
.colors-secure,
.armor-table {
.colors-Security,
text-align: center;
tr.colors-secure,
font-weight: bold;
tr.colors-Security {
  background-color: var(--security-light);
  border-color: var(--security-secondary);
}
.colors-secure th,
.colors-Security th,
tr.colors-secure th,
tr.colors-Security th {
  background-color: var(--security-primary);
  border-color: var(--security-opaque);
}
.colors-secure td,
.colors-Security td,
tr.colors-secure td,
tr.colors-Security td {
  background-color: var(--security-transparent);
}
:not(.regular).colors-secure td:not(.regular):first-of-type,
:not(.regular).colors-Security td:not(.regular):first-of-type,
.colors-secure td.capital,
.colors-Security td.capital,
:not(.regular) tr.colors-secure td:not(.regular):first-of-type,
:not(.regular) tr.colors-Security td:not(.regular):first-of-type {
  background-color: var(--security-light);
  color: var(--color-text);
  border-color: var(--security-opaque);
}
 
/* Цвета научного отдела */
.colors-science,
.colors-Science,
tr.colors-science,
tr.colors-Science {
  background-color: var(--science-light);
  border-color: var(--science-secondary);
}
.colors-science th,
.colors-Science th,
tr.colors-science th,
tr.colors-Science th {
  background-color: var(--science-primary);
  border-color: var(--science-opaque);
}
.colors-science td,
.colors-Science td,
tr.colors-science td,
tr.colors-Science td {
  background-color: var(--science-transparent);
}
:not(.regular).colors-science td:not(.regular):first-of-type,
:not(.regular).colors-Science td:not(.regular):first-of-type,
.colors-science td.capital,
.colors-Science td.capital,
:not(.regular) tr.colors-science td:not(.regular):first-of-type,
:not(.regular) tr.colors-Science td:not(.regular):first-of-type {
  background-color: var(--science-light);
  color: var(--color-text);
  border-color: var(--science-opaque);
}
 
/* Цвета сервисного отдела */
.colors-service,
.colors-Service,
tr.colors-service,
tr.colors-Service {
  background-color: var(--civilian-light);
  border-color: var(--civilian-secondary);
}
.colors-service th,
.colors-Service th,
tr.colors-service th,
tr.colors-Service th {
  background-color: var(--civilian-primary);
  border-color: var(--civilian-opaque);
}
.colors-service td,
.colors-Service td,
tr.colors-service td,
tr.colors-Service td {
  background-color: var(--civilian-transparent);
}
:not(.regular).colors-service td:not(.regular):first-of-type,
:not(.regular).colors-Service td:not(.regular):first-of-type,
.colors-service td.capital,
.colors-Service td.capital,
:not(.regular) tr.colors-service td:not(.regular):first-of-type,
:not(.regular) tr.colors-Service td:not(.regular):first-of-type {
  background-color: var(--civilian-light);
  color: var(--color-text);
  border-color: var(--civilian-opaque);
}
 
/* Цвета инженерного отдела */
.colors-engine,
.colors-Engineering,
tr.colors-engine,
tr.colors-Engineering {
  background-color: var(--engineer-light);
  border-color: var(--engineer-secondary);
}
.colors-engine th,
.colors-Engineering th,
tr.colors-engine th,
tr.colors-Engineering th {
  background-color: var(--engineer-primary);
  border-color: var(--engineer-opaque);
}
.colors-engine td,
.colors-Engineering td,
tr.colors-engine td,
tr.colors-Engineering td {
  background-color: var(--engineer-transparent);
}
:not(.regular).colors-engine td:not(.regular):first-of-type,
:not(.regular).colors-Engineering td:not(.regular):first-of-type,
.colors-engine td.capital,
.colors-Engineering td.capital,
:not(.regular) tr.colors-engine td:not(.regular):first-of-type,
:not(.regular) tr.colors-Engineering td:not(.regular):first-of-type {
  background-color: var(--engineer-light);
  color: var(--color-text);
  border-color: var(--engineer-opaque);
}
 
/* Цвета командного отдела */
.colors-command,
.colors-Command,
tr.colors-command,
tr.colors-Command {
  background-color: var(--command-light);
  border-color: var(--command-secondary);
}
.colors-command th,
.colors-Command th,
tr.colors-command th,
tr.colors-Command th {
  background-color: var(--command-primary);
  border-color: var(--command-opaque);
}
.colors-command td,
.colors-Command td,
tr.colors-command td,
tr.colors-Command td {
  background-color: var(--command-transparent);
}
:not(.regular).colors-command td:not(.regular):first-of-type,
:not(.regular).colors-Command td:not(.regular):first-of-type,
.colors-command td.capital,
.colors-Command td.capital,
:not(.regular) tr.colors-command td:not(.regular):first-of-type,
:not(.regular) tr.colors-Command td:not(.regular):first-of-type {
  background-color: var(--command-light);
  color: var(--color-white);
  border-color: var(--command-opaque);
}
 
/* Цвета медицинского отдела */
.colors-medik,
.colors-Medical,
tr.colors-medik,
tr.colors-Medical {
  background-color: var(--medical-light);
  border-color: var(--medical-secondary);
}
.colors-medik th,
.colors-Medical th,
tr.colors-medik th,
tr.colors-Medical th {
  background-color: var(--medical-primary);
  border-color: var(--medical-opaque);
}
.colors-medik td,
.colors-Medical td,
tr.colors-medik td,
tr.colors-Medical td {
  background-color: var(--medical-transparent);
}
:not(.regular).colors-medik td:not(.regular):first-of-type,
:not(.regular).colors-Medical td:not(.regular):first-of-type,
.colors-medik td.capital,
.colors-Medical td.capital,
:not(.regular) tr.colors-medik td:not(.regular):first-of-type,
:not(.regular) tr.colors-Medical td:not(.regular):first-of-type {
  background-color: var(--medical-light);
  color: var(--color-text);
  border-color: var(--medical-opaque);
}
 
/* Цвета снабжающего отдела */
.colors-suply,
.colors-Supply,
tr.colors-suply,
tr.colors-Supply {
  background-color: var(--supply-light);
  border-color: var(--supply-secondary);
}
.colors-suply th,
.colors-Supply th,
tr.colors-suply th,
tr.colors-Supply th {
  background-color: var(--supply-primary);
  border-color: var(--supply-opaque);
}
.colors-suply td,
.colors-Supply td,
tr.colors-suply td,
tr.colors-Supply td {
  background-color: var(--supply-transparent);
}
:not(.regular).colors-suply td:not(.regular):first-of-type,
:not(.regular).colors-Supply td:not(.regular):first-of-type,
.colors-suply td.capital,
.colors-Supply td.capital,
:not(.regular) tr.colors-suply td:not(.regular):first-of-type,
:not(.regular) tr.colors-Supply td:not(.regular):first-of-type {
  background-color: var(--supply-light);
  color: var(--color-text);
  border-color: var(--supply-opaque);
}
 
/* Цвета планетарного отдела */
.colors-lava,
.colors-Lavaland,
tr.colors-lava,
tr.colors-Lavaland {
  background-color: var(--lavaland-light);
  border-color: var(--lavaland-secondary);
}
.colors-lava th,
.colors-Lavaland th,
tr.colors-lava th,
tr.colors-Lavaland th {
  background-color: var(--lavaland-primary);
  border-color: var(--lavaland-opaque);
}
.colors-lava td,
.colors-Lavaland td,
tr.colors-lava td,
tr.colors-Lavaland td {
  background-color: var(--lavaland-transparent);
}
}
.weapon-table td:last-of-type,
:not(.regular).colors-lava td:not(.regular):first-of-type,
.armor-table td:last-of-type {
:not(.regular).colors-Lavaland td:not(.regular):first-of-type,
text-align: left;
.colors-lava td.capital,
font-weight: unset;
.colors-Lavaland td.capital,
:not(.regular) tr.colors-lava td:not(.regular):first-of-type,
:not(.regular) tr.colors-Lavaland td:not(.regular):first-of-type {
  background-color: var(--lavaland-light);
  color: var(--color-text);
  border-color: var(--lavaland-opaque);
}
}


/* ================================================================
/* Цвета синтетического отдела */
  4. СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (из SS220)
.colors-synth,
  ================================================================ */
.colors-Synthetic,
.wiki-mainpage {
tr.colors-synth,
display: flex;
tr.colors-Synthetic {
flex-wrap: wrap;
  background-color: var(--synthetic-light);
gap: 0.75em;
  border-color: var(--synthetic-secondary);
}
.colors-synth th,
.colors-Synthetic th,
tr.colors-synth th,
tr.colors-Synthetic th {
  background-color: var(--synthetic-primary);
  border-color: var(--synthetic-opaque);
}
.colors-synth td,
.colors-Synthetic td,
tr.colors-synth td,
tr.colors-Synthetic td {
  background-color: var(--synthetic-transparent);
}
}
.wiki-mainpage-column {
:not(.regular).colors-synth td:not(.regular):first-of-type,
display: flex;
:not(.regular).colors-Synthetic td:not(.regular):first-of-type,
flex-direction: column;
.colors-synth td.capital,
flex: 1 1 20rem;
.colors-Synthetic td.capital,
gap: 0.75em;
:not(.regular) tr.colors-synth td:not(.regular):first-of-type,
:not(.regular) tr.colors-Synthetic td:not(.regular):first-of-type {
  background-color: var(--synthetic-light);
  color: var(--color-white);
  border-color: var(--synthetic-opaque);
}
}


/* ---------- Стили для сплеша (шапки) ---------- */
/* Цвета антагского отдела */
.paradise-logo {
.colors-antag,
display: flex;
.colors-Antagonist,
flex-direction: column;
tr.colors-antag,
align-items: center;
tr.colors-Antagonist {
max-width: 900px;
  background-color: var(--antag-light);
background-color: var(--color-second);
  border-color: var(--antag-secondary);
border: var(--border-classic);
}
border-radius: var(--border-radius-large);
.colors-antag th,
backdrop-filter: var(--blur-default);
.colors-Antagonist th,
tr.colors-antag th,
tr.colors-Antagonist th {
  background-color: var(--antag-primary);
  border-color: var(--antag-opaque);
}
.colors-antag td,
.colors-Antagonist td,
tr.colors-antag td,
tr.colors-Antagonist td {
  background-color: var(--antag-transparent);
}
:not(.regular).colors-antag td:not(.regular):first-of-type,
:not(.regular).colors-Antagonist td:not(.regular):first-of-type,
.colors-antag td.capital,
.colors-Antagonist td.capital,
:not(.regular) tr.colors-antag td:not(.regular):first-of-type,
:not(.regular) tr.colors-Antagonist td:not(.regular):first-of-type {
  background-color: var(--antag-light);
  color: var(--color-red);
  border-color: var(--antag-opaque);
}
}
.paradise-logo a img {
 
width: 100%;
/* Цвета культистского отдела */
height: auto;
.colors-cult,
.colors-Cultist,
tr.colors-cult,
tr.colors-Cultist {
  background-color: var(--cult-light);
  border-color: var(--cult-secondary);
}
}
.paradise-welcome {
.colors-cult th,
display: inline-flex;
.colors-Cultist th,
text-align: center;
tr.colors-cult th,
font-weight: bold;
tr.colors-Cultist th {
padding: 0 1em;
  background-color: var(--cult-primary);
margin: -1.5em 0.5em 0.5em 0.5em;
  border-color: var(--cult-opaque);
background-color: var(--color-primary);
color: var(--color-white);
border-radius: var(--border-radius-large);
}
}
.paradise-info {
.colors-cult td,
display: flex;
.colors-Cultist td,
flex-direction: column;
tr.colors-cult td,
align-items: center;
tr.colors-Cultist td {
text-align: center;
  background-color: var(--cult-transparent);
}
}
.paradise-info-string {
:not(.regular).colors-cult td:not(.regular):first-of-type,
overflow: hidden;
:not(.regular).colors-Cultist td:not(.regular):first-of-type,
display: flex;
.colors-cult td.capital,
max-width: 90%;
.colors-Cultist td.capital,
margin-bottom: 0.25em;
:not(.regular) tr.colors-cult td:not(.regular):first-of-type,
background-color: var(--color-second);
:not(.regular) tr.colors-Cultist td:not(.regular):first-of-type {
border: var(--border-classic);
  background-color: var(--cult-light);
border-top: 0;
  color: var(--color-red);
border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  border-color: var(--cult-opaque);
box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.2);
backdrop-filter: var(--blur-default);
}
}
.paradise-info-string span:not([class]) {
 
padding: 0.5em 0.75em;
/* Цвета ратваровского отдела */
border-right: var(--border-classic);
.colors-ratvar,
border-left: var(--border-classic);
.colors-Ratvar,
tr.colors-ratvar,
tr.colors-Ratvar {
  background-color: var(--ratvar-light);
  border-color: var(--ratvar-secondary);
}
}
@media (max-width: 719px) {
.colors-ratvar th,
.paradise-info-string span:not([class]) {
.colors-Ratvar th,
display: none;
tr.colors-ratvar th,
}
tr.colors-Ratvar th {
  background-color: var(--ratvar-primary);
  border-color: var(--ratvar-opaque);
}
}
.paradise-info-string .paradise-info-link {
.colors-ratvar td,
min-width: 3em;
.colors-Ratvar td,
tr.colors-ratvar td,
tr.colors-Ratvar td {
  background-color: var(--ratvar-transparent);
}
}
@media (max-width: 719px) {
:not(.regular).colors-ratvar td:not(.regular):first-of-type,
.paradise-info-string .paradise-info-link {
:not(.regular).colors-Ratvar td:not(.regular):first-of-type,
min-width: 10em;
.colors-ratvar td.capital,
height: 2.5em;
.colors-Ratvar td.capital,
}
:not(.regular) tr.colors-ratvar td:not(.regular):first-of-type,
:not(.regular) tr.colors-Ratvar td:not(.regular):first-of-type {
  background-color: var(--ratvar-light);
  color: var(--color-white);
  border-color: var(--ratvar-opaque);
}
}
.paradise-info-string .paradise-info-link:first-of-type {
 
border-right: var(--border-classic);
/* Цвета ксеноморфного отдела */
.colors-xenom,
.colors-Xenomorph,
tr.colors-xenom,
tr.colors-Xenomorph {
  background-color: var(--special-light);
  border-color: var(--special-secondary);
}
}
.paradise-info-string .paradise-info-link a {
.colors-xenom th,
display: inline-flex;
.colors-Xenomorph th,
align-items: center;
tr.colors-xenom th,
justify-content: center;
tr.colors-Xenomorph th {
width: 100%;
  background-color: var(--special-primary);
height: 100%;
  border-color: var(--special-opaque);
color: var(--color-text-semi-translucent) !important;
transition: color var(--transition-time), background-color var(--transition-time);
}
}
.paradise-info-string .paradise-info-link a:hover {
.colors-xenom td,
background-color: var(--color-bg-hover);
.colors-Xenomorph td,
color: var(--color-text) !important;
tr.colors-xenom td,
tr.colors-Xenomorph td {
  background-color: var(--special-transparent);
}
}
.paradise-info-string .paradise-info-link a:after {
:not(.regular).colors-xenom td:not(.regular):first-of-type,
content: "";
:not(.regular).colors-Xenomorph td:not(.regular):first-of-type,
font: unset;
.colors-xenom td.capital,
.colors-Xenomorph td.capital,
:not(.regular) tr.colors-xenom td:not(.regular):first-of-type,
:not(.regular) tr.colors-Xenomorph td:not(.regular):first-of-type {
  background-color: var(--special-light);
  color: var(--color-white);
  border-color: var(--special-opaque);
}
}
@media (min-width: 720px) {
 
.paradise-info-string .paradise-info-link a:after {
/* Цвета марининого отдела */
display: none;
.colors-marine,
}
.colors-Marine,
tr.colors-marine,
tr.colors-Marine {
  background-color: var(--centcom-light);
  border-color: var(--centcom-secondary);
}
}
.paradise-info-string .paradise-info-link:first-of-type a:after {
.colors-marine th,
content: "Discord";
.colors-Marine th,
margin-left: 1em;
tr.colors-marine th,
tr.colors-Marine th {
  background-color: var(--centcom-primary);
  border-color: var(--centcom-opaque);
}
}
.paradise-info-string .paradise-info-link:last-of-type a:before {
.colors-marine td,
content: "GitHub";
.colors-Marine td,
margin-right: 1em;
tr.colors-marine td,
tr.colors-Marine td {
  background-color: var(--centcom-transparent);
}
}
.paradise-info-string .paradise-info-link a i {
:not(.regular).colors-marine td:not(.regular):first-of-type,
font-size: 1.25em;
:not(.regular).colors-Marine td:not(.regular):first-of-type,
.colors-marine td.capital,
.colors-Marine td.capital,
:not(.regular) tr.colors-marine td:not(.regular):first-of-type,
:not(.regular) tr.colors-Marine td:not(.regular):first-of-type {
  background-color: var(--centcom-light);
  color: var(--color-text);
  border-color: var(--centcom-opaque);
}
}


/* ================================================================
/* Цвета волшебного отдела */
  5. СТИЛИ ДЛЯ ТИПОВ УРОНА (из SS220)
.colors-wizard,
  ================================================================ */
.colors-Wizard,
.brute { color: var(--color-red); font-weight: bold; }
tr.colors-wizard,
.burn { color: var(--color-orange); font-weight: bold; }
tr.colors-Wizard {
.oxygen { color: var(--color-blue); font-weight: bold; }
  background-color: var(--wizard-light);
.toxic { color: var(--color-green); font-weight: bold; }
  border-color: var(--wizard-secondary);
.gene { color: var(--color-purple); font-weight: bold; }
}
.electric { color: var(--color-teal); font-weight: bold; }
.colors-wizard th,
.colors-Wizard th,
tr.colors-wizard th,
tr.colors-Wizard th {
  background-color: var(--wizard-primary);
  border-color: var(--wizard-opaque);
}
.colors-wizard td,
.colors-Wizard td,
tr.colors-wizard td,
tr.colors-Wizard td {
  background-color: var(--wizard-transparent);
}
:not(.regular).colors-wizard td:not(.regular):first-of-type,
:not(.regular).colors-Wizard td:not(.regular):first-of-type,
.colors-wizard td.capital,
.colors-Wizard td.capital,
:not(.regular) tr.colors-wizard td:not(.regular):first-of-type,
:not(.regular) tr.colors-Wizard td:not(.regular):first-of-type {
  background-color: var(--wizard-light);
  color: var(--color-text);
  border-color: var(--wizard-opaque);
}


/* ================================================================
/* Цвета похитнического отдела */
  6. СТИЛИ ДЛЯ JS-ССЫЛОК (из SS220)
.colors-abductor,
  ================================================================ */
.colors-Abductor,
.jslink {
tr.colors-abductor,
cursor: pointer;
tr.colors-Abductor {
user-select: none;
  background-color: var(--gray-light);
font-size: 0.66em;
  border-color: var(--gray-secondary);
padding: 0.25em 0.5em;
}
margin-left: 0.5em;
.colors-abductor th,
background-color: var(--color-primary);
.colors-Abductor th,
color: var(--color-white) !important;
tr.colors-abductor th,
border-radius: var(--border-radius-small);
tr.colors-Abductor th {
transition: background-color var(--transition-time);
  background-color: var(--gray-primary);
  border-color: var(--gray-opaque);
}
.colors-abductor td,
.colors-Abductor td,
tr.colors-abductor td,
tr.colors-Abductor td {
  background-color: var(--gray-transparent);
}
:not(.regular).colors-abductor td:not(.regular):first-of-type,
:not(.regular).colors-Abductor td:not(.regular):first-of-type,
.colors-abductor td.capital,
.colors-Abductor td.capital,
:not(.regular) tr.colors-abductor td:not(.regular):first-of-type,
:not(.regular) tr.colors-Abductor td:not(.regular):first-of-type {
  background-color: var(--gray-light);
  color: var(--color-text);
  border-color: var(--gray-opaque);
}
}
.jslink:hover {
 
background-color: var(--color-primary-light);
/* Таблица брони и оружия */
.weapon-table td,
.armor-table {
  text-align: center;
  font-weight: bold;
}
}


/* ================================================================
/* Последний столбец */
  7. УТИЛИТЫ (из SS220)
.weapon-table td:last-of-type,
  ================================================================ */
.armor-table td:last-of-type {
.client-js *.noscript,
  text-align: left;
.invisible {
  font-weight: unset;
display: none;
}
}

Текущая версия от 05:17, 26 августа 2026

/* Hide noscript only elements */
.client-js *.noscript, .invisible {
  display: none;
}

/**
 * MARK: MainPage/Content
 */
.wiki-mainpage {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
}

.wiki-mainpage-column {
	display: flex;
	flex-direction: column;
	flex: 1 1 20rem;
	gap: 0.75em;
}

/**
 * MARK: MainPage/Splash
 */
.paradise-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  background-color: var(--color-second);
  border: var(--border-classic);
  border-radius: var(--border-radius-large);
  backdrop-filter: var(--blur-default);
}

.paradise-logo a img {
  width: 100%;
  height: auto;
}

.paradise-welcome {
  display: inline-flex;
  text-align: center;
  font-weight: bold;
  padding: 0 1em;
  margin: -1.5em 0.5em 0.5em 0.5em;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius-large);
}

.paradise-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.paradise-info-string {
  overflow: hidden;
  display: flex;
  max-width: 90%;
  margin-bottom: 0.25em;
  background-color: var(--color-second);
  border: var(--border-classic);
  border-top: 0;
  border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
  box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.2);
  backdrop-filter: var(--blur-default);
}

.paradise-info-string span:not([class]) {
  padding: 0.5em 0.75em;
  border-right: var(--border-classic);
  border-left: var(--border-classic);

  @media (max-width: 719px) {
    display: none;
  }
}

.paradise-info-string .paradise-info-link {
  min-width: 3em;

  @media (max-width: 719px) {
    min-width: 10em;
    height: 2.5em;
  }
}

.paradise-info-string .paradise-info-link:first-of-type {
  @media (max-width: 719px) {
    border-right: var(--border-classic);
  }
}

.paradise-info-string .paradise-info-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-semi-translucent) !important;
  transition: color var(--transition-time), background-color var(--transition-time);
}

.paradise-info-string .paradise-info-link a:hover {
  background-color: var(--color-bg-hover);
  color: var(--color-text) !important;
}

.paradise-info-string .paradise-info-link a:after {
  content: "";
  font: unset;

  @media (min-width: 720px) {
    display: none;
  }
}

.paradise-info-string .paradise-info-link:first-of-type a:after {
  @media (max-width: 719px) {
    content: "Discord";
    margin-left: 1em;
  }
}

.paradise-info-string .paradise-info-link:last-of-type a:before {
  @media (max-width: 719px) {
    content: "GitHub";
    margin-right: 1em;
  }
}

.paradise-info-string .paradise-info-link a i {
  font-size: 1.25em;
}

/**
 * MARK: Типы урона
 */
.brute {
  color: var(--color-red);
  font-weight: bold;
}

.burn {
  color: var(--color-orange);
  font-weight: bold;
}

.oxygen {
  color: var(--color-blue);
  font-weight: bold;
}

.toxic {
  color: var(--color-green);
  font-weight: bold;
}

.gene {
  color: var(--color-purple);
  font-weight: bold;
}

.electric {
  color: var(--color-teal);
  font-weight: bold;
}

/**
 * MARK: JSLink
 */
.jslink {
  cursor: pointer;
  user-select: none;
  font-size: 0.66em;
  padding: 0.25em 0.5em;
  margin-left: 0.5em;
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: var(--border-radius-small);
  transition: background-color var(--transition-time);
}

.jslink:hover {
  background-color: var(--color-primary-light);
}

/* Стиль таблиц с предметами и т.п. */
.items-table {
  width: 100%;
  border: var(--border-classic);
  border-radius: var(--border-radius-medium);
  background-color: var(--color-second-fill);
}

.items-table th {
  border: 0.2em double var(--color-border);
  border-radius: var(--border-radius-small);
  background-color: var(--color-second);
  color: var(--color-text);
  padding: 0.2em;
}

.items-table td {
  background-color: var(--color-second);
  color: var(--color-text);
  padding: 0.2em;
}

.items-table:not(.regular) td:not(.regular):first-of-type,
td.capital {
  background-color: var(--color-second);
  font-weight: bold;
  color: var(--color-text);
  border: var(--border-classic);
  border-radius: var(--border-radius-small);
  text-align: center;
}

/* Цвета охранного отдела */
.colors-secure,
.colors-Security,
tr.colors-secure,
tr.colors-Security {
  background-color: var(--security-light);
  border-color: var(--security-secondary);
}
.colors-secure th,
.colors-Security th,
tr.colors-secure th,
tr.colors-Security th {
  background-color: var(--security-primary);
  border-color: var(--security-opaque);
}
.colors-secure td,
.colors-Security td,
tr.colors-secure td,
tr.colors-Security td {
  background-color: var(--security-transparent);
}
:not(.regular).colors-secure td:not(.regular):first-of-type,
:not(.regular).colors-Security td:not(.regular):first-of-type,
.colors-secure td.capital,
.colors-Security td.capital,
:not(.regular) tr.colors-secure td:not(.regular):first-of-type,
:not(.regular) tr.colors-Security td:not(.regular):first-of-type {
  background-color: var(--security-light);
  color: var(--color-text);
  border-color: var(--security-opaque);
}

/* Цвета научного отдела */
.colors-science,
.colors-Science,
tr.colors-science,
tr.colors-Science {
  background-color: var(--science-light);
  border-color: var(--science-secondary);
}
.colors-science th,
.colors-Science th,
tr.colors-science th,
tr.colors-Science th {
  background-color: var(--science-primary);
  border-color: var(--science-opaque);
}
.colors-science td,
.colors-Science td,
tr.colors-science td,
tr.colors-Science td {
  background-color: var(--science-transparent);
}
:not(.regular).colors-science td:not(.regular):first-of-type,
:not(.regular).colors-Science td:not(.regular):first-of-type,
.colors-science td.capital,
.colors-Science td.capital,
:not(.regular) tr.colors-science td:not(.regular):first-of-type,
:not(.regular) tr.colors-Science td:not(.regular):first-of-type {
  background-color: var(--science-light);
  color: var(--color-text);
  border-color: var(--science-opaque);
}

/* Цвета сервисного отдела */
.colors-service,
.colors-Service,
tr.colors-service,
tr.colors-Service {
  background-color: var(--civilian-light);
  border-color: var(--civilian-secondary);
}
.colors-service th,
.colors-Service th,
tr.colors-service th,
tr.colors-Service th {
  background-color: var(--civilian-primary);
  border-color: var(--civilian-opaque);
}
.colors-service td,
.colors-Service td,
tr.colors-service td,
tr.colors-Service td {
  background-color: var(--civilian-transparent);
}
:not(.regular).colors-service td:not(.regular):first-of-type,
:not(.regular).colors-Service td:not(.regular):first-of-type,
.colors-service td.capital,
.colors-Service td.capital,
:not(.regular) tr.colors-service td:not(.regular):first-of-type,
:not(.regular) tr.colors-Service td:not(.regular):first-of-type {
  background-color: var(--civilian-light);
  color: var(--color-text);
  border-color: var(--civilian-opaque);
}

/* Цвета инженерного отдела */
.colors-engine,
.colors-Engineering,
tr.colors-engine,
tr.colors-Engineering {
  background-color: var(--engineer-light);
  border-color: var(--engineer-secondary);
}
.colors-engine th,
.colors-Engineering th,
tr.colors-engine th,
tr.colors-Engineering th {
  background-color: var(--engineer-primary);
  border-color: var(--engineer-opaque);
}
.colors-engine td,
.colors-Engineering td,
tr.colors-engine td,
tr.colors-Engineering td {
  background-color: var(--engineer-transparent);
}
:not(.regular).colors-engine td:not(.regular):first-of-type,
:not(.regular).colors-Engineering td:not(.regular):first-of-type,
.colors-engine td.capital,
.colors-Engineering td.capital,
:not(.regular) tr.colors-engine td:not(.regular):first-of-type,
:not(.regular) tr.colors-Engineering td:not(.regular):first-of-type {
  background-color: var(--engineer-light);
  color: var(--color-text);
  border-color: var(--engineer-opaque);
}

/* Цвета командного отдела */
.colors-command,
.colors-Command,
tr.colors-command,
tr.colors-Command {
  background-color: var(--command-light);
  border-color: var(--command-secondary);
}
.colors-command th,
.colors-Command th,
tr.colors-command th,
tr.colors-Command th {
  background-color: var(--command-primary);
  border-color: var(--command-opaque);
}
.colors-command td,
.colors-Command td,
tr.colors-command td,
tr.colors-Command td {
  background-color: var(--command-transparent);
}
:not(.regular).colors-command td:not(.regular):first-of-type,
:not(.regular).colors-Command td:not(.regular):first-of-type,
.colors-command td.capital,
.colors-Command td.capital,
:not(.regular) tr.colors-command td:not(.regular):first-of-type,
:not(.regular) tr.colors-Command td:not(.regular):first-of-type {
  background-color: var(--command-light);
  color: var(--color-white);
  border-color: var(--command-opaque);
}

/* Цвета медицинского отдела */
.colors-medik,
.colors-Medical,
tr.colors-medik,
tr.colors-Medical {
  background-color: var(--medical-light);
  border-color: var(--medical-secondary);
}
.colors-medik th,
.colors-Medical th,
tr.colors-medik th,
tr.colors-Medical th {
  background-color: var(--medical-primary);
  border-color: var(--medical-opaque);
}
.colors-medik td,
.colors-Medical td,
tr.colors-medik td,
tr.colors-Medical td {
  background-color: var(--medical-transparent);
}
:not(.regular).colors-medik td:not(.regular):first-of-type,
:not(.regular).colors-Medical td:not(.regular):first-of-type,
.colors-medik td.capital,
.colors-Medical td.capital,
:not(.regular) tr.colors-medik td:not(.regular):first-of-type,
:not(.regular) tr.colors-Medical td:not(.regular):first-of-type {
  background-color: var(--medical-light);
  color: var(--color-text);
  border-color: var(--medical-opaque);
}

/* Цвета снабжающего отдела */
.colors-suply,
.colors-Supply,
tr.colors-suply,
tr.colors-Supply {
  background-color: var(--supply-light);
  border-color: var(--supply-secondary);
}
.colors-suply th,
.colors-Supply th,
tr.colors-suply th,
tr.colors-Supply th {
  background-color: var(--supply-primary);
  border-color: var(--supply-opaque);
}
.colors-suply td,
.colors-Supply td,
tr.colors-suply td,
tr.colors-Supply td {
  background-color: var(--supply-transparent);
}
:not(.regular).colors-suply td:not(.regular):first-of-type,
:not(.regular).colors-Supply td:not(.regular):first-of-type,
.colors-suply td.capital,
.colors-Supply td.capital,
:not(.regular) tr.colors-suply td:not(.regular):first-of-type,
:not(.regular) tr.colors-Supply td:not(.regular):first-of-type {
  background-color: var(--supply-light);
  color: var(--color-text);
  border-color: var(--supply-opaque);
}

/* Цвета планетарного отдела */
.colors-lava,
.colors-Lavaland,
tr.colors-lava,
tr.colors-Lavaland {
  background-color: var(--lavaland-light);
  border-color: var(--lavaland-secondary);
}
.colors-lava th,
.colors-Lavaland th,
tr.colors-lava th,
tr.colors-Lavaland th {
  background-color: var(--lavaland-primary);
  border-color: var(--lavaland-opaque);
}
.colors-lava td,
.colors-Lavaland td,
tr.colors-lava td,
tr.colors-Lavaland td {
  background-color: var(--lavaland-transparent);
}
:not(.regular).colors-lava td:not(.regular):first-of-type,
:not(.regular).colors-Lavaland td:not(.regular):first-of-type,
.colors-lava td.capital,
.colors-Lavaland td.capital,
:not(.regular) tr.colors-lava td:not(.regular):first-of-type,
:not(.regular) tr.colors-Lavaland td:not(.regular):first-of-type {
  background-color: var(--lavaland-light);
  color: var(--color-text);
  border-color: var(--lavaland-opaque);
}

/* Цвета синтетического отдела */
.colors-synth,
.colors-Synthetic,
tr.colors-synth,
tr.colors-Synthetic {
  background-color: var(--synthetic-light);
  border-color: var(--synthetic-secondary);
}
.colors-synth th,
.colors-Synthetic th,
tr.colors-synth th,
tr.colors-Synthetic th {
  background-color: var(--synthetic-primary);
  border-color: var(--synthetic-opaque);
}
.colors-synth td,
.colors-Synthetic td,
tr.colors-synth td,
tr.colors-Synthetic td {
  background-color: var(--synthetic-transparent);
}
:not(.regular).colors-synth td:not(.regular):first-of-type,
:not(.regular).colors-Synthetic td:not(.regular):first-of-type,
.colors-synth td.capital,
.colors-Synthetic td.capital,
:not(.regular) tr.colors-synth td:not(.regular):first-of-type,
:not(.regular) tr.colors-Synthetic td:not(.regular):first-of-type {
  background-color: var(--synthetic-light);
  color: var(--color-white);
  border-color: var(--synthetic-opaque);
}

/* Цвета антагского отдела */
.colors-antag,
.colors-Antagonist,
tr.colors-antag,
tr.colors-Antagonist {
  background-color: var(--antag-light);
  border-color: var(--antag-secondary);
}
.colors-antag th,
.colors-Antagonist th,
tr.colors-antag th,
tr.colors-Antagonist th {
  background-color: var(--antag-primary);
  border-color: var(--antag-opaque);
}
.colors-antag td,
.colors-Antagonist td,
tr.colors-antag td,
tr.colors-Antagonist td {
  background-color: var(--antag-transparent);
}
:not(.regular).colors-antag td:not(.regular):first-of-type,
:not(.regular).colors-Antagonist td:not(.regular):first-of-type,
.colors-antag td.capital,
.colors-Antagonist td.capital,
:not(.regular) tr.colors-antag td:not(.regular):first-of-type,
:not(.regular) tr.colors-Antagonist td:not(.regular):first-of-type {
  background-color: var(--antag-light);
  color: var(--color-red);
  border-color: var(--antag-opaque);
}

/* Цвета культистского отдела */
.colors-cult,
.colors-Cultist,
tr.colors-cult,
tr.colors-Cultist {
  background-color: var(--cult-light);
  border-color: var(--cult-secondary);
}
.colors-cult th,
.colors-Cultist th,
tr.colors-cult th,
tr.colors-Cultist th {
  background-color: var(--cult-primary);
  border-color: var(--cult-opaque);
}
.colors-cult td,
.colors-Cultist td,
tr.colors-cult td,
tr.colors-Cultist td {
  background-color: var(--cult-transparent);
}
:not(.regular).colors-cult td:not(.regular):first-of-type,
:not(.regular).colors-Cultist td:not(.regular):first-of-type,
.colors-cult td.capital,
.colors-Cultist td.capital,
:not(.regular) tr.colors-cult td:not(.regular):first-of-type,
:not(.regular) tr.colors-Cultist td:not(.regular):first-of-type {
  background-color: var(--cult-light);
  color: var(--color-red);
  border-color: var(--cult-opaque);
}

/* Цвета ратваровского отдела */
.colors-ratvar,
.colors-Ratvar,
tr.colors-ratvar,
tr.colors-Ratvar {
  background-color: var(--ratvar-light);
  border-color: var(--ratvar-secondary);
}
.colors-ratvar th,
.colors-Ratvar th,
tr.colors-ratvar th,
tr.colors-Ratvar th {
  background-color: var(--ratvar-primary);
  border-color: var(--ratvar-opaque);
}
.colors-ratvar td,
.colors-Ratvar td,
tr.colors-ratvar td,
tr.colors-Ratvar td {
  background-color: var(--ratvar-transparent);
}
:not(.regular).colors-ratvar td:not(.regular):first-of-type,
:not(.regular).colors-Ratvar td:not(.regular):first-of-type,
.colors-ratvar td.capital,
.colors-Ratvar td.capital,
:not(.regular) tr.colors-ratvar td:not(.regular):first-of-type,
:not(.regular) tr.colors-Ratvar td:not(.regular):first-of-type {
  background-color: var(--ratvar-light);
  color: var(--color-white);
  border-color: var(--ratvar-opaque);
}

/* Цвета ксеноморфного отдела */
.colors-xenom,
.colors-Xenomorph,
tr.colors-xenom,
tr.colors-Xenomorph {
  background-color: var(--special-light);
  border-color: var(--special-secondary);
}
.colors-xenom th,
.colors-Xenomorph th,
tr.colors-xenom th,
tr.colors-Xenomorph th {
  background-color: var(--special-primary);
  border-color: var(--special-opaque);
}
.colors-xenom td,
.colors-Xenomorph td,
tr.colors-xenom td,
tr.colors-Xenomorph td {
  background-color: var(--special-transparent);
}
:not(.regular).colors-xenom td:not(.regular):first-of-type,
:not(.regular).colors-Xenomorph td:not(.regular):first-of-type,
.colors-xenom td.capital,
.colors-Xenomorph td.capital,
:not(.regular) tr.colors-xenom td:not(.regular):first-of-type,
:not(.regular) tr.colors-Xenomorph td:not(.regular):first-of-type {
  background-color: var(--special-light);
  color: var(--color-white);
  border-color: var(--special-opaque);
}

/* Цвета марининого отдела */
.colors-marine,
.colors-Marine,
tr.colors-marine,
tr.colors-Marine {
  background-color: var(--centcom-light);
  border-color: var(--centcom-secondary);
}
.colors-marine th,
.colors-Marine th,
tr.colors-marine th,
tr.colors-Marine th {
  background-color: var(--centcom-primary);
  border-color: var(--centcom-opaque);
}
.colors-marine td,
.colors-Marine td,
tr.colors-marine td,
tr.colors-Marine td {
  background-color: var(--centcom-transparent);
}
:not(.regular).colors-marine td:not(.regular):first-of-type,
:not(.regular).colors-Marine td:not(.regular):first-of-type,
.colors-marine td.capital,
.colors-Marine td.capital,
:not(.regular) tr.colors-marine td:not(.regular):first-of-type,
:not(.regular) tr.colors-Marine td:not(.regular):first-of-type {
  background-color: var(--centcom-light);
  color: var(--color-text);
  border-color: var(--centcom-opaque);
}

/* Цвета волшебного отдела */
.colors-wizard,
.colors-Wizard,
tr.colors-wizard,
tr.colors-Wizard {
  background-color: var(--wizard-light);
  border-color: var(--wizard-secondary);
}
.colors-wizard th,
.colors-Wizard th,
tr.colors-wizard th,
tr.colors-Wizard th {
  background-color: var(--wizard-primary);
  border-color: var(--wizard-opaque);
}
.colors-wizard td,
.colors-Wizard td,
tr.colors-wizard td,
tr.colors-Wizard td {
  background-color: var(--wizard-transparent);
}
:not(.regular).colors-wizard td:not(.regular):first-of-type,
:not(.regular).colors-Wizard td:not(.regular):first-of-type,
.colors-wizard td.capital,
.colors-Wizard td.capital,
:not(.regular) tr.colors-wizard td:not(.regular):first-of-type,
:not(.regular) tr.colors-Wizard td:not(.regular):first-of-type {
  background-color: var(--wizard-light);
  color: var(--color-text);
  border-color: var(--wizard-opaque);
}

/* Цвета похитнического отдела */
.colors-abductor,
.colors-Abductor,
tr.colors-abductor,
tr.colors-Abductor {
  background-color: var(--gray-light);
  border-color: var(--gray-secondary);
}
.colors-abductor th,
.colors-Abductor th,
tr.colors-abductor th,
tr.colors-Abductor th {
  background-color: var(--gray-primary);
  border-color: var(--gray-opaque);
}
.colors-abductor td,
.colors-Abductor td,
tr.colors-abductor td,
tr.colors-Abductor td {
  background-color: var(--gray-transparent);
}
:not(.regular).colors-abductor td:not(.regular):first-of-type,
:not(.regular).colors-Abductor td:not(.regular):first-of-type,
.colors-abductor td.capital,
.colors-Abductor td.capital,
:not(.regular) tr.colors-abductor td:not(.regular):first-of-type,
:not(.regular) tr.colors-Abductor td:not(.regular):first-of-type {
  background-color: var(--gray-light);
  color: var(--color-text);
  border-color: var(--gray-opaque);
}

/* Таблица брони и оружия */
.weapon-table td,
.armor-table {
  text-align: center;
  font-weight: bold;
}

/* Последний столбец */
.weapon-table td:last-of-type,
.armor-table td:last-of-type {
  text-align: left;
  font-weight: unset;
}