 #header {
    position: relative;
    width: 100%;
}

#header-banner {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.header-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 100;
}

.menu-btn, .icon-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.menu-btn:active, .icon-btn:active {
    background: rgba(255,255,255,0.2);
}

.logo-text {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.right-controls {
    display: flex;
    gap: 4px;
}

/* Search Panel */
.search-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #4e4e4e;
    display: flex;
    align-items: center;
    padding: 0 8px;
    z-index: 200;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-panel.active {
    transform: translateY(0);
}

.search-panel form {
    flex: 1;
    margin: 0 8px;
}

.search-input {
    width: 100%;
    border: none;
    font-size: 16px;
    padding: 12px 8px;
    background: transparent;
}

.search-input:focus {
    outline: none;
}

.back-btn, .clear-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    color: #bfbfbf;
    border-radius: 50%;
}

.back-btn:active, .clear-btn:active {
    background: rgba(0,0,0,0.1);
}

.clear-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.clear-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Filter Panel */
.filter-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    background: #fff;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
}

.filter-panel.active {
    transform: translateX(0);
}

.filter-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    gap: 12px;
}

.filter-header h3 {
    flex: 1;
    margin: 0;
    font-size: 18px;
}

.text-btn {
    background: none;
    border: none;
    color: #e50914;
    font-weight: 600;
    cursor: pointer;
    padding: 8px;
}

.filter-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #303030;
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.apply-btn {
    width: 100%;
    padding: 14px;
    background: #e50914;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.apply-btn:active {
    background: #c00;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    #header-banner {
        max-height: 150px;
    }
}

/* ========== PAGINATION ========== */
/* Кнопки Prev/Next */
.pagination-wrapper {
    padding: 20px 16px;
    background: #1a1a1a;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Кнопки Prev/Next */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-btn svg {
    width: 24px;
    height: 24px;
    fill: #888;
    transition: fill 0.2s;
}

.pagination-btn:hover {
    background: #3a3a3a;
    border-color: #4a4a4a;
    transform: translateY(-2px);
}

.pagination-btn:hover svg {
    fill: #4CAF50;
}

.pagination-btn:active {
    transform: translateY(0) scale(0.95);
}

/* Контейнер страниц */
.pagination-pages {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Ссылки на страницы */
.pagination-pages a,
.pagination-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

/* Текущая страница */
.pagination-pages span {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    cursor: default;
}

/* Ссылки при hover */
.pagination-pages a:hover {
    background: #3a3a3a;
    border-color: #4a4a4a;
    transform: translateY(-2px);
    color: #4CAF50;
}

.pagination-pages a:active {
    transform: translateY(0) scale(0.95);
}

/* Троеточие (...) */
.pagination-pages span[class*="nav_ext"] {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #666;
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 500px) {
    .pagination-btn {
        width: 36px;
        height: 36px;
    }
    
    .pagination-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .pagination-pages a,
    .pagination-pages span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (min-width: 900px) {
    .pagination-wrapper {
        max-width: 900px;
        margin: 0 auto;
    }
}

/* Анимация появления */
@keyframes paginationFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pagination {
    animation: paginationFadeIn 0.3s ease-out;
}

/* Pulse анимация для текущей страницы */
@keyframes pulsePage {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(76, 175, 80, 0.5);
    }
}

.pagination-pages span {
    animation: pulsePage 2s infinite;
}
 

 /* ========== HAMBURGER DRAWER MENU ========== */

/* Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    backdrop-filter: blur(4px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Drawer */
.main-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #1a1a1a;
    border-right: 1px solid #2a2a2a;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.main-drawer.active {
    transform: translateX(0);
}

/* Header */
.drawer-header {
    padding: 20px 16px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-bottom: 1px solid #3a3a3a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 80px;
}

/* User Info */
.drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.drawer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drawer-avatar svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

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

