/* =====================================================================
   ATMOS — оформление шаблона
   Подключается после bootstrap.css, atmos-tokens.css и atmos-base.css.
   Цвета берутся только из переменных (atmos-tokens.css), поэтому всё
   ниже одинаково работает в светлой и тёмной теме.

   Содержание
     1. Основа
     2. Раскладка страницы
     3. Шапка
     4. HUD-полоса и карточки серверов
     5. Блоки и боковое меню
     6. Кнопки
     7. Поля форм
     8. Таблицы
     9. Окна, подсказки, выпадающие списки
    10. Сообщения, уведомления, метки
    11. Постраничная навигация
    12. Страницы движка (чат, списки, форум, новости, профиль…)
    13. Мост для Bootstrap (карточки, вкладки, утилиты цвета)
    14. Подвал
    15. Загрузчик и мелочи
    16. Модули
    17. Доступность и печать
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. Основа
   --------------------------------------------------------------------- */

/* Вёрстка движка рассчитана на обнулённые отступы */
* {
	margin: 0;
	padding: 0;
}

html {
	scrollbar-color: var(--border-strong) transparent;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (min-width: 992px) {
	html {
		scroll-padding-top: 62px;
	}
}

html,
body {
	background-color: var(--bg);
	color: var(--text);
}

body {
	position: relative;
	min-height: 100vh;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* необязательная фоновая картинка страницы: --site-bg-image в mystyles.css */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: var(--site-bg-image) center / cover no-repeat;
	opacity: var(--site-bg-opacity);
}

.wapper {
	position: relative;
	z-index: 1;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	color: var(--text-strong);
	font-weight: 650;
	line-height: 1.25;
}

p {
	margin-top: 0;
	margin-bottom: 18px;
}

* > p:last-child {
	margin-bottom: 0;
}

small,
.small {
	font-size: 85%;
	color: var(--text-muted);
}

b, strong {
	font-weight: 650;
}

hr {
	border-top: 1px solid var(--border);
}

a {
	color: var(--link);
	text-decoration: none;
	transition: color .15s;
}

a:hover {
	color: var(--link-hover);
	text-decoration: none;
}

a[onclick] {
	color: var(--link);
	cursor: pointer;
}

a.small {
	font-size: 13px;
	color: var(--text-muted);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-underline-offset: 3px;
}

a.small:hover,
a.small:focus {
	color: var(--text-strong);
}

::selection {
	background: var(--accent);
	color: var(--accent-ink);
}

:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

*[data-toggle="modal"] {
	cursor: pointer;
}

pre,
code {
	color: var(--text-strong);
}

pre {
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
	background: var(--surface-2);
	white-space: pre-wrap;
}

blockquote {
	margin: 0 0 8px;
	padding: 10px 14px;
	border-left: 3px solid var(--border-strong);
	border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
	background: var(--surface-2);
}

.text-warning { color: var(--warn-text) !important; }
.text-success { color: var(--ok-text) !important; }
.text-error,
.text-danger { color: var(--danger-text) !important; }
.text-info { color: var(--info-text) !important; }
.text-primary { color: var(--accent-text) !important; }
.text-muted,
.text-secondary { color: var(--text-muted) !important; }
.text-dark,
.text-body,
.text-default { color: var(--text-strong) !important; }


/* ---------------------------------------------------------------------
   2. Раскладка страницы
   --------------------------------------------------------------------- */

.wapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 0;
}

.wapper > .content {
	flex: 1 0 auto;
}

.wapper > .footer {
	flex: 0 0 auto;
}

@media (min-width: 1280px) {
	.wapper .container {
		max-width: var(--container);
	}
}

.page {
	padding-top: 28px;
	padding-bottom: 44px;
}

/* Основная колонка слева, боковая — справа.
   Чтобы вернуть боковую колонку налево, поменяйте значения order местами. */
@media (min-width: 992px) {
	.order-is-first { order: -1; }
	.order-is-last { order: 13; }
}


/* ---------------------------------------------------------------------
   3. Шапка
   --------------------------------------------------------------------- */

.header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: var(--hud-bg);
	border-bottom: 1px solid var(--hud-border);
	color: var(--hud-text);
}

.header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 14px;
	min-height: var(--header-h);
}

/* --- логотип --- */
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	order: 1;
	margin-right: 10px;
	color: var(--hud-text);
	white-space: nowrap;
}

.brand:hover {
	color: #fff;
}

.brand__mark {
	flex: none;
	color: var(--accent);
}

.brand__name {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1;
}

/* --- главное меню --- */
.header__nav {
	order: 2;
	flex: 1 1 auto;
	min-width: 0;
}

.header .collapsible-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.header__nav .collapsible-menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.header__nav .collapsible-menu > li {
	position: relative;
}

.header__nav .collapsible-menu > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 13px;
	border-radius: var(--radius-s);
	color: var(--hud-text);
	font-size: 14.5px;
	font-weight: 500;
	white-space: nowrap;
	transition: background-color .15s, color .15s;
}

.header__nav .collapsible-menu > li > a:hover,
.header__nav .collapsible-menu > li > a.open {
	background: var(--hud-surface-2);
	color: #fff;
}

.header__nav .collapsible-menu > li > a.is-current {
	color: var(--accent);
}

/* стрелка у пунктов с подменю */
.header .collapsible-menu > li.collapsible > a::after {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin: -3px 2px 0 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	opacity: .6;
	transform: rotate(45deg);
	transition: transform .2s;
}

.header .collapsible-menu > li.collapsible > a.open::after {
	margin-top: 4px;
	transform: rotate(-135deg);
}

/* выпадающие списки (открывает mix.js) */
.header .collapsible-menu > li > ul {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 1040;
	min-width: 210px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--hud-surface);
	border: 1px solid var(--hud-border);
	border-radius: var(--radius-m);
	box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
}

.header .collapsible-menu > li > ul > li > a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--radius-xs);
	color: var(--hud-text);
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.header .collapsible-menu > li > ul > li > a:hover,
.header .collapsible-menu > li > ul > li > a.is-current {
	background: var(--hud-surface-2);
	color: #fff;
}

/* --- переключатель темы --- */
.theme-toggle {
	position: relative;
	order: 3;
	flex: none;
	display: inline-grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	justify-items: center;
	width: 64px;
	height: 34px;
	padding: 3px;
	border: 1px solid var(--hud-border);
	border-radius: 999px;
	background: var(--hud-surface);
	color: var(--hud-muted);
	cursor: pointer;
}

.theme-toggle::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 28px;
	height: 26px;
	border-radius: 999px;
	background: var(--accent);
	transition: transform .2s ease;
}

.theme-toggle svg {
	position: relative;
	transition: color .2s;
}

:root[data-theme="dark"] .theme-toggle::before {
	transform: translateX(28px);
}

:root:not([data-theme="dark"]) .theme-toggle__sun,
:root[data-theme="dark"] .theme-toggle__moon {
	color: var(--accent-ink);
}

.theme-toggle:hover {
	border-color: var(--hud-muted);
}

/* --- вход для гостей --- */
.auth-in {
	order: 4;
	display: flex;
	align-items: center;
	gap: 6px;
}

.auth-in .btn {
	margin: 0;
}

.auth-in__fish {
	width: 36px;
	height: 36px;
	object-fit: contain;
	cursor: pointer;
}

/* --- баланс и меню пользователя --- */
.header__user {
	order: 4;
	display: flex;
	align-items: center;
	gap: 10px;
}

.balance {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 5px 0 14px;
	border: 1px solid var(--hud-border);
	border-radius: 999px;
	color: var(--hud-text);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}

.balance:hover {
	border-color: var(--accent);
	color: #fff;
}

.balance__sum i {
	font-size: 12px;
	opacity: .7;
}

