.tsp-stack {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 99999;
	width: 320px;
	height: 0; /* las tarjetas se posicionan absolutas dentro */
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.tsp-stack.tsp-right {
	left: auto;
	right: 20px;
}

.tsp-popup {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	padding: 12px 16px;
	transform-origin: bottom center;
	transform: translateY(24px) scale(0.92);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.tsp-popup.tsp-visible {
	opacity: 1;
	pointer-events: auto;
}

.tsp-popup img {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	background: #f2f2f2;
}

.tsp-popup-text {
	flex: 1;
	line-height: 1.35;
}

.tsp-popup-text .tsp-title {
	font-size: 13.5px;
	font-weight: 600;
	color: #111;
	margin: 0 0 2px 0;
}

.tsp-popup-text .tsp-title .tsp-bolt {
	margin-left: 4px;
}

.tsp-popup-text .tsp-time {
	font-size: 12px;
	color: #888;
	margin: 0;
}

.tsp-popup-close {
	position: absolute;
	top: 6px;
	right: 8px;
	border: none;
	background: transparent;
	color: #bbb;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	padding: 2px;
}

.tsp-popup-close:hover {
	color: #666;
}

@media (max-width: 480px) {
	.tsp-stack {
		left: 12px;
		right: 12px;
		width: auto;
	}
	.tsp-stack.tsp-right {
		right: 12px;
	}
}
