/* Area #LA (LAU / LAC / LAV / LAD) */

#LA {
    width: 100%;
    max-width: 300px;
    min-width: 0;
    min-height: 0;
    background-color: var(--color-panel-bg);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
    position: relative;
    z-index: 1;
}

#LA[data-laul-open="1"],
#LA[data-user-panel-open="1"] {
    z-index: 60;
    overflow: visible;
}

/* Иначе absolute-меню (#LAUL_list_content и flyout) клипаются и уходят под #RA/#RAD */
#LA[data-laul-open="1"] #LAS {
    overflow: visible;
}

/* Верхняя колонка: LAU + LAM + LAC (на мобилке скроллится целиком) */
#LAS {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#LAU {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 1px solid #373737;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
}

#LAU[have_bg="1"] {
    background-color: var(--color-null-element-border);
}

#LAU[have_bg="1"]:before {
    content: '';
    display: block;
    padding-top: var(--lau-banner-height-pct, 50%);
    pointer-events: none;
}

#LAU[have_bg="1"]:after {
    content: '';
    display: block;
    pointer-events: none;
    width: 100%;
    height: 100px;
    background-image: linear-gradient(to bottom, var(--color-null-element-bg), transparent);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

html[page_type="user_contacts"] #LAU[have_bg="1"]:after {
    opacity: 0.5;
}

/* Связи проект ↔ новостник (внутри #LAC_list) */
html:not([page_type="project"]) #LAU_project_news_list {
    display: none !important;
}

html:not([page_type="news"]) #LAU_news_project_list {
    display: none !important;
}

#LAU_project_news_list[hidden],
#LAU_news_project_list[hidden] {
    display: none !important;
}

.lau_project_news_list {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 8px;
    margin: 0;
    padding: 4px 0 12px;
    box-sizing: border-box;
}

.lau_project_news_item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--color-null-element-border);
    border-radius: 12px;
    background-color: var(--color-panel-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--color-ui-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 52px;
}

.lau_project_news_item:hover {
    border-color: var(--color-btn-hover-border);
}

.lau_project_news_item[have_bg="1"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.42) 55%,
        rgba(0, 0, 0, 0.22) 100%
    );
    pointer-events: none;
}

.lau_project_news_item > * {
    position: relative;
    z-index: 1;
}

#LAU_project_news_list .lau_project_news_item .lau_project_news_thumb.search_result-thumb,
#LAU_news_project_list .lau_project_news_item .lau_project_news_thumb.search_result-thumb,
.user_card-profile_links .lau_project_news_item .lau_project_news_thumb.search_result-thumb {
    display: block;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    max-width: 36px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255 / 22%);
    background-size: cover;
    grid-row: auto;
    grid-column: auto;
}

#LAU_project_news_list .lau_project_news_name,
#LAU_news_project_list .lau_project_news_name,
.user_card-profile_links .lau_project_news_name {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    font-size: 95%;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lau_project_news_item[have_bg="1"] .lau_project_news_name {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

#LAU_project_news_list .lau_project_news_go,
#LAU_news_project_list .lau_project_news_go,
.user_card-profile_links .lau_project_news_go {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: url('../../ico/bt/arrow-back-triangle.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    transform: rotate(180deg);
    box-sizing: border-box;
    filter:
        brightness(0) invert(1)
        drop-shadow(0 0 1px rgba(0, 0, 0, 0.95))
        drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

#LAUL_header {    
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    flex: 1 1 auto;
    align-items: center;
    justify-content: start;
    display: flex;
    gap: 6px;
    font-size: 115%;
    font-weight: bold;
    white-space: nowrap;
    text-align: left;
    padding: 0 15px;
    height: 50px;
    overflow: hidden;
    position: relative;
}

#LAUL_header .LAUL_header-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#LAUL_header .m_panel_back {
    flex: 0 0 auto;
}

#LAM {
    display: none;
    flex: 0 0 auto;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    box-sizing: border-box;
}

#LAM_create {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    background-color: #6b65ad;
    color: #fff !important;
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

#LAM_create .lam_create-ico {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    background: url('../../ico/bt/add.svg') center / contain no-repeat;
    opacity: 0.9;
}

#LAM_create .lam_create-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 94%;
    font-weight: 600;
}

#LAM_create:hover {
    border-color: var(--color-btn-hover-border, #5a5a5a);
}

#LAM_create:hover .lam_create-ico {
    opacity: 1;
}