.balance__plus {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.header .user-menu > li {
	position: relative;
}

.user-chip {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 4px 10px 4px 4px;
	border-radius: 999px;
	color: var(--hud-text);
	transition: background-color .15s;
}

.user-chip:hover,
.user-chip.open {
	background: var(--hud-surface-2);
	color: #fff;
}

.user-chip > img {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
}

.user-chip__text {
	min-width: 0;
	max-width: 150px;
}

.user-chip__text h3,
.user-chip__text p {
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.user-chip__text h3 {
	color: var(--hud-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.user-chip__text p {
	color: var(--hud-muted);
	font-size: 12px;
	line-height: 1.3;
}

/* метка «есть открытые тикеты / заявки» */
.header .user-menu .point {
	position: absolute;
	top: 3px;
	left: 30px;
	width: 12px;
	height: 12px;
	border: 2px solid var(--hud-bg);
	border-radius: 50%;
	background: var(--ok-solid);
}

/* счётчик новых сообщений, который подставляет движок */
#check_mess:empty {
	display: none;
}

#check_mess {
	position: absolute;
	top: -2px;
	right: 2px;
	font-size: 11px;
	line-height: 1;
}

.header .user-menu > li > ul {
	left: auto;
	right: 0;
	width: max-content !important;
	min-width: 220px !important;
	max-width: 280px;
}

/* --- кнопка мобильного меню --- */
.menu-trigger {
	order: 6;
	flex: none;
	display: none;
	position: relative;
	width: 42px;
	height: 42px;
	border: 1px solid var(--hud-border);
	border-radius: var(--radius-s);
	background: transparent;
	cursor: pointer;
}

.menu-trigger span,
.menu-trigger::before,
.menu-trigger::after {
	content: "";
	position: absolute;
	left: 11px;
	right: 11px;
	height: 2px;
	border-radius: 2px;
	background: var(--hud-text);
	transition: transform .2s, opacity .2s;
}

.menu-trigger::before { top: 13px; }
.menu-trigger span { top: 19px; }
.menu-trigger::after { top: 25px; }

.menu-trigger:not(.collapsed) span { opacity: 0; }
.menu-trigger:not(.collapsed)::before { transform: translateY(6px) rotate(45deg); }
.menu-trigger:not(.collapsed)::after { transform: translateY(-6px) rotate(-45deg); }

/* --- широкие экраны: шапка в два яруса ---
   Сверху логотип, тема, баланс и профиль; под ними — меню на всю ширину.
   Меню вмещает сколько угодно пунктов (лишние переносятся на новую строку).
   При прокрутке верхний ярус уезжает, а строка меню остаётся прилипшей. */
@media (min-width: 992px) {
	.header {
		top: calc(-1px - var(--header-top-h));
		background:
			linear-gradient(var(--hud-border), var(--hud-border)) 0 var(--header-top-h) / 100% 1px no-repeat,
			var(--hud-bg);
	}

	.header__inner {
		min-height: 0;
	}

	.brand {
		min-height: var(--header-top-h);
		margin-right: auto;
	}

	.header__nav {
		display: block !important;
		order: 10;
		flex: 0 0 100%;
		height: auto !important;
		margin-top: 1px;
	}

	.header__nav .collapsible-menu {
		flex-wrap: wrap;
		gap: 0 2px;
		margin: 0 -12px;
		padding: 5px 0;
	}

	.header__nav .collapsible-menu > li > a {
		height: 36px;
		padding: 0 12px;
	}

	.header .header__nav .collapsible-menu > li > ul {
		top: calc(100% + 6px);
	}
}

@media (max-width: 991.98px) {
	.menu-trigger {
		display: block;
	}

	/* в профиле остаётся только аватар: имя и группа не помещаются рядом с балансом */
	.user-chip {
		padding: 4px;
	}

	.user-chip__text,
	.header .user-menu > li.collapsible > a::after {
		display: none;
	}

	.brand {
		margin-right: auto;
	}

	.header__nav {
		order: 10;
		flex: 0 0 100%;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}

	.header__nav .collapsible-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 6px 0 16px;
		border-top: 1px solid var(--hud-border);
	}

	.header__nav .collapsible-menu > li > a {
		height: 46px;
		font-size: 15px;
	}

	.header__nav .collapsible-menu > li.collapsible > a::after {
		margin-left: auto;
	}

	.header__nav .collapsible-menu > li > ul {
		position: static;
		min-width: 0 !important;
		margin: 2px 0 6px 12px;
		padding: 0 0 0 8px;
		border: 0;
		border-left: 1px solid var(--hud-border);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}
}

/* планшеты в портретной ориентации и телефоны: компактные элементы шапки */
@media (max-width: 767.98px) {
	.header__inner {
		column-gap: 8px;
	}

	.brand__name {
		font-size: 18px;
	}

	.user-chip {
		padding: 4px;
	}

	.user-chip__text,
	.auth-in__fish {
		display: none;
	}

	.user-chip > img {
		width: 36px;
		height: 36px;
	}

	.user-chip {
		height: 44px;
	}

	.header .user-menu .point {
		left: 28px;
	}

	.header__user {
		gap: 6px;
	}

	.brand {
		gap: 8px;
		margin-right: auto;
	}

	/* компактный переключатель: одна кнопка с иконкой текущей темы */
	.theme-toggle {
		display: grid;
		grid-template-columns: 1fr;
		width: 40px;
		height: 40px;
		padding: 0;
		border-radius: var(--radius-s);
		color: var(--accent);
	}

	.theme-toggle::before {
		display: none;
	}

	:root:not([data-theme="dark"]) .theme-toggle__sun,
	:root[data-theme="dark"] .theme-toggle__moon {
		color: var(--accent);
	}

	:root:not([data-theme="dark"]) .theme-toggle__moon,
	:root[data-theme="dark"] .theme-toggle__sun {
		display: none;
	}

	.balance__plus {
		display: none;
	}

	.balance {
		padding: 0 12px;
	}

	.menu-trigger {
		width: 40px;
		height: 40px;
	}

	.menu-trigger span,
	.menu-trigger::before,
	.menu-trigger::after {
		left: 10px;
		right: 10px;
	}

	.menu-trigger::before { top: 12px; }
	.menu-trigger span { top: 18px; }
	.menu-trigger::after { top: 24px; }

	.header .user-menu > li.collapsible > a::after {
		display: none;
	}

	.balance {
		padding-left: 10px;
		font-size: 14px;
	}
}

@media (max-width: 400px) {
	.header__inner {
		column-gap: 6px;
	}

	.user-chip {
		padding: 2px;
		height: 40px;
	}

	.brand__name {
		font-size: 16px;
		letter-spacing: .04em;
	}
}


/* ---------------------------------------------------------------------
   4. HUD-полоса и карточки серверов
   --------------------------------------------------------------------- */

.hud-band {
	position: relative;
	padding: 22px 0 24px;
	background-color: var(--hud-bg);
	background-image:
		radial-gradient(70% 140% at 12% 0%, rgba(255, 163, 26, .11), transparent 62%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 4px);
	border-bottom: 1px solid var(--hud-border);
	color: var(--hud-text);
}

.server-strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(300px, 1fr);
	gap: 16px;
	min-height: 172px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: var(--hud-border) transparent;
}

.server-strip > .loader {
	grid-column: 1 / -1;
}

.server-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	min-height: 172px;
	padding: 18px 20px 16px;
	overflow: hidden;
	border: 1px solid var(--hud-border);
	border-radius: var(--radius-m);
	background: var(--hud-surface);
	color: #fff;
	scroll-snap-align: start;
}

.server-card > * {
	position: relative;
	z-index: 1;
}

/* картинка карты и затемнение поверх неё */
.server-card > .server-card__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
}

.server-card > .server-card__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(17, 20, 12, .95) 0%, rgba(17, 20, 12, .84) 45%, rgba(17, 20, 12, .58) 100%);
}

