/* TuServerMu Thanks Shop - premium username effects.
 * Loaded globally with its own filemtime seed so Cloudflare cannot keep the
 * former static glow rules after an effect is upgraded. */

html body .tsmu-username-style--glow-sky,
html body .tsmu-username-style--glow-gold,
html body .tsmu-username-style--glow-violet,
html body .tsmu-username-style--glow-flame,
html body .tsmu-username-style--glow-inferno,
html body .tsmu-username-style--glow-ember,
html body .tsmu-username-style--glow-molten,
html body .tsmu-username-style--glow-cosmic {
	--tsmu-name-1: #67e8f9;
	--tsmu-name-2: #2563eb;
	--tsmu-name-3: #f8fafc;
	--tsmu-name-shadow: rgba(34, 211, 238, 0.78);
	--tsmu-name-speed: 3.8s;
	position: relative;
	display: inline-block;
	isolation: isolate;
	padding: 0 0.09em;
	line-height: 1.18;
	vertical-align: baseline;
	animation: tsmu-username-aura-breathe var(--tsmu-name-speed) ease-in-out infinite !important;
	will-change: filter;
}

html body .tsmu-username-style--glow-sky,
html body .tsmu-username-style--glow-sky a,
html body .tsmu-username-style--glow-gold,
html body .tsmu-username-style--glow-gold a,
html body .tsmu-username-style--glow-violet,
html body .tsmu-username-style--glow-violet a,
html body .tsmu-username-style--glow-flame,
html body .tsmu-username-style--glow-flame a,
html body .tsmu-username-style--glow-inferno,
html body .tsmu-username-style--glow-inferno a,
html body .tsmu-username-style--glow-ember,
html body .tsmu-username-style--glow-ember a,
html body .tsmu-username-style--glow-molten,
html body .tsmu-username-style--glow-molten a,
html body .tsmu-username-style--glow-cosmic,
html body .tsmu-username-style--glow-cosmic a {
	color: var(--tsmu-name-2) !important;
	background-image: linear-gradient(105deg, var(--tsmu-name-1) 0%, var(--tsmu-name-3) 26%, var(--tsmu-name-2) 52%, var(--tsmu-name-1) 76%, var(--tsmu-name-3) 100%) !important;
	background-size: 260% 100% !important;
	background-position: 0 50%;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	text-shadow: 0 0 4px var(--tsmu-name-shadow), 0 0 11px var(--tsmu-name-shadow), 0 0 20px color-mix(in srgb, var(--tsmu-name-shadow) 60%, transparent) !important;
	animation: tsmu-username-gradient-flow var(--tsmu-name-speed) linear infinite !important;
	text-decoration: none !important;
}

/* Two-class form deliberately outranks older profile-specific static rules
 * such as `.profile_username .tsmu-username-style--glow-*`. */
html body .tsmu-username-style.tsmu-username-style--glow-sky,
html body .tsmu-username-style.tsmu-username-style--glow-sky a,
html body .tsmu-username-style.tsmu-username-style--glow-gold,
html body .tsmu-username-style.tsmu-username-style--glow-gold a,
html body .tsmu-username-style.tsmu-username-style--glow-violet,
html body .tsmu-username-style.tsmu-username-style--glow-violet a,
html body .tsmu-username-style.tsmu-username-style--glow-flame,
html body .tsmu-username-style.tsmu-username-style--glow-flame a,
html body .tsmu-username-style.tsmu-username-style--glow-inferno,
html body .tsmu-username-style.tsmu-username-style--glow-inferno a,
html body .tsmu-username-style.tsmu-username-style--glow-ember,
html body .tsmu-username-style.tsmu-username-style--glow-ember a,
html body .tsmu-username-style.tsmu-username-style--glow-molten,
html body .tsmu-username-style.tsmu-username-style--glow-molten a,
html body .tsmu-username-style.tsmu-username-style--glow-cosmic,
html body .tsmu-username-style.tsmu-username-style--glow-cosmic a {
	color: var(--tsmu-name-2) !important;
	text-shadow: 0 0 4px var(--tsmu-name-shadow), 0 0 11px var(--tsmu-name-shadow), 0 0 20px color-mix(in srgb, var(--tsmu-name-shadow) 60%, transparent) !important;
}

