/* Stage 3, 12.5: purple text flow on the existing chat label and empty title. */
.fox-messages-page .fox-dialog-heading--chat > span .fox-dialog-heading__label-text,
.fox-messages-page:not(.fox-messages-page--chat):not(.fox-messages-page--pending) .fox-dialog-heading--chat #fox-chat-title {
	color: var(--fox-tone-as3l16, #d0a9f6);
	text-shadow: 0 0 13px rgba(var(--fox-rgb-gs3l14, 186, 106, 245), clamp(0, calc(.19 * var(--fox-glow-strength, 1)), 1));
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.fox-messages-page .fox-dialog-heading--chat > span .fox-dialog-heading__label-text,
	.fox-messages-page:not(.fox-messages-page--chat):not(.fox-messages-page--pending) .fox-dialog-heading--chat #fox-chat-title {
		background-image: linear-gradient(90deg, var(--fox-tone-ts3l13, #9c66df) 0%, var(--fox-tone-ts4l18, #e7c6ff) 24%, var(--fox-tone-ts3l14, #b67bf3) 50%, var(--fox-tone-ts4l17, #e5baff) 76%, var(--fox-tone-ts3l13, #9c66df) 100%);
		background-size: 210% 100%;
		background-repeat: repeat-x;
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		animation: fox-dialog-heading-flow 8s linear infinite;
	}
}

.fox-messages-page .fox-dialog-heading--chat > span .fox-dialog-heading__label-text {
	display: inline-block;
	white-space: nowrap;
}

@keyframes fox-dialog-heading-flow {
	from { background-position: 0 0; }
	to { background-position: 100% 0; }
}

@media (prefers-reduced-motion: reduce) {
	.fox-messages-page .fox-dialog-heading--chat > span .fox-dialog-heading__label-text,
	.fox-messages-page:not(.fox-messages-page--chat):not(.fox-messages-page--pending) .fox-dialog-heading--chat #fox-chat-title {
		animation: none;
		background-position: 45% 0;
	}
}
