.site_chat_wrap {
	background: #20262b;
	border: 1px solid #34404a;
	border-radius: 5px;
	box-shadow: 0 2px 10px rgba(0,0,0,.28);
	overflow: hidden;
	font-family: Inter, Arial, sans-serif;
}
.site_chat_wrap * {
	font-family: Inter, Arial, sans-serif;
}  
.site_chat_head {
	background: #273039;
	border-bottom: 1px solid #394752;
	color: #f0f3f5;
	padding: 11px 13px;
}
.site_chat_sub {
	color: #9aa8b3;
	font-size: 12px;
	font-weight: 400;
	text-transform: none;
}
.site_chat_more {
	display: none;
	width: 100%;
	border: 0;
	background: #2f3a42;
	color: #dce4ea;
	padding: 9px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	margin-bottom: 8px;
	border-radius: 5px;
}
.site_chat_more:hover {
	background: #384650;
}
.site_chat_messages {
	height: 430px;
	overflow-y: auto;
	padding: 12px 10px;
	background: #161c21;
	box-sizing: border-box;
}
.site_chat_msg {
	display: flex;
	gap: 9px;
	align-items: flex-end;
	margin: 8px 0;
}
.site_chat_msg_mine {
	flex-direction: row-reverse;
}
.site_chat_avatar {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
}
.site_chat_avatar img {
	width: 42px;
	height: 42px;
}
.site_chat_bubble {
	max-width: 78%;
	background: #26303a;
	border: 1px solid #364653;
	border-radius: 9px 9px 9px 3px;
	padding: 8px 10px 7px;
	color: #e4eaee;
	line-height: 1.35em;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.site_chat_msg_mine .site_chat_bubble {
	background: #21415a;
	border-color: #33627f;
	border-radius: 9px 9px 3px 9px;
}
.site_chat_meta {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-bottom: 3px;
}
.site_chat_name {
	color: #9ed0ff;
	font-size: 13px;
	font-weight: 700;
}
.site_chat_time {
	color: #9aa8b3;
	font-size: 11px;
	font-style: italic;
}
.site_chat_text {
	color: #f3f6f8;
	font-size: 14px;
	line-height: 1.42em;
	word-wrap: break-word;
	word-break: break-word;
	white-space: pre-wrap;
}
.site_chat_text_blur {
	cursor: pointer;
	filter: blur(4px);
	transition: filter .18s ease;
	user-select: none;
}
.site_chat_text_blur:hover {
	filter: blur(3px);
}
.site_chat_reply {
	border-left: 3px solid #4d89b7;
	background: rgba(95,137,166,.12);
	border-radius: 4px;
	cursor: pointer;
	margin-bottom: 6px;
	padding: 5px 7px;
}
.site_chat_reply_name {
	color: #9ed0ff;
	font-size: 12px;
	font-weight: 800;
}
.site_chat_reply_text {
	color: #b9c6ce;
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.site_chat_actions {
	display: none;
}
.site_chat_actions button {
	background: rgba(158,208,255,.08);
	border: 1px solid rgba(158,208,255,.16);
	border-radius: 4px;
	color: #a9d6ff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	padding: 1px 7px;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.site_chat_actions button:hover {
	background: rgba(158,208,255,.15);
	border-color: rgba(158,208,255,.32);
	color: #d3ebff;
}
.site_chat_msg_focus .site_chat_bubble {
	box-shadow: 0 0 0 2px rgba(158,208,255,.55);
}
.site_chat_form {
	display: flex;
	position: relative;
	gap: 6px;
	padding: 9px;
	background: #273039;
	border-top: 1px solid #394752;
	box-sizing: border-box;
	flex-wrap: wrap;
}
.site_chat_reply_panel {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	background: #1d2830;
	border: 1px solid #36576c;
	border-radius: 5px;
	box-sizing: border-box;
	color: #d9e8f2;
	padding: 7px 9px;
}
.site_chat_reply_panel_show {
	display: flex;
}
.site_chat_reply_panel_label {
	color: #8fbdda;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}
.site_chat_reply_panel_name {
	font-size: 13px;
	font-weight: 700;
}
.site_chat_reply_panel button {
	background: transparent;
	border: 0;
	color: #d9e8f2;
	cursor: pointer;
	font-size: 20px;
	font-weight: 800;
	line-height: 20px;
}
.site_chat_input {
	flex: 1 1 0;
	min-width: 0;
	min-height: 42px;
	max-height: 110px;
	background: #192127;
	border: 1px solid #3d4c57;
	border-radius: 5px;
	color: #eef3f6;
	font-size: 14px;
	line-height: 1.35em;
	padding: 10px;
	resize: vertical;
}
.site_chat_value {
	display: none;
}
.site_chat_editor {
	overflow-y: auto;
	outline: none;
	white-space: pre-wrap;
	word-break: break-word;
}
.site_chat_editor:empty:before {
	content: attr(data-placeholder);
	color: #7f8e99;
	pointer-events: none;
}
.site_chat_editor_item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	margin: 0 2px;
	max-width: 34px;
	max-height: 34px;
}
.site_chat_editor_item img {
	display: block;
	max-width: 28px;
	max-height: 28px;
}
.site_chat_smiles_btn {
	flex: 0 0 42px;
	width: 42px;
	min-height: 42px;
	border: 1px solid #3d4c57;
	border-radius: 5px;
	background: #192127;
	color: #dce7ee;
	cursor: pointer;
	font-size: 21px;
	font-weight: 800;
	line-height: 1;
}
.site_chat_smiles_btn:hover {
	background: #22303a;
	border-color: #4d7898;
	color: #fff;
}
.site_chat_smiles_panel {
	display: none;
	position: absolute;
	left: 9px;
	right: 9px;
	bottom: calc(100% - 1px);
	height: 310px;
	background: #202830;
	border: 1px solid #3b4b57;
	border-radius: 7px 7px 0 0;
	box-shadow: 0 -8px 22px rgba(0,0,0,.38);
	z-index: 4;
	overflow: hidden;
}
.site_chat_smiles_panel_show {
	display: flex;
	flex-direction: column;
}
.site_chat_picker_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 7px;
	background: #273039;
	border-bottom: 1px solid #384753;
}
.site_chat_picker_tabs {
	display: flex;
	gap: 5px;
}
.site_chat_picker_tab,
.site_chat_picker_close,
.site_chat_picker_back {
	border: 0;
	border-radius: 5px;
	cursor: pointer;
	font-weight: 800;
}
.site_chat_picker_tab {
	background: #1b232a;
	color: #aebcc6;
	font-size: 12px;
	padding: 7px 10px;
}
.site_chat_picker_tab_active {
	background: #2d83bd;
	color: #fff;
}
.site_chat_picker_close {
	background: transparent;
	color: #d5e0e7;
	font-size: 22px;
	line-height: 24px;
	width: 30px;
	height: 30px;
}
.site_chat_picker_search {
	margin: 8px 8px 0;
	background: #171f25;
	border: 1px solid #3c4b56;
	border-radius: 5px;
	color: #eef3f6;
	box-sizing: border-box;
	font-size: 13px;
	padding: 8px 10px;
}
.site_chat_smiles_list {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 8px;
}
.site_chat_picker_items,
.site_chat_picker_groups {
	display: grid;
	gap: 7px;
}
.site_chat_picker_items {
	grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
}
.site_chat_picker_items_type2,
.site_chat_picker_groups {
	grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}
.site_chat_picker_items_type2 {
	grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
}
.site_chat_picker_item,
.site_chat_picker_group {
	position: relative;
	min-height: 46px;
	border: 1px solid #344653;
	border-radius: 6px;
	background: #182127;
	color: #dce6ed;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 5px;
}
.site_chat_picker_items_type2 .site_chat_picker_item {
	min-height: 155px;
	padding: 8px;
}
.site_chat_picker_item:hover,
.site_chat_picker_group:hover {
	background: #22303a;
	border-color: #4d7898;
}
.site_chat_picker_group {
	min-height: 122px;
	flex-direction: column;
	gap: 5px;
}
.site_chat_picker_group_img {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
}
.site_chat_picker_group_img img {
	max-width: 72px;
	max-height: 72px;
}
.site_chat_picker_group_name {
	font-size: 12px;
	font-weight: 800;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.site_chat_picker_group_count {
	color: #94a6b3;
	font-size: 11px;
}
.site_chat_picker_locked {
	cursor: default;
	filter: grayscale(1);
	opacity: .55;
}
.site_chat_picker_locked:hover {
	background: #182127;
	border-color: #344653;
}
.site_chat_picker_lock {
	position: absolute;
	right: 5px;
	top: 5px;
	background: rgba(0,0,0,.62);
	border-radius: 50%;
	color: #fff;
	font-size: 12px;
	line-height: 22px;
	width: 22px;
	height: 22px;
	text-align: center;
}
.site_chat_picker_lottie,
.site_chat_lottie {
	display: inline-block;
	vertical-align: middle;
}
.site_chat_picker_lottie canvas,
.site_chat_picker_lottie svg,
.site_chat_lottie canvas,
.site_chat_lottie svg {
	display: block;
	width: 100% !important;
	height: 100% !important;
}
.site_chat_smile_img {
	display: inline-block;
	vertical-align: middle;
	margin: 0 2px;
}
.site_chat_sticker_line {
	display: block;
	margin: 4px 0;
}
.site_chat_sticker_wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}
.site_chat_picker_back {
	background: #2f3a42;
	color: #dce4ea;
	display: block;
	margin-bottom: 8px;
	padding: 8px 10px;
	text-align: left;
	width: 100%;
}
.site_chat_picker_empty {
	color: #9aa8b3;
	padding: 18px 8px;
	text-align: center;
}
.site_chat_context {
	display: none;
	position: fixed;
	z-index: 10000;
	min-width: 145px;
	background: #222b33;
	border: 1px solid #40515e;
	border-radius: 6px;
	box-shadow: 0 10px 26px rgba(0,0,0,.4);
	padding: 5px;
}
.site_chat_context_show {
	display: block;
}
.site_chat_context button {
	width: 100%;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #e8eef2;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	padding: 8px 10px;
	text-align: left;
}
.site_chat_context button:hover {
	background: #2d83bd;
	color: #fff;
}
.site_chat_input:focus {
	border-color: #4d7898;
}
.site_chat_send {
	flex: 0 0 100px;
	min-height: 42px;
	border: 0;
	border-radius: 5px;
	background: #2c8f44;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}
.site_chat_send:hover {
	background: #35a951;
}
.site_chat_send:disabled {
	opacity: .55;
	cursor: default;
}
.site_chat_guest {
	padding: 12px;
	background: #252c32;
	border-top: 1px solid #303840;
	color: #cbd4da;
	text-align: center;
}
.site_chat_blocked {
	background: #30281d;
	border-top-color: #7d5b25;
	color: #f3e2c5;
	line-height: 1.45em;
}
.site_chat_empty {
	color: #8f9da7;
	text-align: center;
	padding: 18px 10px;
	font-size: 13px;
}
.site_chat_risk_notice {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 100%;
	transform: translateY(10px);
	opacity: 0;
	pointer-events: none;
	background: #30281d;
	border: 1px solid #7d5b25;
	border-radius: 5px;
	box-shadow: 0 8px 18px rgba(0,0,0,.35);
	color: #f3e2c5;
	padding: 10px 12px;
	transition: opacity .2s ease, transform .2s ease;
	z-index: 2;
}
.site_chat_risk_notice_show {
	opacity: 1;
	transform: translateY(-6px);
	pointer-events: auto;
}
.site_chat_risk_title {
	color: #ffd38c;
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 4px;
	text-transform: uppercase;
}
.site_chat_risk_text {
	font-size: 13px;
	line-height: 1.45em;
}
.site_chat_risk_text a {
	color: #9ed0ff;
	font-weight: 700;
}
.site_chat_confirm {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.55);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 14px;
	box-sizing: border-box;
}
.site_chat_confirm_show {
	display: flex;
}
.site_chat_confirm_box {
	width: 100%;
	max-width: 430px;
	background: #252c32;
	border: 1px solid #44515c;
	border-radius: 6px;
	box-shadow: 0 12px 35px rgba(0,0,0,.45);
	color: #e8eef2;
	padding: 16px;
	box-sizing: border-box;
}
.site_chat_confirm_title {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	margin-bottom: 8px;
}
.site_chat_confirm_text {
	color: #cbd4da;
	font-size: 14px;
	line-height: 1.45em;
}
.site_chat_confirm_actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 14px;
}
.site_chat_confirm_actions button {
	border: 0;
	border-radius: 5px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 800;
	padding: 9px 13px;
}
.site_chat_confirm_cancel {
	background: #3b454d;
	color: #dfe7ec;
}
.site_chat_confirm_send {
	background: #268c23;
	color: #fff;
}
@media (max-width: 700px) {
	.site_chat_messages {
		height: 360px;
	}
	.site_chat_bubble {
		max-width: 84%;
	}
	.site_chat_form {
		flex-direction: column;
	}
	.site_chat_smiles_panel {
		height: 330px;
	}
	.site_chat_smiles_btn {
		width: 100%;
		flex-basis: auto;
	}
	.site_chat_picker_items_type2,
	.site_chat_picker_groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.site_chat_send {
		flex-basis: auto;
		padding: 10px;
	}
}