#LAM_news_bar {
    flex: 0 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.lam_news_subscribe {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 9px 17px;
    border: none;
    background: #615fa1;
    font-size: 104% !important;
    color: #d3d2fd !important;
    font: inherit;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.lam_news_subscribe[data-action="news_unsubscribe"] {
    background: #57557b;
}

.lam_news_subscribe:hover {
    background: #6866ab;
}

.lam_news_subscribe[data-action="news_unsubscribe"]:hover {
    background: #5f5d87;
}

.lam_badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #c45c5c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2;
}

.m_panel_back,
#RAU_nav-radr {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-null-element-border);
    border-radius: 10px;
    background-color: var(--color-null-element-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;
    cursor: pointer;
    box-sizing: border-box;
}

.m_panel_back {
    background-image: url('../../ico/bt/arrow-back-triangle.svg');
}

.m_panel_back[hidden],
#RAU_nav-radr[hidden] {
    display: none !important;
}

#RAU_nav-radr,
#RAU_nav-radr[aria-pressed="0"],
#RAU_nav-radr[aria-pressed="false"] {
    background-image: url('../../ico/bt/left-panel-close.svg');
}

#RAU_nav-radr[aria-pressed="1"],
#RAU_nav-radr[aria-pressed="true"] {
    background-image: url('../../ico/bt/left-panel-open.svg');
}

#LA_ghost {
    display: none;
    pointer-events: none;
}

#RADR_head {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-height: 52px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--color-null-element-border);
}

#RADR_head_title {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#LAUL_header:after {
    right: 0;
    top: 0;
    content: '';
    display: block;
    width: 50px;
    height: 100%;
    background-image: linear-gradient(to right, transparent, var(--color-panel-bg));
    position: absolute;
}

#LAU[have_bg="1"] #LAUL_header:after {
    opacity: 0;
}

#LAU[have_bg="1"] #LAUL_header {
    position: absolute;
    z-index: 2;
}

html[page_type="user_contacts"] #LAU[have_bg="1"] #LAUL_header {
    color: var(--lau-banner-text-color, #ffffff);
    text-shadow:
        0px 0px 10px var(--lau-banner-text-shadow-color, #000000),
        0px 0px 15px var(--lau-banner-text-shadow-color, #000000),
        0px 0px 15px var(--lau-banner-text-shadow-color, #000000),
        0px 0px 25px var(--lau-banner-text-shadow-color, #000000);
}

#LAU_promo {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 56px 16px 20px;
    box-sizing: border-box;
    pointer-events: none;
    text-align: center;
}

#LAU_promo[hidden] {
    display: none !important;
}

#LAU_promo[data-content-layout="left"] {
    padding-right: 50%;
}

#LAU_promo[data-content-layout="right"] {
    padding-left: 50%;
}

#LAU_promo .lau_promo-text {
    max-width: 92%;
    font-size: 97%;
    line-height: 1.15;
    white-space: pre-wrap;
    word-break: break-word;
}

#LAU_promo .lau_promo-btn {
    pointer-events: auto;
    border: 0;
    border-radius: 8px;
    padding: 6px 14px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    max-width: 90%;
    font-size: 90%;
}

#LAU_promo .lau_promo-btn[hidden] {
    display: none !important;
}

#LAUL_list {
    top: 0;
    right: 0;
    width: 40px;
    height: 50px;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#LAUL_list[open="1"] {
    z-index: 50;
}

#LAU[have_bg="1"] #LAUL_list {
    position: absolute;
    z-index: 2;
}

#LAU[have_bg="1"] #LAUL_list[open="1"] {
    z-index: 50;
}

#LAUL_list_bt {
    width: 100%;
    border-radius: 8px;
    border: 1px solid transparent;
    background-color: transparent;
    background-image: url('../../ico/bt/expand-more.svg');
    background-repeat: no-repeat;
    background-position: center;
    --btn-icon-size: 70%;
    background-size: var(--btn-icon-size);
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.15s ease, background-size 0.06s ease;
}

#LAUL_list_bt::before {
    content: '';
    display: block;
    padding-top: 100%;
    pointer-events: none;
}

#LAUL_list[open="1"] #LAUL_list_bt {
    transform: rotate(180deg);
}

#LAUL_pin {
    display: none;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    align-self: center;
    width: 36px;
    height: 36px;
    margin: 0 0 0 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: transparent;
    background-image: url('../../ico/bt/star-outline.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 58%;
    opacity: 0.55;
    cursor: pointer;
    box-sizing: border-box;
}

#LAUL_pin:not([hidden]) {
    display: block;
}

#LAU[have_bg="1"] #LAUL_pin {
    position: absolute;
    top: 7px;
    right: 38px;
    z-index: 3;
}

#LAUL_pin:hover {
    opacity: 0.9;
    background-color: rgba(255, 255, 255, 0.08);
}

