.zuggu-install-banner {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	max-width: 460px;
	margin: 0 auto;
	background: var(--zuggu-banner-bg, #1f1130);
	color: var(--zuggu-banner-text, #ffffff);
	border-radius: 16px;
	padding: 14px 14px 14px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	z-index: 999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.zuggu-install-banner[hidden] { display: none; }
.zuggu-install-text { flex: 1; font-size: var(--zuggu-banner-font-size, 13.5px); line-height: 1.35; }
.zuggu-install-btn {
	background: var(--zuggu-banner-btn-bg, #7c3aed);
	color: var(--zuggu-banner-btn-text, #ffffff);
	border: none;
	border-radius: 999px;
	padding: 9px 16px;
	font-weight: 600;
	font-size: var(--zuggu-banner-font-size, 13.5px);
	cursor: pointer;
	white-space: nowrap;
}
.zuggu-install-dismiss {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 14px;
	cursor: pointer;
	padding: 4px;
}

.zuggu-ios-modal {
	position: fixed;
	inset: 0;
	background: rgba(20, 10, 35, 0.55);
	display: flex;
	align-items: flex-end;
	z-index: 1000;
}
.zuggu-ios-modal[hidden] { display: none; }
.zuggu-ios-modal-inner {
	background: #fff;
	color: #1f1130;
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
	border-radius: 20px 20px 0 0;
	padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.zuggu-ios-modal-inner p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; }
.zuggu-ios-share-icon { font-size: 16px; }

/* Splash screen — shown only when launched as an installed app */
.zuggu-splash {
	position: fixed;
	inset: 0;
	background: var(--zuggu-splash-bg, #7c3aed);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	transition: opacity 0.35s ease;
}
.zuggu-splash[hidden] { display: none; }
.zuggu-splash.zuggu-splash-fade { opacity: 0; pointer-events: none; }
.zuggu-splash img {
	width: 96px;
	height: 96px;
	border-radius: 22px;
	object-fit: contain;
	animation: zuggu-splash-pulse 1.4s ease-in-out infinite;
}
@keyframes zuggu-splash-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(0.94); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
	.zuggu-splash img { animation: none; }
}
