/* Ported from Old Site/includes/serverbrowser.php inline styles */

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

.sb-tabbar {
	display: flex;
	align-items: stretch;
	background: #141618;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
	min-height: 48px;
}

.sb-tabbar__tabs {
	display: flex;
	align-items: stretch;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.sb-tabbar__tabs::-webkit-scrollbar {
	display: none;
}

.sb-tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px;
	min-height: 48px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	color: rgba(255, 255, 255, 0.42);
	transition: color 0.12s, background 0.12s;
	white-space: nowrap;
	flex-shrink: 0;
}

.sb-tab:hover:not([data-locked="1"]) {
	color: rgba(255, 255, 255, 0.88);
	background: rgba(255, 255, 255, 0.03);
}

.sb-tab[data-active="1"]:not([data-locked="1"]) {
	color: #fff;
	background: #5d7238;
	border-bottom-color: transparent;
}

.sb-tab[data-active="1"]:not([data-locked="1"])::before {
	content: none;
	display: none;
}

.sb-tab-icon {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
	opacity: 0.7;
}

.sb-tab[data-active="1"]:not([data-locked="1"]) .sb-tab-icon {
	opacity: 1;
}

.sb-tab-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sb-tab-count {
	margin-left: 2px;
	padding: 2px 7px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.55);
	border-radius: 2px;
}

.sb-tab[data-active="1"]:not([data-locked="1"]) .sb-tab-count {
	background: rgba(0, 0, 0, 0.2);
	color: rgba(255, 255, 255, 0.9);
}
.sb-tab[data-locked="1"] {
	color: rgba(255, 255, 255, 0.28);
}
.sb-tab[data-locked="1"] .sb-tab-icon {
	opacity: 0.35;
}
.sb-tab[data-locked="1"]:hover {
	color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.02);
}
.sb-tab[data-locked="1"][data-active="1"] {
	color: rgba(255, 255, 255, 0.75);
	background: linear-gradient(180deg, rgba(176, 136, 48, 0.22) 0%, rgba(176, 136, 48, 0.05) 100%);
	border-bottom-color: #b08830;
}
.sb-tab-lock {
	width: 11px;
	height: 11px;
	opacity: 0.55;
	margin-left: -2px;
	color: #b08830;
}
.sb-tab[data-locked="1"]:hover .sb-tab-lock {
	opacity: 0.85;
}

.sb-sidebar-heading {
	padding: 0 16px 6px;
	margin-top: 14px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.25);
}
.sb-sidebar-heading:first-child {
	margin-top: 0;
}

.sb-sidebar-item {
	position: relative;
	z-index: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 7px 16px;
	background: none;
	border: none;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.55);
	font-family: inherit;
	transition: color 0.08s;
}
.sb-sidebar-item:hover {
	color: rgba(255, 255, 255, 0.95);
}
.sb-sidebar-item:hover:not([data-active="1"])::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.04);
	pointer-events: none;
}
.sb-sidebar-item[data-active="1"] {
	color: #fff;
	background: transparent;
}
.sb-sidebar-item[data-active="1"]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		90deg,
		rgba(220, 75, 45, 0.62) 0%,
		rgba(220, 75, 45, 0.28) 50%,
		rgba(220, 85, 50, 0.04) 100%
	);
	pointer-events: none;
}
.sb-sidebar-label {
	font-size: 12px;
	font-weight: 600;
}
.sb-sidebar-count {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 10px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.3);
}

.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.6);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.1s;
}
.sb-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.15);
}

.sb-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 80px 40px;
	gap: 10px;
	text-align: center;
	color: rgba(255, 255, 255, 0.55);
}
.sb-empty-title {
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.8);
}
.sb-empty-sub {
	font-size: 12px;
	max-width: 420px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.4);
}
.sb-empty-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 9px 18px;
	background: #b08830;
	color: #000;
	text-decoration: none;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	transition: background 0.12s;
}
.sb-empty-cta:hover {
	background: #c49a38;
}

.sb-row {
	position: relative;
	z-index: 0;
}
.sb-row[data-selected="1"] {
	background: transparent !important;
	border-left: none !important;
}
.sb-row[data-selected="1"]::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		90deg,
		rgba(220, 75, 45, 0.55) 0%,
		rgba(220, 75, 45, 0.22) 50%,
		rgba(220, 85, 50, 0.04) 100%
	);
	pointer-events: none;
}
.sb-row:not([data-selected="1"]):hover {
	background: rgba(255, 255, 255, 0.035) !important;
}

.sb-topstrip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 16px;
	background: #181a1b;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.32);
}
.sb-topstrip button {
	background: none;
	border: none;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.5);
	font-family: inherit;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 4px 8px;
	transition: color 0.1s, background 0.1s;
}
.sb-topstrip button:hover {
	color: #ff7a6b;
	background: rgba(220, 60, 40, 0.1);
}