#LAUL_pin[aria-pressed="1"],
#LAUL_pin[data-pinned="1"] {
    background-image: url('../../ico/bt/star-filled.svg');
    opacity: 1;
}

html:not([page_type="project"]) #LAUL_pin {
    display: none !important;
}

.m_sheet_close {
    display: none !important;
}

#LAUL_list_content {
    display: none;
    position: absolute;
    top: calc(100% + -8px);
    left: 35px;
    min-width: 180px;
    width: max-content;
    max-width: min(380px, 70vw);
    /* visible: иначе .LAUL_flyout (слева/справа снаружи) обрезается */
    overflow: visible;
    padding: 15px;
    box-sizing: border-box;
    background-color: var(--color-null-element-bg-opacity);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-null-element-border);
    border-radius: 12px;
    box-shadow: 0 0px 30px 2px rgba(0, 0, 0, 0.35);
}

#LAUL_list[open="1"] #LAUL_list_content {
    display: block;
}

.LAUL_menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-ui-text);
    font: inherit;
    font-size: 90%;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.LAUL_menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.LAUL_menu-item + .LAUL_menu-item {
    margin-top: 4px;
}

.LAUL_menu-item-ico {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    background: center / contain no-repeat;
    opacity: 0.88;
    pointer-events: none;
}

.LAUL_menu-item-label {
    flex: 1 1 auto;
    min-width: 0;
}

.LAUL_menu-item[data-icon="sparkle"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/sparkle.svg');
}

.LAUL_menu-item[data-icon="image"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/image.svg');
}

.LAUL_menu-item[data-icon="sticky-note-2"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/sticky-note-2.svg');
}

.LAUL_menu-item[data-icon="emoji-emotions"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/emoji-emotions.svg');
}

.LAUL_menu-item[data-icon="star-filled"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/star-filled.svg');
}

.LAUL_menu-item[data-icon="insert-drive-file"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/insert-drive-file.svg');
}

.LAUL_menu-item[data-icon="article"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/article.svg');
}

.LAUL_menu-item[data-icon="notifications"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/notifications.svg');
}

.LAUL_menu-item[data-icon="description"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/description.svg');
}

.LAUL_menu-item[data-icon="settings"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/settings.svg');
}

.LAUL_menu-item[data-icon="people"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/people.svg');
}

.LAUL_menu-item[data-icon="edit"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/edit.svg');
}

.LAUL_menu-item[data-icon="delete"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/delete.svg');
}

.LAUL_menu-item[data-icon="bookmark"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/bookmark.svg');
}

.LAUL_menu-item[data-icon="bookmark-off"] .LAUL_menu-item-ico {
    background-image: url('../../ico/bt/block.svg');
}

.LAUL_menu-item--flyout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    cursor: default;
}

.LAUL_menu-item--flyout .LAUL_menu-item-label {
    flex: 1 1 auto;
    pointer-events: none;
}

.LAUL_menu-item--flyout .LAUL_flyout {
    display: none;
    position: absolute;
    left: calc(100% + 0px);
    top: 0;
    min-width: 200px;
    max-width: min(280px, 60vw);
    padding: 10px;
    box-sizing: border-box;
    background-color: var(--color-null-element-bg);
    border: 1px solid var(--color-null-element-border);
    border-radius: 12px;
    box-shadow: 0 0px 30px 2px rgba(0, 0, 0, 0.35);
    z-index: 60;
}

.LAUL_menu-item--flyout.is-open .LAUL_flyout,
.LAUL_menu-item--flyout:hover .LAUL_flyout {
    display: block;
}

.LAUL_submenu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    padding: 4px 2px;
    font-size: 90%;
    color: var(--color-ui-text);
    cursor: pointer;
}

.LAUL_submenu-item:last-child {
    margin-bottom: 0;
}

#IFM_channel_more,
#IFM_feed_news_more,
#IFM_news_author_menu {
    position: fixed;
    z-index: 1300;
    min-width: 220px;
    max-width: min(320px, 70vw);
    padding: 10px;
    box-sizing: border-box;
    background-color: var(--color-null-element-bg);
    border: 1px solid var(--color-null-element-border);
    border-radius: 12px;
    box-shadow: 0 0px 30px 2px rgba(0, 0, 0, 0.35);
    overflow: visible;
}

#IFM_channel_more .LAUL_menu-item--flyout .LAUL_flyout,
#IFM_feed_news_more .LAUL_menu-item--flyout .LAUL_flyout {
    position: absolute;
    left: calc(100% + 6px);
    top: 0;
    display: none;
    margin-top: 0;
    box-shadow: 0 0px 30px 2px rgba(0, 0, 0, 0.35);
    z-index: 1310;
}