/* уголки, как у рамки прицела */
.server-card::after {
	--tick: linear-gradient(var(--accent), var(--accent));
	content: "";
	position: absolute;
	inset: 8px;
	z-index: 1;
	pointer-events: none;
	background:
		var(--tick) top left / 14px 2px,
		var(--tick) top left / 2px 14px,
		var(--tick) top right / 14px 2px,
		var(--tick) top right / 2px 14px,
		var(--tick) bottom left / 14px 2px,
		var(--tick) bottom left / 2px 14px,
		var(--tick) bottom right / 14px 2px,
		var(--tick) bottom right / 2px 14px;
	background-repeat: no-repeat;
	opacity: .45;
	transition: opacity .2s;
}

.server-card:hover::after,
.server-card:focus-within::after {
	opacity: 1;
}

.server-card__name {
	display: -webkit-box;
	margin: 0;
	padding: 0 6px;
	overflow: hidden;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.server-card__gear {
	margin-right: 4px;
	border: 0;
	background: none;
	color: var(--hud-muted);
	cursor: pointer;
}

.server-card__gear:hover {
	color: var(--accent);
}

.server-card__main {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 0 6px;
}

.server-card__players {
	display: flex;
	align-items: baseline;
	gap: 2px;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: var(--radius-xs);
	background: none;
	color: inherit;
	cursor: pointer;
	text-align: left;
}

.server-card__now {
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 44px;
	font-weight: 700;
	line-height: .95;
	text-shadow: 0 0 22px rgba(255, 163, 26, .35);
	font-variant-numeric: tabular-nums;
}

.server-card__max {
	color: var(--hud-muted);
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 500;
}

.server-card__label {
	margin-left: 8px;
	color: var(--hud-muted);
	font-size: 13px;
}

.server-card__players:hover .server-card__label {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* заполненность сервера: доля = игроки / слоты */
.server-card__bar {
	display: flex;
	height: 4px;
	margin: 0 6px;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(255, 255, 255, .14);
}

.server-card__bar i {
	flex: 0 0 0;
	flex-grow: var(--now);
	background: var(--accent);
}

.server-card__bar b {
	flex: 0 0 0;
	flex-grow: calc(var(--max) - var(--now));
}

.server-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	padding: 0 6px;
	font-size: 13px;
}

.server-card__map {
	min-width: 0;
	overflow: hidden;
	color: var(--hud-text);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.server-card__map i {
	margin-right: 3px;
	color: var(--hud-muted);
	font-size: 12px;
}

.server-card__ip {
	margin-left: auto;
	padding: 4px 9px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--radius-xs);
	background: rgba(17, 20, 12, .55);
	color: var(--hud-text);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color .15s, color .15s;
}

.server-card__ip i {
	margin-left: 4px;
	font-size: 12px;
	opacity: .7;
}

.server-card__ip:hover {
	border-color: var(--accent);
	color: #fff;
}

.server-card__ip.is-copied {
	border-color: #8fce4a;
	color: #b9e58a;
}

.server-card__play {
	flex: none;
	padding: 7px 18px;
	border-radius: var(--radius-xs);
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.server-card__play:hover {
	background: var(--accent-hover);
	color: var(--accent-ink);
}

@media (max-width: 575.98px) {
	.hud-band {
		padding: 16px 0 18px;
	}

	.server-strip {
		grid-auto-columns: minmax(270px, 86%);
		gap: 12px;
	}

	.server-card__now {
		font-size: 38px;
	}

	.server-card__label {
		display: none;
	}

	.server-card__ip {
		margin-left: 0;
	}
}

/* --- мониторинг таблицей (monitoringType 1 и 2) --- */
.hud-band .monitoring-table {
	margin: 0;
	border-color: var(--hud-border);
	background: var(--hud-surface);
}

.hud-band .monitoring-table > table > thead > tr > td {
	padding: 12px 14px;
	border: 0;
	background: var(--hud-surface-2);
	color: var(--hud-muted);
	font-size: 13px;
	font-weight: 600;
}

.hud-band .monitoring-table > table > tbody > tr > td {
	padding: 9px 14px;
	border-color: var(--hud-border);
	background: transparent;
	color: var(--hud-text);
	font-size: 14px;
}

.hud-band .monitoring-table.big-monitoring-table > table > tbody > tr > td {
	padding: 13px 16px;
	font-size: 15px;
}

.hud-band .monitoring-table > table > tbody > tr > td a {
	color: var(--accent);
}

.monitoring-table > table > thead > tr > td:nth-child(n+2),
.monitoring-table > table > tbody > tr > td:nth-child(n+2) {
	text-align: center;
}

.monitoring-table > table > tbody > tr > td:first-child p {
	display: inline-block;
	max-width: 320px;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
}

.monitoring-table > table > tbody > tr > td:first-child p .game-icon {
	width: 16px;
	height: 16px;
	margin-right: 6px;
	border-radius: 3px;
}

.monitoring-table > table > tbody > tr > td:last-child {
	min-width: 120px;
}

.monitoring-table > table > tbody > tr > td:last-child > a {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 30px;
	margin: 0 2px;
	border: 1px solid var(--hud-border);
	border-radius: var(--radius-xs);
}

.monitoring-table > table > tbody > tr > td:last-child > a:hover {
	border-color: var(--accent);
}

.servers-online-line {
	position: relative;
	height: 26px;
	overflow: hidden;
	border: 0;
	border-radius: var(--radius-xs);
	background: rgba(255, 255, 255, .1);
	cursor: pointer;
}

.servers-online-line .progress-val {
	position: absolute;
	inset: 0;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 26px;
	text-align: center;
}

.servers-online-line .progress-bar,
.servers-online-line .progress-bar[class*="bg-"] {
	border: 0;
	background-color: rgba(255, 163, 26, .55) !important;
}


/* ---------------------------------------------------------------------
   5. Блоки и боковое меню
   --------------------------------------------------------------------- */

.block {
	position: relative;
	margin-bottom: 24px;
	padding: 30px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-m);
	box-shadow: var(--shadow-1);
}

.block .block_head {
	margin-bottom: 22px;
	color: var(--text-strong);
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.25;
}

.block .block_head a {
	color: var(--text-strong);
}

.block .block_head span {
	margin-left: 8px;
	color: var(--text-muted);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0;
}

.block .block_head_image {
	width: calc(100% + 60px);
	height: 70px;
	margin: -30px -30px 30px;
	padding: 0;
	overflow: hidden;
	border-radius: var(--radius-m) var(--radius-m) 0 0;
}

/* блок с таблицей на всю ширину */
.block.block-table {
	padding: 0;
	overflow: hidden;
}

.block.block-table > .block_head {
	margin-bottom: 0;
	padding: 30px;
}

.block.block-table > .table-responsive {
	border: 0;
	border-top: 1px solid var(--border);
	border-radius: 0;
}

.block.block-table .noty-block {
	width: calc(100% - 60px);
	margin: 0 30px 20px;
}

/* блок со строкой поиска */
.block.block-search > .input-search {
	position: relative;
	width: calc(100% + 60px);
	margin: 0 -30px 30px;
	padding: 0 30px;
	background: var(--surface-2);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.block.block-search > .input-search i.fa-search {
	position: absolute;
	top: 50%;
	left: 40px;
	z-index: 4;
	color: var(--text-muted);
	font-size: 13px;
	transform: translateY(-50%);
	cursor: pointer;
}

.block.block-search > .input-search input,
.block.block-search > .input-search select {
	height: 46px;
	margin: 0;
	padding-left: 34px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.block.block-search > .input-search select {
	width: 30%;
	max-width: 150px;
	padding-left: 10px;
	border-left: 1px solid var(--border);
}

@media (max-width: 575.98px) {
	.block {
		margin-bottom: 16px;
	}
}

/* вертикальное меню в боковой колонке */
.vertical-navigation {
	margin: -8px -14px -12px;
}

.vertical-navigation ul {
	display: block !important;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vertical-navigation li + li {
	margin-top: 2px;
}

.vertical-navigation a {
	display: block;
	padding: 9px 14px;
	overflow: hidden;
	border-radius: var(--radius-s);
	color: var(--text);
	font-size: 14.5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.vertical-navigation a:hover {
	background: var(--surface-2);
	color: var(--text-strong);
}

.vertical-navigation a.active,
.vertical-navigation li.active > a,
.vertical-navigation a.is-current {
	background: var(--accent-soft);
	color: var(--accent-text);
	font-weight: 600;
}

.profile-page .profile .vertical-navigation span.m-icon {
	display: none;
}

/* ссылки «Контакты» */
.contact-links {
	display: grid;
	gap: 8px;
}

.contact-links a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
	color: var(--text-strong);
	font-weight: 500;
	transition: border-color .15s, background-color .15s;
}

.contact-links a:hover {
	border-color: var(--accent);
	background: var(--surface-2);
}

.contact-links i {
	width: 22px;
	color: var(--accent-text);
	font-size: 20px;
	text-align: center;
}

.block-auth .btn:last-child {
	margin-bottom: 0;
}


/* ---------------------------------------------------------------------
   6. Кнопки
   --------------------------------------------------------------------- */

.btn {
	border: 1px solid transparent;
	border-radius: var(--radius-s);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	box-shadow: none;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}

a.btn,
input.btn,
button.btn,
label.btn {
	height: 42px;
	max-width: 100%;
	margin-bottom: 10px;
	padding: 0 18px;
	overflow: hidden;
	line-height: 40px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

a.btn.btn-sm,
input.btn.btn-sm,
button.btn.btn-sm,
label.btn.btn-sm,
.btn-group-sm > .btn {
	height: 32px;
	padding: 0 12px;
	border-radius: 8px;
	font-size: 13px;
	line-height: 30px;
}

a.btn.btn-lg,
button.btn.btn-lg {
	height: 50px;
	padding: 0 26px;
	font-size: 16px;
	line-height: 48px;
}

.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled):active:focus,
.btn:not(:disabled):not(.disabled).active:focus {
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn.disabled,
.btn:disabled,
.btn[disabled] {
	opacity: .5;
	cursor: not-allowed;
}

/* основная */
.btn.btn-primary,
.btn.btn-primary:not(:disabled):not(.disabled):active,
.btn.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn.btn-primary.dropdown-toggle {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: var(--accent-ink);
}

.btn.btn-primary span,
.btn.btn-primary i {
	color: inherit;
}

/* второстепенная: контурная и «default» */
.btn.btn-outline-primary,
.btn.btn-default,
.btn.btn-secondary,
.btn.btn-outline-secondary,
.btn.btn-light,
.btn.btn-outline-dark {
	background: transparent;
	border-color: var(--border-strong);
	color: var(--text-strong);
}

.btn.btn-outline-primary:hover,
.btn.btn-outline-primary:focus,
.btn.btn-default:hover,
.btn.btn-default:focus,
.btn.btn-secondary:hover,
.btn.btn-outline-secondary:hover,
.btn.btn-light:hover,
.btn.btn-outline-dark:hover,
.btn.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn.btn-default:not(:disabled):not(.disabled):active {
	background: var(--surface-2);
	border-color: var(--accent);
	color: var(--text-strong);
}

/* выбранная кнопка в переключателях */
.btn.btn-outline-primary.active,
.btn.btn-default.active,
.btn.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-group-toggle .btn.btn-default.active {
	background: var(--accent-soft);
	border-color: var(--accent);
	color: var(--accent-text);
}

.btn.btn-dark {
	background: var(--hud-surface-2);
	border-color: var(--hud-border);
	color: var(--hud-text);
}

.btn.btn-dark:hover {
	background: var(--hud-surface);
	color: #fff;
}

.btn.btn-success,
.btn.btn-success:not(:disabled):not(.disabled):active {
	background: var(--ok-solid);
	border-color: var(--ok-solid);
	color: var(--on-ok);
}

.btn.btn-info,
.btn.btn-info:not(:disabled):not(.disabled):active {
	background: var(--info-solid);
	border-color: var(--info-solid);
	color: var(--on-info);
}

.btn.btn-warning,
.btn.btn-warning:not(:disabled):not(.disabled):active {
	background: var(--warn-solid);
	border-color: var(--warn-solid);
	color: var(--on-warn);
}

.btn.btn-danger,
.btn.btn-danger:not(:disabled):not(.disabled):active {
	background: var(--danger-solid);
	border-color: var(--danger-solid);
	color: var(--on-danger);
}

.btn.btn-success:hover,
.btn.btn-info:hover,
.btn.btn-warning:hover,
.btn.btn-danger:hover {
	filter: brightness(1.08);
}

.btn.btn-outline-success { border-color: var(--ok); color: var(--ok-text); background: transparent; }
.btn.btn-outline-danger { border-color: var(--danger); color: var(--danger-text); background: transparent; }
.btn.btn-outline-warning { border-color: var(--warn); color: var(--warn-text); background: transparent; }
.btn.btn-outline-info { border-color: var(--info); color: var(--info-text); background: transparent; }

.btn.btn-outline-success:hover { background: var(--ok-bg); color: var(--ok-text); }
.btn.btn-outline-danger:hover { background: var(--danger-bg); color: var(--danger-text); }
.btn.btn-outline-warning:hover { background: var(--warn-bg); color: var(--warn-text); }
.btn.btn-outline-info:hover { background: var(--info-bg); color: var(--info-text); }

.btn.btn-link {
	color: var(--link);
}

/* широкая кнопка «добавить / показать ещё» */
a.btn.btn-xl,
input.btn.btn-xl,
button.btn.btn-xl,
label.btn.btn-xl {
	display: block;
	width: 100%;
	height: 46px;
	margin-bottom: 0;
	border: 1.5px dashed var(--border-strong);
	background: transparent;
	color: var(--text-strong);
	font-size: 14.5px;
	line-height: 43px;
}

a.btn.btn-xl:hover,
button.btn.btn-xl:hover {
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--accent-text);
}

.btn-group-toggle .btn.btn-default:not(.btn-sm) {
	line-height: 40px;
}


/* ---------------------------------------------------------------------
   7. Поля форм
   --------------------------------------------------------------------- */

.form-control,
textarea.form-control,
input.form-control,
select.form-control,
.custom-select {
	background-color: var(--input-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
	color: var(--text-strong);
	font-size: 14.5px;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}

input.form-control,
select.form-control {
	height: 42px;
	margin-bottom: 10px;
	padding: 0 14px;
}

select.form-control {
	padding: 0 10px;
}

textarea.form-control {
	padding: 10px 14px;
}

.form-control:hover {
	border-color: var(--border-strong);
}

.form-control:focus,
.custom-select:focus {
	background-color: var(--input-bg);
	border-color: var(--accent);
	color: var(--text-strong);
	box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-control::placeholder {
	color: var(--text-muted);
	opacity: 1;
}

.form-control:disabled,
.form-control[readonly],
input[disabled],
select[disabled] {
	background-color: var(--surface-2);
	color: var(--text-muted);
	cursor: not-allowed;
}

select.form-control option {
	background: var(--surface);
	color: var(--text-strong);
}

input.form-control.form-control-sm,
select.form-control.form-control-sm,
.input-group-sm > input.form-control,
.input-group-sm > select.form-control,
input.form-control.input-sm,
select.form-control.input-sm {
	height: 32px;
	padding: 0 10px;
	border-radius: 8px;
	font-size: 13px;
}

input[type="file"] {
	max-width: 100%;
	height: auto;
	margin-bottom: 10px;
	padding: 6px;
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius-s);
	background: transparent;
	color: var(--text-muted);
	font-size: 13px;
}

input[type="file"]::file-selector-button {
	margin-right: 10px;
	padding: 6px 12px;
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	background: var(--surface-2);
	color: var(--text-strong);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--accent);
}

.input-group-text {
	height: 42px;
	border-color: var(--border);
	border-radius: var(--radius-s);
	background: var(--surface-2);
	color: var(--text-muted);
}

.input-group-sm .input-group-text {
	height: 32px;
}

/* проверка полей движком */
.input_error,
.form-control.input_error {
	border-color: var(--danger) !important;
	background-color: var(--danger-bg) !important;
}

.input_success,
.form-control.input_success {
	border-color: var(--ok) !important;
	background-color: var(--ok-bg) !important;
}

.error_message { color: var(--danger-text) !important; }
.success_message { color: var(--ok-text) !important; }

/* окна входа и регистрации */
.authorization__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 16px;
	margin-top: 4px;
}

.authorization__social {
	display: flex;
	gap: 8px;
	margin-top: 16px;
}

.authorization__social:empty {
	display: none;
}

.authorization__social .btn {
	flex: 0 0 46px;
	margin: 0;
	padding: 0;
}

#user_login .btn-block,
#user_registration .btn-block {
	margin-bottom: 10px;
}

.registration .privacy-policy {
	display: block;
	margin-bottom: 10px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
	background: var(--surface-2);
	color: var(--text-muted);
	font-size: 12.5px;
	line-height: 1.45;
}


/* ---------------------------------------------------------------------
   8. Таблицы
   --------------------------------------------------------------------- */

.table {
	color: var(--text);
}

.table td,
.table th,
.table-bordered,
.table-bordered td,
.table-bordered th {
	border: 0;
	border-top: 1px solid var(--border);
}

.table td,
.table th {
	padding: 12px 14px;
	vertical-align: middle;
}

.table thead td,
.table thead th {
	border-bottom: 0;
	background: var(--surface-2);
	color: var(--text-muted);
	font-size: 13px;
	font-weight: 600;
}

.table .table {
	background: transparent;
}

.table-responsive {
	width: 100%;
	margin-bottom: 15px;
	overflow-x: auto;
	overflow-y: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
	-webkit-overflow-scrolling: touch;
}

.table-striped tbody tr:nth-of-type(odd) {
	background: var(--surface-2);
}

.table-hover tbody tr:hover {
	background: var(--surface-2);
	color: var(--text-strong);
}

.table.table-dark,
.table.table-dark td,
.table.table-dark th {
	border-color: var(--hud-border);
	background: var(--hud-surface);
	color: var(--hud-text);
}

/* строки, по которым можно кликнуть */
#muts tr:hover > td,
#banlist tr:hover > td,
#stats tr:hover > td {
	background: var(--surface-2);
}

/* «пустые» и загрузочные строки на всю ширину */
td[colspan$="10"],
td[colspan$="10"] img {
	margin: 0 auto;
	padding: 14px;
	background-color: transparent;
	color: var(--text-muted);
	font-size: 13.5px;
	font-weight: 400;
	text-align: center;
}

.empty-element {
	display: block;
	width: 100%;
	padding: 14px 10px;
	border-top: 1px solid var(--border);
	color: var(--text-muted);
	text-align: center;
}


/* ---------------------------------------------------------------------
   9. Окна, подсказки, выпадающие списки
   --------------------------------------------------------------------- */

.modal-content {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-2);
	color: var(--text);
}

