.ybar-wrapper {
	padding: 40px;
}

.ybar-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 30px;
	margin-bottom: 30px;
}

.ybar-heading {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #C9A24B;
	margin: 0;
}

.ybar-description {
	font-size: 13px;
	color: #B8B8B8;
	margin: 0;
	max-width: 460px;
	line-height: 1.5;
}

.ybar-grid {
	display: grid;
	grid-template-columns: repeat(var(--ybar-columns, 3), 1fr);
	gap: 20px;
}

@media (max-width: 1024px) {
	.ybar-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ybar-grid {
		grid-template-columns: 1fr;
	}
}

.ybar-track {
	display: flex;
	align-items: center;
	gap: 14px;
	background-color: #1A1A1A;
	border: 1px solid rgba(201, 162, 75, 0.25);
	border-radius: 10px;
	padding: 14px 18px;
}

.ybar-cover {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	background: #333;
}

.ybar-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ybar-info {
	flex: 1;
	min-width: 0;
}

.ybar-track-title {
	font-size: 14px;
	font-weight: 600;
	color: #F5F5F5;
	margin-bottom: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ybar-controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ybar-play-btn {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid #C9A24B;
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.2s ease;
}

.ybar-play-btn:hover {
	background-color: rgba(201, 162, 75, 0.15);
}

.ybar-icon-play,
.ybar-icon-pause {
	display: none;
}

.ybar-play-btn .ybar-icon-play {
	display: block;
	width: 0;
	height: 0;
	margin-left: 2px;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid #fff;
}

.ybar-play-btn.is-playing .ybar-icon-play {
	display: none;
}

.ybar-play-btn.is-playing .ybar-icon-pause {
	display: flex;
	align-items: center;
	gap: 3px;
}

.ybar-icon-pause span {
	display: block;
	width: 3px;
	height: 10px;
	background-color: #fff;
}

.ybar-progress {
	flex: 1;
	height: 3px;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 3px;
	cursor: pointer;
	position: relative;
}

.ybar-progress-bar {
	height: 100%;
	width: 0%;
	background-color: #C9A24B;
	border-radius: 3px;
	transition: width 0.1s linear;
}

.ybar-time {
	font-size: 11px;
	color: #9A9A9A;
	white-space: nowrap;
	flex-shrink: 0;
}

/* =========================================================
 * LAYOUT "LISTE" (lignes horizontales, cover rectangulaire)
 * ========================================================= */

.ybarl-wrapper {
	padding: 30px 40px;
}

.ybarl-heading {
	font-family: 'Playfair Display', serif;
	font-size: 24px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #C9A24B;
	margin: 0 0 24px 0;
}

.ybarl-list {
	display: flex;
	flex-direction: column;
}

.ybarl-wrapper .ybar-row {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 22px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(201, 162, 75, 0.2);
	background: transparent;
	border-radius: 0;
}

.ybarl-wrapper.ybarl-no-dividers .ybar-row {
	border-bottom: none;
}

.ybarl-wrapper .ybar-row:last-child {
	border-bottom: none;
}

.ybarl-wrapper .ybar-cover-rect {
	width: 64px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
	background: #333;
}

.ybarl-wrapper .ybar-cover-rect img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ybarl-wrapper .ybar-info {
	flex: 1;
	min-width: 0;
}

.ybarl-wrapper .ybar-track-title {
	font-family: 'Playfair Display', serif;
	font-size: 19px;
	font-weight: 600;
	color: #F5F5F5;
	margin-bottom: 6px;
	white-space: normal;
}

.ybarl-wrapper .ybar-subtitle {
	font-size: 13px;
	color: #B8B8B8;
	margin-bottom: 6px;
}

.ybarl-wrapper .ybar-time {
	font-size: 12px;
	color: #9A9A9A;
}

.ybarl-wrapper.ybarl-no-progress .ybarl-slash,
.ybarl-wrapper.ybarl-no-progress .ybar-current {
	display: none;
}

.ybarl-wrapper .ybar-progress {
	height: 3px;
	background-color: rgba(255, 255, 255, 0.12);
	border-radius: 3px;
	margin-top: 8px;
	max-width: 260px;
	cursor: pointer;
	display: none;
}

.ybarl-wrapper:not(.ybarl-no-progress) .ybar-progress {
	display: block;
}

.ybarl-wrapper .ybar-play-btn-round {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid #C9A24B;
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.2s ease;
}

.ybarl-wrapper .ybar-play-btn-round:hover {
	background-color: rgba(201, 162, 75, 0.15);
}

.ybarl-wrapper .ybar-play-btn-round .ybar-icon-play {
	margin-left: 3px;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid #fff;
}

@media (max-width: 600px) {
	.ybarl-wrapper .ybar-row {
		gap: 14px;
	}
	.ybarl-wrapper .ybar-cover-rect {
		width: 50px;
		height: 64px;
	}
	.ybarl-wrapper .ybar-track-title {
		font-size: 16px;
	}
}
