/* Sticky Notification â€” v2.4 */

:root {
	--jx-sticky-radius: 1.25rem;
	--jx-sticky-offset: 1.25rem;
	--jx-sticky-padding: 1.05rem 1.15rem;
	--jx-sticky-shadow:
		0 22px 48px -28px rgba(15, 23, 42, 0.22),
		0 6px 14px -8px rgba(15, 23, 42, 0.08);
	--jx-sticky-speed: 320ms;
	--jx-sticky-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--jx-sticky-z: 10000;
	--jx-sticky-font: "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui, -apple-system,
		"Helvetica Neue", Arial, sans-serif;
	--jx-sticky-close-bg: transparent;
	--jx-sticky-close-hover: rgba(15, 23, 42, 0.06);
	--jx-sticky-progress: color-mix(in srgb, var(--jx-sticky-accent) 45%, transparent);
	--jx-sticky-accent: #1819ed;
	--jx-sticky-bg: #ffffff;
	--jx-sticky-text: #1e293b;
}

.jx-sticky-notification {
	display: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.jx-sticky-notification[hidden] {
	display: none !important;
}

div.jx-sticky-queue {
	box-sizing: border-box;
	position: fixed;
	z-index: var(--jx-sticky-z);
	display: block;
	max-width: calc(100vw - (var(--jx-sticky-offset) * 2));
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0 !important;
	outline: 0;
	border-radius: var(--jx-sticky-radius);
	box-shadow: var(--jx-sticky-shadow);
	font-family: var(--jx-sticky-font);
	-webkit-font-smoothing: antialiased;
	text-align: left !important;
	text-shadow: none !important;
	line-height: 1.5;
	letter-spacing: -0.01em;
	background: var(--jx-sticky-bg);
	background-attachment: scroll !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, 12px, 0) scale(0.985);
	transition:
		opacity var(--jx-sticky-speed) var(--jx-sticky-ease),
		transform var(--jx-sticky-speed) var(--jx-sticky-ease),
		visibility var(--jx-sticky-speed) ease,
		margin-top 220ms ease,
		margin-bottom 220ms ease;
	will-change: opacity, transform;
}

div.jx-sticky-queue.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

div.jx-sticky-queue.is-closing {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, 8px, 0) scale(0.98);
}

div.jx-sticky-queue.top-left,
div.jx-sticky-queue.top-right {
	transform: translate3d(0, -16px, 0);
}

div.jx-sticky-queue.bottom-left,
div.jx-sticky-queue.bottom-right {
	transform: translate3d(0, 16px, 0);
}

div.jx-sticky-queue.top-left.is-visible,
div.jx-sticky-queue.top-right.is-visible,
div.jx-sticky-queue.bottom-left.is-visible,
div.jx-sticky-queue.bottom-right.is-visible {
	transform: none;
}

div.jx-sticky-queue.jx-sticky-anim-fade {
	transform: none;
}

div.jx-sticky-queue.jx-sticky-anim-scale {
	transform: scale(0.92);
}

div.jx-sticky-queue.jx-sticky-anim-scale.is-visible {
	transform: none;
}

div.jx-sticky-queue.jx-sticky-anim-none,
div.jx-sticky-queue.jx-sticky-anim-none.is-closing {
	transition: none;
	transform: none;
}

.jx-sticky-inner {
	display: block;
	position: relative;
	padding: var(--jx-sticky-padding);
	text-shadow: none !important;
}

.jx-sticky-layout {
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
}

.jx-sticky-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	margin-top: 0.05rem;
	border: 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--jx-sticky-accent) 10%, transparent);
	color: var(--jx-sticky-accent);
	box-shadow: none;
}

.jx-sticky-icon svg {
	width: 1.05rem;
	height: 1.05rem;
	display: block;
}

.jx-sticky-body {
	flex: 1 1 auto;
	min-width: 0;
	padding-right: 1.25rem;
}

.jx-sticky-title {
	font-size: 0.92rem;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 0.2rem;
	color: #0f172a;
	text-shadow: none !important;
	border: 0;
	box-shadow: none;
}

.jx-sticky-message {
	font-size: 0.875rem;
	font-weight: 450;
	color: #64748b;
	max-height: min(52vh, 360px);
	overflow: auto;
	scrollbar-width: thin;
	text-shadow: none !important;
}

.jx-sticky-is-facebook .jx-sticky-message {
	max-height: none !important;
	height: auto !important;
	overflow: visible !important;
}

.jx-sticky-message *,
.jx-sticky-title,
.jx-sticky-cta,
.jx-sticky-close {
	text-shadow: none !important;
}

.jx-sticky-message iframe,
.jx-sticky-message video,
.jx-sticky-message embed,
.jx-sticky-message object {
	display: block;
	max-width: 100% !important;
	width: 100% !important;
	max-height: min(42vh, 280px) !important;
	height: min(42vh, 280px) !important;
	border: 0;
	border-radius: 0.65rem;
	overflow: hidden;
}

