/* Модерация: банлист / мутлист / заявки на разбан (layout как meat74, палитра 16bitcs) */

.b16-mod {
	padding: 8px 4px 24px;
	max-width: 100%;
}

.b16-mod__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.b16-mod__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(22, 22, 28, 0.9);
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.b16-mod__tab:hover {
	color: #fff;
	border-color: rgba(124, 92, 255, 0.35);
	text-decoration: none;
}

.b16-mod__tab.is-active {
	background: linear-gradient(145deg, #7c5cff, #5b43d6);
	border-color: transparent;
	color: #fff;
}

.b16-mod__hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr minmax(120px, 220px);
	gap: 16px;
	align-items: center;
	margin-bottom: 14px;
	padding: 22px 22px 20px;
	border-radius: 18px;
	overflow: hidden;
	background: linear-gradient(
		135deg,
		rgba(36, 28, 64, 0.98) 0%,
		rgba(22, 22, 32, 0.96) 55%,
		rgba(16, 16, 24, 0.98) 100%
	);
	border: 1px solid rgba(124, 92, 255, 0.2);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.b16-mod__hero-title {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	color: #fff;
}

.b16-mod__hero-desc {
	margin: 0 0 16px;
	max-width: 480px;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.5);
}

.b16-mod__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.b16-mod__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	font-family: inherit;
	transition: filter 0.15s ease, background 0.15s ease;
}

.b16-mod__btn:hover {
	text-decoration: none;
	filter: brightness(1.06);
}

.b16-mod__btn--primary {
	background: linear-gradient(145deg, #7c5cff, #5b43d6);
	color: #fff;
}

.b16-mod__btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.85);
}

.b16-mod__hero-art {
	position: relative;
	min-height: 110px;
	border-radius: 14px;
	background:
		radial-gradient(circle at 30% 40%, rgba(124, 92, 255, 0.35), transparent 55%),
		radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08), transparent 50%),
		linear-gradient(160deg, rgba(124, 92, 255, 0.2), rgba(20, 20, 28, 0.4));
	border: 1px solid rgba(124, 92, 255, 0.18);
}

.b16-mod__hero-art::after {
	content: "";
	position: absolute;
	inset: 18% 12%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(124, 92, 255, 0.45), transparent 70%);
	filter: blur(8px);
	opacity: 0.7;
}

.b16-mod__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.b16-mod__stat {
	padding: 14px 16px;
	border-radius: 14px;
	background: rgba(18, 18, 24, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-bottom: 2px solid rgba(124, 92, 255, 0.45);
}

.b16-mod__stat-value {
	display: block;
	font-size: 22px;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}

.b16-mod__stat-label {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #7c5cff;
	font-weight: 600;
}

.b16-mod__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
	padding: 4px 2px;
}

.b16-mod__toolbar-title {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: #fff;
}

.b16-mod__servers {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.b16-mod__servers .vertical-navigation {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.b16-mod__servers .vertical-navigation li,
.b16-mod__servers .vertical-navigation a {
	margin: 0;
}

.b16-mod__servers .vertical-navigation a,
.b16-mod__servers .categorie-label {
	display: inline-flex;
	padding: 7px 12px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(22, 22, 28, 0.9);
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}

.b16-mod__servers .active a,
.b16-mod__servers .categorie-label.active,
.b16-mod__servers .vertical-navigation .active > a {
	background: rgba(124, 92, 255, 0.18);
	border-color: rgba(124, 92, 255, 0.4);
	color: #7c5cff;
}

.b16-mod-search {
	display: flex;
	align-items: stretch;
	min-width: min(100%, 300px);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(18, 18, 24, 0.95);
}

.b16-mod-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #fff;
	padding: 10px 14px;
	font-size: 13px;
}

.b16-mod-search input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.b16-mod-search button {
	width: 44px;
	border: 0;
	cursor: pointer;
	background: linear-gradient(145deg, #7c5cff, #5b43d6);
	color: #fff;
	font-size: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.b16-mod__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.b16-mod__list.table-adaptive,
.b16-mod__list.table-fused {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: transparent;
	border: none;
	box-shadow: none;
}

.b16-mod__list .table-row {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

.b16-mod-card {
	display: grid;
	grid-template-columns: minmax(120px, 200px) 1fr auto;
	align-items: center;
	gap: 12px;
	min-height: 78px;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(90deg, rgba(30, 30, 38, 0.98), rgba(20, 20, 28, 0.96));
	border: 1px solid rgba(255, 255, 255, 0.07);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.b16-mod-card:hover {
	border-color: rgba(124, 92, 255, 0.3);
	transform: translateY(-1px);
}

a.b16-mod-card {
	text-decoration: none;
	color: inherit;
}

.b16-mod-card__player {
	padding: 14px 16px;
	min-width: 0;
}

.b16-mod-card__nick {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.b16-mod-card__nick img {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	object-fit: cover;
	flex-shrink: 0;
}

.b16-mod-card__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 8px;
	min-width: 0;
}

.b16-mod-card__info-label {
	font-size: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.38);
}

.b16-mod-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 14px;
}

.b16-mod-card__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.b16-mod-card__meta-item i {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.45);
	flex-shrink: 0;
}

.b16-mod-card__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-width: 110px;
	padding: 12px 16px;
	font-size: 13px;
	font-weight: 800;
	text-align: center;
	line-height: 1.2;
	background: linear-gradient(180deg, #3a3a44, #2a2a32);
	color: #fff;
	pointer-events: none;
}

.b16-mod-card__badge.is-forever,
.b16-mod-card__badge.text-danger,
.b16-mod-card__badge.is-danger {
	background: linear-gradient(145deg, #ff5a5a, #d62828);
	color: #fff;
}

.b16-mod-card__badge.is-temp,
.b16-mod-card__badge.is-mute {
	background: linear-gradient(145deg, #3dd68c, #1faa5c);
	color: #0b1a12;
}

.b16-mod-card__badge.is-ok,
.b16-mod-card__badge.text-success,
.b16-mod-card__badge.is-success {
	background: linear-gradient(145deg, #3dd68c, #1faa5c);
	color: #0b1a12;
}

.b16-mod-card__badge.is-pending,
.b16-mod-card__badge.text-info,
.b16-mod-card__badge.is-info {
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.85);
}

.b16-mod-card__badge.is-error,
.b16-mod-card__badge.text-error {
	background: linear-gradient(145deg, #ff5a5a, #d62828);
	color: #fff;
}

.b16-mod__empty {
	padding: 18px 14px;
	border-radius: 14px;
	background: rgba(18, 18, 24, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.45);
	font-size: 13px;
}

.b16-mod__pager {
	margin-top: 16px;
	text-align: center;
}

@media (max-width: 900px) {
	.b16-mod__hero {
		grid-template-columns: 1fr;
	}

	.b16-mod__hero-art {
		min-height: 80px;
		order: -1;
	}

	.b16-mod__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.b16-mod-card {
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
	}

	.b16-mod-card__player {
		grid-column: 1;
		grid-row: 1;
	}

	.b16-mod-card__badge {
		grid-column: 2;
		grid-row: 1 / span 2;
		min-width: 88px;
	}

	.b16-mod-card__info {
		grid-column: 1;
		grid-row: 2;
		align-items: flex-start;
		padding-top: 0;
		padding-bottom: 14px;
	}

	.b16-mod-card__meta {
		justify-content: flex-start;
	}
}

@media (max-width: 520px) {
	.b16-mod__stats {
		grid-template-columns: 1fr 1fr;
	}

	.b16-mod-search {
		width: 100%;
	}
}
