/* Stream C — WebGL2 ember atmosphere. Mounted behind the hero track. */
.wow-embers {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none;
	opacity: 0.6;
}

/* The atmosphere must sit behind hero content — lift the content above it. */
.record-hero > *:not(.wow-embers),
.hero--lap > *:not(.wow-embers),
header.hero > *:not(.wow-embers) {
	position: relative;
	z-index: 1;
}

/* Hidden state used on WebGL context loss (F9): the static hero underneath
   remains fully visible, so this just removes the broken canvas. */
.wow-embers.is-dead {
	display: none;
}

/* Global kill switch (F7): one `wow-off` class on <html> disables every
   enhancement layer. */
html.wow-off .wow-embers {
	display: none;
}
