/* Fiche test - DOM 2/5 : colonne gauche, player audio */

.test-player-proposal {
	padding-top: 0.84rem;
}

.test-player-active {
	margin: 0 0 0.72rem;
	padding-top: 0;
}

#box_playlist .audiojs {
	display: none;
}

.test-player-proposal-inner,
.test-player-arcade-display,
.test-player-wave-head {
	display: grid;
	gap: 0.42rem;
}

.test-player-proposal-inner {
	grid-template-columns: 2.35rem minmax(0, 1fr) auto;
	align-items: center;
	padding: 0.5rem 0.54rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 6px;
	background: rgba(250, 250, 250, 0.10);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 8px 18px rgba(0, 0, 0, 0.18);
}

.test-player-proposal-action {
	width: 2rem;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(244, 210, 93, 0.7);
	background: rgba(244, 210, 93, 0.15);
	position: relative;
	box-shadow: 0 0 10px rgba(244, 210, 93, 0.18);
}

.test-player-proposal-action::before {
	content: "";
	position: absolute;
	left: 0.76rem;
	top: 0.54rem;
	border-left: 0.56rem solid rgba(255, 245, 185, 0.94);
	border-top: 0.42rem solid transparent;
	border-bottom: 0.42rem solid transparent;
}

.test-player-proposal-copy {
	min-width: 0;
	display: grid;
	gap: 0.12rem;
}

.test-player-proposal-label {
	font-family: var(--font-test-label);
	font-size: var(--type-size-test-box-value-small);
	color: rgba(151, 255, 236, 0.78);
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.85);
	letter-spacing: 0.05em;
}

.test-player-proposal-title {
	min-width: 0;
	color: rgba(248, 252, 255, 0.94);
	font-family: var(--font-test-value);
	font-size: var(--type-size-test-playlist);
	line-height: 1.28;
	text-shadow: 1px 1px 1px rgba(0, 0, 201, 0.82);
	overflow-wrap: anywhere;
}

.test-player-proposal-time {
	color: rgba(244, 210, 93, 0.9);
	font-family: var(--font-test-label);
	font-size: var(--type-size-test-box-value-small);
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
	white-space: nowrap;
}

.test-player-proposal-progress {
	height: 0.42rem;
	margin: 0.46rem 0.16rem 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.22);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.13);
}

.test-player-proposal-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, rgba(244, 210, 93, 0.78), rgba(151, 255, 236, 0.72));
}

.test-player-proposal--arcade {
	background: rgba(250, 250, 250, 0.11);
}

.test-player-arcade-display {
	padding: 0.56rem 0.6rem;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.16);
	border: 1px solid rgba(151, 255, 236, 0.24);
}

.test-player-arcade-controls {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.42rem;
	margin-top: 0.54rem;
}

.test-player-arcade-progress-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.52rem;
	margin-top: 0.58rem;
}

.test-player-arcade-button {
	min-height: 2rem;
	border-radius: 5px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(250, 250, 250, 0.12);
	position: relative;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.test-player-arcade-progress {
	margin: 0;
	height: 0.5rem;
	cursor: pointer;
}

.test-player-arcade-progress:hover span {
	background: linear-gradient(90deg, rgba(244, 210, 93, 0.92), rgba(151, 255, 236, 0.88));
}

.test-player-arcade-time {
	min-width: 6.8rem;
	text-align: right;
}

.test-player-arcade-button::before,
.test-player-arcade-button::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.test-player-arcade-button--play::before {
	left: 50%;
	margin-left: -0.22rem;
	border-left: 0.62rem solid rgba(244, 210, 93, 0.94);
	border-top: 0.42rem solid transparent;
	border-bottom: 0.42rem solid transparent;
}

.test-player-arcade-button--play.is-playing::before,
.test-player-arcade-button--play.is-playing::after {
	width: 0.24rem;
	height: 0.9rem;
	border: 0;
	background: rgba(244, 210, 93, 0.94);
}

.test-player-arcade-button--play.is-playing::before {
	left: calc(50% - 0.32rem);
	margin-left: 0;
}

.test-player-arcade-button--play.is-playing::after {
	left: calc(50% + 0.12rem);
}

.test-player-arcade-button--prev::before,
.test-player-arcade-button--next::before {
	width: 0.16rem;
	height: 0.85rem;
	background: rgba(151, 255, 236, 0.84);
}

.test-player-arcade-button--prev::before {
	left: 0.72rem;
}

.test-player-arcade-button--next::before {
	right: 0.72rem;
}

.test-player-arcade-button--prev::after {
	left: 0.98rem;
	border-right: 0.58rem solid rgba(151, 255, 236, 0.84);
	border-top: 0.42rem solid transparent;
	border-bottom: 0.42rem solid transparent;
}

.test-player-arcade-button--next::after {
	right: 0.98rem;
	border-left: 0.58rem solid rgba(151, 255, 236, 0.84);
	border-top: 0.42rem solid transparent;
	border-bottom: 0.42rem solid transparent;
}

.test-player-proposal--wave {
	background: rgba(250, 250, 250, 0.09);
}

.test-player-wave-head {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	margin-bottom: 0.42rem;
}

.test-player-waveform {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	align-items: end;
	gap: 0.18rem;
	min-height: 2.4rem;
	margin-top: 0.54rem;
	padding: 0.42rem 0.48rem;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.13);
	border: 1px solid rgba(255, 255, 255, 0.13);
}

.test-player-waveform span {
	display: block;
	min-height: 0.5rem;
	border-radius: 999px 999px 2px 2px;
	background: linear-gradient(180deg, rgba(151, 255, 236, 0.8), rgba(244, 210, 93, 0.66));
}

.test-player-waveform span:nth-child(1) { height: 32%; }
.test-player-waveform span:nth-child(2) { height: 70%; }
.test-player-waveform span:nth-child(3) { height: 48%; }
.test-player-waveform span:nth-child(4) { height: 88%; }
.test-player-waveform span:nth-child(5) { height: 58%; }
.test-player-waveform span:nth-child(6) { height: 76%; }
.test-player-waveform span:nth-child(7) { height: 42%; }
.test-player-waveform span:nth-child(8) { height: 64%; }
.test-player-waveform span:nth-child(9) { height: 36%; }
