:root {
	--sbfp-safe-left: max(0.5rem, env(safe-area-inset-left));
	--sbfp-safe-right: max(0.75rem, env(safe-area-inset-right));
	--sbfp-safe-bottom: max(0.5rem, env(safe-area-inset-bottom));
	--sbfp-space-1: clamp(0.5rem, 0.44rem + 0.22vw, 0.75rem);
	--sbfp-space-2: clamp(0.75rem, 0.66rem + 0.4vw, 1rem);
	--sbfp-space-3: clamp(1rem, 0.86rem + 0.7vw, 1.45rem);
	--sbfp-space-4: clamp(1.2rem, 1rem + 1vw, 1.9rem);
	--sbfp-radius: clamp(1.35rem, 1rem + 1vw, 2rem);
}

.sbfp-widget,
.sbfp-widget * {
	box-sizing: border-box;
}

.sbfp-widget {
	position: fixed;
	left: var(--sbfp-safe-left);
	bottom: var(--sbfp-safe-bottom);
	z-index: 2147483000;
	width: min(14.75rem, calc(100vw - var(--sbfp-safe-left) - var(--sbfp-safe-right)));
	max-width: calc(100vw - var(--sbfp-safe-left) - var(--sbfp-safe-right));
	color: #ffffff;
	font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overscroll-behavior: contain;
	overflow: visible;
	--sbfp-title-font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sbfp-title-font-size: 18px;
	--sbfp-subtitle-font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--sbfp-subtitle-font-size: 13px;
}

.sbfp-card {
	position: relative;
	width: 100%;
	aspect-ratio: 10 / 18;
	min-height: 0;
	overflow: visible;
	box-shadow: none;
	isolation: isolate;
}

.sbfp-shell {
	position: relative;
	z-index: 1;
	height: 100%;
	border-radius: var(--sbfp-radius);
	overflow: hidden;
	background:
		radial-gradient(130% 90% at 72% 4%, #1c4488 0%, #103063 42%, #0a1f42 72%, #071733 100%),
		var(--sbfp-bg);
}

.sbfp-ui {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
}

.sbfp-content {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--sbfp-space-2);
	height: 100%;
	padding: clamp(1rem, 0.9rem + 0.5vw, 1.35rem);
	padding-top: clamp(1.15rem, 1rem + 0.8vw, 1.6rem);
	padding-bottom: clamp(8.75rem, 48%, 10.75rem);
	pointer-events: auto;
}

.sbfp-head {
	display: block;
	width: 100%;
	padding-top: 1.9rem;
}

.sbfp-close,
.sbfp-modal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	cursor: pointer;
}

.sbfp-close {
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	box-shadow: none;
	transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.12s ease;
}

.sbfp-close svg {
	width: 42%;
	height: 42%;
}

.sbfp-close:hover,
.sbfp-close:focus-visible {
	background: transparent;
	opacity: 0.82;
}

.sbfp-close:active {
	transform: scale(0.94);
}

.sbfp-title {
	margin: 0;
	font-family: var(--sbfp-title-font-family);
	font-size: var(--sbfp-title-font-size);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.03em;
	white-space: normal;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
	max-width: none;
	min-width: 0;
}

.sbfp-subtitle {
	margin: 0;
	max-width: 16rem;
	font-family: var(--sbfp-subtitle-font-family);
	font-size: var(--sbfp-subtitle-font-size);
	line-height: 1.45;
	color: rgba(210, 224, 248, 0.92);
	overflow-wrap: anywhere;
	hyphens: auto;
}

.sbfp-subtitle strong {
	color: #91b6ed;
	font-weight: 700;
}

.sbfp-subtitle p {
	margin: 0;
}

.sbfp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	min-height: 2.875rem;
	margin-top: clamp(0.15rem, 0.05rem + 0.4vw, 0.5rem);
	padding: 0.8rem 1rem;
	border: 0;
	border-radius: 999px;
	background: #2e68e8;
	box-shadow: 0 1rem 2rem rgba(46, 104, 232, 0.35);
	color: var(--sbfp-btn-color);
	font-size: clamp(0.875rem, 0.83rem + 0.2vw, 0.96rem);
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.12s ease;
}

.sbfp-button:hover,
.sbfp-button:focus {
	background: #2c56f2;
	color: var(--sbfp-btn-color);
	text-decoration: none;
}

.sbfp-button:active {
	transform: scale(0.98);
}

.sbfp-button-icon {
	flex: none;
	font-size: 1.05em;
	line-height: 1;
}

.sbfp-art {
	position: absolute;
	left: calc(var(--sbfp-art-offset-ratio, -0.08475) * 100%);
	right: auto;
	bottom: 0;
	z-index: 3;
	height: 43.5%;
	pointer-events: none;
	overflow: visible;
	width: calc(100% + 4rem);
}

