html.fbss-locked,
html.fbss-locked body {
	overflow: hidden !important;
}

.fbss-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(15, 20, 30, .6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .3s ease;
}
.fbss-overlay[hidden] { display: none; }
.fbss-overlay.fbss-visible { opacity: 1; }

.fbss-box {
	position: relative;
	width: 380px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 28px 28px 24px;
	background: #fff;
	color: #1c1e21;
	text-align: center;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	transform: translateY(20px) scale(.97);
	transition: transform .3s ease;
}
.fbss-visible .fbss-box { transform: none; }

.fbss-close {
	position: absolute;
	top: 8px;
	right: 10px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #65676b;
	font-size: 26px;
	line-height: 32px;
	cursor: pointer;
}
.fbss-close:hover, .fbss-close:focus { background: #f0f2f5; color: #1c1e21; }

.fbss-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.fbss-text  { margin: 0 0 20px; font-size: 15px; color: #65676b; line-height: 1.45; }

.fbss-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	background: #1877f2;
	color: #fff !important;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
}
.fbss-btn:hover { background: #166fe5; }

@media (max-width: 480px) {
	.fbss-hide-mobile { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.fbss-overlay, .fbss-box { transition: none; }
}
