/*
 * Copyright (C) 2026 Fluxer Contributors
 *
 * This file is part of Fluxer.
 *
 * Fluxer is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Fluxer is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Fluxer. If not, see <https://www.gnu.org/licenses/>.
 */

.container {
	position: relative;
	flex-shrink: 0;
	border-radius: 9999px;
	container-type: inline-size;
}

.imageWrapper {
	height: 100%;
	width: 100%;
	overflow: hidden;
	border-radius: 9999px;
}

.imageWrapperSpeaking {
	outline-style: solid;
	outline-width: min(3px, 10cqi);
	outline-color: #22c55e;
}

.image {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 9999px;
	image-rendering: auto;
}

.voiceIndicators {
	position: absolute;
	bottom: -2px;
	right: -2px;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.muteIndicator,
.deafenIndicator {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--status-danger);
	color: white;
	width: min(14px, 55cqi);
	height: min(14px, 55cqi);
}

.deafenIndicator {
	background-color: var(--status-danger);
}

.voiceIndicatorIcon {
	width: min(8px, 30cqi);
	height: min(8px, 30cqi);
}
