.ss-period-tabs {
	margin-bottom: 15px;
	border-bottom: none;
}
.ss-period-tabs > li > a {
	background: #2D2044;
	color: #b7bacd;
	border: 1px solid #4d2f6e;
	border-radius: 4px;
	margin-right: 5px;
	font-size: 13px;
	padding: 8px 16px;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.ss-period-tabs > li > a:hover {
	background: #3b2a5c;
	border-color: #9b4dd6;
	color: #fff;
}
.ss-period-tabs > li.active > a,
.ss-period-tabs > li.active > a:focus,
.ss-period-tabs > li.active > a:hover {
	background: linear-gradient(90deg, #7b2cbf, #e91e63);
	border-color: #9b4dd6;
	color: #fff;
	font-weight: 600;
}

.ss-server-card {
	position: relative;
	height: 180px;
	border-radius: 8px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	margin-bottom: 15px;
}
.ss-server-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
	border-radius: inherit;
}
.ss-server-overlay {
	position: relative;
	z-index: 1;
	padding: 20px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ss-online-badge {
	display: inline-block;
	background: rgba(0,0,0,0.5);
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 14px;
	color: #fff;
	margin-bottom: 10px;
	width: fit-content;
}
.ss-online-badge .glyphicon {
	margin-right: 4px;
}
.ss-server-map {
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
	word-break: break-word;
}

.ss-divider {
	border: 0;
	height: 1px;
	background: linear-gradient(to right, transparent, #4d2f6e, transparent);
	margin: 10px 0 25px 0;
}

.ss-popular-map {
	text-align: center;
	padding: 10px 0 20px 0;
}
.ss-popular-map-img {
	width: 200px;
	height: 120px;
	margin: 0 auto 15px auto;
	border-radius: 8px;
	background-size: 100% 100%;
	background-position: center;
	position: relative;
}
.ss-popular-map-img::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: linear-gradient(135deg, #4D86D1 0%, #9A5CFF 50%, #F64A8A 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
}
.ss-popular-map-title {
	font-size: 16px;
	color: #b7bacd;
	margin-bottom: 5px;
}
.ss-popular-map-title b {
	color: #fff;
}
.ss-popular-map-count {
	font-size: 13px;
	color: #8a8ea3;
}
.ss-popular-map-count b {
	color: #9A5CFF;
}

.ss-table {
	margin-bottom: 0;
	border: 1px solid #4d2f6e;
	border-radius: 4px;
	overflow: hidden;
}
.ss-table thead td {
	background: #2D2044;
	color: #b7bacd;
	font-weight: 600;
	text-align: center;
	border-bottom: 1px solid #4d2f6e;
}
.ss-table tbody td {
	background: #252836;
	color: #b7bacd;
	border-top: 1px solid #4d2f6e;
}
.ss-table tbody tr:hover td {
	background: #2a2e40;
}
.ss-td-num {
	width: 50px;
	text-align: center;
}
.ss-td-thumb {
	width: 71px;
	text-align: center;
	vertical-align: middle;
}
.ss-td-name {
	vertical-align: middle;
}
.ss-map-thumb {
	position: relative;
	flex-shrink: 0;
	width: 67px;
	height: 40px;
	border-radius: 6px;
	background-size: 100% 100%;
	background-position: center;
	background-clip: content-box;
	padding: 2px;
}
.ss-map-thumb::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: linear-gradient(135deg, #4D86D1 0%, #9A5CFF 50%, #F64A8A 100%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
	z-index: 1;
}
.ss-td-plays {
	width: 120px;
	text-align: center;
	font-weight: 600;
	color: #9A5CFF !important;
}

/* ---------- Chart ---------- */
.ss-chart-wrapper {
	background: #2D2044;
	border: 1px solid #4d2f6e;
	border-radius: 8px;
	padding: 15px 20px;
	margin-bottom: 15px;
}
.ss-chart-header {
	font-size: 14px;
	font-weight: 600;
	color: #b7bacd;
	margin-bottom: 12px;
}
.ss-chart-header small {
	font-weight: 400;
	color: #6b7094;
	margin-left: 5px;
}
.ss-chart-container {
	position: relative;
	height: 280px;
	width: 100%;
}

