/* Стикеры сообщений: общие стили пикера и стикера в пузыре.
   Позиционирование панели — в message_composer.css, сброс пузыря (message_item--sticker) —
   в rooms.css / messages.css. Разметка — send_form.twig в templates/rooms и templates/messages,
   данные - Api\lsn\Stickers\Stickers::getPacks() */

/* заголовок пака - только когда паков больше одного */
.stickers_pack__title {
	margin: 0 0 6px;
	font-size: 11px;
	line-height: 14px;
	font-weight: 500;
	color: #9aa0a6;
}
.stickers_pack__title:not(:first-child) {
	margin-top: 10px;
}
.stickers_pack {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
}
.stickers_item {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	padding: 5px;
	border: 0;
	border-radius: 10px;
	background: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.stickers_item:hover {
	background: #f1f6ff;
}
.stickers_item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* стикер в сообщении ({"sticker", "url", "emoji"} в files) */
.message_item__stickers {
	display: flex;
	width: 100%;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: column;
	gap: 6px;
	margin: 4px 0;
}
.message_item__sticker {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
}