/* ПК: только hover — без мгновенного is-open */
#IFM_channel_more .LAUL_menu-item--flyout.is-open .LAUL_flyout,
#IFM_feed_news_more .LAUL_menu-item--flyout.is-open .LAUL_flyout {
    display: none;
}

#IFM_channel_more .LAUL_menu-item--flyout:hover .LAUL_flyout,
#IFM_feed_news_more .LAUL_menu-item--flyout:hover .LAUL_flyout {
    display: block;
}

.lac_channel-more {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border: 0;
    border-radius: 6px;
    background-color: transparent;
    background-image: url('../../ico/bt/more-vert.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lac_channel:hover .lac_channel-more,
.lac_channel.is-active .lac_channel-more,
.lac_channel:focus-within .lac_channel-more {
    opacity: 0.55;
    visibility: visible;
    pointer-events: auto;
}

.lac_channel-more:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.06);
}

#LAC_list[data-reorder="1"] .lac_channel-more {
    display: none;
}

#LAC {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 15px 0 0 0;
}

#LAV {
    flex: 0 0 auto;
    gap: 8px;
    min-height: 62px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #373737;
}

#LAV[hidden] {
    display: none !important;
}

#LAVL {
    flex: 1 1 auto;
    min-width: 0;
}

#LAVL_title {
    font-size: 90%;
    font-weight: bold;
    color: #9a9a9a;
}

#LAV[state="connected"] #LAVL_title {
    color: #3dbe6a;
}

#LAV[state="connecting"] #LAVL_title {
    color: #d4a017;
}

#LAV[state="reconnecting"] #LAVL_title {
    color: #d4a017;
}

#LAV[state="offline"] #LAVL_title {
    color: #9a9a9a;
}

#LAVL_descr {
    font-size: 80%;
    opacity: 0.7;
    margin-top: 2px;
}

#LAV[connected="0"] #LAVL_descr,
#LAVL_descr[hidden] {
    display: none !important;
}

#LAVR {
    flex: 0 0 auto;
}

#LAV[state="offline"] #LAVR {
    display: none !important;
}

#LAVR_bt_leave {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid transparent;
    background-color: transparent;
    background-image: url('../../ico/bt/call-end.svg');
    background-repeat: no-repeat;
    background-position: center;
    --btn-icon-size: 60%;
    background-size: var(--btn-icon-size);
    cursor: pointer;
    box-sizing: border-box;
    transition: background-size 0.06s ease;
}

#LAD {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2d2d2d;
    border-top: 1px solid #373737;
}

#MNB {
    display: none;
}

#MNB[hidden] {
    display: none !important;
}

#LAD_user {
    padding: 12px 12px 14px 15px;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
    position: relative;
    z-index: 4;
}

#user_panel {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    position: relative;
    cursor: pointer;
}

#user_panel-avatar {
    flex: 0 0 auto;
    width: 48px;
    border-radius: 100%;
    border: 2px solid var(--color-null-element-border);
    background-color: var(--color-panel-bg);
    background-image: url('../../ico/bt/avatar.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;
    box-sizing: border-box;
    transition: border-color 0.12s ease;
}

#user_panel-avatar.is-speaking {
    border-color: var(--color-lpd-active-border);
}

#user_panel-avatar::before {
    content: '';
    display: block;
    padding-top: 100%;
    pointer-events: none;
}

#user_panel-avatar[have_img="1"] {
    background-size: cover;
}

.usr_lvl {
    position: absolute;
    left: 50%;
    top: -28px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 20px;
    transform: translateX(-50%);
    box-sizing: border-box;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px 20px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
    pointer-events: none;
    user-select: none;
}

.usr_lvl[hidden] {
    display: none !important;
}

.usr_lvl.is-negative {
    filter: hue-rotate(160deg) saturate(1.15);
}

.user_panel-info-area {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.user_panel-info-area:after {
    content: '';
    display: block;
    width: 25px;
    height: 100%;
    background-image: linear-gradient(to right, transparent, #2d2d2d);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
}

#user_panel[open="1"] .user_panel-info-area:after {
    display: none;
}

#user_panel-name {
    font-size: 95%;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

#user_panel-info {
    font-size: 85%;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.user_panel-status-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7a7a7a;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

#user_panel-info[data-status="online"] .user_panel-status-dot,
.user_panel-status-dot[data-status="online"] {
    background: #3dbe6a;
}

#user_panel-info[data-status="wait"] .user_panel-status-dot,
.user_panel-status-dot[data-status="wait"] {
    background: #d4a017;
}

#user_panel-info[data-status="hide"] .user_panel-status-dot,
.user_panel-status-dot[data-status="hide"] {
    background: #7a8cff;
}

#user_panel-info[data-status="dnd"] .user_panel-status-dot,
.user_panel-status-dot[data-status="dnd"] {
    background: #e53935;
}

#user_panel-info[data-status="offline"] .user_panel-status-dot,
.user_panel-status-dot[data-status="offline"] {
    background: #8a8a8a;
}

#user_panel-info .user_panel-status-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#user_panel-status_menu {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: min(300px, 78vw);
    padding: 0;
    box-sizing: border-box;
    background-color: var(--color-null-element-bg-opacity);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-null-element-border);
    border-radius: 12px;
    box-shadow: 0 0 30px 2px rgba(0, 0, 0, 0.35);
    cursor: default;
    z-index: 5;
    overflow: hidden;
}