/* Facebook page plugin must keep its configured height â€” do not clamp */
.jx-sticky-is-facebook .jx-sticky-message iframe,
.jx-sticky-fb iframe {
	max-height: none !important;
	height: var(--jx-sticky-fb-height, 500px) !important;
	min-height: var(--jx-sticky-fb-height, 500px) !important;
	width: 100% !important;
	max-width: 100% !important;
}

.jx-sticky-message p:first-child {
	margin-top: 0;
}

.jx-sticky-message p:last-child {
	margin-bottom: 0;
}

.jx-sticky-message a {
	color: var(--jx-sticky-accent);
	text-decoration: underline;
	text-underline-offset: 0.15em;
	opacity: 1;
}

.jx-sticky-message img {
	max-width: 100%;
	height: auto;
	border-radius: 0.65rem;
}

.jx-sticky-actions {
	margin-top: 0.75rem;
}

.jx-sticky-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 2.1rem;
	padding: 0.45rem 0.95rem;
	border: 0;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 650;
	line-height: 1;
	letter-spacing: -0.01em;
	text-decoration: none !important;
	cursor: pointer;
	transition:
		transform 0.16s ease,
		background-color 0.16s ease,
		color 0.16s ease,
		box-shadow 0.16s ease;
}

.jx-sticky-cta__arrow {
	width: 0.85rem;
	height: 0.85rem;
	display: block;
	flex: 0 0 auto;
}

.jx-sticky-cta:hover {
	transform: translateY(-1px);
	opacity: 1;
}

.jx-sticky-cta--solid {
	background: var(--jx-sticky-accent);
	color: #ffffff;
	box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--jx-sticky-accent) 75%, transparent);
}

.jx-sticky-cta--solid:hover {
	filter: brightness(1.05);
}

.jx-sticky-cta--outline {
	background: transparent;
	color: var(--jx-sticky-accent);
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--jx-sticky-accent) 45%, transparent);
}

.jx-sticky-cta--soft {
	background: color-mix(in srgb, var(--jx-sticky-accent) 10%, transparent);
	color: var(--jx-sticky-accent);
	box-shadow: none;
}

.jx-sticky-close-dark {
	--jx-sticky-close-bg: rgba(15, 23, 42, 0.05);
	--jx-sticky-close-hover: rgba(15, 23, 42, 0.1);
}

.jx-sticky-close-dark .jx-sticky-icon {
	background: color-mix(in srgb, var(--jx-sticky-accent) 12%, transparent);
	color: var(--jx-sticky-accent);
}

.jx-sticky-close-dark .jx-sticky-cta--solid {
	background: var(--jx-sticky-accent);
	color: #ffffff;
}

.jx-sticky-close-dark .jx-sticky-cta--soft {
	background: color-mix(in srgb, var(--jx-sticky-accent) 10%, transparent);
	color: var(--jx-sticky-accent);
}

.jx-sticky-fb {
	margin: 0;
	line-height: 0;
	overflow: visible;
	border-radius: 0.75rem;
	background: #f8fafc;
}

.jx-sticky-fb iframe {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	border: 0 !important;
}

.jx-sticky-is-facebook.jx-sticky-queue,
.jx-sticky-is-facebook .jx-sticky-inner,
.jx-sticky-is-facebook .jx-sticky-message {
	overflow: visible;
}

.jx-sticky-is-facebook.jx-sticky-queue {
	overflow: hidden; /* keep radius, height is sized to fit */
}

.jx-sticky-is-facebook .jx-sticky-inner {
	padding: 0.55rem;
}

.jx-sticky-is-facebook .jx-sticky-body {
	padding-right: 0;
}

.jx-sticky-is-facebook .jx-sticky-close {
	top: 0.45rem;
	right: 0.45rem;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
	color: #334155;
}

.jx-sticky-is-facebook .jx-sticky-message {
	max-height: none;
	overflow: visible;
	color: inherit;
}

.jx-sticky-fb-empty {
	margin: 0;
	padding: 0.75rem 0;
	font-size: 0.9rem;
	color: #64748b;
}

/* Dark preset close / progress */
.jx-sticky-preset-dark {
	--jx-sticky-close-bg: rgba(255, 255, 255, 0.14);
	--jx-sticky-close-hover: rgba(255, 255, 255, 0.24);
	--jx-sticky-progress: rgba(255, 255, 255, 0.4);
}

.jx-sticky-preset-dark .jx-sticky-title {
	color: #f8fafc;
}

.jx-sticky-preset-dark .jx-sticky-message {
	color: #cbd5e1;
}