.sb-friends-badge {
	position: relative;
}
.sb-friends-badge::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #8ed270;
	box-shadow: 0 0 8px #8ed270;
	animation: sb-pulse 1.8s ease-in-out infinite;
}

.sb-host-cta {
	width: 100%;
	height: 36px;
	background: #b08830;
	border: none;
	cursor: pointer;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #000;
	font-family: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: background 0.12s;
}
.sb-host-cta:hover {
	background: #c49a38;
}

.sb-sponsor-banner {
	display: block;
	width: 100%;
	overflow: hidden;
	background: transparent;
	border: none;
	border-radius: 0;
	text-decoration: none;
	line-height: 0;
	transition: opacity 0.15s ease;
}

.sb-sponsor-banner:hover {
	opacity: 0.92;
}

.sb-sponsor-banner--static {
	cursor: default;
}

.sb-sponsor-banner--static:hover {
	opacity: 1;
}

.sb-sponsor-banner__img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

#server-browser {
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: hidden;
	background: #1a1c1d;
}

.sb-sidebar {
	width: 248px;
	background: #181a1b;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	flex-shrink: 0;
}

.sb-sidebar__scroll {
	flex: 1;
	overflow-y: auto;
	padding: 12px 0 8px;
}

.sb-filters {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sb-filter-section {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sb-filter-section__head {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	background: none;
	border: none;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.92);
	font-family: inherit;
	text-align: left;
}

.sb-filter-section__title {
	flex: 1;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sb-filter-badge {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 3px 7px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.45);
	white-space: nowrap;
}

.sb-filter-section__toggle {
	font-size: 16px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.35);
	width: 16px;
	text-align: center;
	flex-shrink: 0;
}

.sb-filter-section__body {
	display: none;
	padding: 0 14px 12px;
	flex-direction: column;
	gap: 2px;
}

.sb-filter-section--open .sb-filter-section__body {
	display: flex;
}

.sb-filter-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	cursor: pointer;
	user-select: none;
}

.sb-filter-check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.sb-filter-check__box {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.12s ease, border-color 0.12s ease;
}

.sb-filter-check input:checked + .sb-filter-check__box {
	background: #5d7238;
	border-color: #5d7238;
}

.sb-filter-check input:checked + .sb-filter-check__box::after {
	content: "";
	width: 8px;
	height: 5px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) translate(1px, -1px);
}

.sb-filter-check__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.25;
}

.sb-filter-check--dimmed .sb-filter-check__label {
	color: rgba(255, 255, 255, 0.38);
}

.sb-filter-check:hover .sb-filter-check__label {
	color: #fff;
}

.sb-filter-check--retracted {
	display: none;
}

.sb-filter-section--empty .sb-filter-section__body {
	display: none;
}

.sb-filter-section--empty .sb-filter-section__toggle {
	opacity: 0.35;
}

.sb-sidebar__footer {
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	display: flex;
	flex-direction: column;
	gap: 0;
	flex-shrink: 0;
}

.sb-sidebar__footer-actions {
	display: flex;
	gap: 8px;
	padding: 12px;
}

.sb-list-panel {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sb-list-header {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 120px 100px 110px 118px 118px;
	padding: 6px 16px;
	background: #141618;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.22);
	flex-shrink: 0;
	align-items: center;
	gap: 8px;
}

.sb-list {
	flex: 1;
	overflow-y: auto;
	background: #1e2022;
}

/* ── Server detail modal ─────────────────────────────────────────────────── */

body.sb-modal-open {
	overflow: hidden;
}

.sb-modal {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: none;
	padding: max(12px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.sb-modal.is-open {
	display: block;
}

.sb-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(4px);
}

.sb-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(980px, 100%);
	margin: 0 auto;
	background: #141618;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
	color: #fff;
	font-family: inherit;
	padding: 22px 24px 20px;
}

.sb-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.65);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.sb-modal__close:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.18);
}

.sb-modal__header {
	display: block;
	padding-right: 40px;
	margin-bottom: 18px;
}

.sb-modal__header-text {
	min-width: 0;
}

.sb-modal__header .sb-modal__badges {
	margin-top: 8px;
}

.sb-modal__title {
	margin: 0;
	font-size: clamp(18px, 2.4vw, 24px);
	font-weight: 800;
	line-height: 1.25;
	color: #fff;
}

.sb-modal__hero {
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	gap: 18px;
	margin-bottom: 18px;
}