/* #user_panel-online_picker — absolute справа; без visible клипается */
#user_panel-status_menu:has(#user_panel-online_picker[open="1"]) {
    overflow: visible;
}

#user_panel[open="1"] #user_panel-status_menu:not([hidden]),
#user_panel-status_menu.is-ported:not([hidden]) {
    display: block;
}

#user_panel-status_menu > :not(.user_card_header) {
    padding-left: 12px;
    padding-right: 12px;
}

#user_panel-status_menu > .user_card_header {
    gap: 6px;
    justify-content: flex-end;
}

#user_panel-status_menu > .user_card_header .user_card_header-edit {
    flex: 0 0 auto;
}

#user_panel-status_menu > .user_panel-menu-footer,
#user_panel-status_menu > #user_panel-online_picker {
    padding-bottom: 12px;
}

.user_card_header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 100px;
    margin-bottom: 0;
    z-index: 0;
    padding: 8px 10px;
    box-sizing: border-box;
    background-color: var(--user-card-header-bg, transparent);
    border-bottom: 1px solid var(--color-null-element-border);
}

.user_card_header-decorate {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.user_card_header-decorate-label {
    position: absolute;
    right: calc(100% + 6px);
    top: 50%;
    transform: translate(8px, -50%);
    white-space: nowrap;
    font-size: 85%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.user_card_header-decorate:hover .user_card_header-decorate-label,
.user_card_header-decorate:focus-within .user_card_header-decorate-label {
    opacity: 0.95;
    transform: translate(0, -50%);
}

.user_card_header-decorate-btn {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-null-element-border);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.22);
    background-image: url('../../ico/bt/sparkle.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 56%;
    color: var(--color-ui-text);
    cursor: pointer;
    box-sizing: border-box;
}

.user_card_header-decorate-btn:hover {
    border-color: var(--color-btn-hover-border);
    background-size: 62%;
}

#IFM_user_card:not([data-self="1"]) .user_card_header-decorate {
    display: none;
}

.user_panel-menu-grid {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
}

.user_panel-menu-avatar {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    margin-top: -50px;
    padding: 0;
    border: 5px solid var(--color-panel-bg);
    border-radius: 50%;
    background: var(--color-panel-bg);
    cursor: pointer;
}

.user_panel-menu-avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: url('../../ico/bt/avatar.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 55%;
}

.user_panel-menu-avatar[have_img="1"] .user_panel-menu-avatar-img {
    background-size: cover;
}

.user_panel-menu-avatar .avatar-change-hint {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(12, 12, 14, 0.58);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.user_panel-menu-avatar:hover .avatar-change-hint,
.user_panel-menu-avatar:focus-visible .avatar-change-hint {
    opacity: 1;
}

.user_panel-menu-avatar .usr_lvl {
    z-index: 4;
}

.user_panel-menu-avatar .user_panel-status-dot {
    position: absolute;
    right: 2px;
    bottom: 3px;
    z-index: 2;
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-null-element-bg);
}

.user_panel-menu-text_status {
    display: flex;
    align-items: flex-start;
    min-height: 72px;
    margin: -50px 0 0 0;
    padding: 10px;
    border: 1px solid var(--color-null-element-border);
    border-radius: 10px;
    background-color: var(--color-null-element-bg);
    color: var(--color-null-element-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.user_panel-menu-text_status-value[data-empty="1"] {
    opacity: 0.45;
}

.user_panel-menu-avatar-actions {
    display: none;
    gap: 8px;
    margin-bottom: 10px;
}

.user_panel-menu-avatar-actions[data-visible="1"] {
    display: flex;
}

.user_panel-menu-btn {
    flex: 1 1 auto;
    padding: 8px 10px;
    border: 1px solid var(--color-btn-border);
    border-radius: 8px;
    background: var(--color-btn-bg);
    color: var(--color-btn-text);
    font: inherit;
    cursor: pointer;
}

.user_panel-menu-btn--ghost {
    background: transparent;
}

.user_panel-menu-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0 0 6px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-null-element-text);
    font: inherit;
    text-align: left;
    box-sizing: border-box;
}

