/* Левая боковая панель (16bitcs) */

html,
body {
	background: #121216 !important;
	background-color: #121216 !important;
}

.b16-layout.wapper,
.b16-layout.wapper > .content {
	background: #121216;
}

:root {
	--b16-sidebar-w: 76px;
}

.b16-layout.wapper > .content {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.b16-layout__shell {
	display: flex;
	flex: 1;
	width: 100%;
	min-height: 0;
	align-items: stretch;
}

.b16-layout__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	--b16-header-total: 72px;
}

.b16-layout__content-row {
	display: flex;
	flex: 1;
	min-height: 0;
	align-items: stretch;
	width: 100%;
}

.b16-layout__main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	background: transparent;
}

.b16-sidebar {
	width: var(--b16-sidebar-w);
	flex-shrink: 0;
	background: #0e0e12;
	border-right: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 14px 0 18px;
	position: sticky;
	top: 0;
	height: 100vh;
	z-index: 200;
}

.b16-sidebar__logo {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	text-decoration: none !important;
	background: transparent;
	border: none;
	transition: opacity 0.2s, transform 0.2s;
}

.b16-sidebar__logo:hover {
	opacity: 0.92;
	transform: translateY(-1px);
	box-shadow: none;
	border-color: transparent;
}

.b16-sidebar__logo-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #121218;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.b16-sidebar__logo-mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b16-nav-item--btn {
	background: none;
	border: none;
	cursor: pointer;
	font: inherit;
	width: 100%;
}

.b16-sidebar__sep {
	width: calc(100% - 22px);
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin: 0;
	flex: 0 0 auto;
}

.b16-sidebar__nav {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	gap: 0;
	width: 100%;
	padding: 4px 8px;
	overflow-y: auto;
	overflow-x: hidden;
}

.b16-nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex: 1 1 0;
	width: 100%;
	max-width: 60px;
	min-height: 48px;
	padding: 6px 4px;
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none !important;
	border-radius: 12px;
	border: 1px solid transparent;
	background: transparent;
	transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.b16-nav-item__icon {
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	color: inherit;
}

.b16-nav-item__label {
	font-size: 10px;
	font-weight: 500;
	text-align: center;
	line-height: 1.1;
	letter-spacing: 0;
	color: inherit;
	white-space: nowrap;
}

.b16-nav-item:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.04);
	text-decoration: none;
}

.b16-nav-item--active {
	color: rgba(255, 255, 255, 0.92);
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}

.b16-nav-item--active .b16-nav-item__icon {
	color: inherit;
}

.b16-nav-item--active .b16-nav-item__label {
	color: inherit;
}

.b16-sidebar__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 10px 0 2px;
	margin-top: 0;
	flex-shrink: 0;
}

.b16-sidebar__counter {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.b16-sidebar__counter--visitors .b16-sidebar__counter-icon,
.b16-sidebar__counter--visitors .b16-sidebar__counter-icon i {
	color: #ef4444 !important;
	font-size: 18px;
	line-height: 1;
}

.b16-sidebar__counter-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #3b82f6;
	box-shadow: 0 0 10px rgba(59, 130, 246, 0.55);
	animation: b16-sidebar-pulse 2s infinite;
}

@keyframes b16-sidebar-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.45; }
}

.b16-sidebar__counter-val {
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	line-height: 1;
}

.b16-sidebar__counter--visitors {
	cursor: pointer;
}

.b16-sidebar__online-trigger {
	position: relative;
	cursor: pointer;
}

.b16-sidebar__online-source {
	display: none !important;
}