.modal-header {
	position: relative;
	padding: 28px 30px 14px;
	border-bottom: 0;
}

.modal-title,
.modal .modal-content .modal-header h4,
table.table > tbody > tr > td h4.modal-title {
	padding-right: 36px;
	color: var(--text-strong);
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
}

.modal-header .close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border-radius: var(--radius-s);
	color: var(--text-muted);
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	text-shadow: none;
	opacity: 1;
}

.modal-header .close:hover {
	background: var(--surface-2);
	color: var(--text-strong);
}

.close {
	color: var(--text-muted);
	text-shadow: none;
}

.modal-body {
	padding: 8px 30px 30px;
}

.modal-footer {
	padding: 16px 30px;
	border-top: 1px solid var(--border);
}

.modal-backdrop {
	background: #080a05;
}

.modal-backdrop.show {
	opacity: .72;
}

@media (max-width: 575.98px) {
	.modal-header { padding: 22px 20px 12px; }
	.modal-body { padding: 6px 20px 22px; }
}

.popover {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
	box-shadow: var(--shadow-2);
	font-family: var(--font-body);
}

.popover-header {
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
	color: var(--text-strong);
}

.popover-body {
	color: var(--text);
}

.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before { border-top-color: var(--border); }
.bs-popover-top .arrow::after, .bs-popover-auto[x-placement^="top"] .arrow::after { border-top-color: var(--surface); }
.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before { border-bottom-color: var(--border); }
.bs-popover-bottom .arrow::after, .bs-popover-auto[x-placement^="bottom"] .arrow::after { border-bottom-color: var(--surface); }
.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before { border-left-color: var(--border); }
.bs-popover-left .arrow::after, .bs-popover-auto[x-placement^="left"] .arrow::after { border-left-color: var(--surface); }
.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before { border-right-color: var(--border); }
.bs-popover-right .arrow::after, .bs-popover-auto[x-placement^="right"] .arrow::after { border-right-color: var(--surface); }