.user_panel-menu-display_name {
    font-weight: bold;
    font-size: 120%;
    margin-bottom: 0;
    padding-bottom: 0;
}

.user_panel-menu-about {
    align-items: flex-start;
    opacity: 0.82;
    font-size: 90%;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.35;
}

.user_panel-menu-about[hidden] {
    display: none !important;
}

.user_panel-menu-login-at {
    display: none;
}

.user_panel-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--color-null-element-border);
}

.user_panel-menu-footer .user_panel-menu-row {
    margin-bottom: 0;
}

#user_panel-online_picker {
    display: none;
    position: absolute;
    top: 12px;
    left: calc(100% + 8px);
    min-width: 160px;
    padding: 8px;
    background-color: var(--color-null-element-bg);
    border: 1px solid var(--color-null-element-border);
    border-radius: 12px;
    box-shadow: 0 0 30px 2px rgba(0, 0, 0, 0.35);
    z-index: 6;
}

#user_panel-online_picker[open="1"] {
    display: block;
}

.user_panel-status_menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-null-element-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.user_panel-status_menu-item:hover,
.user_panel-status_menu-item.is-active {
    background: var(--color-list-bg);
}

.user_panel-status_menu-item .user_panel-status-text {
    flex: 1 1 auto;
    min-width: 0;
}

.user_panel-menu-points {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user_panel-menu-points-label {
    opacity: 0.85;
}

#user_panel-menu-points-value {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

#LAD_options {
    flex: 0 0 auto;
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
}

#LAD_options > [id^="user_option-"] {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid transparent;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    --btn-icon-size: 60%;
    background-size: var(--btn-icon-size);
    cursor: pointer;
    box-sizing: border-box;
    transition: background-size 0.06s ease;
}

#user_option-voice {
    background-image: url('../../ico/bt/mic-off.svg');
}

#user_option-voice[on="1"] {
    background-image: url('../../ico/bt/mic.svg');
}

#user_option-audio {
    background-image: url('../../ico/bt/volume-off.svg');
}

#user_option-audio[on="1"] {
    background-image: url('../../ico/bt/volume-up.svg');
}

#user_option-video {
    background-image: url('../../ico/bt/videocam-off.svg');
}

#user_option-video[on="1"] {
    background-image: url('../../ico/bt/videocam.svg');
}

#user_option-more {
    background-image: url('../../ico/bt/settings.svg');
}

.RADR_list_end,
.RADR_empty,
.lac_empty {
    font-size: 80%;
    opacity: 0.55;
    padding: 8px 4px 12px;
}

#LAC_list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    overflow-y: auto;
    padding: 0 15px 15px 15px;
    box-sizing: border-box;
}

.lac_group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    margin-top: 4px;
}

.lac_group-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    border-radius: 8px;
    cursor: pointer;
    min-width: 0;
    user-select: none;
}

.lac_group-header:hover,
.lac_group.is-active > .lac_group-header {
    background: rgba(255, 255, 255, 0.06);
}

.lac_group-chevron {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    opacity: 0.55;
    background-image: url('../../ico/bt/expand-more.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    transition: transform 0.15s ease;
}

.lac_group[data-open="0"] > .lac_group-header .lac_group-chevron {
    transform: rotate(-90deg);
}

.lac_group-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 75%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lac_group-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 6px;
}

.lac_group-body[hidden] {
    display: none !important;
}

.lac_empty--group {
    font-size: 80%;
    opacity: 0.45;
    padding: 4px 8px 6px;
}

.lac_group-edit {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border: 0;
    border-radius: 6px;
    background-color: transparent;
    background-image: url('../../ico/bt/edit.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lac_drag {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border: 0;
    border-radius: 6px;
    background-color: transparent;
    background-image: url('../../ico/bt/drag-indicator.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    cursor: grab;
    opacity: 0.55;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.lac_drag:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.06);
}

.lac_drag:active,
#LAC_list.is-dnd-active .lac_drag {
    cursor: grabbing;
}

#LAC_list[data-reorder="1"] .lac_channel-edit,
#LAC_list[data-reorder="1"] .lac_group-edit {
    display: none !important;
}

#LAC_list.is-dnd-active {
    user-select: none;
    -webkit-user-select: none;
}

.lac_channel_wrap.is-dnd-source,
.lac_group.is-dnd-source {
    opacity: 0.35;
}

.lac_channel_wrap.is-dnd-source .lac_channel,
.lac_group.is-dnd-source > .lac_group-header {
    outline: 1px dashed rgba(255, 255, 255, 0.25);
}