.b16-sidebar-online-popup {
	position: absolute;
	left: calc(100% + 14px);
	bottom: -8px;
	width: 292px;
	padding: 14px 12px 10px;
	border-radius: 16px;
	background: linear-gradient(165deg, #1e1f24 0%, #14151a 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, visibility 0s linear 0.18s;
	z-index: 230;
	text-align: left;
}

.b16-sidebar__online-trigger:hover .b16-sidebar-online-popup,
.b16-sidebar-online-popup:hover,
.b16-sidebar__online-trigger.is-online-open .b16-sidebar-online-popup {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.b16-sidebar-online-popup__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	padding: 0 4px;
}

.b16-sidebar-online-popup__title {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.b16-sidebar-online-popup__tabs {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}

.b16-sidebar-online-popup__tab {
	appearance: none;
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.45);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
	padding: 6px 9px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.b16-sidebar-online-popup__tab:hover {
	color: rgba(255, 255, 255, 0.75);
}

.b16-sidebar-online-popup__tab.is-active {
	color: #fff;
	background: rgba(90, 90, 243, 0.35);
}

.b16-sidebar-online-popup__badge {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	padding: 5px 10px;
	white-space: nowrap;
	flex-shrink: 0;
}

.b16-sidebar-online-popup__list {
	max-height: min(420px, 60vh);
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 2px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.b16-sidebar-online-popup__list.is-hidden {
	display: none !important;
}

.b16-sidebar-online-popup__list::-webkit-scrollbar {
	width: 5px;
}

.b16-sidebar-online-popup__list::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 4px;
}

.b16-sidebar-online-popup__list .users_chat_online {
	margin-bottom: 0;
}

.b16-sidebar-online-popup__list .users_chat_online > a,
.b16-sidebar-online-popup__list > a {
	display: block;
	text-decoration: none !important;
}

.b16-sidebar-online-popup__list .visit_users_online,
.b16-sidebar-online-popup__list .visit_users_online1 {
	margin-bottom: 6px;
	border-radius: 14px;
	padding: 8px 10px 8px 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.05);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.b16-sidebar-online-popup__list .visit_users_online:hover,
.b16-sidebar-online-popup__list .visit_users_online1:hover {
	background: rgba(255, 255, 255, 0.08);
}

.b16-sidebar-online-popup__list .user_online_top {
	display: none;
}

.b16-sidebar-online-popup__list .login_visit {
	font-size: 13px;
	font-weight: 700;
}

.b16-sidebar-online-popup__list .gp_visit {
	font-size: 10px;
	font-weight: 600;
}

.b16-sidebar-online-popup__list .user_o_img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.b16-sidebar-online-popup__list .visit_users_online i,
.b16-sidebar-online-popup__list .visit_users_online1 i {
	color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
}

.b16-sidebar-online-popup__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 16px;
	color: rgba(255, 255, 255, 0.4);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.b16-sidebar-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 199;
}

.b16-sidebar-overlay.is-open {
	display: block;
}

.b16-sidebar-toggle {
	display: none;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #e5e7eb;
	font-size: 20px;
	cursor: pointer;
	flex-shrink: 0;
}

.b16-sidebar-toggle:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* Скрыть старые плавающие кнопки слева */
.center_sub.center_sub--page-nav,
.page-nav-fab {
	display: none !important;
}

/* Всплывающие панели у бокового меню */
.b16-sidebar-flyout {
	display: none;
	position: fixed;
	left: calc(var(--b16-sidebar-w) + 8px);
	top: 50%;
	transform: translateY(-50%);
	z-index: 210;
	width: 240px;
}

.b16-sidebar-flyout.is-open {
	display: block;
	animation: b16FlyoutIn 0.18s ease;
}

@keyframes b16FlyoutIn {
	from {
		opacity: 0;
		transform: translateY(calc(-50% + 6px));
	}
	to {
		opacity: 1;
		transform: translateY(-50%);
	}
}

.b16-sidebar-flyout__panel {
	padding: 14px;
	border-radius: 16px;
	border: 1px solid rgba(124, 92, 255, 0.28);
	background: linear-gradient(165deg, rgba(72, 48, 140, 0.94) 0%, rgba(28, 24, 48, 0.97) 100%);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.b16-flyout-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.b16-flyout-head > i {
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.25);
	color: #d1d5db;
	font-size: 18px;
	flex-shrink: 0;
}

.b16-flyout-head strong {
	display: block;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.b16-flyout-head small {
	display: block;
	color: rgba(255, 255, 255, 0.45);
	font-size: 11px;
	margin-top: 2px;
}

.b16-flyout-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	margin-bottom: 8px;
	border-radius: 12px;
	background: #363a42;
	color: #e0e2e8;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 13px;
	transition: background 0.15s, color 0.15s;
	border: none;
	width: 100%;
	cursor: pointer;
}

.b16-flyout-link:last-child {
	margin-bottom: 0;
}

.b16-flyout-link:hover,
.b16-flyout-link:focus {
	background: #40454e;
	color: #fff;
	text-decoration: none;
}

.b16-flyout-link i {
	font-size: 16px;
	color: #9ca3af;
}

.b16-nav-item.is-flyout-open {
	color: rgba(255, 255, 255, 0.92);
	background: transparent;
	border-color: transparent;
}

.b16-nav-item.is-flyout-open .b16-nav-item__icon {
	color: inherit;
}

.b16-ecd-modal__body {
	max-height: 70vh;
	overflow-y: auto;
	color: #c8cad1;
	font-size: 13px;
	line-height: 1.55;
	text-align: left;
}

.b16-ecd-content h4 {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	margin: 18px 0 8px;
}

.b16-ecd-content h4:first-child {
	margin-top: 0;
}

.b16-ecd-content p,
.b16-ecd-content li {
	margin-bottom: 8px;
}

.b16-ecd-content ol,
.b16-ecd-content ul {
	padding-left: 20px;
	margin-bottom: 10px;
}

.b16-ecd-link {
	color: #60a5fa;
	text-decoration: underline;
}

.b16-ecd-link:hover {
	color: #93c5fd;
}

.b16-ecd-hint {
	color: rgba(255, 255, 255, 0.4);
	font-size: 11px;
	margin-left: 4px;
}

.b16-ecd-important,
.b16-ecd-warn {
	color: #fbbf24;
}

.b16-ecd-note {
	color: rgba(255, 255, 255, 0.45);
	font-size: 12px;
	margin-top: 16px;
}

.b16-ecd-content code {
	background: rgba(0, 0, 0, 0.35);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 12px;
}

@media (max-width: 991.98px) {
	.b16-sidebar-toggle {
		display: inline-flex;
	}

	.b16-sidebar {
		position: fixed;
		left: 0;
		top: 0;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
	}

	.b16-sidebar.is-open {
		transform: translateX(0);
	}

	.b16-sidebar-online-popup {
		left: calc(100% + 8px);
		width: min(292px, calc(100vw - var(--b16-sidebar-w) - 24px));
	}
}

.b16-layout--inner .b16-chat-column--right {
	display: none;
}

@media (max-width: 991.98px) {
	.b16-layout--inner .b16-chat-column--right {
		display: flex !important;
	}
}

.b16-layout--home .b16-layout__content-row {
	display: flex;
}

.b16-layout--home .b16-layout__main {
	flex: 1;
	min-width: 0;
}

/* Внутренние страницы: без колонки «Правила / ТОП» и без чата */
.b16-layout--inner .b16-layout__main > .container > .row > .col-lg-3 {
	display: none !important;
}

.b16-layout--inner .b16-layout__main > .container > .row > .col-lg-9 {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

.b16-layout--inner .b16-layout__content-row {
	display: block;
}

.b16-layout--inner .b16-layout__main {
	width: 100%;
}

@import url('profile-page.css?v=2026070301');