.tooltip {
	font-family: var(--font-body);
}

.tooltip-inner {
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--tooltip-bg);
	color: var(--tooltip-text);
	font-size: 12.5px;
}

.tooltip.show {
	opacity: 1;
}

.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { border-top-color: var(--tooltip-bg); }
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { border-bottom-color: var(--tooltip-bg); }
.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { border-left-color: var(--tooltip-bg); }
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { border-right-color: var(--tooltip-bg); }

.dropdown-menu {
	padding: 6px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
	box-shadow: var(--shadow-2);
	color: var(--text);
}

.dropdown-item {
	padding: 8px 12px;
	border-radius: var(--radius-xs);
	color: var(--text);
}

.dropdown-item:hover,
.dropdown-item:focus {
	background: var(--surface-2);
	color: var(--text-strong);
}

.dropdown-divider {
	border-top-color: var(--border);
}


/* ---------------------------------------------------------------------
   10. Сообщения, уведомления, метки
   --------------------------------------------------------------------- */

.noty-block,
.bs-callout,
.alert {
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 10px;
	padding: 14px 18px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-left: 3px solid var(--border-strong);
	border-radius: var(--radius-s);
	color: var(--text);
}

.noty-block.info, .bs-callout.info, .noty-block.bs-callout-info, .bs-callout.bs-callout-info,
.alert-info, .alert-primary {
	background: var(--info-bg);
	border-color: var(--info-border);
	border-left-color: var(--info);
	color: var(--info-text);
}

.noty-block.success, .bs-callout.success, .noty-block.bs-callout-success, .bs-callout.bs-callout-success,
.alert-success {
	background: var(--ok-bg);
	border-color: var(--ok-border);
	border-left-color: var(--ok);
	color: var(--ok-text);
}

.noty-block.warning, .bs-callout.warning, .noty-block.bs-callout-warning, .bs-callout.bs-callout-warning,
.alert-warning {
	background: var(--warn-bg);
	border-color: var(--warn-border);
	border-left-color: var(--warn);
	color: var(--warn-text);
}

.noty-block.error, .noty-block.danger, .bs-callout.error, .noty-block.bs-callout-danger, .bs-callout.bs-callout-danger,
.alert-danger {
	background: var(--danger-bg);
	border-color: var(--danger-border);
	border-left-color: var(--danger);
	color: var(--danger-text);
}