.lac_drop_marker {
    height: 3px;
    margin: 2px 6px;
    border-radius: 2px;
    background: var(--color-accent, #6aa3ff);
    pointer-events: none;
}

.lac_group.is-dnd-drop-target > .lac_group-header {
    background: rgba(106, 163, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(106, 163, 255, 0.55);
}

#LAC_list[data-reorder="1"] .lac_group-header--edit {
    cursor: pointer;
}

#LAC_list[data-reorder="1"] .lac_group-header--edit .lac_group-chevron {
    transform: rotate(90deg);
    opacity: 0.35;
}

.lac_dnd_ghost {
    position: fixed;
    z-index: 10050;
    pointer-events: none;
    opacity: 0.92;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    background: var(--color-panel-bg, #1c1c1c);
    max-width: min(280px, 70vw);
    transform: translate(-8px, -8px);
}

.lac_dnd_ghost .lac_drag,
.lac_dnd_ghost .lac_voice_users,
.lac_dnd_ghost .lac_group-body {
    display: none !important;
}

.lac_dnd_ghost .lac_group-header,
.lac_dnd_ghost .lac_channel {
    margin: 0;
}

.lac_group-header:hover .lac_group-edit,
.lac_group-header:focus-within .lac_group-edit,
.lac_group.is-active > .lac_group-header .lac_group-edit {
    opacity: 0.55;
    visibility: visible;
    pointer-events: auto;
}

.lac_group-edit:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.06);
}

.lac_item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0px 8px 8px;
    border-radius: 8px;
    cursor: pointer;
    min-width: 0;
}

.lac_item:hover,
.lac_item.is-active {
    background: rgba(255, 255, 255, 0.06);
}

.lac_item-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-null-element-border);
    background-color: var(--color-null-element-bg);
    background-image: url('../../ico/bt/avatar.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
}

.lac_item-avatar .user_panel-status-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 10px;
    height: 10px;
    z-index: 2;
}

.lac_item-avatar.is-favorites {
    background-color: #867fcd;
    background-image: url('../../ico/bt/bookmark-white.svg');
    background-size: 58%;
    border-color: rgba(183, 178, 255, 0.55);
}

.lac_item-friend {
    position: absolute;
    top: 50%;
    left: -18px;
    z-index: 2;
    width: 17px;
    height: 25px;
    margin-top: -12.5px;
    border-radius: 0 10px 10px 0;
    border: none;
    padding: 0;
    background-color: #3d3d3d;
    background-image: url(../../ico/bt/person-white.svg);
    background-repeat: no-repeat;
    background-position: 30% 50%;
    background-size: 60%;
    pointer-events: none;
}

.lac_unread_badge {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 3;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 999px;
    background: #c54031;
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    font-weight: 700;
    pointer-events: none;
}