.sb-modal__map-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.sb-modal__map {
	position: relative;
	aspect-ratio: 1;
	background: #0f1113;
	border: 1px solid rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.sb-modal__map-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sb-modal__map.is-fallback .sb-modal__map-img,
.sb-modal__map:not(:has(.sb-modal__map-img)) .sb-modal__map-img {
	display: none;
}

.sb-modal__map-fallback {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	background:
		radial-gradient(circle at 30% 20%, rgba(93, 114, 56, 0.18), transparent 55%),
		linear-gradient(180deg, #171a1d 0%, #101214 100%);
}

.sb-modal__map.is-fallback .sb-modal__map-fallback,
.sb-modal__map:not(:has(.sb-modal__map-img)) .sb-modal__map-fallback {
	display: flex;
}

.sb-modal__status {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.sb-modal__status::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 8px currentColor;
}

.sb-modal__status--online {
	color: #8ed270;
}

.sb-modal__status--offline {
	color: #ff7a6b;
}

.sb-modal__map-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 38px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.sb-modal__map-btn svg {
	width: 14px;
	height: 14px;
	opacity: 0.75;
}

.sb-modal__map-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.sb-modal__side {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.sb-modal__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.sb-modal__stat-card {
	padding: 12px 12px 10px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.07);
	min-width: 0;
}

.sb-modal__stat-card--accent {
	border-color: rgba(176, 136, 48, 0.45);
	background: rgba(176, 136, 48, 0.08);
}

.sb-modal__stat-label {
	display: block;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.38);
	margin-bottom: 6px;
}

.sb-modal__stat-value {
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.92);
}

.sb-modal__stat-card--accent .sb-modal__stat-value {
	color: #e8c878;
}

.sb-modal__stat-bar {
	margin-top: 10px;
	height: 4px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.sb-modal__stat-bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #5d7238 0%, #b08830 100%);
}

.sb-modal__schedule {
	flex: 1;
	min-height: 0;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.07);
}

.sb-modal__schedule-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.sb-modal__schedule-title svg {
	width: 14px;
	height: 14px;
	opacity: 0.7;
}

.sb-modal-wipes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	max-height: 180px;
	overflow-y: auto;
}

.sb-modal-wipe {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 12px;
}

.sb-modal-wipe:last-child {
	border-bottom: none;
}

.sb-modal-wipe--next .sb-modal-wipe__date,
.sb-modal-wipe--next .sb-modal-wipe__when {
	color: #e8c878;
}

.sb-modal-wipe__left {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.sb-modal-wipe__date {
	font-weight: 700;
	color: rgba(255, 255, 255, 0.88);
}

.sb-modal-wipe__tag {
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 3px 6px;
	background: rgba(96, 170, 238, 0.12);
	color: #7ebef0;
	border: 1px solid rgba(96, 170, 238, 0.22);
}

.sb-modal-wipe__when {
	flex-shrink: 0;
	font-size: 11px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.42);
}

.sb-modal-wipe--empty {
	justify-content: center;
	color: rgba(255, 255, 255, 0.38);
	font-size: 11px;
}

.sb-modal__players {
	padding-top: 6px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sb-modal__players-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.sb-modal__players-title {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.92);
}

.sb-modal__players-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	font-size: 11px;
	font-weight: 800;
	background: rgba(93, 114, 56, 0.25);
	color: #b5d07a;
	border: 1px solid rgba(93, 114, 56, 0.4);
}

.sb-modal__players-search input {
	width: min(220px, 100%);
	height: 34px;
	padding: 0 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	font: inherit;
	font-size: 12px;
}

.sb-modal__players-search input::placeholder {
	color: rgba(255, 255, 255, 0.32);
}

.sb-modal__players-search input:focus {
	outline: none;
	border-color: rgba(176, 136, 48, 0.55);
}

.sb-modal__players-table-head {
	display: grid;
	grid-template-columns: 1fr 28px 28px 36px 1fr 28px 28px 36px;
	gap: 8px 12px;
	padding: 0 4px 8px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.28);
}

.sb-modal__players-status,
.sb-modal-friends {
	margin: 0 0 8px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.42);
}

.sb-modal-friends {
	color: #8ed270;
}

.sb-modal__players-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
	max-height: 220px;
	overflow-y: auto;
	padding-right: 2px;
}

.sb-modal-players-col {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sb-modal-player {
	display: grid;
	grid-template-columns: 10px minmax(0, 1fr) 28px 28px 36px;
	gap: 8px;
	align-items: center;
	padding: 7px 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	font-size: 12px;
}

a.sb-modal-player {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: background 0.12s ease;
}

a.sb-modal-player:hover {
	background: rgba(255, 255, 255, 0.05);
}

a.sb-modal-player:hover .sb-modal-player__name {
	color: #fff;
}

.sb-modal-player__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #8ed270;
	box-shadow: 0 0 8px rgba(142, 210, 112, 0.65);
}

