.fmh-ck {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 20px;
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.fmh-ck[hidden],
.fmh-ck.is-closed {
	display: none !important;
}

.fmh-ck.is-open {
	display: flex;
}

.fmh-ck__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.28);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.fmh-ck__panel {
	position: relative;
	width: min(560px, 100%);
	padding: 22px 22px 18px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 22px;
	background:
		radial-gradient(420px 120px at 0% 0%, rgba(0, 151, 178, 0.22), transparent 60%),
		rgba(255, 255, 255, 0.9);
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
	color: #111827;
	animation: fmh-ck-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fmh-ck__eyebrow {
	margin: 0 0 6px;
	color: #2b538c;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fmh-ck__panel h2 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	font-weight: 750;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.fmh-ck__text {
	margin: 0;
	color: #4b5563;
	font-size: 0.95rem;
	line-height: 1.5;
}

.fmh-ck__policy {
	margin: 10px 0 0;
}

.fmh-ck__policy a {
	color: #2b538c;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.fmh-ck__policy a:hover {
	text-decoration: underline;
}

.fmh-ck__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 18px;
}

.fmh-ck__btn {
	height: 42px;
	padding: 0 16px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
}

.fmh-ck__btn--ghost {
	background: #fff;
	border-color: #e5e7eb;
	color: #111827;
}

.fmh-ck__btn--ghost:hover {
	border-color: #0097b2;
	color: #2b538c;
}

.fmh-ck__btn--primary {
	background: linear-gradient(145deg, #0097b2, #2b538c);
	color: #fff;
	box-shadow: 0 8px 18px rgba(43, 83, 140, 0.28);
}

.fmh-ck__btn--primary:hover {
	filter: brightness(0.96);
}

@keyframes fmh-ck-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 600px) {
	.fmh-ck {
		padding: 12px;
		align-items: flex-end;
	}

	.fmh-ck__actions {
		flex-direction: column-reverse;
	}

	.fmh-ck__btn {
		width: 100%;
	}
}