.noty-block :is(h1, h2, h3, h4, h5, h6, p, b, strong, span, li),
.bs-callout :is(h1, h2, h3, h4, h5, h6, p, b, strong, span, li),
.alert :is(h1, h2, h3, h4, h5, h6, p, b, strong) {
	color: inherit;
}

.noty-block :is(h3, h4, h5),
.bs-callout :is(h3, h4, h5),
.alert :is(h3, h4, h5) {
	margin-bottom: 4px;
	font-size: 16px;
}

.noty-block a:not(.btn),
.alert a:not(.btn) {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.noty-block > span,
.bs-callout > span {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	opacity: .8;
}

.noty-block .m-icon.icon-remove,
.bs-callout .m-icon.icon-remove {
	position: absolute;
	top: 10px;
	right: 10px;
	color: inherit;
	font-size: 13px;
	opacity: .6;
	cursor: pointer;
}

/* всплывающие уведомления (noty.js) */
.noty_bar {
	margin: 6px 0 !important;
	border-radius: var(--radius-s) !important;
	box-shadow: var(--shadow-2);
}

.noty_bar .noty_message {
	padding: 0 !important;
	background: var(--tooltip-bg);
	border: 0;
	border-left: 3px solid var(--accent);
	color: var(--tooltip-text);
	text-align: left !important;
}

.noty_bar .noty_message .noty_text {
	display: block;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.noty_bar .noty_message .noty_text a {
	display: block;
	padding: 14px 16px;
	color: var(--tooltip-text);
}

.noty_bar.noty_type_error .noty_message { border-left-color: var(--danger-solid); }
.noty_bar.noty_type_success .noty_message { border-left-color: #8fce4a; }
.noty_bar.noty_type_warning .noty_message { border-left-color: var(--warn-solid); }

/* метки и бейджи */
.label,
#stats .label {
	display: inline-block;
	padding: 3px 8px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--text);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.label.label-primary, #stats .label.label-primary { background: var(--accent-soft); border-color: transparent; color: var(--accent-text); }
.label.label-default { color: var(--text-muted); }
.label.label-success, #stats .label.label-success { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok-text); }
.label.label-info, #stats .label.label-info { background: var(--info-bg); border-color: var(--info-border); color: var(--info-text); }
.label.label-warning, #stats .label.label-warning { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-text); }
.label.label-danger, #stats .label.label-danger { background: var(--danger-bg); border-color: var(--danger-border); color: var(--danger-text); }

.badge {
	font-weight: 600;
}

.badge.badge-primary { background: var(--accent); color: var(--accent-ink); }
.badge.badge-secondary, .badge.badge-light, .badge.badge-dark { background: var(--surface-3); color: var(--text-strong); }
.badge.badge-success { background: var(--ok-solid); color: var(--on-ok); }
.badge.badge-info { background: var(--info-solid); color: var(--on-info); }
.badge.badge-warning { background: var(--warn-solid); color: var(--on-warn); }
.badge.badge-danger { background: var(--danger-solid); color: var(--on-danger); }

.progress {
	overflow: hidden;
	border-radius: 999px;
	background-color: var(--surface-3);
	color: var(--text-strong);
}

.progress-bar {
	background-color: var(--accent);
	color: var(--accent-ink);
}

.progress-bar.bg-success { background-color: var(--ok-solid) !important; color: var(--on-ok); }
.progress-bar.bg-info { background-color: var(--info-solid) !important; color: var(--on-info); }
.progress-bar.bg-warning { background-color: var(--warn-solid) !important; color: var(--on-warn); }
.progress-bar.bg-danger { background-color: var(--danger-solid) !important; color: var(--on-danger); }

#stats .progress span {
	color: var(--text-strong);
	font-weight: 600;
}


/* ---------------------------------------------------------------------
   11. Постраничная навигация
   --------------------------------------------------------------------- */

.pagination {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: 0;
}

.pagination > li > a,
.pagination > li > span,
.page-link {
	display: block;
	min-width: 38px;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-s) !important;
	background: var(--surface);
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.page-link:hover {
	border-color: var(--accent);
	background: var(--surface-2);
	color: var(--text-strong);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.page-item.active .page-link {
	border-color: var(--accent);
	background: var(--accent);
	color: var(--accent-ink);
	cursor: default;
}

.pagination > .disabled > a,
.pagination > .disabled > span,
.page-item.disabled .page-link {
	background: transparent;
	color: var(--text-muted);
	cursor: not-allowed;
	opacity: .6;
}

div[id^="pagination"] {
	margin: 0 auto 24px;
	text-align: center;
}

@media (max-width: 991.98px) {
	.pagination > li.pagination-excess {
		display: none;
	}
}


/* ---------------------------------------------------------------------
   12. Страницы движка
   --------------------------------------------------------------------- */

/* --- чат --- */
#chat #chat_messages {
	padding-right: 6px;
	scrollbar-width: thin;
}

#chat #chat_messages .chat_message {
	padding: 10px 4px 10px 0;
}

#chat #chat_messages .chat_message > a img {
	width: 42px;
	height: 42px;
	margin-right: 12px;
	object-fit: cover;
}

#chat #chat_messages .chat_message .message {
	overflow: hidden;
	font-size: 14.5px;
	line-height: 1.45;
}

#chat #chat_messages .chat_message .message .info {
	height: auto;
	min-height: 20px;
	overflow: hidden;
}

#chat #chat_messages .chat_message .message .info .author {
	font-weight: 600;
}

#chat #chat_messages .chat_message .message img {
	max-width: min(300px, 100%);
	border-radius: var(--radius-xs);
}

#chat #chat_messages .chat_message .dell_message,
#chat #chat_messages .chat_message .edit_message,
#chat #chat_messages .chat_message .pin_message {
	position: absolute;
	top: 30px;
	color: var(--text-muted);
	font-size: 12px;
	opacity: 0;
	cursor: pointer;
	transition: opacity .15s, color .15s;
}

#chat #chat_messages .chat_message .dell_message { right: 4px; }
#chat #chat_messages .chat_message .edit_message { right: 24px; }
#chat #chat_messages .chat_message .pin_message { right: 44px; }

#chat #chat_messages .chat_message:hover .dell_message,
#chat #chat_messages .chat_message:hover .edit_message,
#chat #chat_messages .chat_message:hover .pin_message {
	opacity: 1;
}

#chat #chat_messages .chat_message .dell_message:hover,
#chat #chat_messages .chat_message .edit_message:hover,
#chat #chat_messages .chat_message .pin_message:hover {
	color: var(--accent-text);
}

@media (hover: none) {
	#chat #chat_messages .chat_message .dell_message,
	#chat #chat_messages .chat_message .edit_message,
	#chat #chat_messages .chat_message .pin_message {
		opacity: 1;
	}
}

#chat .input-group .smile_input input {
	padding-right: 36px;
}

#chat .input-group #send_button {
	padding: 0 10px;
}

#smile_btn {
	filter: none;
}

#smile_btn::after {
	color: var(--text-muted);
}

#smile_btn:hover::after {
	color: var(--accent-text);
}

#passive img {
	max-width: 120px;
	margin-bottom: 12px;
}

/* --- списки пользователей в боковой колонке --- */
#online_users,
#companions {
	color: var(--text);
}

#online_users a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: auto;
	padding: 9px 0;
}

#online_users a:first-child,
#top_users a:first-child,
#last_activity span:first-child,
#mybans span:first-child,
#news a.small-new:first-child {
	border-top: 0;
	padding-top: 0;
}

#online_users a img {
	flex: none;
	float: none;
	margin: 0;
	object-fit: cover;
}

#online_users a > div {
	min-width: 0;
}

#online_users a > div > div {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#online_users a span {
	float: none;
	width: auto;
	font-size: 14.5px;
	font-weight: 600;
}

#online_users a > div > div:last-child {
	color: var(--text-muted);
	font-size: 13px;
}

