.bsc-spe,
.bsc-spe * {
	box-sizing: border-box;
}

.bsc-spe {
	--bsc-card-width: 190px;
	--bsc-gap: 12px;
	--bsc-track-padding: 20px;
	--bsc-player-height: 152px;
	--bsc-native-height: 352px;
	--bsc-hover-scale: 1.02;
	--bsc-hover-translate: -2px;
	--bsc-play-hover-scale: 1.08;
	--bsc-card-transition: 240ms;
	position: relative;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	padding: 22px 0;
	color: #fff;
	background: transparent;
	font-family: Arial, Helvetica, sans-serif;
}


.bsc-spe::before,
.bsc-spe::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
}

.bsc-spe::before {
	z-index: 0;
	background: #080808;
	opacity: 1;
}

.bsc-spe::after {
	z-index: 1;
	opacity: 0;
}

.bsc-spe > * {
	position: relative;
	z-index: 2;
}

.bsc-spe-shape-square .bsc-spe { border-radius: 0; }
.bsc-spe-shape-soft .bsc-spe { border-radius: 20px; }
.bsc-spe-shape-round .bsc-spe { border-radius: 44px; }
.bsc-spe-shape-capsule .bsc-spe { border-radius: 999px; }

.bsc-spe-card-shape-square .bsc-spe__media,
.bsc-spe-card-shape-square .bsc-spe__native-frame,
.bsc-spe-card-shape-square .bsc-spe__inline-player,
.bsc-spe-card-shape-square .bsc-spe__inline-host { border-radius: 0; }

.bsc-spe-card-shape-soft .bsc-spe__media,
.bsc-spe-card-shape-soft .bsc-spe__native-frame,
.bsc-spe-card-shape-soft .bsc-spe__inline-player,
.bsc-spe-card-shape-soft .bsc-spe__inline-host { border-radius: 14px; }

.bsc-spe-card-shape-round .bsc-spe__media,
.bsc-spe-card-shape-round .bsc-spe__native-frame,
.bsc-spe-card-shape-round .bsc-spe__inline-player,
.bsc-spe-card-shape-round .bsc-spe__inline-host { border-radius: 34px; }

.bsc-spe-card-shape-circle .bsc-spe__media,
.bsc-spe-card-shape-circle .bsc-spe__native-frame,
.bsc-spe-card-shape-circle .bsc-spe__inline-player,
.bsc-spe-card-shape-circle .bsc-spe__inline-host { border-radius: 50%; }

.bsc-spe button,
.bsc-spe a {
	-webkit-tap-highlight-color: transparent;
}

.bsc-spe__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin: 0 auto 18px;
	padding: 0 20px;
}

.bsc-spe__heading-wrap {
	min-width: 0;
}

.bsc-spe__eyebrow {
	display: block;
	margin: 0 0 5px;
	color: #a7a7a7;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.bsc-spe__title {
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 4vw, 52px);
	font-weight: 900;
	line-height: .98;
	letter-spacing: -.045em;
}

.bsc-spe__description {
	max-width: 760px;
	margin: 10px 0 0;
	color: #c7c7c7;
	font-size: 15px;
	line-height: 1.5;
}

.bsc-spe__controls {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.bsc-spe__carousel-shell {
	position: relative;
	display: flex;
	align-items: center;
	min-width: 0;
}

.bsc-spe__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
	outline: none;
}

.bsc-spe__viewport::-webkit-scrollbar {
	display: none;
}

.bsc-spe__viewport:focus-visible {
	outline: 2px solid rgba(255, 255, 255, .72);
	outline-offset: -2px;
}

.bsc-spe__track {
	display: flex;
	align-items: stretch;
	gap: var(--bsc-gap);
	width: max-content;
	padding: 4px var(--bsc-track-padding) 12px;
}

