/* BIP — Lecteur radio natif (direct + podcast). Remplace le CSS du plugin. */

/* ---- Bouton Play du direct (dans le header, .play-icon) ---- */
.bip-live-btn {
	background: #fff !important;
	border: none;
	color: #000;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(30px, 2.4vw, 40px);
	height: clamp(30px, 2.4vw, 40px);
	border-radius: 50%;
	padding: 0;
	line-height: 1;
	font-size: clamp(12px, 1vw, 16px);
	flex-shrink: 0;
	transition: transform var(--bip-transition, .2s), box-shadow var(--bip-transition, .2s);
}
.bip-live-btn .bip-ico { width: 62%; height: 62%; fill: #000 !important; display: block; pointer-events: none; }
.bip-live-btn .bip-ico-play { margin-left: 8%; } /* centrage optique du triangle */
.bip-live-btn .bip-ico-pause { display: none; }
.bip-live-btn.playing .bip-ico-play { display: none; }
.bip-live-btn.playing .bip-ico-pause { display: block; }
.bip-live-btn:hover { transform: scale(1.06); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.bip-live-btn:active { transform: scale(.94); }

/* ---- Volume du direct (dans le header) ---- */
.bip-volume { display: flex; align-items: center; gap: 8px; }
.bip-volume-value {
	color: #fff;
	font-size: clamp(11px, .85vw, 13px);
	font-weight: 600;
	min-width: 34px;
	text-align: right;
	line-height: 1;
	white-space: nowrap;
}
.bip-volume-icon {
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	line-height: 1;
}
/* !important + selecteur specifique pour battre la regle parent
   input[type="range"] (newscrunch/style.css:163 : width:100%, padding, border). */
.bip-volume .bip-volume-range {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-block !important;
	width: clamp(50px, 7vw, 110px) !important;
	height: 5px !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 3px !important;
	background: rgba(255, 255, 255, .35);
	box-shadow: none !important;
	outline: none !important;
	flex: 0 0 auto;
	vertical-align: middle;
	cursor: pointer;
}
.bip-volume-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: none;
	cursor: pointer;
}
.bip-volume-range::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: none;
	cursor: pointer;
}

/* ---- Lecteur podcast (dans le contenu) ---- */
.bip-podcast-player {
	border: 2px solid #E3001B;
	border-radius: 16px;
	padding: 10px 16px;
	background: #fff;
	display: flex;
	align-items: center;
	max-width: 600px;
	margin: 24px auto 0;
	box-sizing: border-box;
}
.bip-podcast-player .bip-pod-play {
	width: 34px;
	height: 34px;
	border: 2px solid #E3001B;
	border-radius: 50%;
	background: #fff;
	color: #E3001B;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	margin-right: 12px;
	cursor: pointer;
	transition: background .2s, color .2s;
	padding: 0;
	flex-shrink: 0;
}
.bip-podcast-player .bip-pod-play.playing { background: #E3001B; color: #fff; }
.bip-podcast-player .bip-pod-progress {
	flex: 1;
	height: 6px;
	background: #eee;
	border-radius: 3px;
	margin: 0 12px;
	position: relative;
	cursor: pointer;
}
.bip-podcast-player .bip-pod-bar {
	height: 100%;
	background: #E3001B;
	border-radius: 3px;
	width: 0;
	position: absolute;
	left: 0;
	top: 0;
	transition: width .1s;
}
.bip-podcast-player .bip-pod-time {
	font-size: 13px;
	color: #333;
	min-width: 44px;
	text-align: center;
}
.bip-podcast-player audio { display: none; }
