.lc_area {background-color: var(--bg-2); color: var(--tt); border-radius: 6px; overflow: hidden; 
	--bdc: rgba(0,0,0,0.1); --fz: 12px; border: 1px solid var(--bdc);}
.lc_chat_list_area {position: relative; height: 230px;}
.lc_chat_list {max-height: 100%; overflow-x: hidden; overflow-y: auto;}

.lc_chat_li {padding: 10px 10px; padding-left: 60px; padding-bottom: 30px; line-height: 1.4;
	border-bottom: 1px solid var(--bdc); position: relative; min-height: 80px;}
.lc_chat_li_foto_block {width: 40px; height: 40px; border-radius: 4px; 
	display: block; position: absolute; left: 10px; top: 10px;}
.lc_chat_li_foto_block img {display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit;}
.lc_chat_li_autor {font-weight: 700; white-space: nowrap; overflow: hidden; 
	text-overflow: ellipsis; max-width: calc(100% - 0px);}
.lc_chat_li_autor.lc_group_1 {color: var(--accent-red);}
.lc_chat_li_autor.lc_group_4 {color: var(--accent-green);}
.lc_chat_li_date {position: absolute; left: 10px; bottom: 8px; color: var(--tt-2); font-size: var(--fz); 
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%;}
.lc_chat_li_text {margin: 5px 0 0 0;}
.lc_chat_li_text > img {display: inline-block; vertical-align: middle; margin: 3px;}
.lc_chat_li_text a {text-decoration: underline; color: var(--accent); font-weight: 700;}
.lc_chat_li_act {font-size: var(--fz); color: var(--tt-2); display: flex; justify-content: flex-end; gap: 5px; 
	position: absolute; bottom: 8px; right: 10px;}
.lc_chat_li_act li {cursor: pointer;}
.lc_chat_li:has(.lc_chat_li_act li:nth-child(2)) .lc_chat_li_date {max-width: 30%;}

