/**
 * Pond Apex core styles (S0).
 *
 * @package Pond_Apex
 * @since   2.10.0.0
 */

/* Visually hidden, still read by screen readers. Accessible names only. */
.pa-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.pa-focus-ring:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Shared pause/play control for continuous motion (WCAG 2.2.2). */
.pa-pause-toggle {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
	margin: 0;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: none;
	cursor: pointer;
	box-shadow: none;
}

.pa-pause-toggle:hover {
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
}

.pa-pause-toggle:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.85);
}

.pa-pause-toggle[hidden] {
	display: none !important;
}

/* Reduced-motion safety net for new Pond Apex components. */
@media (prefers-reduced-motion: reduce) {
	.pa-mo,
	.pa-hb-root,
	.pa-ne {
		transition-duration: 0.01ms !important;
		animation: none !important;
	}
}
