

@media screen and (max-width: 768px) {
	.pbox {
		position: relative;
		/*border: 1px solid #ccc;*/
		/*border-radius: 4px;*/
		overflow: hidden;
		background-size: cover;
		background-position: center;
		filter: grayscale(10%);
		min-width: 270px;
	}
}
.pbox {
	position: relative;
	/*border: 1px solid #ccc;*/
	/*border-radius: 4px;*/
	overflow: hidden;
	background-size: cover;
	background-position: center;
	filter: grayscale(10%);
	min-width: 244px;
}


.pbox_inner {
	display: flex;
	align-items: center;
	padding: 1px 1px 1px 1px;
	gap: 5px;
	position: relative;
}

.loading-spinner {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border: 4px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	z-index: 10;
	opacity: 0.45;
}
.pbox.loading .loading-spinner {
	display: block;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.progress_overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background: linear-gradient(to right, rgba(175, 231, 255, 0.883), rgba(168, 203, 255, 0.8));
	box-shadow: 0 0 1px rgba(13, 174, 255, 0.8);
	pointer-events: none;
	transition: width 0.1s linear;
	z-index: 1;
}
[data-theme="dark"] .progress_overlay {
	background: linear-gradient(to right, rgb(155 155 155 / 80%), rgb(61 61 61 / 88%));
}

@media screen and (max-width: 480px) {
	/* mobile */
	.btn_start {
		width: 42px;
		height: 42px;
		cursor: pointer;
		background-image: url('../../img/webplayer/play20.png?v=20251203');
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		flex-shrink: 0;
		z-index: 10;
		transition: transform 0.15s ease, filter 0.15s ease;
	}
		.btn_start:hover {
			transform: scale(1.1);
			filter: brightness(2), contrast(1.5);
		}

		[data-theme="dark"] .btn_start {
			filter: invert(1) brightness(1.2) contrast(1.2);
		}

		.btn_start.playing {
			background-image: url('../../img/webplayer/stop20.png?v=20251203');
		}

	.waveform_container {
		flex-grow: 1;
		position: relative;
		height: 42px;

		/* background-repeat: no-repeat; */
		background-repeat: round;

		/*background-size: cover;*/
		background-size: cover;

		/* background-position: center; */
		/*background-position: left;*/
		overflow: hidden;
		border-radius: 4px;
	}

}


@media screen and (min-width: 480px) {
	/* pc */
	.btn_start {
		width: 30px;
		height: 30px;
		cursor: pointer;
		background-image: url('../../img/webplayer/play20.png?v=20251203');
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		flex-shrink: 0;
		z-index: 10;
		transition: transform 0.15s ease, filter 0.15s ease;
	}
		.btn_start:hover {
			transform: scale(1.1);
			filter: brightness(2), contrast(1.5);
		}

		[data-theme="dark"] .btn_start {
			filter: invert(1) brightness(1.2) contrast(1.2);
		}

		.btn_start.playing {
			background-image: url('../../img/webplayer/stop20.png?v=20251203');
		}

	.waveform_container {
		flex-grow: 1;
		position: relative;
		height: 30px;

		/* background-repeat: no-repeat; */
		background-repeat: round;

		/*background-size: cover;*/
		background-size: cover;

		/* background-position: center; */
		/*background-position: left;*/
		overflow: hidden;
		border-radius: 4px;
	}

}



[data-theme="dark"] .waveform_container {
	filter: invert(1) brightness(1.2) contrast(0.87);
}

.display_time {
	position: absolute;
	bottom: 2px;
	right: 5px;
	display: flex;
	gap: 3px;
	font-size: 0.85rem;
	font-weight: bold;
	color: #000000a3;
	text-shadow: 0 0 4px rgb(222, 222, 222);
	z-index: 2;
}

.display_time_vinculum {
	color: #424242;
	font-family: monospace;
	font-size: 0.85rem;
	z-index: 10;
}

.btn_loop {
	display: none;
	background-color: rgba(0, 100, 255, 0.8);
	color: white;
}
.btn_loop.active {
	display: none;
	background-color: rgba(0, 100, 255, 0.8);
	color: white;
}

.pbox.loading {
	opacity: 0.5;
	background-image: none !important;
	background-color: #e1e1e1;
	position: relative;
}

.pbox.loading::after {
	content: "Loading...";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 12px;
	color: #000;
}



