/* Founding-seller first-visit popup — Direction A. Hidden until JS opens it. */
.pb-fsp[hidden] { display: none; }

.pb-fsp {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.pb-fsp__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 22, 24, 0.55);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.pb-fsp.is-open .pb-fsp__overlay { opacity: 1; }

.pb-fsp__card {
	position: relative;
	width: 100%;
	max-width: 440px;
	background: #ffffff;
	border-radius: 16px;
	padding: 38px 34px 30px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	text-align: center;
	font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	transform: translateY(14px) scale(0.98);
	opacity: 0;
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}
.pb-fsp.is-open .pb-fsp__card { transform: translateY(0) scale(1); opacity: 1; }

.pb-fsp__close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 34px;
	height: 34px;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #9a9a98;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
}
.pb-fsp__close:hover { color: #1f1f1f; background: #f2f1ee; }

.pb-fsp__eyebrow {
	font-size: 12px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--pb-primary, #2095b8);
	font-weight: 600;
}

.pb-fsp__title {
	margin: 12px 0 0;
	font-size: 26px;
	line-height: 1.2;
	color: #1f1f1f;
	font-weight: 700;
}

.pb-fsp__body {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: #54545a;
}

.pb-fsp__cta {
	display: inline-block;
	margin: 24px 0 0;
	padding: 15px 34px;
	background: var(--pb-primary, #2095b8);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 999px;
	transition: background 0.15s ease;
}
.pb-fsp__cta:hover { background: var(--pb-primary-dark, #1a7a98); color: #fff; }

.pb-fsp__later {
	display: block;
	width: 100%;
	margin: 14px 0 0;
	padding: 6px;
	border: 0;
	background: transparent;
	color: #9a9a98;
	font-size: 13px;
	cursor: pointer;
}
.pb-fsp__later:hover { color: #54545a; }

/* Mobile: a bottom-anchored partial card (never a full-screen takeover —
   keeps it inside Google's "reasonable space + easily dismissible" guidance). */
@media (max-width: 560px) {
	.pb-fsp { align-items: flex-end; padding: 0; }
	.pb-fsp__card {
		max-width: 100%;
		border-radius: 18px 18px 0 0;
		padding: 32px 24px 26px;
		transform: translateY(100%);
	}
	.pb-fsp.is-open .pb-fsp__card { transform: translateY(0); }
	.pb-fsp__title { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
	.pb-fsp__overlay,
	.pb-fsp__card { transition: none; }
}