.bsc-spe__card {
	flex: 0 0 var(--bsc-card-width);
	width: var(--bsc-card-width);
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

.bsc-spe__card-button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	color: inherit;
	background: transparent;
	font: inherit;
	text-align: inherit;
	cursor: pointer;
}

.bsc-spe__media,
.bsc-spe__native-frame {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	border-radius: 14px;
	background: #151515;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
	transform: translateZ(0) scale(1);
	transition: transform var(--bsc-card-transition) ease, box-shadow var(--bsc-card-transition) ease, filter var(--bsc-card-transition) ease, opacity var(--bsc-card-transition) ease, border-color var(--bsc-card-transition) ease;
}

.bsc-spe--ratio-1-1 .bsc-spe__media { aspect-ratio: 1 / 1; }
.bsc-spe--ratio-4-5 .bsc-spe__media { aspect-ratio: 4 / 5; }
.bsc-spe--ratio-3-4 .bsc-spe__media { aspect-ratio: 3 / 4; }
.bsc-spe--ratio-9-16 .bsc-spe__media { aspect-ratio: 9 / 16; }
.bsc-spe--ratio-16-9 .bsc-spe__media { aspect-ratio: 16 / 9; }

.bsc-spe__card:hover .bsc-spe__media,
.bsc-spe__card:hover .bsc-spe__native-frame,
.bsc-spe__card-button:focus-visible .bsc-spe__media {
	transform: translateY(var(--bsc-hover-translate)) scale(var(--bsc-hover-scale));
}

.bsc-spe__card.is-active .bsc-spe__media {
	box-shadow: 0 0 0 2px #fff, 0 14px 34px rgba(0, 0, 0, .32);
}

.bsc-spe__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: filter var(--bsc-card-transition) ease, opacity var(--bsc-card-transition) ease, transform var(--bsc-card-transition) ease;
}

.bsc-spe__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at center, rgba(0, 0, 0, .04) 0 20%, rgba(0, 0, 0, .18) 68%, rgba(0, 0, 0, .38) 100%);
	pointer-events: none;
}

.bsc-spe__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	z-index: 3;
	border: 1px solid rgba(255, 255, 255, .45);
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .38);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transform: translate(-50%, -50%);
	transition: background .2s ease, transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.bsc-spe__play svg {
	width: 27px;
	height: 27px;
	fill: #080808;
	transform: translateX(1px);
}

.bsc-spe__card-button:hover .bsc-spe__play,
.bsc-spe__card-button:focus-visible .bsc-spe__play {
	background: #1ed760;
	transform: translate(-50%, -50%) scale(var(--bsc-play-hover-scale));
}

.bsc-spe__card.is-active .bsc-spe__play {
	background: #1ed760;
}

.bsc-spe__card.is-active .bsc-spe__play svg {
	fill: #fff;
}

.bsc-spe__card-button:focus-visible {
	outline: none;
}

.bsc-spe__type {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 5px 9px;
	border-radius: 999px;
	color: #fff;
	background: rgba(0, 0, 0, .65);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .12em;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
}

.bsc-spe__card-copy {
	margin-top: 10px;
}

.bsc-spe__card-title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: #fff;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -.015em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.bsc-spe__spotify-link {
	display: inline-block;
	margin-top: 7px;
	color: #a7a7a7;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color .2s ease;
}

.bsc-spe__spotify-link:hover,
.bsc-spe__spotify-link:focus-visible {
	color: #fff;
}

.bsc-spe__native-frame {
	height: var(--bsc-native-height);
}

.bsc-spe__native-frame iframe,
.bsc-spe__player-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.bsc-spe__player.is-collapsed {
	display: none;
}

.bsc-spe__player {
	width: auto;
	max-width: 100%;
	margin: 22px 20px 0;
}

.bsc-spe__player-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0 0 9px;
}

.bsc-spe__player-kicker {
	color: #a7a7a7;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.bsc-spe__player-title {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.bsc-spe__player-frame {
	height: var(--bsc-player-height);
	overflow: hidden;
	border-radius: 16px;
	background: #151515;
}

