.jbestats-servers {
	padding-bottom: 16px !important;
}

.jbestats-servers .vertical-navigation,
.jbestats-servers .vertical-navigation ul {
	height: auto !important;
	min-height: 0 !important;
	margin-bottom: 0 !important;
}

.jbestats-servers .vertical-navigation {
	overflow: visible;
}

.jbestats-servers .vertical-navigation li {
	height: auto !important;
	min-height: 0 !important;
}

.jbestats-servers .vertical-navigation a {
	height: auto !important;
	padding: 12px 14px;
	overflow: visible;
	line-height: 1.35;
	white-space: normal;
	word-break: break-word;
	text-overflow: clip;
}

.jbestats-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px auto;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
}

.jbestats-search {
	position: relative;
}

.jbestats-search i {
	position: absolute;
	top: 50%;
	left: 13px;
	transform: translateY(-50%);
	opacity: .55;
}

.jbestats-search input {
	height: 42px;
	padding-left: 38px;
}

.jbestats-sort {
	height: 42px;
}

.jbestats-search-button,
.jbestats-modal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(135deg, #e12027, #a90d13);
	box-shadow: 0 7px 18px rgba(225, 32, 39, .18);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
}

.jbestats-search-button:hover,
.jbestats-search-button:focus,
.jbestats-modal-button:hover,
.jbestats-modal-button:focus {
	color: #fff;
	filter: brightness(1.12);
	outline: none;
	transform: translateY(-1px);
}

.jbestats-player-row {
	cursor: pointer;
	transition: background-color .15s ease;
}

.jbestats-player-row:hover,
.jbestats-player-row:focus {
	background: rgba(225, 32, 39, .08);
	outline: none;
}

.jbestats-ranking .jbestats-player-row > .row {
	min-height: 74px;
}

.jbestats-ranking .jbestats-player-row > .row > div {
	min-width: 0;
}

.jbestats-place p,
.jbestats-kd {
	color: #ef4349 !important;
	font-weight: 700 !important;
	font-size: 17px !important;
}

.jbestats-player-main .area-user,
.jbestats-player-main .area-user strong,
.jbestats-player-main > span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jbestats-kd {
	font-weight: 700;
	color: #ef4349;
}

.jbestats-muted {
	opacity: .6;
}

.jbestats-time-info {
	margin-left: 4px;
	color: #ef4349;
	cursor: help;
	opacity: .85;
}

.jbestats-time-info:hover,
.jbestats-time-info:focus {
	opacity: 1;
	outline: none;
}

.jbestats-modal-loading {
	padding: 35px 0;
	text-align: center;
}

.jbestats-modal-content {
	border: 1px solid rgba(225, 32, 39, .32);
	border-radius: 8px;
	background: #181a22;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .58);
	overflow: hidden;
}

.jbestats-modal-content .modal-header,
.jbestats-modal-content .modal-footer {
	border-color: rgba(127, 127, 127, .18);
}

.jbestats-modal-close {
	color: #fff !important;
	font-size: 28px;
	line-height: 1;
	opacity: .7;
	text-shadow: none;
}

.jbestats-modal-close:hover,
.jbestats-modal-close:focus {
	opacity: 1;
}

.jbestats-modal-button {
	height: 36px;
	padding: 0 20px;
}

.jbestats-player__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(127, 127, 127, .2);
}

.jbestats-player__head h3 {
	margin: 0 0 4px;
}

.jbestats-player__head span,
.jbestats-player__updated {
	opacity: .62;
}

.jbestats-player__kd {
	min-width: 80px;
	padding: 9px 14px;
	border-radius: 8px;
	background: rgba(225, 32, 39, .14);
	text-align: center;
}

.jbestats-player__kd span,
.jbestats-player__kd strong {
	display: block;
}

.jbestats-player__kd strong {
	font-size: 23px;
	color: #ef4349;
}

.jbestats-player__updated {
	margin: 10px 0 18px;
	font-size: 12px;
}

.jbestats-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.jbestats-detail-card {
	padding: 15px;
	border: 1px solid rgba(127, 127, 127, .18);
	border-radius: 8px;
	background: rgba(255, 255, 255, .018);
}

.jbestats-detail-card h5 {
	margin: 0 0 12px;
	color: #ef4349;
}

.jbestats-detail-card dl,
.jbestats-detail-card dl div:last-child {
	margin-bottom: 0;
}

.jbestats-detail-card dl div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.jbestats-detail-card dt {
	font-weight: 400;
	opacity: .68;
}

.jbestats-detail-card dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

.jbestats-admin-list {
	margin: 0;
}

.jbestats-admin-server {
	margin-bottom: 15px;
}

.jbestats-admin-server__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.jbestats-admin-server__address {
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(127, 127, 127, .2);
	font-size: 12px;
	opacity: .7;
}

.jbestats-admin-hint {
	display: block;
	margin-top: 5px;
	opacity: .65;
}

.jbestats-admin-result {
	flex: 1 1 280px;
}

.jbestats-admin-result:empty {
	display: none;
}

.jbestats-admin-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: 15px;
	padding-top: 12px;
	border-top: 1px solid rgba(127, 127, 127, .2);
}

.jbestats-admin-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (max-width: 767px) {
	.jbestats-detail-grid {
		grid-template-columns: 1fr 1fr;
	}

	.jbestats-toolbar {
		align-items: stretch;
		grid-template-columns: 1fr;
	}

	.jbestats-search,
	.jbestats-sort {
		width: 100%;
	}

	.jbestats-search-button {
		width: 100%;
	}

	#jbestats-player-modal .modal-dialog {
		margin: 10px;
	}

	.jbestats-admin-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.jbestats-admin-buttons .btn {
		flex: 1 1 auto;
	}
}

@media (max-width: 480px) {
	.jbestats-detail-grid {
		grid-template-columns: 1fr;
	}

	.jbestats-player__head {
		align-items: flex-start;
	}

}
