.vf-app-chip[hidden],
.vf-app-modal[hidden] {
	display: none !important;
}

.vf-app-chip {
	position: sticky;
	top: 0;
	z-index: 1040;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px 8px 6px;
	background: #fff;
	border-bottom: 1px solid #e3e6eb;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vf-app-chip-close {
	background: none;
	border: 0;
	color: #6b7280;
	font-size: 22px;
	line-height: 1;
	padding: 0 4px;
}

.vf-app-chip-icon {
	width: 36px;
	height: 36px;
	border-radius: 9px;
	object-fit: contain;
	background: #eef3fb;
	padding: 4px;
}

.vf-app-chip-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.vf-app-chip-text strong {
	font-size: 14px;
	color: #222;
}

.vf-app-chip-text span {
	font-size: 12px;
	color: #6b7280;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vf-app-chip-btn {
	background: #1E53A5;
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.vf-app-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.vf-app-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	animation: vf-app-fade 0.2s ease-out;
}

.vf-app-modal-sheet {
	position: relative;
	width: 100%;
	max-width: 480px;
	background: #fff;
	border-radius: 20px 20px 0 0;
	padding-bottom: env(safe-area-inset-bottom);
	animation: vf-app-slide 0.3s ease-out;
}

.vf-app-modal-x {
	position: absolute;
	top: -60px;
	left: 50%;
	transform: translateX(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: #222;
	color: #fff;
	font-size: 26px;
	line-height: 1;
}

.vf-app-modal-hero {
	height: 140px;
	border-radius: 20px 20px 0 0;
	background: linear-gradient(135deg, #1E53A5 0%, #209FCF 100%);
	position: relative;
}

.vf-app-modal-logo {
	position: absolute;
	left: 50%;
	bottom: -44px;
	transform: translateX(-50%);
	width: 96px;
	height: 96px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

.vf-app-modal-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.vf-app-modal-body {
	padding: 60px 24px 20px;
	text-align: center;
}

.vf-app-modal-kicker {
	margin: 0;
	font-size: 18px;
	color: #222;
}

.vf-app-modal-body h2 {
	margin: 2px 0 8px;
	font-size: 30px;
	font-weight: 800;
	color: #222;
}

.vf-app-modal-perks {
	margin: 0 0 28px;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #6b7280;
}

.vf-app-modal-btn {
	display: block;
	width: 100%;
	background: #1E53A5;
	color: #fff;
	border: 0;
	border-radius: 30px;
	padding: 15px;
	font-size: 18px;
	font-weight: 600;
}

.vf-app-modal-btn:hover,
.vf-app-modal-btn:active,
.vf-app-chip-btn:hover,
.vf-app-chip-btn:active {
	background: #209FCF;
}

.vf-app-modal-web {
	display: block;
	width: 100%;
	margin-top: 10px;
	background: none;
	border: 0;
	padding: 12px;
	color: #1E53A5;
	font-size: 16px;
	font-weight: 600;
}

.vf-app-modal-web:hover,
.vf-app-modal-web:active {
	color: #209FCF;
}

body.vf-app-modal-open {
	overflow: hidden;
}

@keyframes vf-app-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes vf-app-slide {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}

@media (min-width: 992px) {
	.vf-app-chip,
	.vf-app-modal {
		display: none !important;
	}
}
