
#userList {
    width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--color-modal-bg, var(--color-sidebar-bg, rgba(16, 16, 16, 0.95)));
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 12px 4px;
    list-style: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#userList::-webkit-scrollbar {
    width: 6px;
}

#userList::-webkit-scrollbar-track {
    background: transparent;
}

#userList::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

#channelList,
#statusPickerList {
    width: auto;
    min-width: 200px;
    max-width: 300px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--color-modal-bg, var(--color-sidebar-bg, rgba(16, 16, 16, 0.95)));
    border-radius: 12px;
    padding: 8px 4px;
    list-style: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#userList li,
#channelList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 62px;
    box-sizing: border-box;
}

#channelList li,
#statusPickerList li {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.05s ease;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#channelList li:hover,
#statusPickerList li:hover {
    background: rgba(255, 255, 255, 0.1);
}

#userList li:last-child,
#channelList li:last-child,
#statusPickerList li:last-child {
    border-bottom: none;
}

.channel-count {
    color: #d1d5db;
    font-size: 0.9rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.blocked-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 12px;
}

.blocked-indicator img {
    width: 32px;
    height: 32px;
    opacity: 0.85;
}

.channel-info,
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.channel-info {
    color: var(--color-accent);
    font-weight: 600;
}

.channel-info img {
    filter: brightness(0) invert(1);
}

.nickname {
    font-weight: normal;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 6px;
    flex-shrink: 0;
}

.status-indicator img {
    width: 20px;
    height: 20px;
}

.block-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: var(--color-block-btn-bg);
    cursor: pointer;
    transition: background 0.05s ease, transform 0.05s ease;
}

.block-btn:hover {
    background: var(--color-block-btn-hover);
    transform: translateY(-1px);
}

.block-btn:active {
    transform: translateY(0);
    background: var(--color-block-btn-active);
}

.block-cooldown,
button.block-cooldown {
    opacity: 0.25 !important;
    pointer-events: none !important;
    cursor: default !important;
}

.block-btn img {
    width: 32px;
    height: 32px;
}

.message-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(59, 130, 246, 0.1);
    cursor: pointer;
    transition: background 0.05s ease, transform 0.05s ease;
    margin-left: 12px;
}

.message-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.message-btn:active {
    transform: translateY(0);
    background: rgba(59, 130, 246, 0.25);
}

.message-btn img {
    width: 26px;
    height: 26px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

