@charset "UTF-8"; /* ==================================================
 * for Snapic Paper Theme Plugin Main Stylesheet by Lopwon.
 * www.Lopwon.com
 * 2025-07-29
 * @license GPLv3
 * ----------------------------------------------------------------- */

.comment-textarea.isMood {
	display: flex;
	align-items: stretch;
	gap: 0.5em;
	position: relative;
}

.isMood #ext-mood {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.5em;
	width: 96px;
	height: auto;
}

.isMood #preview {
	width: 100%;
	height: 96px;
	border-radius: 0.25em;
	background-color: var(--color-extend-100);
	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: cover;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.isMood .noPic {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5em;
	width: 100%;
	height: 100%;
	font-size: 62.5%;
	color: var(--color-scale-080);
}

#mood-icons-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75em 0.5em;
	font-size: 87.5%;
	color: var(--color-scale-040);
	border-radius: 0.25em;
	background-color: var(--color-extend-100);
	cursor: pointer;
}

#mood-icons-trigger:hover {
	background-color: var(--color-extend-080);
}

#mood-icons {
	display: flex;
	position: absolute;
	top: -2.5em;
	right: calc(96px + 0.5em);
	width: calc(24px * 6 + 0.75em);
	border-radius: 0.75em;
	box-shadow: 0 0.5em 1em 0 var(--color-extend-080);
}

#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(--color-extend-100);
	overflow-x: auto;
	overflow-y: hidden;
}

.mood-tab {
	padding: 0.75em;
	color: var(--color-scale-080);
	border-radius: 0.75em 0.75em 0 0;
	background-color: var(--color-extend-100);
	user-select: none;
	cursor: pointer;
}

.mood-tab.active {
	font-weight: bold;
	color: var(--color-scale-060);
	background-color: var(--color-extend-080);
}

.mood-tab:hover {
	color: var(--color-scale-040);
}

.mood-content {
	display: none;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15em;
	padding: 0.5em;
	max-height: 10em;
	border-radius: 0 0 0.75em 0.75em;
	background-color: var(--color-extend-100);
	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);
}

@media (max-width: 480px) {

	.isMood #ext-mood {
		width: 72px;
	}

	#mood-icons-trigger {
		font-size: 62.5%;
	}

}