.sb-modal-player__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
}

.sb-modal-player__stat {
	text-align: right;
	font-size: 11px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.42);
}

.sb-modal-player__stat--k {
	color: #8ed270;
}

.sb-modal-player__stat--d {
	color: #ff8a7a;
}

.sb-modal__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	flex-wrap: wrap;
}

.sb-modal__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sb-modal__badge {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 8px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.55);
}

.sb-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sb-modal-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.82);
	font: inherit;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.sb-modal-btn svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.sb-modal-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.sb-modal-btn--primary {
	background: #b08830;
	border-color: #b08830;
	color: #000;
}

.sb-modal-btn--primary:hover {
	background: #c49a38;
	border-color: #c49a38;
	color: #000;
}

.sb-modal-btn--primary[aria-disabled="true"] {
	opacity: 0.45;
	pointer-events: none;
	cursor: not-allowed;
}

.sb-modal-btn.is-copied {
	color: #8ed270;
	border-color: rgba(142, 210, 112, 0.35);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

	border: 0;
}

.sb-modal__map-btn.is-disabled,
.sb-modal__map-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.sb-modal__map-hint {
	margin: 0;
	font-size: 10px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.35);
	text-align: center;
}

/* ── 3D RustMaps viewer (Physgun RGT) ─────────────────────────────────────── */

body.sb-map-viewer-open {
	overflow: hidden;
}

.sb-map-viewer {
	position: fixed;
	inset: 0;
	z-index: 100020;
	display: none;
	flex-direction: column;
	background: #0a0c10;
	color: #fff;
}

.sb-map-viewer.is-open {
	display: flex;
}

.sb-map-viewer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 18px;
	background: rgba(10, 12, 16, 0.92);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
}

.sb-map-viewer__title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.sb-map-viewer__icon {
	width: 18px;
	height: 18px;
	color: #7ebef0;
	flex-shrink: 0;
}

.sb-map-viewer__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sb-map-viewer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.82);
	font: inherit;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.12s, border-color 0.12s, color 0.12s;
	flex-shrink: 0;
}

.sb-map-viewer__close:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.sb-map-viewer__frame {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	border: 0;
	background: #000;
}

.sb-workspace {
	display: flex;
	flex: 1;
	overflow: hidden;
	min-height: 0;
}

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

	.sb-modal__stats {
		grid-template-columns: 1fr;
	}

	.sb-modal__players-table-head,
	.sb-modal__players-grid {
		grid-template-columns: 1fr;
	}

	.sb-modal__players-table-head span:nth-child(n + 5) {
		display: none;
	}

	.sb-modal-players-col--empty {
		display: none;
	}

	.sb-modal__footer {
		flex-direction: column;
		align-items: stretch;
	}

	.sb-modal__actions {
		width: 100%;
	}

	.sb-modal-btn--primary {
		flex: 1 1 auto;
	}

	.sb-tabbar {
		overflow-x: auto;
		scrollbar-width: none;
	}
	.sb-tabbar::-webkit-scrollbar {
		display: none;
	}
	.sb-tabbar__tabs {
		flex: 1 1 auto;
	}
	.sb-toolbar {
		flex-wrap: wrap;
		height: auto;
		padding: 8px 10px;
		gap: 6px;
	}
	.sb-livestats-label,
	.sb-toolbar-label {
		display: none;
	}
	.sb-search {
		flex: 1 1 140px;
		min-width: 120px;
	}
	.sb-workspace {
		flex-direction: column;
	}
	.sb-sidebar {
		width: 100%;
		max-height: none;
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		flex-shrink: 0;
	}
	.sb-sidebar__scroll {
		overflow-x: auto;
		padding: 8px 10px 6px;
		-webkit-overflow-scrolling: touch;
	}
	.sb-filters {
		min-width: min(100%, 248px);
	}
	.sb-filter-section__body {
		flex-direction: column;
	}
	.sb-sidebar__footer {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}
	.sb-sidebar__footer-actions {
		flex: 1 1 100%;
	}
	.sb-host-cta,
	.sb-sponsor-banner {
		flex: 1 1 100%;
	}
	.sb-list-header {
		display: none;
	}
	.sb-row {
		grid-template-columns: 28px minmax(0, 1fr) 72px !important;
		padding: 10px 12px !important;
	}
	.sb-row > div:nth-child(3),
	.sb-row > div:nth-child(4),
	.sb-row > div:nth-child(6),
	.sb-row > div:nth-child(7) {
		display: none !important;
	}
}

@media (max-width: 520px) {
	body.site-app-page .site-nav {
		position: sticky;
	}
	.sb-tab {
		padding: 0 12px;
		font-size: 10px;
	}
}