.lac_item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.lac_item-pin {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-left: -8px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background-color: transparent;
    background-image: url('../../ico/bt/star-outline.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 58%;
    opacity: 0.45;
    cursor: pointer;
}

.lac_item-pin:hover {
    opacity: 0.85;
    background-color: rgba(255, 255, 255, 0.08);
}

.lac_item-pin[data-pinned="1"] {
    background-image: url('../../ico/bt/star-filled.svg');
    opacity: 1;
}

.lac_item-name {
    font-size: 90%;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lac_item-preview {
    font-size: 75%;
    opacity: 0.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lac_item-call {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 2px;
    padding: 0;
    border: 0px solid #ffffff24;
    border-radius: 10px;
    background: #3a3a3a;
    cursor: pointer;
}

.lac_item-call[hidden] {
    display: none;
}

.lac_item-call:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
}

.lac_item-call-icon {
    display: block;
    width: 18px;
    height: 18px;
    background: url('../../ico/bt/call.svg') center / contain no-repeat;
}

.lac_item-call[data-call-mode="active"] .lac_item-call-icon,
.lac_item-call[data-call-mode="ringing"] .lac_item-call-icon {
    background-image: url('../../ico/bt/call-end.svg');
}

.lac_item-call[data-call-mode="incoming"] {
    border-color: rgba(76, 175, 80, 0.45);
    background: rgba(46, 125, 50, 0.35);
}

.lac_item-call[data-call-mode="incoming"] .lac_item-call-icon {
    background-image: url('../../ico/bt/call.svg');
    animation: lac_call_shake 0.55s ease-in-out infinite;
    transform-origin: 50% 50%;
}

@keyframes lac_call_shake {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-14deg); }
    30% { transform: rotate(12deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(8deg); }
    75% { transform: rotate(-4deg); }
}

.contacts_empty {
    flex: 1 1 auto;
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 24px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.contacts_empty-incoming {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    text-align: left;
}

.contacts_empty-incoming[hidden] {
    display: none !important;
}

.contacts_empty-incoming-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--color-null-element-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

.contacts_empty-incoming-title {
    font-size: 85%;
    font-weight: 600;
    color: #3dbe6a;
}

.contacts_empty-incoming-name {
    font-size: 80%;
    opacity: 0.85;
    margin-top: 2px;
}

.contacts_empty-incoming-answer {
    flex: 0 0 auto;
    border: 1px solid var(--color-null-element-border);
    background: var(--color-null-element-bg);
    color: var(--color-ui-text);
    border-radius: 8px;
    padding: 8px 12px;
    font: inherit;
    font-size: 85%;
    cursor: pointer;
}

.contacts_empty-text {
    opacity: 0.8;
    line-height: 1.45;
    margin: 0 0 16px;
}

.contacts_empty-invite {
    border: 1px solid var(--color-null-element-border);
    background: var(--color-null-element-bg);
    color: var(--color-ui-text);
    border-radius: 10px;
    padding: 10px 18px;
    cursor: pointer;
}

.lac_item-icon {
    position: relative;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    background: var(--color-null-element-bg);
    border: 1px solid var(--color-null-element-border);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

.lac_item-icon[data-kind="text"] {
    background-image: url('../../ico/bt/description.svg');
}

.lac_item-icon[data-kind="audio"] {
    background-image: url('../../ico/bt/volume-up.svg');
}

.lac_item-icon.has-emoji {
    background-image: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-sizing: border-box;
}

.lac_item-icon-emoji {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.lac_channel-edit {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-left: auto;
    border: 0;
    border-radius: 6px;
    background-color: transparent;
    background-image: url('../../ico/bt/edit.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lac_channel:hover .lac_channel-edit,
.lac_channel.is-active .lac_channel-edit,
.lac_channel:focus-within .lac_channel-edit {
    opacity: 0.55;
    visibility: visible;
    pointer-events: auto;
}

.lac_channel-edit:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.06);
}

.lac_add_group,
.lac_add_channel {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px dashed var(--color-null-element-border);
    border-radius: 8px;
    background: transparent;
    color: var(--color-ui-text);
    font: inherit;
    font-size: 90%;
    text-align: left;
    cursor: pointer;
    opacity: 0.8;
}

.lac_add_channel {
    margin-top: 4px;
}

.lac_add_group:hover,
.lac_add_channel:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.04);
}

.user_card-avatar .user_panel-status-dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    z-index: 2;
    width: 12px;
    height: 12px;
}

.lac_channel_wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lac_voice_users {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 0 4px 28px;
}

.lac_voice_users[hidden] {
    display: none !important;
}

.lac_voice_user {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 2px 4px;
    border-radius: 6px;
    cursor: pointer;
}

.lac_voice_user:hover,
.lac_voice_user.is-card-open {
    background: rgba(255, 255, 255, 0.06);
}

.lac_voice_user-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--color-null-element-border);
    background-color: var(--color-null-element-bg);
    background-image: url('../../ico/bt/avatar.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    transition: border-color 0.12s ease;
}

.lac_voice_user.is-speaking .lac_voice_user-avatar {
    border-color: var(--color-lpd-active-border);
}

.lac_voice_user-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lac_voice_user-media {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1px;
    margin-left: 4px;
}

.lac_voice_user-media-btn {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85%;
    pointer-events: none;
    opacity: 0.75;
}

.lac_voice_user-media-btn[data-kind="mic"] {
    background-image: url('../../ico/bt/mic-off.svg');
}

.lac_voice_user-media-btn[data-kind="mic"][on="1"] {
    background-image: url('../../ico/bt/mic.svg');
}

.lac_voice_user-media-btn[data-kind="audio"] {
    background-image: url('../../ico/bt/volume-off.svg');
}

.lac_voice_user-media-btn[data-kind="audio"][on="1"] {
    background-image: url('../../ico/bt/volume-up.svg');
}

.lac_voice_user-media-btn[data-kind="video"] {
    background-image: url('../../ico/bt/videocam-off.svg');
}

.lac_voice_user-media-btn[data-kind="video"][on="1"] {
    background-image: url('../../ico/bt/videocam.svg');
}

.lac_voice_user-avatar .user_panel-status-dot {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 8px;
    height: 8px;
    border: 1px solid var(--color-panel-bg, var(--color-null-element-bg));
    box-sizing: border-box;
}

button.user_panel-menu-row {
    cursor: pointer;
}

button.user_panel-menu-row:hover {
    background: var(--color-list-bg);
}
