/* Nyrox Silent Witch bubble — user_id 1 only
   Soft independent star twinkles on deep leather brown */

@keyframes nyroxTwinkleSharp {
	0%, 100% { opacity: 0.25; transform: scale(0.9); }
	35% { opacity: 1; transform: scale(1.2); }
	55% { opacity: 0.4; transform: scale(0.95); }
	75% { opacity: 0.85; transform: scale(1.1); }
}
@keyframes nyroxTwinkleGlow {
	0%, 100% { opacity: 0.2; }
	45% { opacity: 0.55; }
	70% { opacity: 0.28; }
}

#show_chat li.chat_log[data-user="1"] .mbubble,
li.privlog:has(img.get_info[data="1"]) .hunter_private,
li.privlog:has(img.get_info[data="1"]) .target_private {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	color: #f0e6d2 !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65) !important;
	border: 1px solid rgba(201, 168, 108, 0.4) !important;
	box-shadow:
		inset 0 1px 0 rgba(245, 240, 232, 0.05),
		0 0 0 1px rgba(0, 0, 0, 0.25);
	background: linear-gradient(168deg, #2a2218 0%, #1f1913 48%, #1a1510 100%) !important;
}

/* Soft glow sparks — behind text */
#show_chat li.chat_log[data-user="1"] .mbubble::before,
li.privlog:has(img.get_info[data="1"]) .hunter_private::before,
li.privlog:has(img.get_info[data="1"]) .target_private::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: -1;
	background:
		radial-gradient(circle 3px at 16% 26%, rgba(201, 168, 108, 0.5), transparent 72%),
		radial-gradient(circle 2.5px at 74% 20%, rgba(245, 240, 232, 0.35), transparent 72%),
		radial-gradient(circle 3.5px at 56% 70%, rgba(201, 168, 108, 0.42), transparent 72%),
		radial-gradient(circle 2.5px at 28% 80%, rgba(232, 213, 168, 0.38), transparent 72%),
		radial-gradient(circle 3px at 90% 56%, rgba(201, 168, 108, 0.36), transparent 72%);
	filter: blur(1.8px);
	animation: nyroxTwinkleGlow 8s ease-in-out infinite;
	animation-delay: -2.5s;
}

/* Sharp tiny stars — behind text, different rhythm */
#show_chat li.chat_log[data-user="1"] .mbubble::after,
li.privlog:has(img.get_info[data="1"]) .hunter_private::after,
li.privlog:has(img.get_info[data="1"]) .target_private::after {
	content: "";
	position: absolute;
	width: 1.5px;
	height: 1.5px;
	left: 12%;
	top: 30%;
	border-radius: 50%;
	pointer-events: none;
	z-index: -1;
	background: rgba(245, 240, 232, 0.95);
	box-shadow:
		0 0 1.5px 0.4px rgba(245, 240, 232, 0.7),
		38px -6px 0 0.15px rgba(201, 168, 108, 0.95),
		38px -6px 1.5px 0.4px rgba(201, 168, 108, 0.5),
		72px 16px 0 0 rgba(245, 240, 232, 0.9),
		72px 16px 1.2px 0.35px rgba(245, 240, 232, 0.45),
		16px 26px 0 0.1px rgba(232, 213, 168, 0.95),
		16px 26px 1.3px 0.35px rgba(232, 213, 168, 0.45),
		98px 4px 0 0 rgba(245, 240, 232, 0.85),
		98px 4px 1px 0.3px rgba(245, 240, 232, 0.4),
		54px 34px 0 0.15px rgba(201, 168, 108, 0.9),
		54px 34px 1.4px 0.4px rgba(201, 168, 108, 0.45),
		118px 28px 0 0 rgba(245, 240, 232, 0.8),
		118px 28px 1px 0.3px rgba(245, 240, 232, 0.35),
		-4px 12px 0 0.1px rgba(201, 168, 108, 0.85),
		-4px 12px 1.2px 0.35px rgba(201, 168, 108, 0.4);
	filter: blur(0.25px);
	animation: nyroxTwinkleSharp 5.2s ease-in-out infinite;
	animation-delay: -0.8s;
}

#show_chat li.chat_log[data-user="1"] .mbubble a,
li.privlog:has(img.get_info[data="1"]) .hunter_private a,
li.privlog:has(img.get_info[data="1"]) .target_private a {
	color: #e8d5a8 !important;
}

@media (prefers-reduced-motion: reduce) {
	#show_chat li.chat_log[data-user="1"] .mbubble::before,
	#show_chat li.chat_log[data-user="1"] .mbubble::after,
	li.privlog:has(img.get_info[data="1"]) .hunter_private::before,
	li.privlog:has(img.get_info[data="1"]) .hunter_private::after,
	li.privlog:has(img.get_info[data="1"]) .target_private::before,
	li.privlog:has(img.get_info[data="1"]) .target_private::after {
		animation: none;
		opacity: 0.35;
		transform: none;
	}
}
