.beyondwords-player-wrapper {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}

.beyondwords-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	font-weight: 600;
	text-transform: uppercase;
	background-color: #0057ff;
	color: #fff;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.beyondwords-trigger:hover,
.beyondwords-trigger:focus {
	background-color: #003db8;
	outline: none;
}

.beyondwords-trigger.is-playing::after {
	content: '\25B6';
	font-size: 0.9rem;
}

.beyondwords-player {
	margin-top: 1rem;
	background-color: #f5f7fa;
	border-radius: 12px;
	padding: 1rem;
	box-shadow: 0 2px 6px rgba(18, 38, 63, 0.08);
}

.beyondwords-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.beyondwords-control {
	background-color: #fff;
	border: 1px solid #d3d9e5;
	border-radius: 999px;
	padding: 0.35rem 0.9rem;
	cursor: pointer;
	font-weight: 600;
}

.beyondwords-control:hover,
.beyondwords-control:focus {
	border-color: #0057ff;
	color: #0057ff;
	outline: none;
}

.beyondwords-speed {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
}

.beyondwords-speed select {
	border-radius: 999px;
	padding: 0.3rem 0.6rem;
	border: 1px solid #d3d9e5;
	background-color: #fff;
}

.beyondwords-status {
	font-size: 0.875rem;
	color: #4b5563;
}

.beyondwords-word {
	position: relative;
	transition: background-color 0.18s ease;
}

.beyondwords-highlight {
	background-color: rgba(0, 87, 255, 0.18);
	box-shadow: inset 0 -0.35em 0 rgba(0, 87, 255, 0.18);
}

@media (prefers-reduced-motion: reduce) {
	.beyondwords-trigger,
	.beyondwords-control,
	.beyondwords-word {
		transition: none;
	}
}