html body .tsmu-username-style--glow-sky::before,
html body .tsmu-username-style--glow-gold::before,
html body .tsmu-username-style--glow-violet::before,
html body .tsmu-username-style--glow-flame::before,
html body .tsmu-username-style--glow-inferno::before,
html body .tsmu-username-style--glow-ember::before,
html body .tsmu-username-style--glow-molten::before,
html body .tsmu-username-style--glow-cosmic::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -0.32em -0.4em;
	border-radius: 999px;
	pointer-events: none;
	background:
		radial-gradient(ellipse at 20% 68%, color-mix(in srgb, var(--tsmu-name-1) 64%, transparent), transparent 46%),
		radial-gradient(ellipse at 78% 36%, color-mix(in srgb, var(--tsmu-name-2) 58%, transparent), transparent 48%),
		radial-gradient(ellipse at 50% 92%, color-mix(in srgb, var(--tsmu-name-3) 42%, transparent), transparent 42%);
	filter: blur(6px);
	opacity: 0.68;
	transform-origin: 50% 70%;
	animation: tsmu-username-aura-drift var(--tsmu-name-speed) ease-in-out infinite alternate !important;
}

html body .tsmu-username-style--glow-sky::after,
html body .tsmu-username-style--glow-gold::after,
html body .tsmu-username-style--glow-violet::after,
html body .tsmu-username-style--glow-flame::after,
html body .tsmu-username-style--glow-inferno::after,
html body .tsmu-username-style--glow-ember::after,
html body .tsmu-username-style--glow-molten::after,
html body .tsmu-username-style--glow-cosmic::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -0.2em;
	right: -0.2em;
	bottom: -0.12em;
	height: 0.16em;
	border-radius: 999px;
	pointer-events: none;
	background: linear-gradient(90deg, transparent, var(--tsmu-name-1), var(--tsmu-name-3), var(--tsmu-name-2), transparent);
	background-size: 220% 100%;
	filter: blur(2px);
	opacity: 0.86;
	animation: tsmu-username-spark-run var(--tsmu-name-speed) linear infinite !important;
}

/* Arctic Pulse */
html body .tsmu-username-style--glow-sky {
	--tsmu-name-1: #67e8f9;
	--tsmu-name-2: #2563eb;
	--tsmu-name-3: #f0f9ff;
	--tsmu-name-shadow: rgba(14, 165, 233, 0.78);
	--tsmu-name-speed: 3.6s;
}

/* Solar Shimmer */
html body .tsmu-username-style--glow-gold {
	--tsmu-name-1: #fde047;
	--tsmu-name-2: #d97706;
	--tsmu-name-3: #fff7cc;
	--tsmu-name-shadow: rgba(245, 158, 11, 0.82);
	--tsmu-name-speed: 3.1s;
}

/* Arcane Surge */
html body .tsmu-username-style--glow-violet {
	--tsmu-name-1: #c084fc;
	--tsmu-name-2: #6d28d9;
	--tsmu-name-3: #67e8f9;
	--tsmu-name-shadow: rgba(147, 51, 234, 0.8);
	--tsmu-name-speed: 3.3s;
}

/* Living Flame. The aura rises independently from the moving text gradient. */
html body .tsmu-username-style--glow-flame {
	--tsmu-name-1: #fde047;
	--tsmu-name-2: #dc2626;
	--tsmu-name-3: #fb923c;
	--tsmu-name-shadow: rgba(249, 115, 22, 0.88);
	--tsmu-name-speed: 1.9s;
}

html body .tsmu-username-style--glow-flame::before {
	inset: -0.48em -0.34em -0.2em;
	border-radius: 45% 55% 48% 52%;
	background:
		radial-gradient(ellipse at 18% 92%, rgba(254, 240, 138, 0.9) 0 8%, rgba(249, 115, 22, 0.7) 20%, transparent 46%),
		radial-gradient(ellipse at 48% 84%, rgba(255, 247, 180, 0.9) 0 7%, rgba(239, 68, 68, 0.72) 24%, transparent 50%),
		radial-gradient(ellipse at 80% 90%, rgba(253, 186, 116, 0.86) 0 8%, rgba(220, 38, 38, 0.65) 22%, transparent 48%);
	filter: blur(4px) saturate(1.35);
	animation: tsmu-username-flame-rise 1.15s ease-in-out infinite alternate !important;
}

