/* Popup plateformes streaming — utilisé sur hub podcast et articles */
/*
 * Au-dessus du lecteur CGAP (#cgap-global-bar, --cgap-z ≈ 2e9) et de son plein écran (+1).
 */
.impact-streaming-modal {
	position: fixed;
	inset: 0;
	z-index: calc(var(--cgap-z, 2147483000) + 100);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.impact-streaming-modal[hidden] {
	display: none !important;
}

.impact-streaming-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 16, 42, 0.55);
	backdrop-filter: blur(2px);
}

.impact-streaming-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	max-height: min(80vh, 520px);
	overflow: auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 48px rgba(8, 16, 42, 0.22);
	color: #0d1224;
}

.impact-streaming-modal__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1.1rem 1rem 0.75rem;
	border-bottom: 1px solid rgba(8, 16, 42, 0.08);
}

.impact-streaming-modal__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
}

.impact-streaming-modal__close {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}

.impact-streaming-modal__close:hover,
.impact-streaming-modal__close:focus-visible {
	background: rgba(8, 16, 42, 0.06);
	outline: none;
}

.impact-streaming-modal__list {
	margin: 0;
	padding: 0.5rem 0 1rem;
	list-style: none;
}

.impact-streaming-modal__list li {
	margin: 0;
	border-bottom: 1px solid rgba(8, 16, 42, 0.06);
}

.impact-streaming-modal__list li:last-child {
	border-bottom: none;
}

.impact-streaming-modal__row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 1rem;
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	transition: background 0.15s ease;
	min-height: 48px;
	box-sizing: border-box;
}

.impact-streaming-modal__ico {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.impact-streaming-modal__logo-img {
	display: block;
	width: 28px;
	height: 28px;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	vertical-align: middle;
}

.impact-streaming-modal__label {
	flex: 1;
	min-width: 0;
	line-height: 1.35;
}

.impact-streaming-modal__row:hover,
.impact-streaming-modal__row:focus-visible {
	background: rgba(59, 130, 246, 0.08);
	outline: none;
}

.impact-streaming-modal__empty {
	margin: 0;
	padding: 1rem 1rem 1.25rem;
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgba(13, 18, 36, 0.72);
}