.drawer-username {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-user-role {
    font-size: 12px;
    color: #888;
}

/* Logo (для гостей) */
.drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.drawer-logo svg {
    width: 36px;
    height: 36px;
    fill: #4CAF50;
    flex-shrink: 0;
}

.drawer-logo span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

/* Close Button */
.drawer-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.drawer-close svg {
    width: 20px;
    height: 20px;
    fill: #888;
    transition: fill 0.2s;
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.drawer-close:hover svg {
    fill: #fff;
}

.drawer-close:active {
    transform: scale(0.9);
}

/* Content */
.drawer-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.drawer-content::-webkit-scrollbar {
    width: 6px;
}

.drawer-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.drawer-content::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 3px;
}

.drawer-content::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Section */
.drawer-section {
    padding: 16px 0;
}

.drawer-section-title {
    padding: 8px 16px;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.drawer-divider {
    height: 1px;
    background: #2a2a2a;
    margin: 8px 16px;
}

/* Items */
.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #ddd;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.drawer-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #4CAF50;
    transform: scaleY(0);
    transition: transform 0.2s;
}

.drawer-item svg {
    width: 20px;
    height: 20px;
    fill: #888;
    transition: fill 0.2s;
    flex-shrink: 0;
}

.drawer-item span {
    flex: 1;
    font-size: 14px;
}

.drawer-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.drawer-item:hover::before {
    transform: scaleY(1);
}

.drawer-item:hover svg {
    fill: #4CAF50;
}

.drawer-item:active {
    background: rgba(255, 255, 255, 0.1);
}

/* Badge */
.drawer-badge {
    padding: 2px 8px;
    background: #F44336;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

/* Submenu */
.drawer-submenu {
    margin: 8px 0;
}

.drawer-submenu-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    cursor: default;
}

.drawer-submenu-title svg {
    width: 18px;
    height: 18px;
    fill: #666;
    flex-shrink: 0;
}

.drawer-subitem {
    display: block;
    padding: 10px 16px 10px 52px;
    color: #999;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    position: relative;
}

.drawer-subitem::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #555;
    border-radius: 50%;
    transition: all 0.2s;
}

.drawer-subitem:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #4CAF50;
}

.drawer-subitem:hover::before {
    background: #4CAF50;
    width: 6px;
    height: 6px;
}

.drawer-subitem:active {
    background: rgba(255, 255, 255, 0.05);
}

/* Login Section */
.drawer-login {
    padding: 16px;
}

.drawer-login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.drawer-login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-login-form label {
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
}

.drawer-login-form .form-input {
    width: 100%;
    padding: 12px 14px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    font-family: inherit;
    transition: all 0.2s;
    box-sizing: border-box;
}

.drawer-login-form .form-input::placeholder {
    color: #666;
}

.drawer-login-form .form-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: #333;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.drawer-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.drawer-login-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.drawer-login-btn:hover {
    background: linear-gradient(135deg, #66BB6A, #81C784);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.drawer-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.drawer-login-links {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #2a2a2a;
}

.drawer-login-links a {
    font-size: 12px;
    color: #2196F3;
    text-decoration: none;
    transition: color 0.2s;
}

.drawer-login-links a:hover {
    color: #42A5F5;
    text-decoration: underline;
}

/* Footer */
.drawer-footer {
    padding: 12px;
    border-top: 1px solid #2a2a2a;
    background: #1a1a1a;
    flex-shrink: 0;
}

.drawer-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    color: #F44336;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.drawer-logout svg {
    width: 18px;
    height: 18px;
    fill: #F44336;
}

.drawer-logout:hover {
    background: rgba(244, 67, 54, 0.2);
    border-color: #F44336;
    transform: translateY(-1px);
}

.drawer-logout:active {
    transform: translateY(0) scale(0.98);
}

/* Animations */
@keyframes drawerSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-drawer.active .drawer-item,
.main-drawer.active .drawer-subitem {
    animation: drawerSlideIn 0.3s ease-out backwards;
}