/* Neon Rift - intentionally not another red fire preset. */
html body .tsmu-username-style--glow-inferno {
	--tsmu-name-1: #22d3ee;
	--tsmu-name-2: #db2777;
	--tsmu-name-3: #f0abfc;
	--tsmu-name-shadow: rgba(236, 72, 153, 0.8);
	--tsmu-name-speed: 2.7s;
}

/* Toxic Plasma */
html body .tsmu-username-style--glow-ember {
	--tsmu-name-1: #bef264;
	--tsmu-name-2: #0f766e;
	--tsmu-name-3: #ecfccb;
	--tsmu-name-shadow: rgba(101, 163, 13, 0.78);
	--tsmu-name-speed: 3s;
}

/* Royal Aurora */
html body .tsmu-username-style--glow-molten {
	--tsmu-name-1: #38bdf8;
	--tsmu-name-2: #4338ca;
	--tsmu-name-3: #e879f9;
	--tsmu-name-shadow: rgba(99, 102, 241, 0.8);
	--tsmu-name-speed: 4.2s;
}

/* Cosmic Wave */
html body .tsmu-username-style--glow-cosmic {
	--tsmu-name-1: #f472b6;
	--tsmu-name-2: #312e81;
	--tsmu-name-3: #5eead4;
	--tsmu-name-shadow: rgba(124, 58, 237, 0.8);
	--tsmu-name-speed: 4.8s;
}

@keyframes tsmu-username-gradient-flow {
	0% { background-position: 0% 50%; }
	100% { background-position: 260% 50%; }
}

@keyframes tsmu-username-aura-breathe {
	0%, 100% { filter: brightness(0.98) saturate(1); }
	50% { filter: brightness(1.16) saturate(1.24); }
}

@keyframes tsmu-username-aura-drift {
	0% { opacity: 0.46; transform: translate3d(-2%, 2%, 0) scale(0.94, 0.88); }
	50% { opacity: 0.78; transform: translate3d(2%, -3%, 0) scale(1.05, 1.12); }
	100% { opacity: 0.56; transform: translate3d(-1%, -1%, 0) scale(1.01, 0.96); }
}

@keyframes tsmu-username-spark-run {
	0% { background-position: 220% 50%; opacity: 0.42; }
	45% { opacity: 0.95; }
	100% { background-position: -220% 50%; opacity: 0.48; }
}

@keyframes tsmu-username-flame-rise {
	0% { opacity: 0.52; transform: translate3d(-1%, 6%, 0) scale(0.98, 0.78) skewX(-2deg); }
	35% { opacity: 0.9; transform: translate3d(1%, -2%, 0) scale(1.02, 1.1) skewX(2deg); }
	70% { opacity: 0.66; transform: translate3d(-2%, -5%, 0) scale(1.05, 1.2) skewX(-1deg); }
	100% { opacity: 0.86; transform: translate3d(2%, -1%, 0) scale(0.99, 1.04) skewX(1deg); }
}

/* Approved colors also override the glow palette when a member owns both
 * products, so neither purchase becomes visually hidden by the other. */
