.fbre-embed {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--fbre-max-width, 500px);
	margin-inline: auto;
}

.fbre-embed.fbre-position-left {
	margin-right: auto;
	margin-left: 0;
}

.fbre-embed.fbre-position-center {
	margin-right: auto;
	margin-left: auto;
}

.fbre-embed.fbre-position-right {
	margin-right: 0;
	margin-left: auto;
}

.fbre-embed *,
.fbre-embed *::before,
.fbre-embed *::after {
	box-sizing: border-box;
}

.fbre-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	aspect-ratio: var(--fbre-aspect, 9 / 16);
	border-radius: 12px;
	background: #101418;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}

.fbre-iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.fbre-consent {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: clamp(20px, 8%, 44px);
	color: #fff;
	text-align: center;
	background:
		radial-gradient(circle at 80% 5%, rgba(24, 119, 242, 0.5), transparent 40%),
		linear-gradient(145deg, #18212b, #080b0f);
}

.fbre-consent__icon {
	display: grid;
	width: 52px;
	height: 52px;
	place-items: center;
	border-radius: 50%;
	background: #1877f2;
	color: #fff;
	font: 700 38px/1 Arial, sans-serif;
}

.fbre-consent strong {
	font-size: clamp(18px, 5vw, 24px);
}

.fbre-consent p {
	max-width: 340px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	line-height: 1.5;
}

.fbre-consent__button {
	min-height: 44px;
	padding: 10px 20px;
	border: 0;
	border-radius: 999px;
	background: #1877f2;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.fbre-consent__button:hover,
.fbre-consent__button:focus-visible {
	background: #0b5fcc;
}

.fbre-consent__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.fbre-consent__link {
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	text-underline-offset: 3px;
}

.fbre-error {
	padding: 12px 16px;
	border-left: 4px solid #d63638;
	background: #fcf0f1;
	color: #3c434a;
}

@media (prefers-reduced-motion: no-preference) {
	.fbre-consent__button {
		transition: background-color 160ms ease, transform 160ms ease;
	}

	.fbre-consent__button:hover {
		transform: translateY(-1px);
	}
}