.jx-sticky-preset-dark .jx-sticky-icon {
	background: rgba(255, 255, 255, 0.12);
	color: inherit;
}

.jx-sticky-close {
	position: absolute;
	top: 0.7rem;
	right: 0.7rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--jx-sticky-close-bg);
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	line-height: 1;
	opacity: 0.92;
	transition:
		background-color 0.18s ease,
		opacity 0.18s ease,
		transform 0.18s ease;
}

.jx-sticky-close svg {
	display: block;
	width: 0.9rem;
	height: 0.9rem;
	pointer-events: none;
}

.jx-sticky-close:hover,
.jx-sticky-close:focus-visible {
	background: var(--jx-sticky-close-hover);
	opacity: 1;
	text-decoration: none;
	transform: scale(1.05);
	outline: none;
}

.jx-sticky-close:focus-visible {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--jx-sticky-accent) 35%, transparent);
}

.jx-sticky-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: transparent;
	overflow: hidden;
	pointer-events: none;
}

.jx-sticky-progress__bar {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--jx-sticky-progress);
	transform-origin: left center;
	transform: scaleX(1);
	will-change: transform;
}

.jx-sticky-progress__bar.is-running {
	animation-name: jx-sticky-progress;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}

@keyframes jx-sticky-progress {
	from {
		transform: scaleX(1);
	}
	to {
		transform: scaleX(0);
	}
}

.top-right {
	top: max(var(--jx-sticky-offset), env(safe-area-inset-top, 0px));
	right: max(var(--jx-sticky-offset), env(safe-area-inset-right, 0px));
}

.top-left {
	top: max(var(--jx-sticky-offset), env(safe-area-inset-top, 0px));
	left: max(var(--jx-sticky-offset), env(safe-area-inset-left, 0px));
}

/* Use CSS `translate` for X-centering so show/hide `transform` anims cannot break centering. */
div.jx-sticky-queue.top-center {
	top: max(var(--jx-sticky-offset), env(safe-area-inset-top, 0px));
	left: 50%;
	right: auto;
	translate: -50% 0;
	transform: translate3d(0, -16px, 0);
}

div.jx-sticky-queue.top-center.is-visible {
	transform: none;
}

div.jx-sticky-queue.top-center.is-closing {
	transform: translate3d(0, -12px, 0);
}

.bottom-right {
	bottom: max(var(--jx-sticky-offset), env(safe-area-inset-bottom, 0px));
	right: max(var(--jx-sticky-offset), env(safe-area-inset-right, 0px));
}

.bottom-left {
	bottom: max(var(--jx-sticky-offset), env(safe-area-inset-bottom, 0px));
	left: max(var(--jx-sticky-offset), env(safe-area-inset-left, 0px));
}

div.jx-sticky-queue.bottom-center {
	bottom: max(var(--jx-sticky-offset), env(safe-area-inset-bottom, 0px));
	left: 50%;
	right: auto;
	translate: -50% 0;
	transform: translate3d(0, 16px, 0);
}

div.jx-sticky-queue.bottom-center.is-visible {
	transform: none;
}

div.jx-sticky-queue.bottom-center.is-closing {
	transform: translate3d(0, 12px, 0);
}

.jx-sticky-queue.jx-sticky-glass {
	-webkit-backdrop-filter: blur(20px) saturate(1.2);
	backdrop-filter: blur(20px) saturate(1.2);
}

html.jx-sticky-fullscreen-open,
html.jx-sticky-fullscreen-open body {
	overflow: hidden !important;
}

.jx-sticky-fullscreen.jx-sticky-queue {
	inset: 0;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	max-width: none !important;
	height: 100vh !important;
	height: 100dvh !important;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 !important;
	padding: clamp(1.25rem, 4vw, 3rem) !important;
	border: 0 !important;
	border-radius: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
	background-color: #0b1220;
	background-size: cover !important;
	background-position: center center !important;
	transform: none !important;
	isolation: isolate;
}

.jx-sticky-fullscreen.jx-sticky-queue::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(8, 12, 24, 0.55) 0%, rgba(8, 12, 24, 0.72) 100%),
		rgba(8, 12, 24, 0.35);
}

.jx-sticky-fullscreen.jx-sticky-queue.is-visible,
.jx-sticky-fullscreen.jx-sticky-queue.is-closing,
.jx-sticky-fullscreen.jx-sticky-queue.jx-sticky-anim-scale,
.jx-sticky-fullscreen.jx-sticky-queue.jx-sticky-anim-fade {
	transform: none !important;
}

.jx-sticky-fullscreen.jx-sticky-queue > .jx-sticky-inner,
.jx-sticky-fullscreen.jx-sticky-queue > .jx-sticky-close,
.jx-sticky-fullscreen.jx-sticky-queue > .jx-sticky-progress {
	position: relative;
	z-index: 1;
}