.main-drawer.active .drawer-item:nth-child(1) { animation-delay: 0.05s; }
.main-drawer.active .drawer-item:nth-child(2) { animation-delay: 0.1s; }
.main-drawer.active .drawer-item:nth-child(3) { animation-delay: 0.15s; }
.main-drawer.active .drawer-item:nth-child(4) { animation-delay: 0.2s; }
.main-drawer.active .drawer-item:nth-child(5) { animation-delay: 0.25s; }

/* Адаптивность */
@media (max-width: 360px) {
    .main-drawer {
        width: 280px;
    }
    
    .drawer-avatar {
        width: 40px;
        height: 40px;
    }
    
    .drawer-avatar svg {
        width: 24px;
        height: 24px;
    }
    
    .drawer-username {
        font-size: 14px;
    }
}

@media (min-width: 600px) {
    .main-drawer {
        width: 360px;
    }
}

/* Скрыть старое меню */
#menu-head {
    display: none !important;
}

/* Обновить кнопку hamburger */
#menu-btn {
    position: relative;
    z-index: 1000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 12px;
    transition: all 0.2s;
}

#menu-btn:hover {
    background: #3a3a3a;
    transform: scale(1.05);
}

#menu-btn:active {
    transform: scale(0.95);
}

#hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s;
}

#hamburger::before,
#hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    left: 0;
    transition: all 0.3s;
}

#hamburger::before {
    top: -8px;
}

#hamburger::after {
    bottom: -8px;
}

/* Анимация при открытом drawer */
.main-drawer.active ~ #toolbar #menu-btn #hamburger {
    background: transparent;
}

.main-drawer.active ~ #toolbar #menu-btn #hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.main-drawer.active ~ #toolbar #menu-btn #hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Предотвратить скролл body при открытом drawer */
body.drawer-open {
    overflow: hidden;
}


  /* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #000000eb;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav.hidden {
    transform: translateY(100%);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #606060;
    text-decoration: none;
    font-size: 10px;
    gap: 2px;
    position: relative;
    transition: color 0.2s;
}

.nav-item.active {
    color:  #a3a3a3;
}

.nav-item.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.nav-item svg {
    width: 24px;
    height: 24px;
}

.nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Login Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 4, 4, 0.7);
    z-index: 300;
    display: none;
    align-items: flex-end;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1c1c1c;
    width: 100%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    position: relative;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #606060;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Отступ для контента чтобы не перекрывался баром */
body {
    padding-bottom: 66px;
}

#footer { 
    padding: 20px;
    text-align: center;
    margin-bottom: 0;
}

#copyright {
    color: #909090;
    font-size: 12px;
}

  /* Bottom Navigation */



  /* Chat Panel - всегда в DOM */
.chat-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 90%;
    max-width: 400px;
    background: #1a1a1a;
    z-index: 300;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.chat-panel.active {
    transform: translateX(0);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #2a2a2a;
    border-bottom: 1px solid #3a3a3a;
    flex-shrink: 0;
}

.chat-header h3 {
    margin: 0;
    color: #ff8c00;
    font-size: 18px;
}

.chat-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #fff;
}

.chat-panel #footmenu {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-panel .main-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 83%;
}

.chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.chat-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 480px) {
    .chat-panel {
        width: 92%;
    }
}
       
       
       
       
       /* Универсальное решение для всех устройств */
.chat-panel .lc_area {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.chat-panel .lc_area .lc_chat_list_area {
    flex: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch; /* плавный скролл iOS */
}

/* Форма ввода внизу */
.chat-panel .lc_area .lc_chat_form {
    flex-shrink: 0 !important;
}

/* Для мобильных - учитываем клавиатуру */
@media (max-width: 768px) {
    .chat-panel .lc_area .lc_chat_list_area {
        max-height: calc(100vh - 200px) !important;
    }
}

/* Для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .chat-panel .lc_area .lc_chat_list_area {
        max-height: calc(100vh - 150px) !important;
    }
}

/* Chat Panel - всегда в DOM */