html body .tsmu-username-style.tsmu-username-style--color-cyan {
	--tsmu-name-1: #67e8f9;
	--tsmu-name-2: #0e7490;
	--tsmu-name-3: #ecfeff;
	--tsmu-name-shadow: rgba(6, 182, 212, 0.8);
}
html body .tsmu-username-style.tsmu-username-style--color-purple {
	--tsmu-name-1: #d8b4fe;
	--tsmu-name-2: #7e22ce;
	--tsmu-name-3: #faf5ff;
	--tsmu-name-shadow: rgba(168, 85, 247, 0.8);
}
html body .tsmu-username-style.tsmu-username-style--color-rose {
	--tsmu-name-1: #fda4af;
	--tsmu-name-2: #be123c;
	--tsmu-name-3: #fff1f2;
	--tsmu-name-shadow: rgba(244, 63, 94, 0.78);
}
html body .tsmu-username-style.tsmu-username-style--color-sapphire {
	--tsmu-name-1: #93c5fd;
	--tsmu-name-2: #2563eb;
	--tsmu-name-3: #eff6ff;
	--tsmu-name-shadow: rgba(37, 99, 235, 0.78);
}
html body .tsmu-username-style.tsmu-username-style--color-amber {
	--tsmu-name-1: #fcd34d;
	--tsmu-name-2: #b45309;
	--tsmu-name-3: #fffbeb;
	--tsmu-name-shadow: rgba(217, 119, 6, 0.8);
}
html body .tsmu-username-style.tsmu-username-style--color-teal {
	--tsmu-name-1: #5eead4;
	--tsmu-name-2: #0f766e;
	--tsmu-name-3: #f0fdfa;
	--tsmu-name-shadow: rgba(13, 148, 136, 0.78);
}
html body .tsmu-username-style.tsmu-username-style--color-orchid {
	--tsmu-name-1: #f0abfc;
	--tsmu-name-2: #a21caf;
	--tsmu-name-3: #fdf4ff;
	--tsmu-name-shadow: rgba(192, 38, 211, 0.78);
}
html body .tsmu-username-style.tsmu-username-style--color-silver {
	--tsmu-name-1: #cbd5e1;
	--tsmu-name-2: #475569;
	--tsmu-name-3: #ffffff;
	--tsmu-name-shadow: rgba(100, 116, 139, 0.72);
}

html body .tsmu-username-style--color-cyan,
html body .tsmu-username-style--color-cyan a { color: #0e7490 !important; }
html body .tsmu-username-style--color-purple,
html body .tsmu-username-style--color-purple a { color: #7e22ce !important; }
html body .tsmu-username-style--color-rose,
html body .tsmu-username-style--color-rose a { color: #be123c !important; }
html body .tsmu-username-style--color-sapphire,
html body .tsmu-username-style--color-sapphire a { color: #2563eb !important; }
html body .tsmu-username-style--color-amber,
html body .tsmu-username-style--color-amber a { color: #b45309 !important; }
html body .tsmu-username-style--color-teal,
html body .tsmu-username-style--color-teal a { color: #0f766e !important; }
html body .tsmu-username-style--color-orchid,
html body .tsmu-username-style--color-orchid a { color: #a21caf !important; }
html body .tsmu-username-style--color-silver,
html body .tsmu-username-style--color-silver a { color: #475569 !important; }

@media (prefers-reduced-motion: reduce) {
	html body .tsmu-username-style--glow-sky,
	html body .tsmu-username-style--glow-sky a,
	html body .tsmu-username-style--glow-gold,
	html body .tsmu-username-style--glow-gold a,
	html body .tsmu-username-style--glow-violet,
	html body .tsmu-username-style--glow-violet a,
	html body .tsmu-username-style--glow-flame,
	html body .tsmu-username-style--glow-flame a,
	html body .tsmu-username-style--glow-inferno,
	html body .tsmu-username-style--glow-inferno a,
	html body .tsmu-username-style--glow-ember,
	html body .tsmu-username-style--glow-ember a,
	html body .tsmu-username-style--glow-molten,
	html body .tsmu-username-style--glow-molten a,
	html body .tsmu-username-style--glow-cosmic,
	html body .tsmu-username-style--glow-cosmic a,
	html body [class*="tsmu-username-style--glow-"]::before,
	html body [class*="tsmu-username-style--glow-"]::after {
		animation: none !important;
		background-position: 50% 50% !important;
		transform: none !important;
	}
}

@media (forced-colors: active) {
	html body [class*="tsmu-username-style--glow-"],
	html body [class*="tsmu-username-style--glow-"] a {
		-webkit-text-fill-color: currentColor !important;
		background: none !important;
		text-shadow: none !important;
	}
	html body [class*="tsmu-username-style--glow-"]::before,
	html body [class*="tsmu-username-style--glow-"]::after { display: none !important; }
}
