.fb-provider-overlay {
	--fb-gate-backdrop: rgba(23, 17, 14, .72);
	--fb-gate-surface: #fffaf1;
	--fb-gate-border: #eed7bc;
	--fb-gate-text: #553827;
	--fb-gate-muted: #795a49;
	--fb-gate-primary: #f26949;
	--fb-gate-primary-text: #fffaf1;
	--fb-gate-secondary: #f5e6d4;
	--fb-gate-secondary-text: #654532;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
	background: var(--fb-gate-backdrop);
	font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
}

.fb-provider-overlay[data-game-theme="gate-rush"] {
	--fb-gate-backdrop: rgba(22, 13, 44, .76);
	--fb-gate-surface: #563b91;
	--fb-gate-border: rgba(255, 255, 255, .22);
	--fb-gate-text: #fffaff;
	--fb-gate-muted: #e1d8f1;
	--fb-gate-primary: #f5cc52;
	--fb-gate-primary-text: #301d08;
	--fb-gate-secondary: rgba(255, 255, 255, .12);
	--fb-gate-secondary-text: #fffaff;
}

.fb-provider-card {
	width: min(100%, 440px);
	padding: 30px 26px 24px;
	border: 1px solid var(--fb-gate-border);
	border-radius: 24px;
	background: var(--fb-gate-surface);
	box-shadow: 0 24px 76px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .12);
	color: var(--fb-gate-text);
	text-align: center;
}

.fb-provider-card h2 {
	margin: 0;
	font-size: clamp(22px, 6vw, 28px);
	font-weight: 850;
	line-height: 1.2;
}

.fb-provider-card p {
	margin: 14px 0 0;
	color: var(--fb-gate-muted);
	font-size: 15px;
	line-height: 1.55;
}

.fb-provider-actions {
	display: grid;
	gap: 11px;
	margin-top: 24px;
}

.fb-provider-actions button {
	min-height: 50px;
	padding: 10px 16px;
	border: 0;
	border-radius: 15px;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

.fb-provider-open {
	background: var(--fb-gate-primary);
	color: var(--fb-gate-primary-text);
	box-shadow: 0 7px 18px rgba(0, 0, 0, .16);
}

.fb-provider-cancel {
	border: 1px solid var(--fb-gate-border) !important;
	background: var(--fb-gate-secondary);
	color: var(--fb-gate-secondary-text);
}

.fb-provider-actions button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

@media (max-width: 480px) {
	.fb-provider-card { padding: 27px 21px 21px; border-radius: 21px; }
}