.sbfp-art-image {
	position: absolute;
	left: 0;
	bottom: 0;
	display: block;
	width: auto;
	max-width: none;
	height: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: left bottom;
	transform: none;
}

.sbfp-footer-link {
	position: absolute;
	right: clamp(1rem, 0.9rem + 0.5vw, 1.35rem);
	bottom: clamp(1rem, 0.9rem + 0.5vw, 1.35rem);
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 0;
	margin-top: 0;
	color: #91b6ed;
	font-size: clamp(0.78rem, 0.75rem + 0.14vw, 0.88rem);
	font-weight: 700;
	line-height: 1.2;
	text-align: right;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.sbfp-footer-link:hover,
.sbfp-footer-link:focus {
	color: #bfd4ff;
}

.sbfp-button:focus-visible,
.sbfp-close:focus-visible,
.sbfp-footer-link:focus-visible,
.sbfp-modal-close:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.9);
	outline-offset: 2px;
}

.sbfp-modal[hidden] {
	display: none;
}

.sbfp-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
}

.sbfp-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 13, 32, 0.68);
}

.sbfp-modal-dialog {
	position: relative;
	z-index: 2;
	width: min(40rem, calc(100vw - 1.5rem));
	margin: 7vh auto;
	padding: 2.75rem 1.25rem 1.25rem;
	border-radius: 1.25rem;
	background: #ffffff;
	box-shadow: 0 1.5rem 3.75rem rgba(0, 0, 0, 0.28);
	max-height: 86vh;
	overflow: auto;
}

.sbfp-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: #eef3ff;
	color: #0a2f82;
	font-size: 1.75rem;
	line-height: 1;
}

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

@media (max-width: 22.5rem) {
	.sbfp-widget {
		width: min(14.5rem, calc(100vw - var(--sbfp-safe-left) - var(--sbfp-safe-right)));
	}

	.sbfp-content {
		padding-inline: 0.95rem;
		padding-bottom: clamp(7.9rem, 47%, 8.75rem);
	}

	.sbfp-art {
		height: 42%;
	}

	.sbfp-art-image {
		left: 0;
	}
}

@media (min-width: 30rem) {
	.sbfp-widget {
		width: min(17.5rem, calc(100vw - var(--sbfp-safe-left) - var(--sbfp-safe-right)));
	}

	.sbfp-content {
		padding: clamp(1.2rem, 1.02rem + 0.85vw, 1.65rem);
		padding-bottom: clamp(9.4rem, 47.5%, 11.4rem);
	}

	.sbfp-art {
		height: 43%;
	}

	.sbfp-art-image {
		left: 0;
	}
}

@media (min-width: 48rem) {
	.sbfp-widget {
		width: min(18.05rem, calc(var(--sbfp-width-vw, 13) * 0.95vw + 7.6rem), calc(100vw - 2rem));
	}

	.sbfp-content {
		padding-inline: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
		padding-top: clamp(1.35rem, 1.18rem + 0.6vw, 1.7rem);
		padding-bottom: clamp(10.4rem, 47%, 12.8rem);
	}

	.sbfp-art {
		height: 43.5%;
	}

	.sbfp-art-image {
		left: 0;
	}
}

@media (min-width: 64rem) {
	.sbfp-widget {
		left: clamp(0.6rem, 0.45rem + 0.35vw, 1rem);
		bottom: clamp(0.6rem, 0.45rem + 0.35vw, 1rem);
		width: min(17.1rem, calc(var(--sbfp-width-vw, 13) * 0.855vw + 5.985rem), calc(100vw - 2rem));
	}

	.sbfp-content {
		padding-bottom: clamp(10.6rem, 47%, 12.5rem);
	}

	.sbfp-art {
		height: 44%;
	}

	.sbfp-art-image {
		left: 0;
	}
}

@media (min-width: 90rem) {
	.sbfp-widget {
		left: clamp(0.75rem, 0.55rem + 0.5vw, 1.25rem);
		bottom: clamp(0.75rem, 0.55rem + 0.5vw, 1.25rem);
		width: min(17.95rem, calc(var(--sbfp-width-vw, 13) * 0.855vw + 5.13rem), calc(100vw - 2.5rem));
	}

	.sbfp-art {
		height: 44.5%;
	}
}

@media (max-width: 48rem) and (orientation: landscape) {
	.sbfp-widget {
		width: min(17rem, calc(100vw - var(--sbfp-safe-left) - var(--sbfp-safe-right)));
	}

	.sbfp-content {
		padding-bottom: clamp(7.4rem, 45%, 8.5rem);
	}

	.sbfp-art {
		height: 40%;
	}
}