#top_users a {
	height: auto;
	min-height: 60px;
	overflow: hidden;
}

#top_users a div > span {
	display: block;
	font-weight: 600;
}

#top_users a span i::before,
#forum .row .col-lg-8 > div p span i::before,
#forum.row .col-lg-8 > div p span i::before,
#forum_topics .row .col-lg-8 > div p span i::before,
#forum_topics.row .col-lg-8 > div p span i::before {
	color: var(--accent-text);
	opacity: .75;
}

#last_activity span p a,
#mybans span p a {
	font-weight: 600;
}

/* «сегодня были» */
.user_visit {
	display: inline-block;
	width: 38px;
	height: 38px;
	margin: 0 4px 6px 0;
}

.user_visit img {
	width: 38px;
	height: 38px;
	border-radius: var(--radius-xs);
	object-fit: cover;
}

.users-visit-frame { position: relative; }
.users-visit-frame img { display: block; padding: 0; background: none; filter: none; }
.users-visit-avatar-frame { position: absolute; }
.users-visit-avatar-frame > img { background: none; transform: scale(1.23); }

#load_last_online a {
	font-size: 14.5px;
	line-height: 1.6;
}

/* --- события --- */
#events .event:first-child {
	border-top: 0;
}

#events .event > a.btn {
	margin-top: 19px;
	margin-bottom: 0;
	line-height: 30px;
}

#events .event > i:hover {
	color: var(--danger-text);
}

/* --- форум --- */
#forum > h2,
#forum .col-lg-12 > h2,
#forum_topics > h2,
#forum_topics .col-lg-12 > h2,
.topic-answers div[id^="answer"] .top-area,
.profile-page .profile table tbody tr td[colspan="2"] h4 {
	border-left: 3px solid var(--accent);
	color: var(--text-strong);
	font-weight: 600;
}

#forum > h2,
#forum .col-lg-12 > h2,
#forum_topics > h2,
#forum_topics .col-lg-12 > h2 {
	font-size: 15px;
}

#forum .row .col-lg-8 img,
#forum.row .col-lg-8 img,
#forum_topics .row .col-lg-8 img,
#forum_topics.row .col-lg-8 img {
	border-radius: var(--radius-s);
	object-fit: cover;
}

#forum .row .col-lg-8 > div h3 a,
#forum.row .col-lg-8 > div h3 a,
#forum_topics .row .col-lg-8 > div h3 a,
#forum_topics.row .col-lg-8 > div h3 a {
	color: var(--text-strong);
	font-size: 15px;
	font-weight: 600;
}

#forum .row .col-lg-8 > div h3 a:hover,
#forum_topics .row .col-lg-8 > div h3 a:hover,
#forum_topics.row .col-lg-8 > div h3 a:hover {
	color: var(--accent-text);
}

#forum .row .col-lg-8 > div p,
#forum_topics .row .col-lg-8 > div p,
#forum_topics.row .col-lg-8 > div p {
	line-height: 1.4;
}

.topic-answers div[id^="answer"] .center-area .left-side img {
	padding: 0;
	border-radius: var(--radius-s);
	background: var(--surface-2);
	box-shadow: none;
}

.topic-answers div[id^="answer"] .center-area::after,
.topic-answers div[id^="answer"] .bottom-area::after {
	background: var(--border);
}

/* --- новости --- */
#new_news div:not(.loader) a img,
.news div:not(.loader) a img {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-s);
	object-fit: cover;
}

#new_news div:not(.loader) a h3,
.news div:not(.loader) a h3 {
	margin-top: 16px;
	color: var(--text-strong);
	font-size: 16px;
	font-weight: 650;
}

#new_news div:not(.loader) a:hover h3,
.news div:not(.loader) a:hover h3 {
	color: var(--accent-text);
}

#new_news div:not(.loader) p:last-child,
.news div:not(.loader) p:last-child {
	font-size: 13px;
}

.vertical-center-line .loader {
	background-color: transparent;
}

/* --- пользовательский текст (посты, новости, страницы) --- */
.with_code {
	line-height: 1.6;
}

.with_code img {
	border-radius: var(--radius-xs);
}

.with_code a:not(.btn) {
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
	text-underline-offset: 3px;
}

.with_code h1, .with_code h2, .with_code h3, .with_code h4 {
	margin: 1.2em 0 .5em;
}

.with_code > :first-child {
	margin-top: 0;
}

/* спойлер */
div.spoiler div.spoiler-title {
	display: flex;
	align-items: center;
	height: auto;
	padding: 8px 10px;
	font-size: 14px;
	border-radius: var(--radius-xs);
	color: var(--text-strong);
}

div.spoiler div.spoiler-title div.spoiler-toggle {
	width: 14px;
	height: 14px;
	float: none;
	flex: none;
	margin: 0 8px 0 4px;
	background: none;
	color: var(--accent-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 14px;
	text-align: center;
}

div.spoiler div.spoiler-title div.show-icon::before { content: "+"; }
div.spoiler div.spoiler-title div.hide-icon::before { content: "−"; }

div.spoiler div.title-text {
	float: none;
	height: auto;
	font-weight: 600;
	line-height: 1.4;
}

div.spoiler div.spoiler-content {
	padding: 10px 14px;
	font-size: 14px;
	border-radius: 0 0 var(--radius-xs) var(--radius-xs);
}

/* --- друзья, пользователи, комментарии --- */
.friend > a img,
.user > a img,
.comment > a img {
	object-fit: cover;
}

.comment > div .info .author {
	font-weight: 600;
}

/* --- личные сообщения --- */
#place_for_messages .dialog {
	border-radius: var(--radius-s);
}

#place_for_messages #messages {
	scrollbar-width: thin;
}

/* --- профиль, кошелёк --- */
.profile-page .profile > img {
	border-radius: var(--radius-s);
}

.purse .row .col-lg-3 > div {
	padding: 16px 10px;
	border-radius: var(--radius-s);
	font-weight: 600;
}

.purse .row .col-lg-3 > div i {
	font-size: 300%;
	margin-bottom: 10px;
}

.pay_area .block img {
	border-radius: var(--radius-s);
}

/* --- значки результата действия (движок показывает их сам) --- */
.result_ok,
.result_ok_b,
.result_error,
.result_error_b {
	position: fixed;
	top: 24px;
	right: 18px;
	z-index: 1200;
	font-size: 16px;
}

.result_ok, .result_ok_b { color: #8fce4a; }
.result_error, .result_error_b { color: #f0624d; }

/* --- слайдер на главной (если включите его в index/body.tpl) --- */
#main-slider.carousel {
	margin-bottom: 24px;
	border-radius: var(--radius-m);
}


/* ---------------------------------------------------------------------
   13. Мост для Bootstrap
   Перекрашивает стандартные компоненты, которыми пользуются модули.
   --------------------------------------------------------------------- */

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-m);
	color: var(--text);
}

.card-header,
.card-footer {
	background: var(--surface-2);
	border-color: var(--border);
	color: var(--text-strong);
}

.panel {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
}

.panel-body {
	padding: 15px;
}

.list-group-item {
	background: var(--surface);
	border-color: var(--border);
	color: var(--text);
}

.nav-tabs {
	border-bottom-color: var(--border);
}

.nav-tabs .nav-link {
	border-radius: var(--radius-s) var(--radius-s) 0 0;
	color: var(--text-muted);
}

.nav-tabs .nav-link:hover {
	border-color: var(--border) var(--border) transparent;
	color: var(--text-strong);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
	background: var(--surface);
	border-color: var(--border) var(--border) var(--surface);
	color: var(--text-strong);
}

.nav-pills .nav-link {
	border-radius: var(--radius-s);
	color: var(--text);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
	background: var(--accent);
	color: var(--accent-ink);
}

