/* Audio/Video Attachment Player */
.audioattachplayer {
	margin: 6px 0;
	max-width: 480px;
}

.audioattachplayer-name {
	font-size: 0.9em;
	font-weight: bold;
	margin-bottom: 2px;
	word-break: break-all;
}

.audioattachplayer-player {
	display: block;
	width: 100%;
	height: 40px;
}

.audioattachplayer-download {
	font-size: 0.9em;
	margin-top: 2px;
}

.audioattachplayer-video {
	max-width: 640px;
}

.audioattachplayer-video .audioattachplayer-player {
	height: auto;
	max-height: 480px;
	background: #000;
}

@media (max-width: 700px) {
	.audioattachplayer,
	.audioattachplayer-video {
		max-width: 100%;
	}
}

@media (prefers-color-scheme: dark) {
	.audioattachplayer-name,
	.audioattachplayer-download {
		color: #d7d7d7;
	}
}