.jx-sticky-fullscreen.jx-sticky-queue > .jx-sticky-close {
	position: absolute;
	z-index: 3;
}

.jx-sticky-fullscreen .jx-sticky-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.jx-sticky-fullscreen .jx-sticky-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: min(42rem, 100%);
	max-width: 42rem;
	margin: 0 auto;
	text-align: center;
	color: #fff;
}

.jx-sticky-fullscreen .jx-sticky-body {
	padding-right: 0;
	align-items: center;
	text-align: center;
}

.jx-sticky-fullscreen .jx-sticky-title,
.jx-sticky-fullscreen .jx-sticky-message,
.jx-sticky-fullscreen .jx-sticky-message * {
	color: #fff !important;
	text-align: center;
}

.jx-sticky-fullscreen .jx-sticky-message {
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	line-height: 1.55;
	max-width: 36rem;
	margin-inline: auto;
}

.jx-sticky-fullscreen .jx-sticky-icon {
	margin-inline: auto;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
}

.jx-sticky-fullscreen.jx-sticky-queue > .jx-sticky-close,
.jx-sticky-fullscreen .jx-sticky-close {
	position: absolute;
	top: max(1rem, env(safe-area-inset-top, 0px));
	right: max(1rem, env(safe-area-inset-right, 0px));
	left: auto;
	bottom: auto;
	z-index: 3;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.jx-sticky-fullscreen .jx-sticky-close:hover,
.jx-sticky-fullscreen .jx-sticky-close:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.jx-sticky-fullscreen .jx-sticky-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	z-index: 2;
}

.jx-sticky-fullscreen .jx-sticky-cta {
	margin-top: 0.35rem;
}

/* Light preset icon/CTA already handled via jx-sticky-close-dark */

@media (max-width: 640px) {
	:root {
		--jx-sticky-offset: 0.75rem;
		--jx-sticky-radius: 1rem;
		--jx-sticky-padding: 1rem 1.1rem;
	}

	div.jx-sticky-queue:not(.jx-sticky-fullscreen) {
		width: calc(100vw - (var(--jx-sticky-offset) * 2)) !important;
		max-width: calc(100vw - (var(--jx-sticky-offset) * 2));
	}

	.top-center,
	.bottom-center {
		width: calc(100vw - (var(--jx-sticky-offset) * 2)) !important;
	}

	.jx-sticky-layout {
		gap: 0.7rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	div.jx-sticky-queue,
	.jx-sticky-close,
	.jx-sticky-cta {
		transition: none !important;
		animation: none !important;
		transform: none !important;
	}

	.jx-sticky-progress__bar.is-running {
		animation: none !important;
		transform: scaleX(0);
		transition: transform linear;
	}
}

/* Show / hide directional motion */
@keyframes jx-sticky-fade-in-down {
	from { opacity: 0; transform: translate3d(0, -20px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes jx-sticky-fade-in-up {
	from { opacity: 0; transform: translate3d(0, 20px, 0); }
	to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes jx-sticky-fade-out-up {
	from { opacity: 1; transform: translate3d(0, 0, 0); }
	to { opacity: 0; transform: translate3d(0, -20px, 0); }
}
@keyframes jx-sticky-fade-out-down {
	from { opacity: 1; transform: translate3d(0, 0, 0); }
	to { opacity: 0; transform: translate3d(0, 20px, 0); }
}
.jx-sticky-queue.jx-sticky--in-fadeInDown { animation: jx-sticky-fade-in-down var(--jx-sticky-anim-dur, var(--jx-sticky-speed)) var(--jx-sticky-ease) forwards; transform: none; }
.jx-sticky-queue.jx-sticky--in-fadeInUp { animation: jx-sticky-fade-in-up var(--jx-sticky-anim-dur, var(--jx-sticky-speed)) var(--jx-sticky-ease) forwards; transform: none; }
.jx-sticky-queue.jx-sticky--out-fadeOutUp { animation: jx-sticky-fade-out-up var(--jx-sticky-anim-dur, var(--jx-sticky-speed)) var(--jx-sticky-ease) forwards; }
.jx-sticky-queue.jx-sticky--out-fadeOutDown { animation: jx-sticky-fade-out-down var(--jx-sticky-anim-dur, var(--jx-sticky-speed)) var(--jx-sticky-ease) forwards; }
.jx-sticky-queue.jx-sticky-show-fade { transform: none; }
.jx-sticky-queue.jx-sticky-show-none,
.jx-sticky-queue.jx-sticky-hide-none.is-closing { transition: none !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.jx-sticky-queue.jx-sticky--in-fadeInDown,
	.jx-sticky-queue.jx-sticky--in-fadeInUp,
	.jx-sticky-queue.jx-sticky--out-fadeOutUp,
	.jx-sticky-queue.jx-sticky--out-fadeOutDown {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

