.bav-reader {
	width: 100%;
	margin: 0 0 28px;
	padding: 18px 20px;
    border: 1px solid #a31e312e;
    border-radius: 10px;
    background: #a31e3108;
	box-sizing: border-box;
	font-family: inherit;
}

.bav-reader-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 14px;
}

.bav-reader-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.bav-speaker-icon {
	font-size: 18px;
	line-height: 1;
}

.bav-status {
	font-size: 12px;
	color: #777;
	white-space: nowrap;
}

.bav-progress-wrap {
	width: 100%;
	margin-bottom: 15px;
}

.bav-progress {
	position: relative;
	width: 100%;
	height: 5px;
	border-radius: 20px;
	background: #a31e312e;
	overflow: hidden;
}

.bav-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: #a31e31;
	border-radius: inherit;
	transition: width .2s ease;
}

.bav-controls {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 38px;
}

.bav-controls button,
.bav-speed-select {
	font: inherit;
}

.bav-play,
.bav-stop,
.bav-volume-button,
.bav-share {
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 5px;
	line-height: 1;
}

.bav-play {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #a31e31;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px !important;
}

.bav-stop {
	font-size: 13px;
	color: #a31e31bf;
}

.bav-play:hover,
.bav-stop:hover,
.bav-volume-button:hover,
.bav-share:hover {
	opacity: .7;
}

.bav-time {
	font-size: 12px;
	color: #777;
	white-space: nowrap;
}

.bav-spacer {
	flex: 1;
}

.bav-volume {
	display: flex;
	align-items: center;
	gap: 5px;
}

.bav-volume-range {
	width: 70px;
	cursor: pointer;
}

.bav-speed-select {
	min-width: 65px;
	padding: 5px 22px 5px 7px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
	font-size: 12px;
}

.bav-share {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: inherit;
}

.bav-article-content .bav-reading {
	background: #a31e311c !important;
	border-radius: 3px;
	transition: background .2s ease;
}

/*
 * Prevent accidental selection issues
 * on player controls.
 */
.bav-reader button,
.bav-reader select {
	-webkit-tap-highlight-color: transparent;
}

/*
 * Mobile.
 */
@media (max-width: 767px) {

	.bav-reader {
		padding: 15px;
		margin-bottom: 22px;
	}

	.bav-reader-top {
		align-items: flex-start;
	}

	.bav-reader-title {
		font-size: 15px;
	}

	.bav-controls {
		flex-wrap: wrap;
		gap: 8px;
	}

	.bav-spacer {
		display: none;
	}

	.bav-volume {
		margin-left: auto;
	}

	.bav-volume-range {
		width: 55px;
	}

	.bav-share span {
		display: none;
	}

	.bav-share {
		font-size: 18px;
	}

}
.bav-volume-range {
    accent-color: #a31e31;
}

.bav-volume-range::-webkit-slider-thumb {
    background: red;
}

.bav-volume-range::-moz-range-thumb {
    background: red;
}
.bav-progress {
	cursor: pointer;
	position: relative;
	touch-action: manipulation;
}

.bav-progress::after {
	content: '';
	position: absolute;
	top: 50%;
	left: var(--bav-seek-position, 0%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #00852f;
	transform: translate(-50%, -50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease;
	z-index: 3;
}

.bav-progress.bav-seek-hover::after {
	opacity: 1;
}