.mjsp-popup {
	position: fixed;
	bottom: 24px;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 320px;
	padding: 12px 40px 12px 12px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
	font-family: inherit;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}

.mjsp-popup.mjsp-left {
	left: 24px;
}

.mjsp-popup.mjsp-right {
	right: 24px;
}

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

.mjsp-popup__image {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 6px;
	overflow: hidden;
	background: #f4f4f4;
}

.mjsp-popup__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mjsp-popup__body {
	min-width: 0;
}

.mjsp-popup__text {
	font-size: 13px;
	line-height: 1.35;
	color: #222;
	margin: 0 0 2px;
}

.mjsp-popup__text a {
	color: var(--mjsp-accent, #7C3AED);
	font-weight: 600;
	text-decoration: none;
}

.mjsp-popup__text a:hover {
	text-decoration: underline;
}

.mjsp-popup__time {
	font-size: 11px;
	color: #888;
	margin: 0;
}

.mjsp-popup__close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 20px;
	height: 20px;
	border: none;
	background: transparent;
	color: #aaa;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.mjsp-popup__close:hover {
	color: #555;
}

@media (max-width: 600px) {
	.mjsp-popup.mjsp-hide-mobile {
		display: none !important;
	}

	.mjsp-popup {
		left: 12px;
		right: 12px;
		max-width: none;
		bottom: 12px;
	}
}
