.sal-audio-list,
.sal-audio-list * {
	box-sizing: border-box;
}

.sal-audio-list {
	width: 100%;
	max-width: 100%;
	font-family: inherit;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* ---- Card ---- */
.sal-audio-item {
	width: 100%;
	background: #132a54;
	border-radius: 10px;
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sal-audio-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.sal-audio-title {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	color: #ffffff;
	letter-spacing: 0.1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---- Download icon button (top right) ----
   "all: unset" strips every inherited/theme default first,
   then we explicitly rebuild the exact look we want. */
.sal-audio-list a.sal-download-btn {
	all: unset;
	box-sizing: border-box;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	background-color: #f2c230;
	color: #132a54;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.1s ease;
}

.sal-audio-list a.sal-download-btn:hover {
	background-color: #ffd54a;
	transform: translateY(-1px);
}

.sal-audio-list a.sal-download-btn:active {
	transform: translateY(0);
}

.sal-audio-list a.sal-download-btn svg {
	pointer-events: none;
	display: block;
}

/* ---- Controls row: play + progress + time ---- */
.sal-audio-controls-row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

/* Play/Pause: plain icon only, no background, no border, no pill */
.sal-audio-list button.sal-play-btn {
	all: unset;
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	cursor: pointer;
}

.sal-play-btn svg {
	pointer-events: none;
	display: block;
}

.sal-progress-track {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	height: 4px;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.25);
	cursor: pointer;
}

.sal-progress-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	border-radius: 999px;
	background-color: #ffffff;
	transition: width 0.1s linear;
}

.sal-progress-handle {
	position: absolute;
	top: 50%;
	left: 0%;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #ffffff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.15s ease;
	pointer-events: none;
}

.sal-progress-track:hover .sal-progress-handle,
.sal-audio-item.sal-playing .sal-progress-handle {
	opacity: 1;
}

.sal-audio-time {
	flex: 0 0 auto;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, 0.65);
	white-space: nowrap;
}

.sal-time-sep {
	margin: 0 2px;
	opacity: 0.7;
}

.sal-no-tracks {
	opacity: 0.7;
}

@media (max-width: 480px) {
	.sal-audio-item {
		padding: 14px 14px 16px;
	}

	.sal-audio-title {
		font-size: 14px;
	}
}
