@charset "UTF-8"; /* ==================================================
 * for Snapic Just640px Theme Plugin Main Stylesheet by Lopwon.
 * www.Lopwon.com
 * 2025-03-21
 * CC BY-NC-SA
 * ----------------------------------------------------------------- */

.comment-textarea.isMood {
	display: flex;
	align-items: center;
	gap: 0.5em;
	position: relative;
}

.isMood textarea {
	max-width: calc(100% - var(--max-height) / 3);
}

.isMood #ext-mood {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.isMood #preview {
	width: 96px;
	height: 96px;
	cursor: pointer;
}

.isMood #preview img {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: auto !important;
	width: 100% !important;
	height: 100%;
	max-width: none !important;
	border-radius: 0.25em;
	object-fit: contain;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.isMood .noPic {
	font-size: small;
	color: var(--color-c);
	text-align: left;
}

#mood-icons-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1em;
	background-color: var(--wrap-grey);
	border-radius: 0.25em;
	cursor: pointer;
}

#mood-icons-trigger:hover {
	background-color: var(--wrap-grey-hover);
}

#mood-icons {
	display: flex;
	position: absolute;
	top: -2.5em;
	right: calc(96px + 1.75em);
	width: calc(24px * 6 + 0.75em);
	border-radius: 0.75em;
	box-shadow: 0 0.5em 1em 0 var(--border-color);
}

#mood-icons img {
	display: block;
	width: 24px;
	height: 24px;
}

.mood-tabs {
	display: flex;
	gap: 0.25em;
	font-size: small;
	border-radius: 0.75em 0.75em 0 0;
	background-color: var(--wrap-grey);
	overflow-x: auto;
	overflow-y: hidden;
}

.mood-tab {
	padding: 0.75em;
	color: var(--color-9);
	border-radius: 0.75em 0.75em 0 0;
	background-color: var(--wrap-grey);
	user-select: none;
	cursor: pointer;
}

.mood-tab.active {
	font-weight: bold;
	color: var(--color-6);
	background-color: var(--wrap-grey-hover);
}

.mood-tab:hover {
	color: var(--color-3);
}

.mood-content {
	display: none;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15em;
	padding: 0.5em;
	max-height: calc(var(--max-height) / 2);
	border-radius: 0 0 0.75em 0.75em;
	background-color: var(--wrap-e);
	overflow: auto;
}

.mood-emoji-item {
	-webkit-transition: transform 0.3s ease;
	transition: transform 0.3s ease;
	cursor: pointer;
}

.mood-emoji-item:hover {
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}