/* Tap shockwaves (taps.js). The layer is a manual popover covering the
   viewport in the top layer, with the popover defaults undone; each wave is
   centred on its tap and sized by its animation. */
.tap-layer {
	position: fixed;
	inset: 0;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	overflow: hidden;
	pointer-events: none;
	contain: strict;
}

.tap-disc,
.tap-ring {
	position: absolute;
	translate: -50% -50%;
	border-radius: 50%;
	pointer-events: none;
}

.tap-disc {
	background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), color-mix(in srgb, var(--accent) 20%, transparent));
}

.tap-ring {
	border: 3px solid var(--accent);
}

.tap-ring[hidden] {
	display: none;
}
