/*
	Горизонтальная панель меню под шапкой: категории с выпадающими списками
	и счётчик игроков справа.
*/

.pbnav {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 10px 0 0;
	padding: 8px 10px;
	border-radius: 18px;
	background: #25252e;
	border: 1px solid rgba(255, 255, 255, 0.05);
	position: relative;
	z-index: 40;
}

.pbnav__home {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #cfd3dc;
	background: rgba(255, 255, 255, 0.05);
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease;
}

.pbnav__home:hover {
	background: rgba(79, 234, 159, 0.14);
	color: #4fea9f;
	text-decoration: none;
}

.pbnav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.pbnav__list::-webkit-scrollbar { display: none; }

.pbnav__item {
	position: relative;
	flex: 0 0 auto;
}

.pbnav__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	border: 0;
	border-radius: 12px;
	background: none;
	color: #cfd3dc;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.16s ease, color 0.16s ease;
}

.pbnav__btn i:first-child { font-size: 17px; color: #4fea9f; }

.pbnav__caret {
	font-size: 16px;
	opacity: 0.6;
	transition: transform 0.18s ease;
}

.pbnav__item:hover .pbnav__btn,
.pbnav__item.is-open .pbnav__btn {
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
}

.pbnav__item:hover .pbnav__caret,
.pbnav__item.is-open .pbnav__caret { transform: rotate(180deg); }

/* ---------- выпадающий список ---------- */

.pbnav__drop {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 268px;
	padding: 8px;
	border-radius: 16px;
	background: #2a2a34;
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
	z-index: 60;
}

.pbnav__item:hover .pbnav__drop,
.pbnav__item.is-open .pbnav__drop {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pbnav__link {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 9px 10px;
	border-radius: 11px;
	text-decoration: none;
	transition: background 0.14s ease;
}

.pbnav__link:hover {
	background: rgba(79, 234, 159, 0.1);
	text-decoration: none;
}

.pbnav__link-ico {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #4fea9f;
	background: rgba(79, 234, 159, 0.1);
}

.pbnav__link-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pbnav__link-text b {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.pbnav__link-text small {
	font-size: 11px;
	color: #8b8f9c;
	line-height: 1.2;
}

/* ---------- счётчик онлайна ---------- */

.pbnav__online {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	padding: 7px 14px 7px 8px;
	border-radius: 999px;
	background: rgba(79, 234, 159, 0.1);
	border: 1px solid rgba(79, 234, 159, 0.22);
	text-decoration: none;
	transition: background 0.16s ease;
}

.pbnav__online:hover { background: rgba(79, 234, 159, 0.18); text-decoration: none; }

.pbnav__online-ico {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: #10231a;
	background: linear-gradient(135deg, #5dba8d, #4fea9f);
}

.pbnav__online b { font-size: 14px; color: #eafff4; }

@media (max-width: 900px) {
	.pbnav { border-radius: 14px; padding: 6px 8px; }
	.pbnav__btn span { display: none; }
	.pbnav__btn { padding: 9px 10px; }
	.pbnav__drop { min-width: 230px; }
}


/* ---------- логотип-картинка вместо обрезанного SVG-текста ----------
   тема принудительно задаёт всем img высоту 15px, поэтому размеры жёстко */

.pbtop-logo-img {
	height: 54px !important;
	width: auto !important;
	max-width: 240px !important;
	object-fit: contain !important;
	display: block !important;
}

@media (max-width: 900px) {
	.pbtop-logo-img { height: 34px !important; max-width: 150px !important; }
}

/* ---------- поиск игроков и баланс в шапке ---------- */

.pbtop-search {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.07);
	color: #8b8f9c;
	font-size: 13px;
	text-decoration: none;
	transition: border-color 0.16s ease, color 0.16s ease;
	white-space: nowrap;
}

.pbtop-search:hover {
	border-color: rgba(79, 234, 159, 0.35);
	color: #cfd3dc;
	text-decoration: none;
}

.pbtop-search i { font-size: 16px; }

.pbtop-purse {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 5px 5px 5px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.07);
	white-space: nowrap;
}

.pbtop-purse__sum {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.pbtop-purse__btn {
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: #10231a;
	background: linear-gradient(135deg, #5dba8d, #4fea9f);
	text-decoration: none;
	transition: filter 0.16s ease;
}

.pbtop-purse__btn:hover { filter: brightness(1.08); text-decoration: none; color: #10231a; }

@media (max-width: 1100px) {
	.pbtop-search span { display: none; }
	.pbtop-search { padding: 8px 12px; }
}

/* ---------- аватары пользователей в панели ---------- */

.pbnav__faces {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 4px 6px 4px 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
}

.pbnav__face {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #25252e;
	margin-right: -9px;
	transition: transform 0.16s ease, z-index 0s;
	position: relative;
}

.pbnav__face:hover { transform: translateY(-2px) scale(1.08); z-index: 3; }

/* тема задаёт всем img высоту 15px — здесь размер жёстко */
.pbnav__face img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

.pbnav__faces-more {
	width: 30px;
	height: 30px;
	margin-left: 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #8b8f9c;
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
}

.pbnav__faces-more:hover { color: #4fea9f; text-decoration: none; }

@media (max-width: 900px) {
	.pbnav__faces { display: none; }
}


/* поиск и баланс лежат в своём li (.pbtop-extra), поэтому бейдж-правила темы
   их не трогают — здесь только размеры текста */

.pbtop-extra .pbtop-search span,
.pbtop-extra .pbtop-purse span,
.pbtop-extra .pbtop-purse a {
	position: static;
	min-width: 0;
	height: auto;
	top: auto;
	right: auto;
	font-size: 13px;
}

.pbtop-extra .pbtop-purse__sum { font-size: 14px; }
.pbtop-extra .pbtop-purse__btn { font-size: 12px; }

/* панель шапки — флекс-контейнер и ужимает вложенное;
   свои элементы фиксируем, чтобы не схлопывались в иконку */

.pbtop-extra,
.pbtop-extra > * {
	flex: 0 0 auto !important;
	white-space: nowrap;
}

.pbtop-search,
.anew-chip {
	flex: 0 0 auto !important;
	width: auto !important;
	min-width: max-content !important;
}


/* тема жёстко делает все ссылки в шапке квадратами 42x42 с !important
   и высокой специфичностью — перебиваем таким же уровнем */

@media (min-width: 992px) {
	html body .wapper .header ul.user-menu > li.pbtop-extra > a.pbtop-search,
	html body .wapper .header ul.user-menu > li.pbtop-extra > a.anew-chip,
	html body .wapper .header.pbtop ul.user-menu > li.pbtop-extra > a.pbtop-search,
	html body .wapper .header.pbtop ul.user-menu > li.pbtop-extra > a.anew-chip {
		width: auto !important;
		min-width: max-content !important;
		height: auto !important;
		min-height: 0 !important;
		display: inline-flex !important;
		padding: 6px 15px 6px 7px !important;
		border-radius: 999px !important;
		line-height: normal !important;
	}

	html body .wapper .header ul.user-menu > li.pbtop-extra > a.pbtop-search {
		padding: 9px 16px !important;
	}
}


/* переключатель языка и сообщения в шапке */

.pbtop-extra--lang { align-items: center; }

.pbtop-extra--lang .launge-widget,
.pbtop-lang-wrap .launge-widget { margin: 0; }

.pbtop-msg {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #cfd3dc;
}

.pbtop-msg:hover { color: #4fea9f; }


/* ================= порядок в шапке =================
   Кнопка «Меню» позиционирована абсолютно и накладывалась на поиск и баланс.
   Раскрывающееся меню теперь есть отдельной панелью ниже, поэтому кнопку убираем,
   а сам ряд шапки выравниваем по одной линии с равными отступами. */

html body .wapper .header.pbtop .pbg-menu-trigger-wrap { display: none !important; }

html body .wapper .header.pbtop .container.pbtop-row {
	display: flex !important;
	align-items: center !important;
	gap: 18px !important;
	flex-wrap: nowrap !important;
}

html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	flex-wrap: nowrap !important;
	margin-left: auto !important;
	padding: 0 !important;
}

/* все пункты — по центру строки, без вертикальных сдвигов темы */
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li {
	display: flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

/* логотип не сжимаем */
html body .wapper .header.pbtop .header-logo.pbtop-logo {
	flex: 0 0 auto !important;
	display: flex !important;
	align-items: center !important;
}

/* порядок элементов шапки — как в образце: поиск, промокод, язык,
   баланс, ANEW, сообщения, уведомления, профиль */

html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-extra--search { order: 1 !important; }
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-icon-li--promo { order: 2 !important; }
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-extra--lang   { order: 3 !important; }
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-extra--purse  { order: 4 !important; }
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-extra--anew   { order: 5 !important; }
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-icon-li--msg  { order: 6 !important; }
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-icon-li--notif { order: 7 !important; }
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li:not([class*="pbtop-extra"]):not(.pbtop-icon-li--promo):not(.pbtop-icon-li--notif):not(.pbtop-icon-li--msg) { order: 8 !important; }

/* ================= доводка шапки =================
   логотип без подложки и крупнее, поиск — сразу рядом с ним,
   остальное прижато вправо */

html body .wapper .header.pbtop .header-logo.pbtop-logo,
html body .wapper .header.pbtop .site_logo_neo {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.pbtop-logo-img {
	height: 58px !important;
	max-width: 260px !important;
}

/* поиск примыкает к логотипу, всё остальное уходит вправо */
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu {
	margin-left: 18px !important;
	flex: 1 1 auto !important;
}

html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-extra--search {
	margin-right: auto !important;
}

/* язык в нижней панели, слева от аватаров */
.pbnav__lang {
	display: flex !important;
	align-items: center;
	flex: 0 0 auto;
	margin-left: auto;
	margin-right: 10px;
}

.pbnav__lang .launge-widget,
.pbnav__lang .launge-widget__current {
	height: 40px !important;
	border-radius: 50px !important;
	background: #2f2f3a !important;
	padding: 0 12px !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #fff !important;
}

.pbnav__lang .launge-widget__current:hover { background: #383845 !important; }

/* зелёная точка «на сайте» у аватара */
.pbnav__face { position: relative; }

.pbnav__face-dot {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #4fea9f;
	border: 2px solid #25252e;
}

/* счётчик и аватары держим справа */
.pbnav__faces { margin-left: 8px; }

/* поиск должен примыкать к логотипу, а не висеть в отрыве */
html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu {
	margin-left: 0 !important;
	padding-left: 0 !important;
}

html body .wapper .header.pbtop .container.pbtop-row { gap: 14px !important; }

html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-extra--search {
	margin-left: 0 !important;
}

/* контейнер логотипа держал ширину от старого SVG (180px) — ужимаем по картинке */
html body .wapper .header.pbtop .header-logo.pbtop-logo,
html body .wapper .header.pbtop .site_logo_neo {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	flex: 0 0 auto !important;
}

/* бегущая строка LIVE идёт сразу под панелью и слипалась с ней */
.pbnav { margin-bottom: 10px !important; }
.dc_tkr_wrap { margin-top: 0 !important; }


/* ================= стиль элементов шапки =================
   Параметры взяты из шапки старого сайта (SolutionPink):
   .search_user  — style_one.css:1392
   .dropdown_language .select — style_sdg.css:542
   Те же скругления 50px, высота 44-45px, серая подложка. */

html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-extra > a.pbtop-search {
	height: 45px !important;
	padding: 0 22px 0 8px !important;
	border-radius: 50px !important;
	border: 1px solid #3e434d !important;
	background: transparent !important;
	color: #727780 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	gap: 10px !important;
	transition: 0.2s !important;
}

html body .wapper .header.pbtop ul.user-menu.pbtop-usermenu > li.pbtop-extra > a.pbtop-search:hover {
	background: #3b3f47 !important;
	border-color: #3b3f47 !important;
	color: #fff !important;
}

.pbtop-search i {
	width: 31px;
	height: 31px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #434351;
	color: #74748c;
	font-size: 15px;
	transition: 0.2s;
}

.pbtop-search:hover i { background: #4a4a5c; color: #cfd3dc; }

/* язык — как в старой шапке: подложка, скругление, компактный текст */
.pbtop-extra--lang .launge-widget,
.pbtop-extra--lang .launge-widget__current {
	height: 44px !important;
	border-radius: 50px !important;
	background: #363942 !important;
	padding: 0 12px !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: #fff !important;
	transition: 0.2s !important;
}

.pbtop-extra--lang .launge-widget__current:hover { background: #3b3f48 !important; }

/* баланс и ANEW — той же высоты, чтобы ряд был ровным */
.pbtop-purse { height: 44px !important; border-radius: 50px !important; }
.anew-chip   { height: 44px !important; }

/* ---------- выравнивание иконок в кнопках меню (19.08) ---------- */
.pbnav__btn {
	line-height: 1;
}

.pbnav__btn i,
.pbnav__btn span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.pbnav__btn i:first-child {
	font-size: 17px;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
}

.pbnav__caret {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.pbnav__home i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

/* ---------- LIVE-лента: мало карточек — растягиваем на всю ширину (19.08) ---------- */
.cases_last.cs-live-static {
	flex-wrap: nowrap;
	width: 100%;
}

.cases_last.cs-live-static .cases_last_item {
	flex: 1 1 0;
	max-width: none;
	min-width: 0;
}

.cases_last.cs-live-static .cases_last_item:last-child .case-card {
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
}

.cs-live-lenta__viewport {
	overflow: hidden;
	border-radius: 0 12px 12px 0;
}

/* ---------- подвал: логотип показывает полное название сервера (19.08) ---------- */
.pb-footer__logo {
	width: auto !important;
	max-width: 100% !important;
	display: block !important;
}

.pb-footer__logo .site_logo_neo,
.pb-footer__logo svg {
	width: 430px !important;
	max-width: none !important;
	height: 42px !important;
}

@media (max-width: 520px) {
	.pb-footer__logo .site_logo_neo,
	.pb-footer__logo svg {
		width: 100% !important;
		height: 34px !important;
	}
}

/* ---------- подвал: строка с баннером названия и Telegram (19.08) ---------- */
.pb-footer__brandline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 22px 4px 4px;
	border-top: 1px solid rgba(255, 255, 255, .06);
	margin-top: 22px;
}

.pb-footer__brandline .pb-footer__logo {
	display: block;
	flex: 0 1 auto;
}

.pb-footer__tgbanner {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-radius: 14px;
	text-decoration: none;
	background: linear-gradient(135deg, rgba(41, 171, 226, .18), rgba(41, 171, 226, .06));
	border: 1px solid rgba(41, 171, 226, .35);
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pb-footer__tgbanner:hover {
	transform: translateY(-2px);
	background: linear-gradient(135deg, rgba(41, 171, 226, .28), rgba(41, 171, 226, .10));
	box-shadow: 0 10px 26px rgba(41, 171, 226, .18);
	text-decoration: none;
}

.pb-footer__tgbanner > i:first-child {
	font-size: 30px;
	color: #29abe2;
	line-height: 1;
}

.pb-footer__tgbanner-text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.pb-footer__tgbanner-text b { color: #fff; font-size: 15px; }
.pb-footer__tgbanner-text small { color: #8b95a7; font-size: 12px; }

.pb-footer__tgbanner-arrow { font-size: 20px; color: #29abe2; opacity: .8; }

/* блок статистики — на всю ширину подвала */
.pb-footer__stats--full,
.pb-footer__top--full { width: 100%; }
.pb-footer__stats--full #site_stats { width: 100%; }

@media (max-width: 640px) {
	.pb-footer__brandline { justify-content: center; text-align: center; }
	.pb-footer__tgbanner { width: 100%; justify-content: center; }
}

/* ---------- подвал без плашки: только содержимое (19.08) ---------- */
.pb-footer__top,
.pb-footer__top--full {
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	border: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	/* размытие подложки тоже убираем — иначе фон страницы под блоком мутный */
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
}

/* ---------- боковой блок: строка баланса ANEW (19.08) ---------- */
.side_anew_row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	text-decoration: none;
	background: rgba(255, 255, 255, .035);
	border: 1px solid rgba(255, 255, 255, .07);
	transition: background .18s ease, border-color .18s ease;
}

.side_anew_row:hover {
	background: rgba(79, 234, 159, .10);
	border-color: rgba(79, 234, 159, .35);
	text-decoration: none;
}

.side_anew_row__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 10px;
	background: linear-gradient(135deg, #4fea9f, #22b877);
	color: #10151d;
	font-size: 18px;
}

.side_anew_row__text { display: flex; flex-direction: column; line-height: 1.2; flex: 1 1 auto; min-width: 0; }
.side_anew_row__text b { color: #e8ecf4; font-size: 13px; font-weight: 600; }
.side_anew_row__text small { color: #8b95a7; font-size: 11px; }

.side_anew_row__val {
	color: #4fea9f;
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
	padding: 4px 9px;
	border-radius: 8px;
	background: rgba(79, 234, 159, .12);
}

.side_anew_row__arrow { color: #8b95a7; font-size: 18px; }

/* ---------- карточки Кейсы / AWARD: только картинка, без подложки ---------- */
.block_open_cases--clean {
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	background-size: cover !important;
	background-position: center !important;
}

.block_open_cases--clean::before,
.block_open_cases--clean::after {
	display: none !important;
}

.block_open_cases--clean .flex_viget,
.block_open_cases--clean .text_cases {
	text-shadow: 0 2px 8px rgba(0, 0, 0, .85);
}

/* ---------- ТОП Онлайн и ТОП сообщества переехали в боковую колонку (19.08) ---------- */
.col-lg-3 .pbg_top_section {
	margin-top: 14px;
}

.col-lg-3 .pbg_top_grid {
	grid-template-columns: 1fr !important;
	display: grid;
	gap: 10px;
}

.col-lg-3 .pbg_top_head {
	flex-wrap: wrap;
	gap: 10px;
}

.col-lg-3 .pbg_top_switch {
	width: 100%;
}

/* ---------- главная причина «кнопки не работают» (19.08) ----------
   У .pbnav__list стоял overflow: auto для горизонтальной прокрутки.
   Выпадающий список позиционируется внутри него и обрезался по высоте
   строки меню — раскрытие происходило, но его не было видно.          */
.pbnav__list {
	overflow: visible !important;
	flex-wrap: wrap;
}

.pbnav {
	overflow: visible !important;
}

.pbnav__item {
	position: relative;
}

.pbnav__drop {
	z-index: 3000 !important;
}

/* ================= ТОП-3: человечки вместо карточек (21.08) =================
   Разметку подиума собирает ядро (class.getdata.php), поэтому переоформляем
   его целиком стилями: фон карточек убираем, аватар заменяем фигуркой из
   модуля top_3, номер места — картинкой, по бокам добавляем венки.        */

.pb-podium-card {
	background: none !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	position: relative;
	overflow: visible !important;
	padding-top: 14px !important;
}

.pb-podium-card__cover { display: none !important; }

/* номер места — картинкой */
.pb-podium-card__num {
	position: relative !important;
	display: block !important;
	width: 74px;
	height: 74px;
	margin: 0 auto 4px !important;
	color: transparent !important;
	font-size: 0 !important;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	inset: auto !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
}

.pb-podium-card--place-1 .pb-podium-card__num { background-image: url(/modules_extra/top_3/img/top1.png); width: 88px; height: 88px; }
.pb-podium-card--place-2 .pb-podium-card__num { background-image: url(/modules_extra/top_3/img/top2.png); }
.pb-podium-card--place-3 .pb-podium-card__num { background-image: url(/modules_extra/top_3/img/top3.png); }

/* аватар заменяем фигуркой бойца */
.pb-podium-card__avatar {
	background-color: transparent !important;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: contain;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	width: 150px !important;
	height: 225px !important;
	margin: 0 auto 8px !important;
	overflow: visible !important;
}

.pb-podium-card--place-1 .pb-podium-card__avatar { width: 180px !important; height: 270px !important; }

.pb-podium-card--place-1 .pb-podium-card__avatar { background-image: url(/modules_extra/top_3/img/top1i.png); }
.pb-podium-card--place-2 .pb-podium-card__avatar { background-image: url(/modules_extra/top_3/img/top2i.png); }
.pb-podium-card--place-3 .pb-podium-card__avatar { background-image: url(/modules_extra/top_3/img/top3i.png); }

/* прячем всё штатное содержимое аватара: картинку, рамку премиума, корону */
.pb-podium-card__avatar > *,
.pb-podium-card__avatar * { display: none !important; }

/* венки по бокам */
.pb-podium-card::before,
.pb-podium-card::after {
	content: "";
	position: absolute;
	top: 96px;
	width: 56px;
	height: 56px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
	opacity: .95;
}

.pb-podium-card::before { left: -6px; }
.pb-podium-card::after  { right: -6px; transform: scaleX(-1); }

.pb-podium-card--place-1::before,
.pb-podium-card--place-1::after { background-image: url(/modules_extra/top_3/img/top1img.png); top: 108px; width: 64px; height: 64px; }
.pb-podium-card--place-2::before,
.pb-podium-card--place-2::after { background-image: url(/modules_extra/top_3/img/top2img.png); }
.pb-podium-card--place-3::before,
.pb-podium-card--place-3::after { background-image: url(/modules_extra/top_3/img/top3img.png); }

/* первое место приподнято, как на подиуме.
   У темы есть .pb-podium-card:hover { transform: translateY(-3px) } — оно
   перебивало подъём, и при наведении первая карточка проваливалась вниз.
   Поэтому для неё задаём собственные значения и для покоя, и для наведения. */
.pb-podium-card--place-1 { transform: translateY(-18px) !important; }
.pb-podium-card--place-1:hover { transform: translateY(-22px) !important; }

/* остальные — как в теме, чуть заметнее */
.pb-podium-card--place-2:hover,
.pb-podium-card--place-3:hover { transform: translateY(-4px) !important; }

/* тень при наведении на прозрачной карточке выглядит грязным пятном */
.pb-podium-card:hover { box-shadow: none !important; }

@media (max-width: 767px) {
	.pb-podium-card__avatar { width: 110px !important; height: 165px !important; }
	.pb-podium-card--place-1 .pb-podium-card__avatar { width: 130px !important; height: 195px !important; }
	.pb-podium-card::before, .pb-podium-card::after { display: none; }
}

/* подложки внутри карточек подиума не нужны — фигурка стоит прямо на странице */
.pb-podium-card,
.pb-podium-card > *,
.pb-podium-card__avatar,
.pb-podium-card__num,
.pb-podium-card__rank,
.pb-podium-card__stats,
.pb-podium-card__stat {
	background-color: transparent !important;
}

.pb-podium-card__stats,
.pb-podium-card__stat {
	border: 0 !important;
	box-shadow: none !important;
}