.lc_chat_timeout {position: absolute; left: 0; top: 0; width: 100%; height: 100%; 
	z-index: 10; background-color: rgba(0,0,0,0.6); 
	display: grid; place-items: center; padding: 20px; text-align: center; color: #fff;}
.lc_chat_timeout_imback {background-color: #00a0b0; color: #fff; display: block; padding: 10px; 
	border-radius: 4px; margin-top: 10px; text-transform: uppercase; font-size: 12px; font-weight: 500;}

.lc_bb_panel {padding: 5px 10px; gap: 10px; display: flex; align-items: center; flex-wrap: wrap; 
	border-top: 1px solid var(--bdc); background: linear-gradient(to top, var(--bdc) 0%, transparent 50%);}
.lc_bb_panel li {cursor: pointer; width: 24px; height: 24px; background-size: contain;
	background-position: 50% 50%; overflow: hidden; text-indent: -200px;}
.lc_bb_b{background:url('bbcodes/b.gif') no-repeat;}
.lc_bb_i{background:url('bbcodes/i.gif') no-repeat;}
.lc_bb_u{background:url('bbcodes/u.gif') no-repeat;}
.lc_bb_s{background:url('bbcodes/s.gif') no-repeat;}
.lc_bb_emo{background:url('bbcodes/smiling-face.png') no-repeat;}
.lc_bb_leech{background:url('bbcodes/link.gif') no-repeat;}
.lc_bb_image{background:url('bbcodes/image.gif') no-repeat;}
.lc_bb_color{background:url('bbcodes/color.gif') no-repeat;}
.lc_bb_video{background:url('bbcodes/youtube.gif') no-repeat;}
.lc_bb_quote{background:url('bbcodes/quote.gif') no-repeat;}
li.lc_bb_sep{width:5px;background:url('bbcodes/brkspace.gif') no-repeat;cursor:default; display: none;}
.lc_bb_cards {background: url(/uploads/playing_cards.svg) no-repeat;}

.lc_textarea textarea {background-color: var(--bg); border-radius: 0; border: 0; box-shadow: none; 
	padding: 10px; font-size: var(--fz); min-height: 40px; height: 40px;}
.lc_progress {height: 5px; background-color: var(--bdc);}
.lc_progress_bar {height: 100%; background-color: var(--accent-green);}
.lc_buttons {padding: 10px; display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; justify-content: space-between;}
.lc_add {display: block; padding: 10px 20px; border-radius: 4px; text-transform: uppercase; font-size: var(--fz); 
	font-weight: 500; background-color: #9e294f; color: #fff; text-align: center; margin-right: auto;}
.lc_symb_left {font-size: var(--fz); color: var(--tt);}
.lc_soundoff {display: block;}
.lc_soundoff i, .lc_admin_settings i {font-family: 'Font Awesome 5 Pro'; font-weight: 300; font-style: normal;}
.lc_soundoff i::before {content: "\f6a8"; font-size: 18px;}
.lc_soundoff i.lc_icon_soundoff::before {content: "\f6a9";}
.lc_admin_settings i::before {content: "\f023"; font-size: 14px;}

.lc_modal_smiles, .lc_modal_colors {position: absolute; left: 0; top: 0; width: 100%; height: 100%; 
	z-index: 5; padding: 0px; background-color: var(--bg); display: none;}
.lc_smiles_div {height: calc(100% - 30px); overflow-x: hidden; overflow-y: auto;}
.lc_smiles_groups {height: 30px; background-color: var(--bg-2);}
.lc_smiles_groups {display: flex;}
.lc_smiles_groups li {display: grid; place-items: center; width: 40px; height: 30px; cursor: pointer;}
.lc_smiles_current {background-color: var(--bg);}
.lc_smile_close {height: 28px; display: flex; align-items: center; 
	position: absolute; right: 10px; top: 0; z-index: 3; font-size: var(--fz); color: var(--accent-red);}
.lc_smiles_ul {display: none;}
.lc_smiles_ul.lc_smiles_current {display: flex; align-items: center; flex-wrap: wrap; padding: 10px;}
.lc_smiles_ul li {cursor: pointer; width: 50px; padding: 5px; border-radius: 6px;}
.lc_smiles_ul li img {display: block; width: 100%;}

.lc_bb_modal {display: none;}
.lc_admin_list {width: 100%; order: 10; display: flex !important; justify-content: center; gap: 6px 20px; flex-wrap: wrap; font-size: var(--fz);}
.lc_admin_list li {cursor: pointer;}
.lc_admin_settings {margin-left: auto; margin-right: -10px;}

a.lc_chat_li_foto_block:hover, .lc_bb_panel li:hover {opacity: 0.8;}
.lc_chat_timeout_imback:hover {background-color: #0bb9c9; color: #fff;}
.lc_add:hover {background-color: #b62a56; color: #fff;}
a.lc_chat_li_autor:hover, .lc_chat_li_act li:hover, .lc_smile_close:hover, .lc_admin_list li:hover, 
.lc_admin_settings:hover {text-decoration: underline;}
.lc_smiles_ul li:hover {box-shadow: inset 0 0 0 2px var(--accent-red)}
.lc_smiles_groups li:not(.lc_smiles_current):hover {background-color: var(--bdc);}
.lc_doregerr {padding: 10px 15px;background-color: var(--bg-2);border-radius: 8px;}
@media screen and (min-width: 1220px) {
	.col-side .lc_add {width: 100%; order: 9; margin: 0; padding: 10px;}
	.col-side .lc_chat_li {font-size: var(--fz);}
}
.dt-is-active .lc_area {background-color: rgba(255,255,255,0.1); --bdc: rgba(0,0,0,0.5);}

.lc_area .anime-cards__item-wrapper {width: 60px; margin: 0; margin-top: 5px; padding: 0;}
.lc_area .anime-cards__item {border-radius: 4px; padding: 5px;}
.lc_area .anime-cards__image video {border-radius: 3px !important;}

.lc_modal {z-index:9997; position: fixed !important; display: none; top: 30%; left: 50%; width: 700px; margin-left: -350px;
	background: var(--bg); border: 1px solid var(--bdc);
	color: var(--tt); box-shadow: var(--bsh); border-radius: 5px;}
.lc_modal_header {height: 55px; border-bottom: 1px solid var(--bdc); font-size: 18px; font-weight: 500;
	padding: 0 15px; cursor: move; position: relative;}
a.lc_modal_header_close {position: absolute; height: 19px; width: 19px; top: 18px; right: 18px; text-align: center;
	font-size: 18px; font-weight: 500; color: var(--tt); border-radius: 3px;}
.lc_modal_header_close:hover {color: var(--accent-red);}
.lc_modal_content {padding: 20px; max-height: 270px; overflow: auto;}
.lc_modal_content a {color: var(--accent-green);}
.lc_modal_buttons {height: 34px; border-top: 1px solid var(--bdc); padding: 20px;}
.lc_modal_buttons a {display:none; float: right; height: 32px;
	font-size: 12px; line-height: 32px; border: 1px solid var(--bdc); background: var(--bg); color: var(--tt);
	padding: 0 15px; margin-left: 10px; border-radius: 4px;}
.lc_modal_buttons a:hover {background: #428bca; border-color: #357ebd; color: #fff;}
.lc_modal_buttons a.lc_modal_button_hide {display: none;}
.lc_modal_buttons a.lc_modal_truncate{display: none;}
.lc_chat_color_ins{text-indent:-10000px;}