.hbmi-card {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 999999;
	max-width: 520px;
	margin: 0 auto;
	padding: 18px;
	border-radius: 20px;
	background:
		radial-gradient(circle at 12% 0%, rgba(91,220,211,.20), transparent 32%),
		linear-gradient(145deg, #fff 0%, #f3fbfd 100%);
	border: 1px solid rgba(18,58,86,.12);
	box-shadow: 0 20px 55px rgba(12,43,66,.24);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #123A56;
	transform: translateY(24px) scale(.985);
	opacity: 0;
	transition: opacity .24s ease, transform .24s ease;
}

.hbmi-card.hbmi-show {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.hbmi-card[hidden] { display: none !important; }

.hbmi-top {
	display: flex;
	gap: 14px;
	align-items: center;
	padding-right: 25px;
}

.hbmi-icon {
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 7px 18px rgba(18,58,86,.14);
}

.hbmi-heading {
	font-size: 19px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.01em;
}

.hbmi-text {
	margin-top: 5px;
	font-size: 14px;
	line-height: 1.4;
	color: #476678;
}

.hbmi-close {
	position: absolute;
	right: 10px;
	top: 8px;
	border: 0;
	background: transparent;
	color: #668292;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 5px 8px;
}

.hbmi-ios-safari,
.hbmi-ios-browser,
.hbmi-ios-other-browser,
.hbmi-android-help {
	margin-top: 14px;
	padding: 13px 14px;
	border-radius: 14px;
	background: rgba(18,58,86,.055);
	font-size: 13px;
	line-height: 1.45;
}

.hbmi-help-title {
	font-weight: 800;
	font-size: 14px;
	margin-bottom: 7px;
}

.hbmi-help-copy {
	margin: 0;
	color: #34596f;
}

.hbmi-ios-steps {
	display: grid;
	gap: 8px;
}

.hbmi-step {
	display: flex;
	align-items: center;
	gap: 9px;
}

.hbmi-step-icon {
	display: inline-flex;
	width: 24px;
	height: 24px;
	min-width: 24px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #123A56;
	color: #fff;
	font-weight: 800;
	font-size: 12px;
}

.hbmi-share-symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-left: 2px;
	border: 1px solid rgba(18,58,86,.25);
	border-radius: 6px;
	font-weight: 900;
	line-height: 1;
}

.hbmi-copy-link {
	width: 100%;
	margin-top: 11px;
	min-height: 42px;
	border: 1px solid rgba(18,58,86,.20);
	border-radius: 11px;
	background: #fff;
	color: #123A56;
	font-weight: 800;
	cursor: pointer;
}

.hbmi-copy-status {
	margin-top: 7px;
	font-size: 12px;
	color: #2f6a64;
	font-weight: 700;
}

.hbmi-help-line + .hbmi-help-line {
	margin-top: 3px;
}

.hbmi-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 9px;
	margin-top: 15px;
}

.hbmi-primary,
.hbmi-secondary {
	min-height: 44px;
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.hbmi-primary {
	border: 1px solid #123A56;
	background: #123A56;
	color: #fff;
	box-shadow: 0 8px 20px rgba(18,58,86,.18);
}

.hbmi-secondary {
	border: 1px solid rgba(18,58,86,.20);
	background: #fff;
	color: #123A56;
}

.hbmi-primary[hidden] {
	display: none !important;
}

.hbmi-primary[hidden] + .hbmi-secondary {
	grid-column: 1 / -1;
}

.hbmi-link {
	grid-column: 1 / -1;
	border: 0;
	background: transparent;
	color: #5b7381;
	text-decoration: underline;
	font-size: 12px;
	cursor: pointer;
	padding: 4px;
}

@media (min-width: 1025px) {
	.hbmi-card { display: none !important; }
}

@media (max-width: 420px) {
	.hbmi-card {
		left: 10px;
		right: 10px;
		bottom: 10px;
		padding: 15px;
		border-radius: 17px;
	}
	.hbmi-icon {
		width: 50px;
		height: 50px;
		flex-basis: 50px;
	}
	.hbmi-heading { font-size: 17px; }
	.hbmi-text { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	.hbmi-card { transition: none; }
}