.bg-white { background-color: var(--surface) !important; }
.bg-light { background-color: var(--surface-2) !important; }
.bg-secondary { background-color: var(--surface-3) !important; }
.bg-dark { background-color: var(--hud-surface) !important; color: var(--hud-text); }
.bg-primary { background-color: var(--accent) !important; color: var(--accent-ink); }
.bg-success { background-color: var(--ok-solid) !important; }
.bg-info { background-color: var(--info-solid) !important; }
.bg-warning { background-color: var(--warn-solid) !important; }
.bg-danger { background-color: var(--danger-solid) !important; }

.border,
.border-top,
.border-right,
.border-bottom,
.border-left {
	border-color: var(--border) !important;
}

.border-secondary { border-color: var(--border-strong) !important; }
.border-primary { border-color: var(--accent) !important; }

.img-thumbnail {
	background: var(--surface);
	border-color: var(--border);
	border-radius: var(--radius-s);
}

.breadcrumb {
	background: var(--surface-2);
	border-radius: var(--radius-s);
}

.breadcrumb-item.active {
	color: var(--text-muted);
}

.jumbotron {
	background: var(--surface-2);
	border-radius: var(--radius-m);
}

/* .text-light / .text-white оставляем светлыми только там, где фон гарантированно тёмный */
.text-light,
.text-white {
	color: var(--text-strong) !important;
}

.btn .text-light,
.btn.text-light,
.btn.text-white,
.hud-band .text-light,
.hud-band .text-white,
.badge.text-light {
	color: inherit !important;
}


/* ---------------------------------------------------------------------
   14. Подвал
   --------------------------------------------------------------------- */

.footer {
	padding: 44px 0 26px;
	background: var(--hud-bg);
	border-top: 1px solid var(--hud-border);
	color: var(--hud-muted);
	font-size: 14px;
}

.footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	gap: 32px 40px;
}

.footer__about p {
	max-width: 46ch;
	margin: 16px 0 18px;
	line-height: 1.6;
}

.footer__about .brand {
	margin: 0;
}

.footer__counters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.footer__counters img {
	border-radius: 4px;
	opacity: .8;
}

.footer__col {
	position: relative;
}

.footer__col strong {
	display: block;
	margin-bottom: 14px;
	color: var(--hud-text);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
}

.footer__col ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__col a {
	color: var(--hud-muted);
}

.footer__col a:hover {
	color: var(--accent);
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid var(--hud-border);
	font-size: 13px;
}

.footer__bottom p {
	margin: 0;
}

.footer__bottom a {
	color: var(--hud-text);
	font-weight: 600;
}

@media (max-width: 991.98px) {
	.footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.footer__about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 575.98px) {
	.footer {
		padding-top: 32px;
	}

	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}
}


/* ---------------------------------------------------------------------
   15. Загрузчик и мелочи
   --------------------------------------------------------------------- */

.loader {
	position: relative;
	z-index: 1009;
	width: 100%;
	height: 100%;
	min-height: 36px;
}

.loader::after {
	content: "";
	position: absolute;
	inset: 0;
	width: 28px;
	height: 28px;
	margin: auto;
	border: 3px solid var(--border-strong);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: atmos-spin .7s linear infinite;
}

.hud-band .loader::after {
	border-color: var(--hud-border);
	border-top-color: var(--accent);
}

@keyframes atmos-spin {
	to { transform: rotate(360deg); }
}

#nprogress .bar {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1200;
	width: 100%;
	height: 2px;
	background: var(--accent);
}

#nprogress .peg {
	display: block;
	position: absolute;
	right: 0;
	width: 100px;
	height: 100%;
	box-shadow: 0 0 10px var(--accent), 0 0 5px var(--accent);
	opacity: 1;
	transform: rotate(3deg) translate(0, -4px);
}

#nprogress .spinner-icon {
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	border: 2px solid transparent;
	border-top-color: var(--accent);
	border-left-color: var(--accent);
	border-radius: 50%;
	animation: nprogress-spinner .4s linear infinite;
}

/* служебные классы движка — должны идти после правил с display */
.disp-b { display: block; }
.disp-n { display: none; }


/* ---------------------------------------------------------------------
   16. Модули
   --------------------------------------------------------------------- */

/* награды за время игры (ptr): привязываем его переменные к теме сайта */
html:root[data-theme] {
	--reward-bg: var(--surface);
	--reward-border: var(--border);
	--reward-shadow: transparent;
	--reward-shadow-hover: rgba(0, 0, 0, .12);
	--reward-text: var(--text-strong);
	--reward-text-muted: var(--text-muted);
	--reward-gold: var(--accent);
	--reward-gold-soft: var(--accent-soft);
	--reward-gold-text: var(--accent-text);
	--reward-locked: var(--text-muted);
	--reward-locked-bg: var(--surface-2);
	--reward-chip-bg: var(--surface-2);
	--reward-chip-text: var(--text);
	--reward-divider: var(--border);
}

/* участок с собственной тёмной подложкой (картинка, затемнение) внутри светлой страницы */
.on-dark,
.on-dark :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, span, td, th, small) {
	color: #eef2e4;
}

.on-dark a:not(.btn) {
	color: var(--accent);
}

.on-dark .table,
.on-dark .table thead td,
.on-dark .table thead th,
.on-dark .table-striped tbody tr:nth-of-type(odd) {
	background: transparent;
}

.on-dark .table td,
.on-dark .table th {
	border-color: rgba(255, 255, 255, .14);
}

/* розыгрыши: у модуля свои светлые плашки, текст на них всегда тёмный */
.sortition #ending span,
.sortition .with_code,
.sortition .with_code :is(p, span, b, li, h1, h2, h3, h4, h5),
.sortition #prizes h5,
.sortition #prizes .prize span,
.sortition #participants a {
	color: #353f4a;
}

/* цифровой магазин, награды за активность, кейсы */
.product-block :is(h1, h2, h3, h4) {
	color: #fff;
}

.reward,
.product-block,
#my_cases_area .opened-case {
	border-color: var(--border) !important;
}

div.buy-product-key-info {
	background: var(--surface-2);
	border-color: var(--border);
	border-radius: var(--radius-s);
}

/* блок онлайн-оплаты */
.upm_list_instr_pay {
	list-style: none;
	font-size: 15px;
}

.upm_list_instr_pay .upm_instr_num {
	display: inline-block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
}

.upm_sup_instr_pay {
	font-size: 16px;
	text-align: center;
}

.upm_instr_pay {
	font-weight: 600;
	text-align: center;
}

.upm-custom-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-s);
	background: var(--surface-2);
}

@keyframes upm-spinner-border {
	to { transform: rotate(360deg); }
}

.upm-spinner-border {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	vertical-align: -.125em;
	border: .25em solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: .75s linear infinite upm-spinner-border;
}

.upm-visually-hidden,
.upm-visually-hidden-focusable:not(:focus):not(:focus-within) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

/* шкала сбора пожертвований */
.donation-progress-bar-wrapper {
	border: 1px solid var(--ok);
	border-radius: var(--radius-s);
}

.donation-progress-bar {
	margin: 2px;
	padding-bottom: 20px;
	border-radius: 8px;
	background-color: var(--ok-solid);
}

.dondation-progress-bar-text {
	top: 50%;
	left: 50%;
	font-size: 16px;
	font-weight: 700;
	transform: translate(-50%, -50%);
}

/* снежинки (snow2.js) */
.snowflake {
	position: fixed;
	top: -20px;
	z-index: 999;
	width: 15px;
	height: 15px;
	background-size: contain;
	background-repeat: no-repeat;
	pointer-events: none;
}


/* ---------------------------------------------------------------------
   17. Доступность и печать
   --------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}

	.loader::after {
		animation-duration: 1.2s !important;
		animation-iteration-count: infinite !important;
	}
}

@media print {
	.header,
	.hud-band,
	.footer,
	.theme-toggle {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
