/* Rangura "Install App" popup */

.rpi-popup,
.rpi-popup * {
	box-sizing: border-box;
}

.rpi-popup {
	--rpi-primary: #FF6B00;
	--rpi-text: #222222;

	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 360px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #eee;
	border-top: 3px solid var(--rpi-primary);
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	padding: 18px;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--rpi-text);

	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.rpi-popup.rpi-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

@media (min-width: 420px) {
	.rpi-popup {
		left: auto;
		right: 20px;
		bottom: 20px;
		margin: 0;
	}
}

.rpi-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	padding: 4px;
}

.rpi-close:hover {
	color: var(--rpi-text);
}

.rpi-header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-right: 20px;
}

.rpi-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	flex: 0 0 auto;
	object-fit: contain;
}

.rpi-title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 2px;
}

.rpi-subtitle {
	font-size: 13px;
	color: #666;
	line-height: 1.4;
}

.rpi-share-glyph {
	display: inline-flex;
	vertical-align: -2px;
	margin: 0 2px;
	color: var(--rpi-primary);
}

.rpi-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 14px;
	padding: 11px 16px;
	border: none;
	border-radius: 8px;
	background: var(--rpi-text);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.rpi-action-btn:hover {
	filter: brightness(1.15);
}