.bsc-spe__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, .04);
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease;
}

.bsc-spe__arrow svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bsc-spe__arrow:hover,
.bsc-spe__arrow:focus-visible {
	color: #080808;
	background: #fff;
	transform: scale(1.04);
}

.bsc-spe__arrow[disabled] {
	cursor: default;
	opacity: .3;
	transform: none;
}

.bsc-spe--arrows-sides .bsc-spe__carousel-shell > .bsc-spe__arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	transform: translateY(-50%);
}

.bsc-spe--arrows-sides .bsc-spe__carousel-shell > .bsc-spe__prev { left: 8px; }
.bsc-spe--arrows-sides .bsc-spe__carousel-shell > .bsc-spe__next { right: 8px; }
.bsc-spe--arrows-sides .bsc-spe__carousel-shell > .bsc-spe__arrow:hover { transform: translateY(-50%) scale(1.04); }

.bsc-spe__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 14px;
	padding: 0 20px;
}

.bsc-spe__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .3);
	cursor: pointer;
	transition: width .2s ease, background .2s ease, transform .2s ease;
}

.bsc-spe__dot.is-active {
	width: 22px;
	background: #fff;
}

.bsc-spe-empty {
	padding: 18px;
	border: 1px dashed #aaa;
	border-radius: 8px;
	color: #333;
	background: #fff;
}

@media (max-width: 767px) {
	.bsc-spe {
		--bsc-track-padding: 14px;
		padding: 22px 0;
	}

	.bsc-spe__header {
		align-items: center;
		padding-right: 14px;
		padding-left: 14px;
	}

	.bsc-spe:not(.bsc-spe--mobile-arrows) .bsc-spe__controls,
	.bsc-spe:not(.bsc-spe--mobile-arrows).bsc-spe--arrows-sides .bsc-spe__carousel-shell > .bsc-spe__arrow {
		display: none;
	}

	.bsc-spe__player {
		margin-right: 14px;
		margin-left: 14px;
	}

	.bsc-spe__description {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bsc-spe__viewport {
		scroll-behavior: auto;
	}

	.bsc-spe__media,
	.bsc-spe__native-frame,
	.bsc-spe__play,
	.bsc-spe__arrow,
	.bsc-spe__dot {
		transition: none;
	}
}

/* Mode 1.2 : le lecteur Spotify officiel remplace la pochette dans la carte. */
.bsc-spe__card-stage {
	position: relative;
	width: 100%;
	transition: margin-bottom .2s ease;
}

.bsc-spe__inline-player {
	position: absolute;
	inset: 0;
	display: none;
	z-index: 8;
	width: 100%;
	height: 100%;
	border-radius: 14px;
	background: #121212;
}

.bsc-spe__card.is-inline-active .bsc-spe__inline-player {
	display: block;
}

.bsc-spe__card.is-inline-active .bsc-spe__card-button {
	visibility: hidden;
}

.bsc-spe__card.is-inline-active .bsc-spe__card-stage {
	margin-bottom: 34px;
}

.bsc-spe__inline-host {
	position: absolute;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: #121212;
}

.bsc-spe__inline-host iframe {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	border: 0 !important;
	border-radius: inherit !important;
}

.bsc-spe__inline-loading {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 3;
	padding: 18px;
	color: #fff;
	background: #121212;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .04em;
	text-align: center;
}

.bsc-spe__card.is-loading .bsc-spe__inline-loading {
	display: flex;
}

.bsc-spe__inline-close {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	color: #fff;
	background: rgba(8, 8, 8, .94);
	font: inherit;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	transition: color .2s ease, background .2s ease, transform .2s ease;
}

.bsc-spe__inline-close:hover,
.bsc-spe__inline-close:focus-visible {
	color: #080808;
	background: #fff;
	transform: scale(1.05);
}

.bsc-spe__inline-close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
